diff --git a/404.html b/404.html index e9162f7f..0aa3eb41 100644 --- a/404.html +++ b/404.html @@ -14,8 +14,8 @@ - - + +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

diff --git a/assets/js/1599.bcb0326f.js b/assets/js/1599.bcb0326f.js new file mode 100644 index 00000000..74cc6de2 --- /dev/null +++ b/assets/js/1599.bcb0326f.js @@ -0,0 +1,2 @@ +/*! For license information please see 1599.bcb0326f.js.LICENSE.txt */ +(self.webpackChunkcodec_wiki=self.webpackChunkcodec_wiki||[]).push([[1599],{2200:(e,t,n)=>{"use strict";n.d(t,{z1:()=>S,cM:()=>b});var r=n(2456),o=n(6250),i=2,a=.16,c=.05,l=.05,s=.15,u=5,d=4,f=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function p(e){var t=e.r,n=e.g,o=e.b,i=(0,r.wE)(t,n,o);return{h:360*i.h,s:i.s,v:i.v}}function v(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.Ob)(t,n,o,!1))}function m(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-i*t:Math.round(e.h)+i*t:n?Math.round(e.h)+i*t:Math.round(e.h)-i*t)<0?r+=360:r>=360&&(r-=360),r}function h(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-a*t:t===d?e.s+a:e.s+c*t)>1&&(r=1),n&&t===u&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function g(e,t,n){var r;return(r=n?e.v+l*t:e.v-s*t)>1&&(r=1),Number(r.toFixed(2))}function b(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.RO)(e),i=u;i>0;i-=1){var a=p(r),c=v((0,o.RO)({h:m(a,i,!0),s:h(a,i,!0),v:g(a,i,!0)}));n.push(c)}n.push(v(r));for(var l=1;l<=d;l+=1){var s=p(r),b=v((0,o.RO)({h:m(s,l),s:h(s,l),v:g(s,l)}));n.push(b)}return"dark"===t.theme?f.map((function(e){var r,i,a,c=e.index,l=e.opacity;return v((r=(0,o.RO)(t.backgroundColor||"#141414"),i=(0,o.RO)(n[c]),a=100*l/100,{r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b}))})):n}var y={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},A={},w={};Object.keys(y).forEach((function(e){A[e]=b(y[e]),A[e].primary=A[e][5],w[e]=b(y[e],{theme:"dark",backgroundColor:"#141414"}),w[e].primary=w[e][5]}));A.red,A.volcano,A.gold,A.orange,A.yellow,A.lime,A.green,A.cyan;var S=A.blue;A.geekblue,A.purple,A.magenta,A.grey,A.grey},1466:(e,t,n)=>{"use strict";n.d(t,{Mo:()=>ct,an:()=>$,lO:()=>Z,Ki:()=>_,zA:()=>L,RC:()=>it,hV:()=>ee,IV:()=>rt});var r=n(4467),o=n(641),i=n(8339),a=n(9379);const c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)};var l=n(5089),s=n(6540),u=n.t(s,2),d=(n(8104),n(3210),n(3029)),f=n(2901),p="%";function v(e){return e.join(p)}const m=function(){function e(t){(0,d.A)(this,e),(0,r.A)(this,"instanceId",void 0),(0,r.A)(this,"cache",new Map),this.instanceId=t}return(0,f.A)(e,[{key:"get",value:function(e){return this.opGet(v(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(v(e),t)}},{key:"opUpdate",value:function(e,t){var n=t(this.cache.get(e));null===n?this.cache.delete(e):this.cache.set(e,n)}}]),e}();var h="data-token-hash",g="data-css-hash",b="__cssinjs_instance__";function y(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(g,"]"))||[],n=document.head.firstChild;Array.from(t).forEach((function(t){t[b]=t[b]||e,t[b]===e&&document.head.insertBefore(t,n)}));var r={};Array.from(document.querySelectorAll("style[".concat(g,"]"))).forEach((function(t){var n,o=t.getAttribute(g);r[o]?t[b]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):r[o]=!0}))}return new m(e)}var A=s.createContext({hashPriority:"low",cache:y(),defaultCache:!0});const w=A;var S=n(2284),x=n(998);var C=function(){function e(){(0,d.A)(this,e),(0,r.A)(this,"cache",void 0),(0,r.A)(this,"keys",void 0),(0,r.A)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,f.A)(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach((function(e){var t;o?o=null===(t=o)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e):o=void 0})),null!==(t=o)&&void 0!==t&&t.value&&r&&(o.value[1]=this.cacheCallTimes++),null===(n=o)||void 0===n?void 0:n.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce((function(e,t){var n=(0,o.A)(e,2)[1];return r.internalGet(t)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),E+=1}return(0,f.A)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce((function(t,n){return n(e,t)}),void 0)}}]),e}(),O=new C;function $(e){var t=Array.isArray(e)?e:[e];return O.has(t)||O.set(t,new M(t)),O.get(t)}var T=new WeakMap,R={};var P=new WeakMap;function z(e){var t=P.get(e)||"";return t||(Object.keys(e).forEach((function(n){var r=e[n];t+=n,r instanceof M?t+=r.id:r&&"object"===(0,S.A)(r)?t+=z(r):t+=r})),P.set(e,t)),t}function I(e,t){return c("".concat(t,"_").concat(z(e)))}"random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,"");var N=(0,x.A)();function L(e){return"number"==typeof e?"".concat(e,"px"):e}function j(e,t,n){var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(arguments.length>4&&void 0!==arguments[4]&&arguments[4])return e;var c=(0,a.A)((0,a.A)({},i),{},(o={},(0,r.A)(o,h,t),(0,r.A)(o,g,n),o)),l=Object.keys(c).map((function(e){var t=c[e];return t?"".concat(e,'="').concat(t,'"'):null})).filter((function(e){return e})).join(" ");return"")}var _=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},H=function(e,t,n){return Object.keys(e).length?".".concat(t).concat(null!=n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map((function(e){var t=(0,o.A)(e,2),n=t[0],r=t[1];return"".concat(n,":").concat(r,";")})).join(""),"}"):""},D=function(e,t,n){var r={},i={};return Object.entries(e).forEach((function(e){var t,a,c=(0,o.A)(e,2),l=c[0],s=c[1];if(null!=n&&null!==(t=n.preserve)&&void 0!==t&&t[l])i[l]=s;else if(!("string"!=typeof s&&"number"!=typeof s||null!=n&&null!==(a=n.ignore)&&void 0!==a&&a[l])){var u,d=_(l,null==n?void 0:n.prefix);r[d]="number"!=typeof s||null!=n&&null!==(u=n.unitless)&&void 0!==u&&u[l]?String(s):"".concat(s,"px"),i[l]="var(".concat(d,")")}})),[i,H(r,t,{scope:null==n?void 0:n.scope})]},B=n(981),W=(0,a.A)({},u).useInsertionEffect;const F=W?function(e,t,n){return W((function(){return e(),t()}),n)}:function(e,t,n){s.useMemo(e,n),(0,B.A)((function(){return t(!0)}),n)};const X=void 0!==(0,a.A)({},u).useInsertionEffect?function(e){var t=[],n=!1;return s.useEffect((function(){return n=!1,function(){n=!0,t.length&&t.forEach((function(e){return e()}))}}),e),function(e){n||t.push(e)}}:function(){return function(e){e()}};const K=function(){return!1};function G(e,t,n,r,a){var c=s.useContext(w).cache,l=v([e].concat((0,i.A)(t))),u=X([l]),d=(K(),function(e){c.opUpdate(l,(function(t){var r=t||[void 0,void 0],i=(0,o.A)(r,2),a=i[0];var c=[void 0===a?0:a,i[1]||n()];return e?e(c):c}))});s.useMemo((function(){d()}),[l]);var f=c.opGet(l)[1];return F((function(){null==a||a(f)}),(function(e){return d((function(t){var n=(0,o.A)(t,2),r=n[0],i=n[1];return e&&0===r&&(null==a||a(f)),[r+1,i]})),function(){c.opUpdate(l,(function(t){var n=t||[],i=(0,o.A)(n,2),a=i[0],s=void 0===a?0:a,d=i[1];return 0===s-1?(u((function(){!e&&c.opGet(l)||null==r||r(d,!1)})),null):[s-1,d]}))}}),[l]),f}var q={},Y="css",V=new Map;var U=0;function Q(e,t){V.set(e,(V.get(e)||0)-1);var n=Array.from(V.keys()),r=n.filter((function(e){return(V.get(e)||0)<=0}));n.length-r.length>U&&r.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(h,'="').concat(e,'"]')).forEach((function(e){var n;e[b]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),V.delete(e)}))}var Z=function(e,t,n,r){var o=n.getDerivativeToken(e),i=(0,a.A)((0,a.A)({},o),t);return r&&(i=r(i)),i},J="token";function ee(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,s.useContext)(w),u=r.cache.instanceId,d=r.container,f=n.salt,p=void 0===f?"":f,v=n.override,m=void 0===v?q:v,y=n.formatToken,A=n.getComputedToken,S=n.cssVar,x=function(e,t){for(var n=T,r=0;r0?ve(ke,--xe):0,we--,10===Ce&&(we=1,Ae--),Ce}function Oe(){return Ce=xe2||Pe(Ce)>3?"":" "}function je(e,t){for(;--t&&Oe()&&!(Ce<48||Ce>102||Ce>57&&Ce<65||Ce>70&&Ce<97););return Re(e,Te()+(t<6&&32==$e()&&32==Oe()))}function _e(e){for(;Oe();)switch(Ce){case e:return xe;case 34:case 39:34!==e&&39!==e&&_e(Ce);break;case 40:41===e&&_e(e);break;case 92:Oe()}return xe}function He(e,t){for(;Oe()&&e+Ce!==57&&(e+Ce!==84||47!==$e()););return"/*"+Re(t,xe-1)+"*"+ue(47===e?e:Oe())}function De(e){for(;!Pe($e());)Oe();return Re(e,xe)}function Be(e){return Ie(We("",null,null,null,[""],e=ze(e),0,[0],e))}function We(e,t,n,r,o,i,a,c,l){for(var s=0,u=0,d=a,f=0,p=0,v=0,m=1,h=1,g=1,b=0,y="",A=o,w=i,S=r,x=y;h;)switch(v=b,b=Oe()){case 40:if(108!=v&&58==ve(x,d-1)){-1!=pe(x+=fe(Ne(b),"&","&\f"),"&\f",se(s?c[s-1]:0))&&(g=-1);break}case 34:case 39:case 91:x+=Ne(b);break;case 9:case 10:case 13:case 32:x+=Le(v);break;case 92:x+=je(Te()-1,7);continue;case 47:switch($e()){case 42:case 47:ge(Xe(He(Oe(),Te()),t,n,l),l);break;default:x+="/"}break;case 123*m:c[s++]=he(x)*g;case 125*m:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+u:-1==g&&(x=fe(x,/\f/g,"")),p>0&&he(x)-d&&ge(p>32?Ke(x+";",r,n,d-1,l):Ke(fe(x," ","")+";",r,n,d-2,l),l);break;case 59:x+=";";default:if(ge(S=Fe(x,t,n,s,u,o,c,y,A=[],w=[],d,i),i),123===b)if(0===u)We(x,t,S,S,A,i,d,c,w);else switch(99===f&&110===ve(x,3)?100:f){case 100:case 108:case 109:case 115:We(e,S,S,r&&ge(Fe(e,S,S,0,0,o,c,y,o,A=[],d,w),w),o,w,d,c,r?A:w);break;default:We(x,S,S,S,[""],w,0,c,w)}}s=u=p=0,m=g=1,y=x="",d=a;break;case 58:d=1+he(x),p=v;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==Me())continue;switch(x+=ue(b),b*m){case 38:g=u>0?1:(x+="\f",-1);break;case 44:c[s++]=(he(x)-1)*g,g=1;break;case 64:45===$e()&&(x+=Ne(Oe())),f=$e(),u=d=he(y=x+=De(Te())),b++;break;case 45:45===v&&2==he(x)&&(m=0)}}return i}function Fe(e,t,n,r,o,i,a,c,l,s,u,d){for(var f=o-1,p=0===o?i:[""],v=function(e){return e.length}(p),m=0,h=0,g=0;m0?p[b]+" "+y:fe(y,/&\f/g,p[b])))&&(l[g++]=A);return Ee(e,t,n,0===o?oe:c,l,s,u,d)}function Xe(e,t,n,r){return Ee(e,t,n,re,ue(Ce),me(e,2,-2),0,r)}function Ke(e,t,n,r,o){return Ee(e,t,n,ie,me(e,0,r),me(e,r+1,-1),r,o)}var Ge,qe="data-ant-cssinjs-cache-path",Ye="_FILE_STYLE__";var Ve=!0;function Ue(e){return function(){if(!Ge&&(Ge={},(0,x.A)())){var e=document.createElement("div");e.className=qe,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";(t=t.replace(/^"/,"").replace(/"$/,"")).split(";").forEach((function(e){var t=e.split(":"),n=(0,o.A)(t,2),r=n[0],i=n[1];Ge[r]=i}));var n,r=document.querySelector("style[".concat(qe,"]"));r&&(Ve=!1,null===(n=r.parentNode)||void 0===n||n.removeChild(r)),document.body.removeChild(e)}}(),!!Ge[e]}var Qe="_multi_value_";function Ze(e){return be(Be(e),ye).replace(/\{%%%\:[^;];}/g,";")}var Je=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},c=r.root,l=r.injectHash,s=r.parentSelectors,u=n.hashId,d=n.layer,f=(n.path,n.hashPriority),p=n.transformers,v=void 0===p?[]:p,m=(n.linters,""),h={};function g(t){var r=t.getName(u);if(!h[r]){var i=e(t.style,n,{root:!1,parentSelectors:s}),a=(0,o.A)(i,1)[0];h[r]="@keyframes ".concat(t.getName(u)).concat(a)}}var b=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach((function(t){Array.isArray(t)?e(t,n):t&&n.push(t)})),n}(Array.isArray(t)?t:[t]);return b.forEach((function(t){var r="string"!=typeof t||c?t:{};if("string"==typeof r)m+="".concat(r,"\n");else if(r._keyframe)g(r);else{var d=v.reduce((function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e}),r);Object.keys(d).forEach((function(t){var r=d[t];if("object"!==(0,S.A)(r)||!r||"animationName"===t&&r._keyframe||function(e){return"object"===(0,S.A)(e)&&e&&("_skip_check_"in e||Qe in e)}(r)){var p;function E(e,t){var n=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),r=t;ne[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(g(t),r=t.getName(u)),m+="".concat(n,":").concat(r,";")}var v=null!==(p=null==r?void 0:r.value)&&void 0!==p?p:r;"object"===(0,S.A)(r)&&null!=r&&r[Qe]&&Array.isArray(v)?v.forEach((function(e){E(t,e)})):E(t,v)}else{var b=!1,y=t.trim(),A=!1;(c||l)&&u?y.startsWith("@")?b=!0:y=function(e,t,n){if(!t)return e;var r=".".concat(t),o="low"===n?":where(".concat(r,")"):r;return e.split(",").map((function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",a=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(a).concat(o).concat(r.slice(a.length))].concat((0,i.A)(n.slice(1))).join(" ")})).join(",")}(t,u,f):!c||u||"&"!==y&&""!==y||(y="",A=!0);var w=e(r,n,{root:A,injectHash:b,parentSelectors:[].concat((0,i.A)(s),[y])}),x=(0,o.A)(w,2),C=x[0],k=x[1];h=(0,a.A)((0,a.A)({},h),k),m+="".concat(y).concat(C)}}))}})),c?d&&(m="@layer ".concat(d.name," {").concat(m,"}"),d.dependencies&&(h["@layer ".concat(d.name)]=d.dependencies.map((function(e){return"@layer ".concat(e,", ").concat(d.name,";")})).join("\n"))):m="{".concat(m,"}"),[m,h]};function et(e,t){return c("".concat(e.join("%")).concat(t))}function tt(){return null}var nt="style";function rt(e,t){var n=e.token,c=e.path,u=e.hashId,d=e.layer,f=e.nonce,p=e.clientOnly,v=e.order,m=void 0===v?0:v,y=s.useContext(w),A=y.autoClear,S=(y.mock,y.defaultCache),C=y.hashPriority,k=y.container,E=y.ssrInline,M=y.transformers,O=y.linters,$=y.cache,T=y.layer,R=n._tokenKey,P=[R];T&&P.push("layer"),P.push.apply(P,(0,i.A)(c));var z=N;var I=G(nt,P,(function(){var e=P.join("|");if(Ue(e)){var n=function(e){var t=Ge[e],n=null;if(t&&(0,x.A)())if(Ve)n=Ye;else{var r=document.querySelector("style[".concat(g,'="').concat(Ge[e],'"]'));r?n=r.innerHTML:delete Ge[e]}return[n,t]}(e),r=(0,o.A)(n,2),i=r[0],a=r[1];if(i)return[i,R,a,{},p,m]}var l=t(),s=Je(l,{hashId:u,hashPriority:C,layer:T?d:void 0,path:c.join("-"),transformers:M,linters:O}),f=(0,o.A)(s,2),v=f[0],h=f[1],b=Ze(v),y=et(P,b);return[b,R,y,h,p,m]}),(function(e,t){var n=(0,o.A)(e,3)[2];(t||A)&&N&&(0,l.m6)(n,{mark:g})}),(function(e){var t=(0,o.A)(e,4),n=t[0],r=(t[1],t[2]),i=t[3];if(z&&n!==Ye){var c={mark:g,prepend:!T&&"queue",attachTo:k,priority:m},s="function"==typeof f?f():f;s&&(c.csp={nonce:s});var u=[],d=[];Object.keys(i).forEach((function(e){e.startsWith("@layer")?u.push(e):d.push(e)})),u.forEach((function(e){(0,l.BD)(Ze(i[e]),"_layer-".concat(e),(0,a.A)((0,a.A)({},c),{},{prepend:!0}))}));var p=(0,l.BD)(n,r,c);p[b]=$.instanceId,p.setAttribute(h,R),d.forEach((function(e){(0,l.BD)(Ze(i[e]),"_effect-".concat(e),c)}))}})),L=(0,o.A)(I,3),j=L[0],_=L[1],H=L[2];return function(e){var t,n;E&&!z&&S?t=s.createElement("style",(0,te.A)({},(n={},(0,r.A)(n,h,_),(0,r.A)(n,g,H),n),{dangerouslySetInnerHTML:{__html:j}})):t=s.createElement(tt,null);return s.createElement(s.Fragment,null,t,e)}}var ot="cssVar";const it=function(e,t){var n=e.key,r=e.prefix,a=e.unitless,c=e.ignore,u=e.token,d=e.scope,f=void 0===d?"":d,p=(0,s.useContext)(w),v=p.cache.instanceId,m=p.container,y=u._tokenKey,A=[].concat((0,i.A)(e.path),[n,f,y]);return G(ot,A,(function(){var e=t(),i=D(e,n,{prefix:r,unitless:a,ignore:c,scope:f}),l=(0,o.A)(i,2),s=l[0],u=l[1];return[s,u,et(A,u),n]}),(function(e){var t=(0,o.A)(e,3)[2];N&&(0,l.m6)(t,{mark:g})}),(function(e){var t=(0,o.A)(e,3),r=t[1],i=t[2];if(r){var a=(0,l.BD)(r,i,{mark:g,prepend:"queue",attachTo:m,priority:-999});a[b]=v,a.setAttribute(h,n)}}))};var at;at={},(0,r.A)(at,nt,(function(e,t,n){var r=(0,o.A)(e,6),i=r[0],a=r[1],c=r[2],l=r[3],s=r[4],u=r[5],d=(n||{}).plain;if(s)return null;var f=i,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return f=j(i,a,c,p,d),l&&Object.keys(l).forEach((function(e){if(!t[e]){t[e]=!0;var n=j(Ze(l[e]),a,"_effect-".concat(e),p,d);e.startsWith("@layer")?f=n+f:f+=n}})),[u,c,f]})),(0,r.A)(at,J,(function(e,t,n){var r=(0,o.A)(e,5),i=r[2],a=r[3],c=r[4],l=(n||{}).plain;if(!a)return null;var s=i._tokenKey;return[-999,s,j(a,c,s,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l)]})),(0,r.A)(at,ot,(function(e,t,n){var r=(0,o.A)(e,4),i=r[1],a=r[2],c=r[3],l=(n||{}).plain;if(!i)return null;return[-999,a,j(i,c,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l)]}));const ct=function(){function e(t,n){(0,d.A)(this,e),(0,r.A)(this,"name",void 0),(0,r.A)(this,"style",void 0),(0,r.A)(this,"_keyframe",!0),this.name=t,this.style=n}return(0,f.A)(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}();function lt(e){return e.notSplit=!0,e}lt(["borderTop","borderBottom"]),lt(["borderTop"]),lt(["borderBottom"]),lt(["borderLeft","borderRight"]),lt(["borderLeft"]),lt(["borderRight"])},6653:(e,t,n)=>{"use strict";n.d(t,{A:()=>$});var r=n(8168),o=n(641),i=n(4467),a=n(45),c=n(6540),l=n(6942),s=n.n(l),u=n(2200),d=n(1053),f=n(9379),p=n(2284),v=n(5089),m=n(2633),h=n(8210);function g(e){return"object"===(0,p.A)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,p.A)(e.icon)||"function"==typeof e.icon)}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r,o=e[n];if("class"===n)t.className=o,delete t.class;else delete t[n],t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=o;return t}),{})}function y(e,t,n){return n?c.createElement(e.tag,(0,f.A)((0,f.A)({key:t},b(e.attrs)),n),(e.children||[]).map((function(n,r){return y(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):c.createElement(e.tag,(0,f.A)({key:t},b(e.attrs)),(e.children||[]).map((function(n,r){return y(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function A(e){return(0,u.cM)(e)[0]}function w(e){return e?Array.isArray(e)?e:[e]:[]}var S=["icon","className","onClick","style","primaryColor","secondaryColor"],x={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var C=function(e){var t,n,r,o,i,l,s,u=e.icon,p=e.className,b=e.onClick,w=e.style,C=e.primaryColor,k=e.secondaryColor,E=(0,a.A)(e,S),M=c.useRef(),O=x;if(C&&(O={primaryColor:C,secondaryColor:k||A(C)}),t=M,n=(0,c.useContext)(d.A),r=n.csp,o=n.prefixCls,i="\n.anticon {\n display: inline-flex;\n alignItems: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",o&&(i=i.replace(/anticon/g,o)),(0,c.useEffect)((function(){var e=t.current,n=(0,m.j)(e);(0,v.BD)(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:n})}),[]),l=g(u),s="icon should be icon definiton, but got ".concat(u),(0,h.Ay)(l,"[@ant-design/icons] ".concat(s)),!g(u))return null;var $=u;return $&&"function"==typeof $.icon&&($=(0,f.A)((0,f.A)({},$),{},{icon:$.icon(O.primaryColor,O.secondaryColor)})),y($.icon,"svg-".concat($.name),(0,f.A)((0,f.A)({className:p,onClick:b,style:w,"data-icon":$.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},E),{},{ref:M}))};C.displayName="IconReact",C.getTwoToneColors=function(){return(0,f.A)({},x)},C.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;x.primaryColor=t,x.secondaryColor=n||A(t),x.calculated=!!n};const k=C;function E(e){var t=w(e),n=(0,o.A)(t,2),r=n[0],i=n[1];return k.setTwoToneColors({primaryColor:r,secondaryColor:i})}var M=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];E(u.z1.primary);var O=c.forwardRef((function(e,t){var n=e.className,l=e.icon,u=e.spin,f=e.rotate,p=e.tabIndex,v=e.onClick,m=e.twoToneColor,h=(0,a.A)(e,M),g=c.useContext(d.A),b=g.prefixCls,y=void 0===b?"anticon":b,A=g.rootClassName,S=s()(A,y,(0,i.A)((0,i.A)({},"".concat(y,"-").concat(l.name),!!l.name),"".concat(y,"-spin"),!!u||"loading"===l.name),n),x=p;void 0===x&&v&&(x=-1);var C=f?{msTransform:"rotate(".concat(f,"deg)"),transform:"rotate(".concat(f,"deg)")}:void 0,E=w(m),O=(0,o.A)(E,2),$=O[0],T=O[1];return c.createElement("span",(0,r.A)({role:"img","aria-label":l.name},h,{ref:t,tabIndex:x,onClick:v,className:S}),c.createElement(k,{icon:l,primaryColor:$,secondaryColor:T,style:C}))}));O.displayName="AntdIcon",O.getTwoToneColor=function(){var e=k.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},O.setTwoToneColor=E;const $=O},1053:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(6540).createContext)({})},6467:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(8168),o=n(6540);const i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};var a=n(6653),c=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(c)},8633:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(8168),o=n(6540);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};var a=n(6653),c=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(c)},363:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(8168),o=n(6540);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};var a=n(6653),c=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(c)},2456:(e,t,n)=>{"use strict";n.d(t,{H:()=>d,K6:()=>i,Me:()=>s,Ob:()=>u,YL:()=>c,_:()=>o,g8:()=>v,n6:()=>p,oS:()=>m,wE:()=>l});var r=n(9244);function o(e,t,n){return{r:255*(0,r.Cg)(e,255),g:255*(0,r.Cg)(t,255),b:255*(0,r.Cg)(n,255)}}function i(e,t,n){e=(0,r.Cg)(e,255),t=(0,r.Cg)(t,255),n=(0,r.Cg)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,c=0,l=(o+i)/2;if(o===i)c=0,a=0;else{var s=o-i;switch(c=l>.5?s/(2-o-i):s/(o+i),o){case e:a=(t-n)/s+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function c(e,t,n){var o,i,c;if(e=(0,r.Cg)(e,360),t=(0,r.Cg)(t,100),n=(0,r.Cg)(n,100),0===t)i=n,c=n,o=n;else{var l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;o=a(s,l,e+1/3),i=a(s,l,e),c=a(s,l,e-1/3)}return{r:255*o,g:255*i,b:255*c}}function l(e,t,n){e=(0,r.Cg)(e,255),t=(0,r.Cg)(t,255),n=(0,r.Cg)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,c=o,l=o-i,s=0===o?0:l/o;if(o===i)a=0;else{switch(o){case e:a=(t-n)/l+(t>16,g:(65280&e)>>8,b:255&e}}},2434:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},6250:(e,t,n)=>{"use strict";n.d(t,{RO:()=>a});var r=n(2456),o=n(2434),i=n(9244);function a(e){var t={r:0,g:0,b:0},n=1,a=null,c=null,l=null,s=!1,f=!1;return"string"==typeof e&&(e=function(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;var t=!1;if(o.D[e])e=o.D[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=u.rgb.exec(e);if(n)return{r:n[1],g:n[2],b:n[3]};if(n=u.rgba.exec(e),n)return{r:n[1],g:n[2],b:n[3],a:n[4]};if(n=u.hsl.exec(e),n)return{h:n[1],s:n[2],l:n[3]};if(n=u.hsla.exec(e),n)return{h:n[1],s:n[2],l:n[3],a:n[4]};if(n=u.hsv.exec(e),n)return{h:n[1],s:n[2],v:n[3]};if(n=u.hsva.exec(e),n)return{h:n[1],s:n[2],v:n[3],a:n[4]};if(n=u.hex8.exec(e),n)return{r:(0,r.g8)(n[1]),g:(0,r.g8)(n[2]),b:(0,r.g8)(n[3]),a:(0,r.n6)(n[4]),format:t?"name":"hex8"};if(n=u.hex6.exec(e),n)return{r:(0,r.g8)(n[1]),g:(0,r.g8)(n[2]),b:(0,r.g8)(n[3]),format:t?"name":"hex"};if(n=u.hex4.exec(e),n)return{r:(0,r.g8)(n[1]+n[1]),g:(0,r.g8)(n[2]+n[2]),b:(0,r.g8)(n[3]+n[3]),a:(0,r.n6)(n[4]+n[4]),format:t?"name":"hex8"};if(n=u.hex3.exec(e),n)return{r:(0,r.g8)(n[1]+n[1]),g:(0,r.g8)(n[2]+n[2]),b:(0,r.g8)(n[3]+n[3]),format:t?"name":"hex"};return!1}(e)),"object"==typeof e&&(d(e.r)&&d(e.g)&&d(e.b)?(t=(0,r._)(e.r,e.g,e.b),s=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):d(e.h)&&d(e.s)&&d(e.v)?(a=(0,i.Px)(e.s),c=(0,i.Px)(e.v),t=(0,r.Me)(e.h,a,c),s=!0,f="hsv"):d(e.h)&&d(e.s)&&d(e.l)&&(a=(0,i.Px)(e.s),l=(0,i.Px)(e.l),t=(0,r.YL)(e.h,a,l),s=!0,f="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.TV)(n),{ok:s,format:e.format||f,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var c="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),l="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),s="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),u={CSS_UNIT:new RegExp(c),rgb:new RegExp("rgb"+l),rgba:new RegExp("rgba"+s),hsl:new RegExp("hsl"+l),hsla:new RegExp("hsla"+s),hsv:new RegExp("hsv"+l),hsva:new RegExp("hsva"+s),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function d(e){return Boolean(u.CSS_UNIT.exec(String(e)))}},4978:(e,t,n)=>{"use strict";n.d(t,{q:()=>c});var r=n(2456),o=n(2434),i=n(6250),a=n(9244),c=function(){function e(t,n){var o;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=(0,r.oS)(t)),this.originalInput=t;var a=(0,i.RO)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.TV)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,r.wE)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,r.wE)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,r.K6)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,r.K6)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,r.Ob)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,r.H)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.Cg)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.Cg)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,r.Ob)(this.r,this.g,this.b,!1),t=0,n=Object.entries(o.D);t=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,a.J$)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,a.J$)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,a.J$)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,a.J$)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100;return new e({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],c=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+c)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a{"use strict";function r(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function c(e){return 1===e.length?"0"+e:String(e)}n.d(t,{Cg:()=>r,J$:()=>o,Px:()=>a,TV:()=>i,wl:()=>c})},5470:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(641),o=n(6540),i=n(961),a=n(998),c=(n(8210),n(8719));const l=o.createContext(null);var s=n(8339),u=n(981),d=[];var f=n(5089);function p(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r,o,i=n.style;if(i.position="absolute",i.left="0",i.top="0",i.width="100px",i.height="100px",i.overflow="scroll",e){var a=getComputedStyle(e);i.scrollbarColor=a.scrollbarColor,i.scrollbarWidth=a.scrollbarWidth;var c=getComputedStyle(e,"::-webkit-scrollbar"),l=parseInt(c.width,10),s=parseInt(c.height,10);try{var u=l?"width: ".concat(c.width,";"):"",d=s?"height: ".concat(c.height,";"):"";(0,f.BD)("\n#".concat(t,"::-webkit-scrollbar {\n").concat(u,"\n").concat(d,"\n}"),t)}catch(m){console.error(m),r=l,o=s}}document.body.appendChild(n);var p=e&&r&&!isNaN(r)?r:n.offsetWidth-n.clientWidth,v=e&&o&&!isNaN(o)?o:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),(0,f.m6)(t),{width:p,height:v}}var v="rc-util-locker-".concat(Date.now()),m=0;function h(e){var t=!!e,n=o.useState((function(){return m+=1,"".concat(v,"_").concat(m)})),i=(0,r.A)(n,1)[0];(0,u.A)((function(){if(t){var e=(r=document.body,"undefined"!=typeof document&&r&&r instanceof Element?p(r):{width:0,height:0}).width,n=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,f.BD)("\nhtml body {\n overflow-y: hidden;\n ".concat(n?"width: calc(100% - ".concat(e,"px);"):"","\n}"),i)}else(0,f.m6)(i);var r;return function(){(0,f.m6)(i)}}),[t,i])}var g=!1;var b=function(e){return!1!==e&&((0,a.A)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)};const y=o.forwardRef((function(e,t){var n=e.open,f=e.autoLock,p=e.getContainer,v=(e.debug,e.autoDestroy),m=void 0===v||v,y=e.children,A=o.useState(n),w=(0,r.A)(A,2),S=w[0],x=w[1],C=S||n;o.useEffect((function(){(m||n)&&x(n)}),[n,m]);var k=o.useState((function(){return b(p)})),E=(0,r.A)(k,2),M=E[0],O=E[1];o.useEffect((function(){var e=b(p);O(null!=e?e:null)}));var $=function(e,t){var n=o.useState((function(){return(0,a.A)()?document.createElement("div"):null})),i=(0,r.A)(n,1)[0],c=o.useRef(!1),f=o.useContext(l),p=o.useState(d),v=(0,r.A)(p,2),m=v[0],h=v[1],g=f||(c.current?void 0:function(e){h((function(t){return[e].concat((0,s.A)(t))}))});function b(){i.parentElement||document.body.appendChild(i),c.current=!0}function y(){var e;null===(e=i.parentElement)||void 0===e||e.removeChild(i),c.current=!1}return(0,u.A)((function(){return e?f?f(b):b():y(),y}),[e]),(0,u.A)((function(){m.length&&(m.forEach((function(e){return e()})),h(d))}),[m]),[i,g]}(C&&!M),T=(0,r.A)($,2),R=T[0],P=T[1],z=null!=M?M:R;h(f&&n&&(0,a.A)()&&(z===R||z===document.body));var I=null;y&&(0,c.f3)(y)&&t&&(I=y.ref);var N=(0,c.xK)(I,t);if(!C||!(0,a.A)()||void 0===M)return null;var L,j=!1===z||("boolean"==typeof L&&(g=L),g),_=y;return t&&(_=o.cloneElement(y,{ref:N})),o.createElement(l.Provider,{value:P},j?_:(0,i.createPortal)(_,z))}))},3723:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});const r=(e,t,n)=>void 0!==n?n:`${e}-${t}`},1303:(e,t,n)=>{"use strict";n.d(t,{A:()=>go});var r=n(6540),o=n(6942),i=n.n(o),a=n(9853),c=n(2279),l=n(8224);const s=e=>{const t=r.useContext(l.A);return r.useMemo((()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t),[e,t])},u=e=>{const{prefixCls:t,className:n,style:o,size:a,shape:c}=e,l=i()({[`${t}-lg`]:"large"===a,[`${t}-sm`]:"small"===a}),s=i()({[`${t}-circle`]:"circle"===c,[`${t}-square`]:"square"===c,[`${t}-round`]:"round"===c}),u=r.useMemo((()=>"number"==typeof a?{width:a,height:a,lineHeight:`${a}px`}:{}),[a]);return r.createElement("span",{className:i()(t,l,s,n),style:Object.assign(Object.assign({},u),o)})};var d=n(1466),f=n(3442),p=n(336);const v=new d.Mo("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),m=e=>({height:e,lineHeight:(0,d.zA)(e)}),h=e=>Object.assign({width:e},m(e)),g=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:v,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),b=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},m(e)),y=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},h(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},h(o)),[`${t}${t}-sm`]:Object.assign({},h(i))}},A=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:c}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},b(t,c)),[`${r}-lg`]:Object.assign({},b(o,c)),[`${r}-sm`]:Object.assign({},b(i,c))}},w=e=>Object.assign({width:e},m(e)),S=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:o,calc:i}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:o},w(i(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},w(n)),{maxWidth:i(n).mul(4).equal(),maxHeight:i(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},x=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},C=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},m(e)),k=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:c}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:c(r).mul(2).equal(),minWidth:c(r).mul(2).equal()},C(r,c))},x(e,r,n)),{[`${n}-lg`]:Object.assign({},C(o,c))}),x(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},C(i,c))}),x(e,i,`${n}-sm`))},E=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:c,controlHeight:l,controlHeightLG:s,controlHeightSM:u,gradientFromColor:d,padding:f,marginSM:p,borderRadius:v,titleHeight:m,blockRadius:b,paragraphLiHeight:w,controlHeightXS:x,paragraphMarginTop:C}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:f,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:d},h(l)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},h(s)),[`${n}-sm`]:Object.assign({},h(u))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:m,background:d,borderRadius:b,[`+ ${o}`]:{marginBlockStart:u}},[`${o}`]:{padding:0,"> li":{width:"100%",height:w,listStyle:"none",background:d,borderRadius:b,"+ li":{marginBlockStart:x}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${o} > li`]:{borderRadius:v}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:p,[`+ ${o}`]:{marginBlockStart:C}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},k(e)),y(e)),A(e)),S(e)),[`${t}${t}-block`]:{width:"100%",[`${i}`]:{width:"100%"},[`${a}`]:{width:"100%"}},[`${t}${t}-active`]:{[`\n ${r},\n ${o} > li,\n ${n},\n ${i},\n ${a},\n ${c}\n `]:Object.assign({},g(e))}}},M=(0,f.OF)("Skeleton",(e=>{const{componentCls:t,calc:n}=e,r=(0,p.h1)(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[E(r)]}),(e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n,gradientFromColor:t,gradientToColor:n,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}}),{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),O=e=>{const{prefixCls:t,className:n,rootClassName:o,active:l,shape:s="circle",size:d="default"}=e,{getPrefixCls:f}=r.useContext(c.QO),p=f("skeleton",t),[v,m,h]=M(p),g=(0,a.A)(e,["prefixCls","className"]),b=i()(p,`${p}-element`,{[`${p}-active`]:l},n,o,m,h);return v(r.createElement("div",{className:b},r.createElement(u,Object.assign({prefixCls:`${p}-avatar`,shape:s,size:d},g))))},$=e=>{const{prefixCls:t,className:n,rootClassName:o,active:l,block:s=!1,size:d="default"}=e,{getPrefixCls:f}=r.useContext(c.QO),p=f("skeleton",t),[v,m,h]=M(p),g=(0,a.A)(e,["prefixCls"]),b=i()(p,`${p}-element`,{[`${p}-active`]:l,[`${p}-block`]:s},n,o,m,h);return v(r.createElement("div",{className:b},r.createElement(u,Object.assign({prefixCls:`${p}-button`,size:d},g))))},T=e=>{const{prefixCls:t,className:n,rootClassName:o,style:a,active:l}=e,{getPrefixCls:s}=r.useContext(c.QO),u=s("skeleton",t),[d,f,p]=M(u),v=i()(u,`${u}-element`,{[`${u}-active`]:l},n,o,f,p);return d(r.createElement("div",{className:v},r.createElement("div",{className:i()(`${u}-image`,n),style:a},r.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${u}-image-svg`},r.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:`${u}-image-path`})))))},R=e=>{const{prefixCls:t,className:n,rootClassName:o,active:l,block:s,size:d="default"}=e,{getPrefixCls:f}=r.useContext(c.QO),p=f("skeleton",t),[v,m,h]=M(p),g=(0,a.A)(e,["prefixCls"]),b=i()(p,`${p}-element`,{[`${p}-active`]:l,[`${p}-block`]:s},n,o,m,h);return v(r.createElement("div",{className:b},r.createElement(u,Object.assign({prefixCls:`${p}-input`,size:d},g))))};var P=n(8168);const z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"};var I=n(6653),N=function(e,t){return r.createElement(I.A,(0,P.A)({},e,{ref:t,icon:z}))};const L=r.forwardRef(N),j=e=>{const{prefixCls:t,className:n,rootClassName:o,style:a,active:l,children:s}=e,{getPrefixCls:u}=r.useContext(c.QO),d=u("skeleton",t),[f,p,v]=M(d),m=i()(d,`${d}-element`,{[`${d}-active`]:l},p,n,o,v),h=null!=s?s:r.createElement(L,null);return f(r.createElement("div",{className:m},r.createElement("div",{className:i()(`${d}-image`,n),style:a},h)))};var _=n(8339);const H=(e,t)=>{const{width:n,rows:r=2}=t;return Array.isArray(n)?n[e]:r-1===e?n:void 0},D=e=>{const{prefixCls:t,className:n,style:o,rows:a}=e,c=(0,_.A)(Array(a)).map(((t,n)=>r.createElement("li",{key:n,style:{width:H(n,e)}})));return r.createElement("ul",{className:i()(t,n),style:o},c)},B=e=>{let{prefixCls:t,className:n,width:o,style:a}=e;return r.createElement("h3",{className:i()(t,n),style:Object.assign({width:o},a)})};function W(e){return e&&"object"==typeof e?e:{}}const F=e=>{const{prefixCls:t,loading:n,className:o,rootClassName:a,style:l,children:s,avatar:d=!1,title:f=!0,paragraph:p=!0,active:v,round:m}=e,{getPrefixCls:h,direction:g,skeleton:b}=r.useContext(c.QO),y=h("skeleton",t),[A,w,S]=M(y);if(n||!("loading"in e)){const e=!!d,t=!!f,n=!!p;let c,s;if(e){const e=Object.assign(Object.assign({prefixCls:`${y}-avatar`},function(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(t,n)),W(d));c=r.createElement("div",{className:`${y}-header`},r.createElement(u,Object.assign({},e)))}if(t||n){let o,i;if(t){const t=Object.assign(Object.assign({prefixCls:`${y}-title`},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(e,n)),W(f));o=r.createElement(B,Object.assign({},t))}if(n){const n=Object.assign(Object.assign({prefixCls:`${y}-paragraph`},function(e,t){const n={};return e&&t||(n.width="61%"),n.rows=!e&&t?3:2,n}(e,t)),W(p));i=r.createElement(D,Object.assign({},n))}s=r.createElement("div",{className:`${y}-content`},o,i)}const h=i()(y,{[`${y}-with-avatar`]:e,[`${y}-active`]:v,[`${y}-rtl`]:"rtl"===g,[`${y}-round`]:m},null==b?void 0:b.className,o,a,w,S);return A(r.createElement("div",{className:h,style:Object.assign(Object.assign({},null==b?void 0:b.style),l)},c,s))}return null!=s?s:null};F.Button=$,F.Avatar=O,F.Input=R,F.Image=T,F.Node=j;const X=F;var K=n(6467);const G={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};var q=function(e,t){return r.createElement(I.A,(0,P.A)({},e,{ref:t,icon:G}))};const Y=r.forwardRef(q);const V={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};var U=function(e,t){return r.createElement(I.A,(0,P.A)({},e,{ref:t,icon:V}))};const Q=r.forwardRef(U);var Z=n(4467),J=n(9379),ee=n(641),te=n(2284),ne=n(45),re=n(2533);const oe=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))},ie=(0,r.createContext)(null);var ae=n(6351);function ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return r.Children.forEach(e,(function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(ce(e)):(0,ae.isFragment)(e)&&e.props?n=n.concat(ce(e.props.children,t)):n.push(e))})),n}var le=n(8210),se=n(4207),ue=n(8719),de=r.createContext(null);var fe=n(3591),pe=new Map;var ve=new fe.A((function(e){e.forEach((function(e){var t,n=e.target;null===(t=pe.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}));var me=n(3029),he=n(2901),ge=n(5501),be=n(9426),ye=function(e){(0,ge.A)(n,e);var t=(0,be.A)(n);function n(){return(0,me.A)(this,n),t.apply(this,arguments)}return(0,he.A)(n,[{key:"render",value:function(){return this.props.children}}]),n}(r.Component);function Ae(e,t){var n=e.children,o=e.disabled,i=r.useRef(null),a=r.useRef(null),c=r.useContext(de),l="function"==typeof n,s=l?n(i):n,u=r.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),d=!l&&r.isValidElement(s)&&(0,ue.f3)(s),f=d?s.ref:null,p=(0,ue.xK)(f,i),v=function(){var e;return(0,se.A)(i.current)||(i.current&&"object"===(0,te.A)(i.current)?(0,se.A)(null===(e=i.current)||void 0===e?void 0:e.nativeElement):null)||(0,se.A)(a.current)};r.useImperativeHandle(t,(function(){return v()}));var m=r.useRef(e);m.current=e;var h=r.useCallback((function(e){var t=m.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,a=o.height,l=e.offsetWidth,s=e.offsetHeight,d=Math.floor(i),f=Math.floor(a);if(u.current.width!==d||u.current.height!==f||u.current.offsetWidth!==l||u.current.offsetHeight!==s){var p={width:d,height:f,offsetWidth:l,offsetHeight:s};u.current=p;var v=l===Math.round(i)?i:l,h=s===Math.round(a)?a:s,g=(0,J.A)((0,J.A)({},p),{},{offsetWidth:v,offsetHeight:h});null==c||c(g,e,r),n&&Promise.resolve().then((function(){n(g,e)}))}}),[]);return r.useEffect((function(){var e,t,n=v();return n&&!o&&(e=n,t=h,pe.has(e)||(pe.set(e,new Set),ve.observe(e)),pe.get(e).add(t)),function(){return function(e,t){pe.has(e)&&(pe.get(e).delete(t),pe.get(e).size||(ve.unobserve(e),pe.delete(e)))}(n,h)}}),[i.current,o]),r.createElement(ye,{ref:a},d?r.cloneElement(s,{ref:p}):s)}const we=r.forwardRef(Ae);function Se(e,t){var n=e.children;return("function"==typeof n?[n]:ce(n)).map((function(n,o){var i=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(o);return r.createElement(we,(0,P.A)({},e,{key:i,ref:0===o?t:void 0}),n)}))}var xe=r.forwardRef(Se);xe.Collection=function(e){var t=e.children,n=e.onBatchResize,o=r.useRef(0),i=r.useRef([]),a=r.useContext(de),c=r.useCallback((function(e,t,r){o.current+=1;var c=o.current;i.current.push({size:e,element:t,data:r}),Promise.resolve().then((function(){c===o.current&&(null==n||n(i.current),i.current=[])})),null==a||a(e,t,r)}),[n,a]);return r.createElement(de.Provider,{value:c},t)};const Ce=xe;var ke=n(6956),Ee=n(5371);const Me=function(e){var t=e.activeTabOffset,n=e.horizontal,o=e.rtl,i=e.indicator,a=void 0===i?{}:i,c=a.size,l=a.align,s=void 0===l?"center":l,u=(0,r.useState)(),d=(0,ee.A)(u,2),f=d[0],p=d[1],v=(0,r.useRef)(),m=r.useCallback((function(e){return"function"==typeof c?c(e):"number"==typeof c?c:e}),[c]);function h(){Ee.A.cancel(v.current)}return(0,r.useEffect)((function(){var e={};if(t)if(n){e.width=m(t.width);var r=o?"right":"left";"start"===s&&(e[r]=t[r]),"center"===s&&(e[r]=t[r]+t.width/2,e.transform=o?"translateX(50%)":"translateX(-50%)"),"end"===s&&(e[r]=t[r]+t.width,e.transform="translateX(-100%)")}else e.height=m(t.height),"start"===s&&(e.top=t.top),"center"===s&&(e.top=t.top+t.height/2,e.transform="translateY(-50%)"),"end"===s&&(e.top=t.top+t.height,e.transform="translateY(-100%)");return h(),v.current=(0,Ee.A)((function(){p(e)})),h}),[t,n,o,s,m]),{style:f}};var Oe={width:0,height:0,left:0,top:0};function $e(e,t){var n=r.useRef(e),o=r.useState({}),i=(0,ee.A)(o,2)[1];return[n.current,function(e){var r="function"==typeof e?e(n.current):e;r!==n.current&&t(r,n.current),n.current=r,i({})}]}var Te=Math.pow(.995,20);var Re=n(981);function Pe(e){var t=(0,r.useState)(0),n=(0,ee.A)(t,2),o=n[0],i=n[1],a=(0,r.useRef)(0),c=(0,r.useRef)();return c.current=e,(0,Re.o)((function(){var e;null===(e=c.current)||void 0===e||e.call(c)}),[o]),function(){a.current===o&&(a.current+=1,i(a.current))}}var ze={width:0,height:0,left:0,top:0,right:0};function Ie(e){var t;return e instanceof Map?(t={},e.forEach((function(e,n){t[n]=e}))):t=e,JSON.stringify(t)}function Ne(e){return String(e).replace(/"/g,"TABS_DQ")}function Le(e,t,n,r){return!(!n||r||!1===e||void 0===e&&(!1===t||null===t))}var je=r.forwardRef((function(e,t){var n=e.prefixCls,o=e.editable,i=e.locale,a=e.style;return o&&!1!==o.showAdd?r.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:a,"aria-label":(null==i?void 0:i.addAriaLabel)||"Add tab",onClick:function(e){o.onEdit("add",{event:e})}},o.addIcon||"+"):null}));const _e=je;const He=r.forwardRef((function(e,t){var n,o=e.position,i=e.prefixCls,a=e.extra;if(!a)return null;var c={};return"object"!==(0,te.A)(a)||r.isValidElement(a)?c.right=a:c=a,"right"===o&&(n=c.right),"left"===o&&(n=c.left),n?r.createElement("div",{className:"".concat(i,"-extra-content"),ref:t},n):null}));var De=n(5470),Be=n(2633),We=n(6855),Fe=n(8542);function Xe(e){var t=e.prefixCls,n=e.align,o=e.arrow,a=e.arrowPos,c=o||{},l=c.className,s=c.content,u=a.x,d=void 0===u?0:u,f=a.y,p=void 0===f?0:f,v=r.useRef();if(!n||!n.points)return null;var m={position:"absolute"};if(!1!==n.autoArrow){var h=n.points[0],g=n.points[1],b=h[0],y=h[1],A=g[0],w=g[1];b!==A&&["t","b"].includes(b)?"t"===b?m.top=0:m.bottom=0:m.top=p,y!==w&&["l","r"].includes(y)?"l"===y?m.left=0:m.right=0:m.left=d}return r.createElement("div",{ref:v,className:i()("".concat(t,"-arrow"),l),style:m},s)}function Ke(e){var t=e.prefixCls,n=e.open,o=e.zIndex,a=e.mask,c=e.motion;return a?r.createElement(Fe.Ay,(0,P.A)({},c,{motionAppear:!0,visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return r.createElement("div",{style:{zIndex:o},className:i()("".concat(t,"-mask"),n)})})):null}const Ge=r.memo((function(e){return e.children}),(function(e,t){return t.cache}));var qe=r.forwardRef((function(e,t){var n=e.popup,o=e.className,a=e.prefixCls,c=e.style,l=e.target,s=e.onVisibleChanged,u=e.open,d=e.keepDom,f=e.fresh,p=e.onClick,v=e.mask,m=e.arrow,h=e.arrowPos,g=e.align,b=e.motion,y=e.maskMotion,A=e.forceRender,w=e.getPopupContainer,S=e.autoDestroy,x=e.portal,C=e.zIndex,k=e.onMouseEnter,E=e.onMouseLeave,M=e.onPointerEnter,O=e.ready,$=e.offsetX,T=e.offsetY,R=e.offsetR,z=e.offsetB,I=e.onAlign,N=e.onPrepare,L=e.stretch,j=e.targetWidth,_=e.targetHeight,H="function"==typeof n?n():n,D=u||d,B=(null==w?void 0:w.length)>0,W=r.useState(!w||!B),F=(0,ee.A)(W,2),X=F[0],K=F[1];if((0,Re.A)((function(){!X&&B&&l&&K(!0)}),[X,B,l]),!X)return null;var G="auto",q={left:"-1000vw",top:"-1000vh",right:G,bottom:G};if(O||!u){var Y,V=g.points,U=g.dynamicInset||(null===(Y=g._experimental)||void 0===Y?void 0:Y.dynamicInset),Q=U&&"r"===V[0][1],Z=U&&"b"===V[0][0];Q?(q.right=R,q.left=G):(q.left=$,q.right=G),Z?(q.bottom=z,q.top=G):(q.top=T,q.bottom=G)}var te={};return L&&(L.includes("height")&&_?te.height=_:L.includes("minHeight")&&_&&(te.minHeight=_),L.includes("width")&&j?te.width=j:L.includes("minWidth")&&j&&(te.minWidth=j)),u||(te.pointerEvents="none"),r.createElement(x,{open:A||D,getContainer:w&&function(){return w(l)},autoDestroy:S},r.createElement(Ke,{prefixCls:a,open:u,zIndex:C,mask:v,motion:y}),r.createElement(Ce,{onResize:I,disabled:!u},(function(e){return r.createElement(Fe.Ay,(0,P.A)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:A,leavedClassName:"".concat(a,"-hidden")},b,{onAppearPrepare:N,onEnterPrepare:N,visible:u,onVisibleChanged:function(e){var t;null==b||null===(t=b.onVisibleChanged)||void 0===t||t.call(b,e),s(e)}}),(function(n,l){var s=n.className,d=n.style,v=i()(a,s,o);return r.createElement("div",{ref:(0,ue.K4)(e,t,l),className:v,style:(0,J.A)((0,J.A)((0,J.A)((0,J.A)({"--arrow-x":"".concat(h.x||0,"px"),"--arrow-y":"".concat(h.y||0,"px")},q),te),d),{},{boxSizing:"border-box",zIndex:C},c),onMouseEnter:k,onMouseLeave:E,onPointerEnter:M,onClick:p},m&&r.createElement(Xe,{prefixCls:a,arrow:m,arrowPos:h,align:g}),r.createElement(Ge,{cache:!u&&!f},H))}))})))}));const Ye=qe;const Ve=r.forwardRef((function(e,t){var n=e.children,o=e.getTriggerDOMNode,i=(0,ue.f3)(n),a=r.useCallback((function(e){(0,ue.Xf)(t,o?o(e):e)}),[o]),c=(0,ue.xK)(a,n.ref);return i?r.cloneElement(n,{ref:c}):n}));const Ue=r.createContext(null);function Qe(e){return e?Array.isArray(e)?e:[e]:[]}const Ze=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1};function Je(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(arguments.length>2?arguments[2]:void 0)?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function et(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function tt(e){return e.ownerDocument.defaultView}function nt(e){for(var t=[],n=null==e?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var o=tt(n).getComputedStyle(n);[o.overflowX,o.overflowY,o.overflow].some((function(e){return r.includes(e)}))&&t.push(n),n=n.parentElement}return t}function rt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function ot(e){return rt(parseFloat(e),0)}function it(e,t){var n=(0,J.A)({},e);return(t||[]).forEach((function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=tt(e).getComputedStyle(e),r=t.overflow,o=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,c=t.borderLeftWidth,l=t.borderRightWidth,s=e.getBoundingClientRect(),u=e.offsetHeight,d=e.clientHeight,f=e.offsetWidth,p=e.clientWidth,v=ot(i),m=ot(a),h=ot(c),g=ot(l),b=rt(Math.round(s.width/f*1e3)/1e3),y=rt(Math.round(s.height/u*1e3)/1e3),A=(f-p-h-g)*b,w=(u-d-v-m)*y,S=v*y,x=m*y,C=h*b,k=g*b,E=0,M=0;if("clip"===r){var O=ot(o);E=O*b,M=O*y}var $=s.x+C-E,T=s.y+S-M,R=$+s.width+2*E-C-k-A,P=T+s.height+2*M-S-x-w;n.left=Math.max(n.left,$),n.top=Math.max(n.top,T),n.right=Math.min(n.right,R),n.bottom=Math.min(n.bottom,P)}})),n}function at(e){var t="".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),n=t.match(/^(.*)\%$/);return n?e*(parseFloat(n[1])/100):parseFloat(t)}function ct(e,t){var n=t||[],r=(0,ee.A)(n,2),o=r[0],i=r[1];return[at(e.width,o),at(e.height,i)]}function lt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function st(e,t){var n,r=t[0],o=t[1];return n="t"===r?e.y:"b"===r?e.y+e.height:e.y+e.height/2,{x:"l"===o?e.x:"r"===o?e.x+e.width:e.x+e.width/2,y:n}}function ut(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,r){return r===t?n[e]||"c":e})).join("")}var dt=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];const ft=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:De.A,t=r.forwardRef((function(t,n){var o=t.prefixCls,a=void 0===o?"rc-trigger-popup":o,c=t.children,l=t.action,s=void 0===l?"hover":l,u=t.showAction,d=t.hideAction,f=t.popupVisible,p=t.defaultPopupVisible,v=t.onPopupVisibleChange,m=t.afterPopupVisibleChange,h=t.mouseEnterDelay,g=t.mouseLeaveDelay,b=void 0===g?.1:g,y=t.focusDelay,A=t.blurDelay,w=t.mask,S=t.maskClosable,x=void 0===S||S,C=t.getPopupContainer,k=t.forceRender,E=t.autoDestroy,M=t.destroyPopupOnHide,O=t.popup,$=t.popupClassName,T=t.popupStyle,R=t.popupPlacement,P=t.builtinPlacements,z=void 0===P?{}:P,I=t.popupAlign,N=t.zIndex,L=t.stretch,j=t.getPopupClassNameFromAlign,H=t.fresh,D=t.alignPoint,B=t.onPopupClick,W=t.onPopupAlign,F=t.arrow,X=t.popupMotion,K=t.maskMotion,G=t.popupTransitionName,q=t.popupAnimation,Y=t.maskTransitionName,V=t.maskAnimation,U=t.className,Q=t.getTriggerDOMNode,Z=(0,ne.A)(t,dt),te=E||M||!1,re=r.useState(!1),ie=(0,ee.A)(re,2),ae=ie[0],ce=ie[1];(0,Re.A)((function(){ce(oe())}),[]);var le=r.useRef({}),ue=r.useContext(Ue),de=r.useMemo((function(){return{registerSubPopup:function(e,t){le.current[e]=t,null==ue||ue.registerSubPopup(e,t)}}}),[ue]),fe=(0,We.A)(),pe=r.useState(null),ve=(0,ee.A)(pe,2),me=ve[0],he=ve[1],ge=r.useRef(null),be=(0,ke.A)((function(e){ge.current=e,(0,se.f)(e)&&me!==e&&he(e),null==ue||ue.registerSubPopup(fe,e)})),ye=r.useState(null),Ae=(0,ee.A)(ye,2),we=Ae[0],Se=Ae[1],xe=r.useRef(null),Ee=(0,ke.A)((function(e){(0,se.f)(e)&&we!==e&&(Se(e),xe.current=e)})),Me=r.Children.only(c),Oe=(null==Me?void 0:Me.props)||{},$e={},Te=(0,ke.A)((function(e){var t,n,r=we;return(null==r?void 0:r.contains(e))||(null===(t=(0,Be.j)(r))||void 0===t?void 0:t.host)===e||e===r||(null==me?void 0:me.contains(e))||(null===(n=(0,Be.j)(me))||void 0===n?void 0:n.host)===e||e===me||Object.values(le.current).some((function(t){return(null==t?void 0:t.contains(e))||e===t}))})),Pe=et(a,X,q,G),ze=et(a,K,V,Y),Ie=r.useState(p||!1),Ne=(0,ee.A)(Ie,2),Le=Ne[0],je=Ne[1],_e=null!=f?f:Le,He=(0,ke.A)((function(e){void 0===f&&je(e)}));(0,Re.A)((function(){je(f||!1)}),[f]);var De=r.useRef(_e);De.current=_e;var Fe=r.useRef([]);Fe.current=[];var Xe=(0,ke.A)((function(e){var t;He(e),(null!==(t=Fe.current[Fe.current.length-1])&&void 0!==t?t:_e)!==e&&(Fe.current.push(e),null==v||v(e))})),Ke=r.useRef(),Ge=function(){clearTimeout(Ke.current)},qe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Ge(),0===t?Xe(e):Ke.current=setTimeout((function(){Xe(e)}),1e3*t)};r.useEffect((function(){return Ge}),[]);var ot=r.useState(!1),at=(0,ee.A)(ot,2),ft=at[0],pt=at[1];(0,Re.A)((function(e){e&&!_e||pt(!0)}),[_e]);var vt=r.useState(null),mt=(0,ee.A)(vt,2),ht=mt[0],gt=mt[1],bt=r.useState([0,0]),yt=(0,ee.A)(bt,2),At=yt[0],wt=yt[1],St=function(e){wt([e.clientX,e.clientY])},xt=function(e,t,n,o,i,a,c){var l=r.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:i[o]||{}}),s=(0,ee.A)(l,2),u=s[0],d=s[1],f=r.useRef(0),p=r.useMemo((function(){return t?nt(t):[]}),[t]),v=r.useRef({});e||(v.current={});var m=(0,ke.A)((function(){if(t&&n&&e){var r,l,s,u=t,f=u.ownerDocument,m=tt(u).getComputedStyle(u),h=m.width,g=m.height,b=m.position,y=u.style.left,A=u.style.top,w=u.style.right,S=u.style.bottom,x=u.style.overflow,C=(0,J.A)((0,J.A)({},i[o]),a),k=f.createElement("div");if(null===(r=u.parentElement)||void 0===r||r.appendChild(k),k.style.left="".concat(u.offsetLeft,"px"),k.style.top="".concat(u.offsetTop,"px"),k.style.position=b,k.style.height="".concat(u.offsetHeight,"px"),k.style.width="".concat(u.offsetWidth,"px"),u.style.left="0",u.style.top="0",u.style.right="auto",u.style.bottom="auto",u.style.overflow="hidden",Array.isArray(n))s={x:n[0],y:n[1],width:0,height:0};else{var E=n.getBoundingClientRect();s={x:E.x,y:E.y,width:E.width,height:E.height}}var M=u.getBoundingClientRect(),O=f.documentElement,$=O.clientWidth,T=O.clientHeight,R=O.scrollWidth,P=O.scrollHeight,z=O.scrollTop,I=O.scrollLeft,N=M.height,L=M.width,j=s.height,_=s.width,H={left:0,top:0,right:$,bottom:T},D={left:-I,top:-z,right:R-I,bottom:P-z},B=C.htmlRegion,W="visible",F="visibleFirst";"scroll"!==B&&B!==F&&(B=W);var X=B===F,K=it(D,p),G=it(H,p),q=B===W?G:K,Y=X?G:q;u.style.left="auto",u.style.top="auto",u.style.right="0",u.style.bottom="0";var V=u.getBoundingClientRect();u.style.left=y,u.style.top=A,u.style.right=w,u.style.bottom=S,u.style.overflow=x,null===(l=u.parentElement)||void 0===l||l.removeChild(k);var U=rt(Math.round(L/parseFloat(h)*1e3)/1e3),Q=rt(Math.round(N/parseFloat(g)*1e3)/1e3);if(0===U||0===Q||(0,se.f)(n)&&!Ze(n))return;var Z=C.offset,te=C.targetOffset,ne=ct(M,Z),re=(0,ee.A)(ne,2),oe=re[0],ie=re[1],ae=ct(s,te),ce=(0,ee.A)(ae,2),le=ce[0],ue=ce[1];s.x-=le,s.y-=ue;var de=C.points||[],fe=(0,ee.A)(de,2),pe=fe[0],ve=lt(fe[1]),me=lt(pe),he=st(s,ve),ge=st(M,me),be=(0,J.A)({},C),ye=he.x-ge.x+oe,Ae=he.y-ge.y+ie;function wt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:q,r=M.x+e,o=M.y+t,i=r+L,a=o+N,c=Math.max(r,n.left),l=Math.max(o,n.top),s=Math.min(i,n.right),u=Math.min(a,n.bottom);return Math.max(0,(s-c)*(u-l))}var we,Se,xe,Ce,ke=wt(ye,Ae),Ee=wt(ye,Ae,G),Me=st(s,["t","l"]),Oe=st(M,["t","l"]),$e=st(s,["b","r"]),Te=st(M,["b","r"]),Re=C.overflow||{},Pe=Re.adjustX,ze=Re.adjustY,Ie=Re.shiftX,Ne=Re.shiftY,Le=function(e){return"boolean"==typeof e?e:e>=0};function St(){we=M.y+Ae,Se=we+N,xe=M.x+ye,Ce=xe+L}St();var je=Le(ze),_e=me[0]===ve[0];if(je&&"t"===me[0]&&(Se>Y.bottom||v.current.bt)){var He=Ae;_e?He-=N-j:He=Me.y-Te.y-ie;var De=wt(ye,He),Be=wt(ye,He,G);De>ke||De===ke&&(!X||Be>=Ee)?(v.current.bt=!0,Ae=He,ie=-ie,be.points=[ut(me,0),ut(ve,0)]):v.current.bt=!1}if(je&&"b"===me[0]&&(weke||Fe===ke&&(!X||Xe>=Ee)?(v.current.tb=!0,Ae=We,ie=-ie,be.points=[ut(me,0),ut(ve,0)]):v.current.tb=!1}var Ke=Le(Pe),Ge=me[1]===ve[1];if(Ke&&"l"===me[1]&&(Ce>Y.right||v.current.rl)){var qe=ye;Ge?qe-=L-_:qe=Me.x-Te.x-oe;var Ye=wt(qe,Ae),Ve=wt(qe,Ae,G);Ye>ke||Ye===ke&&(!X||Ve>=Ee)?(v.current.rl=!0,ye=qe,oe=-oe,be.points=[ut(me,1),ut(ve,1)]):v.current.rl=!1}if(Ke&&"r"===me[1]&&(xeke||Qe===ke&&(!X||Je>=Ee)?(v.current.lr=!0,ye=Ue,oe=-oe,be.points=[ut(me,1),ut(ve,1)]):v.current.lr=!1}St();var et=!0===Ie?0:Ie;"number"==typeof et&&(xeG.right&&(ye-=Ce-G.right-oe,s.x>G.right-et&&(ye+=s.x-G.right+et)));var nt=!0===Ne?0:Ne;"number"==typeof nt&&(weG.bottom&&(Ae-=Se-G.bottom-ie,s.y>G.bottom-nt&&(Ae+=s.y-G.bottom+nt)));var ot=M.x+ye,at=ot+L,dt=M.y+Ae,ft=dt+N,pt=s.x,vt=pt+_,mt=s.y,ht=mt+j,gt=(Math.max(ot,pt)+Math.min(at,vt))/2-ot,bt=(Math.max(dt,mt)+Math.min(ft,ht))/2-dt;null==c||c(t,be);var yt=V.right-M.x-(ye+M.width),At=V.bottom-M.y-(Ae+M.height);d({ready:!0,offsetX:ye/U,offsetY:Ae/Q,offsetR:yt/U,offsetB:At/Q,arrowX:gt/U,arrowY:bt/Q,scaleX:U,scaleY:Q,align:be})}})),h=function(){d((function(e){return(0,J.A)((0,J.A)({},e),{},{ready:!1})}))};return(0,Re.A)(h,[o]),(0,Re.A)((function(){e||h()}),[e]),[u.ready,u.offsetX,u.offsetY,u.offsetR,u.offsetB,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,function(){f.current+=1;var e=f.current;Promise.resolve().then((function(){f.current===e&&m()}))}]}(_e,me,D?At:we,R,z,I,W),Ct=(0,ee.A)(xt,11),kt=Ct[0],Et=Ct[1],Mt=Ct[2],Ot=Ct[3],$t=Ct[4],Tt=Ct[5],Rt=Ct[6],Pt=Ct[7],zt=Ct[8],It=Ct[9],Nt=Ct[10],Lt=function(e,t,n,o){return r.useMemo((function(){var r=Qe(null!=n?n:t),i=Qe(null!=o?o:t),a=new Set(r),c=new Set(i);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),c.has("hover")&&(c.delete("hover"),c.add("click"))),[a,c]}),[e,t,n,o])}(ae,s,u,d),jt=(0,ee.A)(Lt,2),_t=jt[0],Ht=jt[1],Dt=_t.has("click"),Bt=Ht.has("click")||Ht.has("contextMenu"),Wt=(0,ke.A)((function(){ft||Nt()}));!function(e,t,n,r,o){(0,Re.A)((function(){if(e&&t&&n){var i=n,a=nt(t),c=nt(i),l=tt(i),s=new Set([l].concat((0,_.A)(a),(0,_.A)(c)));function u(){r(),o()}return s.forEach((function(e){e.addEventListener("scroll",u,{passive:!0})})),l.addEventListener("resize",u,{passive:!0}),r(),function(){s.forEach((function(e){e.removeEventListener("scroll",u),l.removeEventListener("resize",u)}))}}}),[e,t,n])}(_e,we,me,Wt,(function(){De.current&&D&&Bt&&qe(!1)})),(0,Re.A)((function(){Wt()}),[At,R]),(0,Re.A)((function(){!_e||null!=z&&z[R]||Wt()}),[JSON.stringify(I)]);var Ft=r.useMemo((function(){var e=function(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a1?a-1:0),l=1;l1?n-1:0),o=1;o1?n-1:0),o=1;oh,ge=(0,r.useMemo)((function(){var e=c;return ve?e=null===$&&k?c:c.slice(0,Math.min(c.length,R/f)):"number"==typeof h&&(e=c.slice(0,h)),e}),[c,f,$,h,ve]),be=(0,r.useMemo)((function(){return ve?c.slice(ae+1):c.slice(ge.length)}),[c,ge,ve,ae]),ye=(0,r.useCallback)((function(e,t){var n;return"function"==typeof u?u(e):null!==(n=u&&(null==e?void 0:e[u]))&&void 0!==n?n:t}),[u]),Ae=(0,r.useCallback)(l||function(e){return e},[l]);function we(e,t,n){(oe!==e||void 0!==t&&t!==Q)&&(ie(e),n||(ue(eR){we(r-1,e-o-q+F);break}}y&&xe(0)+q>R&&Z(null)}}),[R,N,F,q,ye,ge]);var ke=se&&!!be.length,Ee={};null!==Q&&ve&&(Ee={position:"absolute",left:Q,top:0});var Me,Oe={prefixCls:de,responsive:ve,component:S,invalidate:me},$e=s?function(e,t){var n=ye(e,t);return r.createElement(Rt.Provider,{key:n,value:(0,J.A)((0,J.A)({},Oe),{},{order:t,item:e,itemKey:n,registerSize:Se,display:t<=ae})},s(e,t))}:function(e,t){var n=ye(e,t);return r.createElement(Mt,(0,P.A)({},Oe,{order:t,key:n,item:e,renderItem:Ae,itemKey:n,registerSize:Se,display:t<=ae}))},Te={order:ke?ae:Number.MAX_SAFE_INTEGER,className:"".concat(de,"-rest"),registerSize:function(e,t){X(t),D(F)},display:ke};if(b)b&&(Me=r.createElement(Rt.Provider,{value:(0,J.A)((0,J.A)({},Oe),Te)},b(be)));else{var Pe=g||Bt;Me=r.createElement(Mt,(0,P.A)({},Oe,Te),"function"==typeof Pe?Pe(be):Pe)}var ze=r.createElement(w,(0,P.A)({className:i()(!me&&o,m),style:v,ref:t},C),ge.map($e),he?Me:null,y&&r.createElement(Mt,(0,P.A)({},Oe,{responsive:pe,responsiveDisabled:!ve,order:ae,className:"".concat(de,"-suffix"),registerSize:function(e,t){Y(t)},display:!0,style:Ee}),y));return pe&&(ze=r.createElement(Ce,{onResize:function(e,t){T(t.clientWidth)},disabled:!ve},ze)),ze}var Ft=r.forwardRef(Wt);Ft.displayName="Overflow",Ft.Item=jt,Ft.RESPONSIVE=Ht,Ft.INVALIDATE=Dt;const Xt=Ft;var Kt=n(3210),Gt=r.createContext(null);function qt(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function Yt(e){return qt(r.useContext(Gt),e)}var Vt=n(8104),Ut=["children","locked"],Qt=r.createContext(null);function Zt(e){var t=e.children,n=e.locked,o=(0,ne.A)(e,Ut),i=r.useContext(Qt),a=(0,Vt.A)((function(){return e=i,t=o,n=(0,J.A)({},e),Object.keys(t).forEach((function(e){var r=t[e];void 0!==r&&(n[e]=r)})),n;var e,t,n}),[i,o],(function(e,t){return!(n||e[0]===t[0]&&(0,Kt.A)(e[1],t[1],!0))}));return r.createElement(Qt.Provider,{value:a},t)}var Jt=[],en=r.createContext(null);function tn(){return r.useContext(en)}var nn=r.createContext(Jt);function rn(e){var t=r.useContext(nn);return r.useMemo((function(){return void 0!==e?[].concat((0,_.A)(t),[e]):t}),[t,e])}var on=r.createContext(null);const an=r.createContext({});function cn(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Ze(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),i=Number(o),a=null;return o&&!Number.isNaN(i)?a=i:r&&null===a&&(a=0),r&&e.disabled&&(a=null),null!==a&&(a>=0||t&&a<0)}return!1}function ln(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,_.A)(e.querySelectorAll("*")).filter((function(e){return cn(e,t)}));return cn(e,t)&&n.unshift(e),n}var sn=pt.A.LEFT,un=pt.A.RIGHT,dn=pt.A.UP,fn=pt.A.DOWN,pn=pt.A.ENTER,vn=pt.A.ESC,mn=pt.A.HOME,hn=pt.A.END,gn=[dn,fn,sn,un];function bn(e,t){return ln(e,!0).filter((function(e){return t.has(e)}))}function yn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=bn(e,t),i=o.length,a=o.findIndex((function(e){return n===e}));return r<0?-1===a?a=i-1:a-=1:r>0&&(a+=1),o[a=(a+i)%i]}var An=function(e,t){var n=new Set,r=new Map,o=new Map;return e.forEach((function(e){var i=document.querySelector("[data-menu-id='".concat(qt(t,e),"']"));i&&(n.add(i),o.set(i,e),r.set(e,i))})),{elements:n,key2element:r,element2key:o}};function wn(e,t,n,o,i,a,c,l,s,u){var d=r.useRef(),f=r.useRef();f.current=t;var p=function(){Ee.A.cancel(d.current)};return r.useEffect((function(){return function(){p()}}),[]),function(r){var v=r.which;if([].concat(gn,[pn,vn,mn,hn]).includes(v)){var m=a(),h=An(m,o),g=h,b=g.elements,y=g.key2element,A=g.element2key,w=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(y.get(t),b),S=A.get(w),x=function(e,t,n,r){var o,i="prev",a="next",c="children",l="parent";if("inline"===e&&r===pn)return{inlineTrigger:!0};var s=(0,Z.A)((0,Z.A)({},dn,i),fn,a),u=(0,Z.A)((0,Z.A)((0,Z.A)((0,Z.A)({},sn,n?a:i),un,n?i:a),fn,c),pn,c),d=(0,Z.A)((0,Z.A)((0,Z.A)((0,Z.A)((0,Z.A)((0,Z.A)({},dn,i),fn,a),pn,c),vn,l),sn,n?c:l),un,n?l:c);switch(null===(o={inline:s,horizontal:u,vertical:d,inlineSub:s,horizontalSub:d,verticalSub:d}["".concat(e).concat(t?"":"Sub")])||void 0===o?void 0:o[r]){case i:return{offset:-1,sibling:!0};case a:return{offset:1,sibling:!0};case l:return{offset:-1,sibling:!1};case c:return{offset:1,sibling:!1};default:return null}}(e,1===c(S,!0).length,n,v);if(!x&&v!==mn&&v!==hn)return;(gn.includes(v)||[mn,hn].includes(v))&&r.preventDefault();var C=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var r=A.get(e);l(r),p(),d.current=(0,Ee.A)((function(){f.current===r&&t.focus()}))}};if([mn,hn].includes(v)||x.sibling||!w){var k,E,M=bn(k=w&&"inline"!==e?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(w):i.current,b);E=v===mn?M[0]:v===hn?M[M.length-1]:yn(k,b,w,x.offset),C(E)}else if(x.inlineTrigger)s(S);else if(x.offset>0)s(S,!0),p(),d.current=(0,Ee.A)((function(){h=An(m,o);var e=w.getAttribute("aria-controls"),t=yn(document.getElementById(e),h.elements);C(t)}),5);else if(x.offset<0){var O=c(S,!0),$=O[O.length-2],T=y.get($);s($,!1),C(T)}}null==u||u(r)}}var Sn="__RC_UTIL_PATH_SPLIT__",xn=function(e){return e.join(Sn)},Cn="rc-menu-more";function kn(){var e=r.useState({}),t=(0,ee.A)(e,2)[1],n=(0,r.useRef)(new Map),o=(0,r.useRef)(new Map),i=r.useState([]),a=(0,ee.A)(i,2),c=a[0],l=a[1],s=(0,r.useRef)(0),u=(0,r.useRef)(!1),d=(0,r.useCallback)((function(e,r){var i=xn(r);o.current.set(i,e),n.current.set(e,i),s.current+=1;var a,c=s.current;a=function(){c===s.current&&(u.current||t({}))},Promise.resolve().then(a)}),[]),f=(0,r.useCallback)((function(e,t){var r=xn(t);o.current.delete(r),n.current.delete(e)}),[]),p=(0,r.useCallback)((function(e){l(e)}),[]),v=(0,r.useCallback)((function(e,t){var r=n.current.get(e)||"",o=r.split(Sn);return t&&c.includes(o[0])&&o.unshift(Cn),o}),[c]),m=(0,r.useCallback)((function(e,t){return e.some((function(e){return v(e,!0).includes(t)}))}),[v]),h=(0,r.useCallback)((function(e){var t="".concat(n.current.get(e)).concat(Sn),r=new Set;return(0,_.A)(o.current.keys()).forEach((function(e){e.startsWith(t)&&r.add(o.current.get(e))})),r}),[]);return r.useEffect((function(){return function(){u.current=!0}}),[]),{registerPath:d,unregisterPath:f,refreshOverflowKeys:p,isSubPathKey:m,getKeyPath:v,getKeys:function(){var e=(0,_.A)(n.current.keys());return c.length&&e.push(Cn),e},getSubPathKeys:h}}function En(e){var t=r.useRef(e);t.current=e;var n=r.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o1&&(y.motionAppear=!1);var A=y.onVisibleChanged;return y.onVisibleChanged=function(e){return p.current||e||g(!0),null==A?void 0:A(e)},h?null:r.createElement(Zt,{mode:a,locked:!p.current},r.createElement(Fe.Ay,(0,P.A)({visible:b},y,{forceRender:s,removeOnLeave:!1,leavedClassName:"".concat(l,"-hidden")}),(function(e){var n=e.className,o=e.style;return r.createElement(Xn,{id:t,className:n,style:o},i)})))}var Jn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],er=["active"],tr=function(e){var t=e.style,n=e.className,o=e.title,a=e.eventKey,c=(e.warnKey,e.disabled),l=e.internalPopupClose,s=e.children,u=e.itemIcon,d=e.expandIcon,f=e.popupClassName,p=e.popupOffset,v=e.popupStyle,m=e.onClick,h=e.onMouseEnter,g=e.onMouseLeave,b=e.onTitleClick,y=e.onTitleMouseEnter,A=e.onTitleMouseLeave,w=(0,ne.A)(e,Jn),S=Yt(a),x=r.useContext(Qt),C=x.prefixCls,k=x.mode,E=x.openKeys,M=x.disabled,O=x.overflowDisabled,$=x.activeKey,T=x.selectedKeys,R=x.itemIcon,z=x.expandIcon,I=x.onItemClick,N=x.onOpenChange,L=x.onActive,j=r.useContext(an)._internalRenderSubMenuItem,_=r.useContext(on).isSubPathKey,H=rn(),D="".concat(C,"-submenu"),B=M||c,W=r.useRef(),F=r.useRef();var X=null!=u?u:R,K=null!=d?d:z,G=E.includes(a),q=!O&&G,Y=_(T,a),V=$n(a,B,y,A),U=V.active,Q=(0,ne.A)(V,er),te=r.useState(!1),re=(0,ee.A)(te,2),oe=re[0],ie=re[1],ae=function(e){B||ie(e)},ce=r.useMemo((function(){return U||"inline"!==k&&(oe||_([$],a))}),[k,U,$,oe,a,_]),le=Tn(H.length),se=En((function(e){null==m||m(zn(e)),I(e)})),ue=S&&"".concat(S,"-popup"),de=r.createElement("div",(0,P.A)({role:"menuitem",style:le,className:"".concat(D,"-title"),tabIndex:B?null:-1,ref:W,title:"string"==typeof o?o:null,"data-menu-id":O&&S?null:S,"aria-expanded":q,"aria-haspopup":!0,"aria-controls":ue,"aria-disabled":B,onClick:function(e){B||(null==b||b({key:a,domEvent:e}),"inline"===k&&N(a,!G))},onFocus:function(){L(a)}},Q),o,r.createElement(Rn,{icon:"horizontal"!==k?K:void 0,props:(0,J.A)((0,J.A)({},e),{},{isOpen:q,isSubMenu:!0})},r.createElement("i",{className:"".concat(D,"-arrow")}))),fe=r.useRef(k);if("inline"!==k&&H.length>1?fe.current="vertical":fe.current=k,!O){var pe=fe.current;de=r.createElement(Qn,{mode:pe,prefixCls:D,visible:!l&&q&&"inline"!==k,popupClassName:f,popupOffset:p,popupStyle:v,popup:r.createElement(Zt,{mode:"horizontal"===pe?"vertical":pe},r.createElement(Xn,{id:ue,ref:F},s)),disabled:B,onVisibleChange:function(e){"inline"!==k&&N(a,e)}},de)}var ve=r.createElement(Xt.Item,(0,P.A)({role:"none"},w,{component:"li",style:t,className:i()(D,"".concat(D,"-").concat(k),n,(0,Z.A)((0,Z.A)((0,Z.A)((0,Z.A)({},"".concat(D,"-open"),q),"".concat(D,"-active"),ce),"".concat(D,"-selected"),Y),"".concat(D,"-disabled"),B)),onMouseEnter:function(e){ae(!0),null==h||h({key:a,domEvent:e})},onMouseLeave:function(e){ae(!1),null==g||g({key:a,domEvent:e})}}),de,!O&&r.createElement(Zn,{id:ue,open:q,keyPath:H},s));return j&&(ve=j(ve,e,{selected:Y,active:ce,open:q,disabled:B})),r.createElement(Zt,{onItemClick:se,mode:"horizontal"===k?"vertical":k,itemIcon:X,expandIcon:K},ve)};function nr(e){var t,n=e.eventKey,o=e.children,i=rn(n),a=Kn(o,i),c=tn();return r.useEffect((function(){if(c)return c.registerPath(n,i),function(){c.unregisterPath(n,i)}}),[i]),t=c?a:r.createElement(tr,e,a),r.createElement(nn.Provider,{value:i},t)}var rr=["className","title","eventKey","children"],or=["children"],ir=function(e){var t=e.className,n=e.title,o=(e.eventKey,e.children),a=(0,ne.A)(e,rr),c=r.useContext(Qt).prefixCls,l="".concat(c,"-item-group");return r.createElement("li",(0,P.A)({role:"presentation"},a,{onClick:function(e){return e.stopPropagation()},className:i()(l,t)}),r.createElement("div",{role:"presentation",className:"".concat(l,"-title"),title:"string"==typeof n?n:void 0},n),r.createElement("ul",{role:"group",className:"".concat(l,"-list")},o))};function ar(e){var t=e.children,n=(0,ne.A)(e,or),o=Kn(t,rn(n.eventKey));return tn()?o:r.createElement(ir,(0,a.A)(n,["warnKey"]),o)}function cr(e){var t=e.className,n=e.style,o=r.useContext(Qt).prefixCls;return tn()?null:r.createElement("li",{role:"separator",className:i()("".concat(o,"-item-divider"),t),style:n})}var lr=["label","children","key","type"];function sr(e){return(e||[]).map((function(e,t){if(e&&"object"===(0,te.A)(e)){var n=e,o=n.label,i=n.children,a=n.key,c=n.type,l=(0,ne.A)(n,lr),s=null!=a?a:"tmp-".concat(t);return i||"group"===c?"group"===c?r.createElement(ar,(0,P.A)({key:s},l,{title:o}),sr(i)):r.createElement(nr,(0,P.A)({key:s},l,{title:o}),sr(i)):"divider"===c?r.createElement(cr,(0,P.A)({key:s},l)):r.createElement(Dn,(0,P.A)({key:s},l),o)}return null})).filter((function(e){return e}))}function ur(e,t,n){var r=e;return t&&(r=sr(t)),Kn(r,n)}var dr=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],fr=[],pr=r.forwardRef((function(e,t){var n,o=e,a=o.prefixCls,c=void 0===a?"rc-menu":a,l=o.rootClassName,s=o.style,u=o.className,d=o.tabIndex,f=void 0===d?0:d,p=o.items,v=o.children,m=o.direction,h=o.id,g=o.mode,b=void 0===g?"vertical":g,y=o.inlineCollapsed,A=o.disabled,w=o.disabledOverflow,S=o.subMenuOpenDelay,x=void 0===S?.1:S,C=o.subMenuCloseDelay,k=void 0===C?.1:C,E=o.forceSubMenuRender,M=o.defaultOpenKeys,O=o.openKeys,$=o.activeKey,T=o.defaultActiveFirst,R=o.selectable,z=void 0===R||R,I=o.multiple,N=void 0!==I&&I,L=o.defaultSelectedKeys,j=o.selectedKeys,H=o.onSelect,D=o.onDeselect,B=o.inlineIndent,W=void 0===B?24:B,F=o.motion,X=o.defaultMotions,K=o.triggerSubMenuAction,G=void 0===K?"hover":K,q=o.builtinPlacements,Y=o.itemIcon,V=o.expandIcon,U=o.overflowedIndicator,Q=void 0===U?"...":U,te=o.overflowedIndicatorPopupClassName,oe=o.getPopupContainer,ie=o.onClick,ae=o.onOpenChange,ce=o.onKeyDown,le=(o.openAnimation,o.openTransitionName,o._internalRenderMenuItem),se=o._internalRenderSubMenuItem,ue=(0,ne.A)(o,dr),de=r.useMemo((function(){return ur(v,p,fr)}),[v,p]),fe=r.useState(!1),pe=(0,ee.A)(fe,2),ve=pe[0],me=pe[1],he=r.useRef(),ge=function(e){var t=(0,re.A)(e,{value:e}),n=(0,ee.A)(t,2),o=n[0],i=n[1];return r.useEffect((function(){On+=1;var e="".concat(Mn,"-").concat(On);i("rc-menu-uuid-".concat(e))}),[]),o}(h),be="rtl"===m;var ye=(0,re.A)(M,{value:O,postState:function(e){return e||fr}}),Ae=(0,ee.A)(ye,2),we=Ae[0],Se=Ae[1],xe=function(e){function t(){Se(e),null==ae||ae(e)}arguments.length>1&&void 0!==arguments[1]&&arguments[1]?(0,Ot.flushSync)(t):t()},Ce=r.useState(we),ke=(0,ee.A)(Ce,2),Ee=ke[0],Me=ke[1],Oe=r.useRef(!1),$e=r.useMemo((function(){return"inline"!==b&&"vertical"!==b||!y?[b,!1]:["vertical",y]}),[b,y]),Te=(0,ee.A)($e,2),Re=Te[0],Pe=Te[1],ze="inline"===Re,Ie=r.useState(Re),Ne=(0,ee.A)(Ie,2),Le=Ne[0],je=Ne[1],_e=r.useState(Pe),He=(0,ee.A)(_e,2),De=He[0],Be=He[1];r.useEffect((function(){je(Re),Be(Pe),Oe.current&&(ze?Se(Ee):xe(fr))}),[Re,Pe]);var We=r.useState(0),Fe=(0,ee.A)(We,2),Xe=Fe[0],Ke=Fe[1],Ge=Xe>=de.length-1||"horizontal"!==Le||w;r.useEffect((function(){ze&&Me(we)}),[we]),r.useEffect((function(){return Oe.current=!0,function(){Oe.current=!1}}),[]);var qe=kn(),Ye=qe.registerPath,Ve=qe.unregisterPath,Ue=qe.refreshOverflowKeys,Qe=qe.isSubPathKey,Ze=qe.getKeyPath,Je=qe.getKeys,et=qe.getSubPathKeys,tt=r.useMemo((function(){return{registerPath:Ye,unregisterPath:Ve}}),[Ye,Ve]),nt=r.useMemo((function(){return{isSubPathKey:Qe}}),[Qe]);r.useEffect((function(){Ue(Ge?fr:de.slice(Xe+1).map((function(e){return e.key})))}),[Xe,Ge]);var rt=(0,re.A)($||T&&(null===(n=de[0])||void 0===n?void 0:n.key),{value:$}),ot=(0,ee.A)(rt,2),it=ot[0],at=ot[1],ct=En((function(e){at(e)})),lt=En((function(){at(void 0)}));(0,r.useImperativeHandle)(t,(function(){return{list:he.current,focus:function(e){var t,n,r=Je(),o=An(r,ge),i=o.elements,a=o.key2element,c=o.element2key,l=bn(he.current,i),s=null!=it?it:l[0]?c.get(l[0]):null===(t=de.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key,u=a.get(s);s&&u&&(null==u||null===(n=u.focus)||void 0===n||n.call(u,e))}}}));var st=(0,re.A)(L||[],{value:j,postState:function(e){return Array.isArray(e)?e:null==e?fr:[e]}}),ut=(0,ee.A)(st,2),dt=ut[0],ft=ut[1],pt=En((function(e){null==ie||ie(zn(e)),function(e){if(z){var t,n=e.key,r=dt.includes(n);t=N?r?dt.filter((function(e){return e!==n})):[].concat((0,_.A)(dt),[n]):[n],ft(t);var o=(0,J.A)((0,J.A)({},e),{},{selectedKeys:t});r?null==D||D(o):null==H||H(o)}!N&&we.length&&"inline"!==Le&&xe(fr)}(e)})),vt=En((function(e,t){var n=we.filter((function(t){return t!==e}));if(t)n.push(e);else if("inline"!==Le){var r=et(e);n=n.filter((function(e){return!r.has(e)}))}(0,Kt.A)(we,n,!0)||xe(n,!0)})),mt=wn(Le,it,be,ge,he,Je,Ze,at,(function(e,t){var n=null!=t?t:!we.includes(e);vt(e,n)}),ce);r.useEffect((function(){me(!0)}),[]);var ht=r.useMemo((function(){return{_internalRenderMenuItem:le,_internalRenderSubMenuItem:se}}),[le,se]),gt="horizontal"!==Le||w?de:de.map((function(e,t){return r.createElement(Zt,{key:e.key,overflowDisabled:t>Xe},e)})),bt=r.createElement(Xt,(0,P.A)({id:h,ref:he,prefixCls:"".concat(c,"-overflow"),component:"ul",itemComponent:Dn,className:i()(c,"".concat(c,"-root"),"".concat(c,"-").concat(Le),u,(0,Z.A)((0,Z.A)({},"".concat(c,"-inline-collapsed"),De),"".concat(c,"-rtl"),be),l),dir:m,style:s,role:"menu",tabIndex:f,data:gt,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?de.slice(-t):null;return r.createElement(nr,{eventKey:Cn,title:Q,disabled:Ge,internalPopupClose:0===t,popupClassName:te},n)},maxCount:"horizontal"!==Le||w?Xt.INVALIDATE:Xt.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){Ke(e)},onKeyDown:mt},ue));return r.createElement(an.Provider,{value:ht},r.createElement(Gt.Provider,{value:ge},r.createElement(Zt,{prefixCls:c,rootClassName:l,mode:Le,openKeys:we,rtl:be,disabled:A,motion:ve?F:null,defaultMotions:ve?X:null,activeKey:it,onActive:ct,onInactive:lt,selectedKeys:dt,inlineIndent:W,subMenuOpenDelay:x,subMenuCloseDelay:k,forceSubMenuRender:E,builtinPlacements:q,triggerSubMenuAction:G,getPopupContainer:oe,itemIcon:Y,expandIcon:V,onItemClick:pt,onOpenChange:vt},r.createElement(on.Provider,{value:nt},bt),r.createElement("div",{style:{display:"none"},"aria-hidden":!0},r.createElement(en.Provider,{value:tt},de)))))}));var vr=pr;vr.Item=Dn,vr.SubMenu=nr,vr.ItemGroup=ar,vr.Divider=cr;const mr=vr;var hr=r.forwardRef((function(e,t){var n=e.prefixCls,o=e.id,a=e.tabs,c=e.locale,l=e.mobile,s=e.moreIcon,u=void 0===s?"More":s,d=e.moreTransitionName,f=e.style,p=e.className,v=e.editable,m=e.tabBarGutter,h=e.rtl,g=e.removeAriaLabel,b=e.onTabClick,y=e.getPopupContainer,A=e.popupClassName,w=(0,r.useState)(!1),S=(0,ee.A)(w,2),x=S[0],C=S[1],k=(0,r.useState)(null),E=(0,ee.A)(k,2),M=E[0],O=E[1],$="".concat(o,"-more-popup"),T="".concat(n,"-dropdown"),R=null!==M?"".concat($,"-").concat(M):null,P=null==c?void 0:c.dropdownAriaLabel;var z=r.createElement(mr,{onClick:function(e){var t=e.key,n=e.domEvent;b(t,n),C(!1)},prefixCls:"".concat(T,"-menu"),id:$,tabIndex:-1,role:"listbox","aria-activedescendant":R,selectedKeys:[M],"aria-label":void 0!==P?P:"expanded dropdown"},a.map((function(e){var t=e.closable,n=e.disabled,i=e.closeIcon,a=e.key,c=e.label,l=Le(t,i,v,n);return r.createElement(Dn,{key:a,id:"".concat($,"-").concat(a),role:"option","aria-controls":o&&"".concat(o,"-panel-").concat(a),disabled:n},r.createElement("span",null,c),l&&r.createElement("button",{type:"button","aria-label":g||"remove",tabIndex:0,className:"".concat(T,"-menu-item-remove"),onClick:function(e){e.stopPropagation(),function(e,t){e.preventDefault(),e.stopPropagation(),v.onEdit("remove",{key:t,event:e})}(e,a)}},i||v.removeIcon||"\xd7"))})));function I(e){for(var t=a.filter((function(e){return!e.disabled})),n=t.findIndex((function(e){return e.key===M}))||0,r=t.length,o=0;ot?"left":"right"})})),R=(0,ee.A)(T,2),z=R[0],I=R[1],N=$e(0,(function(e,t){!$&&g&&g({direction:e>t?"top":"bottom"})})),L=(0,ee.A)(N,2),j=L[0],H=L[1],D=(0,r.useState)([0,0]),B=(0,ee.A)(D,2),W=B[0],F=B[1],X=(0,r.useState)([0,0]),K=(0,ee.A)(X,2),G=K[0],q=K[1],Y=(0,r.useState)([0,0]),V=(0,ee.A)(Y,2),U=V[0],Q=V[1],te=(0,r.useState)([0,0]),ne=(0,ee.A)(te,2),re=ne[0],oe=ne[1],ae=function(e){var t=(0,r.useRef)([]),n=(0,r.useState)({}),o=(0,ee.A)(n,2)[1],i=(0,r.useRef)("function"==typeof e?e():e),a=Pe((function(){var e=i.current;t.current.forEach((function(t){e=t(e)})),t.current=[],i.current=e,o({})}));return[i.current,function(e){t.current.push(e),a()}]}(new Map),ce=(0,ee.A)(ae,2),le=ce[0],se=ce[1],de=function(e,t,n){return(0,r.useMemo)((function(){for(var n,r=new Map,o=t.get(null===(n=e[0])||void 0===n?void 0:n.key)||Oe,i=o.left+o.width,a=0;aAe?Ae:e}$&&s?(ye=0,Ae=Math.max(0,pe-ge)):(ye=Math.min(0,ge-pe),Ae=0);var Se=(0,r.useRef)(null),xe=(0,r.useState)(),Ee=(0,ee.A)(xe,2),Re=Ee[0],Le=Ee[1];function je(){Le(Date.now())}function De(){Se.current&&clearTimeout(Se.current)}!function(e,t){var n=(0,r.useState)(),o=(0,ee.A)(n,2),i=o[0],a=o[1],c=(0,r.useState)(0),l=(0,ee.A)(c,2),s=l[0],u=l[1],d=(0,r.useState)(0),f=(0,ee.A)(d,2),p=f[0],v=f[1],m=(0,r.useState)(),h=(0,ee.A)(m,2),g=h[0],b=h[1],y=(0,r.useRef)(),A=(0,r.useRef)(),w=(0,r.useRef)(null);w.current={onTouchStart:function(e){var t=e.touches[0],n=t.screenX,r=t.screenY;a({x:n,y:r}),window.clearInterval(y.current)},onTouchMove:function(e){if(i){e.preventDefault();var n=e.touches[0],r=n.screenX,o=n.screenY;a({x:r,y:o});var c=r-i.x,l=o-i.y;t(c,l);var d=Date.now();u(d),v(d-s),b({x:c,y:l})}},onTouchEnd:function(){if(i&&(a(null),b(null),g)){var e=g.x/p,n=g.y/p,r=Math.abs(e),o=Math.abs(n);if(Math.max(r,o)<.1)return;var c=e,l=n;y.current=window.setInterval((function(){Math.abs(c)<.01&&Math.abs(l)<.01?window.clearInterval(y.current):t(20*(c*=Te),20*(l*=Te))}),20)}},onWheel:function(e){var n=e.deltaX,r=e.deltaY,o=0,i=Math.abs(n),a=Math.abs(r);i===a?o="x"===A.current?n:r:i>a?(o=n,A.current="x"):(o=r,A.current="y"),t(-o,-o)&&e.preventDefault()}},r.useEffect((function(){function t(e){w.current.onTouchMove(e)}function n(e){w.current.onTouchEnd(e)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",n,{passive:!1}),e.current.addEventListener("touchstart",(function(e){w.current.onTouchStart(e)}),{passive:!1}),e.current.addEventListener("wheel",(function(e){w.current.onWheel(e)})),function(){document.removeEventListener("touchmove",t),document.removeEventListener("touchend",n)}}),[])}(k,(function(e,t){function n(e,t){e((function(e){return we(e+t)}))}return!!he&&($?n(I,e):n(H,t),De(),je(),!0)})),(0,r.useEffect)((function(){return De(),Re&&(Se.current=setTimeout((function(){Le(0)}),100)),De}),[Re]);var Be=function(e,t,n,o,i,a,c){var l,s,u,d=c.tabs,f=c.tabPosition,p=c.rtl;return["top","bottom"].includes(f)?(l="width",s=p?"right":"left",u=Math.abs(n)):(l="height",s="top",u=-n),(0,r.useMemo)((function(){if(!d.length)return[0,0];for(var n=d.length,r=n,o=0;ou+t){r=o-1;break}}for(var a=0,c=n-1;c>=0;c-=1)if((e.get(d[c].key)||ze)[s]=r?[0,0]:[a,r]}),[e,t,o,i,a,u,f,d.map((function(e){return e.key})).join("_"),p])}(de,ge,$?z:j,pe,ve,me,(0,J.A)((0,J.A)({},e),{},{tabs:w})),We=(0,ee.A)(Be,2),Fe=We[0],Xe=We[1],Ke=(0,ke.A)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=de.get(e)||{width:0,height:0,left:0,right:0,top:0};if($){var n=z;s?t.rightz+ge&&(n=t.right+t.width-ge):t.left<-z?n=-t.left:t.left+t.width>-z+ge&&(n=-(t.left+t.width-ge)),H(0),I(we(n))}else{var r=j;t.top<-j?r=-t.top:t.top+t.height>-j+ge&&(r=-(t.top+t.height-ge)),I(0),H(we(r))}})),Ge={};"top"===p||"bottom"===p?Ge[s?"marginRight":"marginLeft"]=v:Ge.marginTop=v;var qe=w.map((function(e,t){var n=e.key;return r.createElement(br,{id:a,prefixCls:A,key:n,tab:e,style:0===t?void 0:Ge,closable:e.closable,editable:d,active:n===l,renderWrapper:m,removeAriaLabel:null==f?void 0:f.removeAriaLabel,onClick:function(e){h(n,e)},onFocus:function(){Ke(n),je(),k.current&&(s||(k.current.scrollLeft=0),k.current.scrollTop=0)}})})),Ye=function(){return se((function(){var e,t=new Map,n=null===(e=E.current)||void 0===e?void 0:e.getBoundingClientRect();return w.forEach((function(e){var r,o=e.key,i=null===(r=E.current)||void 0===r?void 0:r.querySelector('[data-node-key="'.concat(Ne(o),'"]'));if(i){var a=function(e,t){var n=e.offsetWidth,r=e.offsetHeight,o=e.offsetTop,i=e.offsetLeft,a=e.getBoundingClientRect(),c=a.width,l=a.height,s=a.x,u=a.y;return Math.abs(c-n)<1?[c,l,s-t.x,u-t.y]:[n,r,i,o]}(i,n),c=(0,ee.A)(a,4),l=c[0],s=c[1],u=c[2],d=c[3];t.set(o,{width:l,height:s,left:u,top:d})}})),t}))};(0,r.useEffect)((function(){Ye()}),[w.map((function(e){return e.key})).join("_")]);var Ve=Pe((function(){var e=yr(S),t=yr(x),n=yr(C);F([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var r=yr(O);Q(r);var o=yr(M);oe(o);var i=yr(E);q([i[0]-r[0],i[1]-r[1]]),Ye()})),Ue=w.slice(0,Fe),Qe=w.slice(Xe+1),Ze=[].concat((0,_.A)(Ue),(0,_.A)(Qe)),Je=de.get(l),et=Me({activeTabOffset:Je,horizontal:$,indicator:b,rtl:s}).style;(0,r.useEffect)((function(){Ke()}),[l,ye,Ae,Ie(Je),Ie(de),$]),(0,r.useEffect)((function(){Ve()}),[s]);var tt,nt,rt,ot,it=!!Ze.length,at="".concat(A,"-nav-wrap");return $?s?(nt=z>0,tt=z!==Ae):(tt=z<0,nt=z!==ye):(rt=j<0,ot=j!==ye),r.createElement(Ce,{onResize:Ve},r.createElement("div",{ref:(0,ue.xK)(t,S),role:"tablist",className:i()("".concat(A,"-nav"),n),style:o,onKeyDown:function(){je()}},r.createElement(He,{ref:x,position:"left",extra:u,prefixCls:A}),r.createElement(Ce,{onResize:Ve},r.createElement("div",{className:i()(at,(0,Z.A)((0,Z.A)((0,Z.A)((0,Z.A)({},"".concat(at,"-ping-left"),tt),"".concat(at,"-ping-right"),nt),"".concat(at,"-ping-top"),rt),"".concat(at,"-ping-bottom"),ot)),ref:k},r.createElement(Ce,{onResize:Ve},r.createElement("div",{ref:E,className:"".concat(A,"-nav-list"),style:{transform:"translate(".concat(z,"px, ").concat(j,"px)"),transition:Re?"none":void 0}},qe,r.createElement(_e,{ref:O,prefixCls:A,locale:f,editable:d,style:(0,J.A)((0,J.A)({},0===qe.length?void 0:Ge),{},{visibility:it?"hidden":null})}),r.createElement("div",{className:i()("".concat(A,"-ink-bar"),(0,Z.A)({},"".concat(A,"-ink-bar-animated"),c.inkBar)),style:et}))))),r.createElement(gr,(0,P.A)({},e,{removeAriaLabel:null==f?void 0:f.removeAriaLabel,ref:M,prefixCls:A,tabs:Ze,className:!it&&be,tabMoving:!!Re})),r.createElement(He,{ref:C,position:"right",extra:u,prefixCls:A})))}));const Sr=wr;var xr=r.forwardRef((function(e,t){var n=e.prefixCls,o=e.className,a=e.style,c=e.id,l=e.active,s=e.tabKey,u=e.children;return r.createElement("div",{id:c&&"".concat(c,"-panel-").concat(s),role:"tabpanel",tabIndex:l?0:-1,"aria-labelledby":c&&"".concat(c,"-tab-").concat(s),"aria-hidden":!l,style:a,className:i()(n,l&&"".concat(n,"-active"),o),ref:t},u)}));const Cr=xr;var kr=["renderTabBar"],Er=["label","key"];const Mr=function(e){var t=e.renderTabBar,n=(0,ne.A)(e,kr),o=r.useContext(ie).tabs;return t?t((0,J.A)((0,J.A)({},n),{},{panes:o.map((function(e){var t=e.label,n=e.key,o=(0,ne.A)(e,Er);return r.createElement(Cr,(0,P.A)({tab:t,key:n,tabKey:n},o))}))}),Sr):r.createElement(Sr,n)};var Or=["key","forceRender","style","className","destroyInactiveTabPane"];const $r=function(e){var t=e.id,n=e.activeKey,o=e.animated,a=e.tabPosition,c=e.destroyInactiveTabPane,l=r.useContext(ie),s=l.prefixCls,u=l.tabs,d=o.tabPane,f="".concat(s,"-tabpane");return r.createElement("div",{className:i()("".concat(s,"-content-holder"))},r.createElement("div",{className:i()("".concat(s,"-content"),"".concat(s,"-content-").concat(a),(0,Z.A)({},"".concat(s,"-content-animated"),d))},u.map((function(e){var a=e.key,l=e.forceRender,s=e.style,u=e.className,p=e.destroyInactiveTabPane,v=(0,ne.A)(e,Or),m=a===n;return r.createElement(Fe.Ay,(0,P.A)({key:a,visible:m,forceRender:l,removeOnLeave:!(!c&&!p),leavedClassName:"".concat(f,"-hidden")},o.tabPaneMotion),(function(e,n){var o=e.style,c=e.className;return r.createElement(Cr,(0,P.A)({},v,{prefixCls:f,id:t,tabKey:a,animated:d,active:m,style:(0,J.A)((0,J.A)({},s),o),className:i()(u,c),ref:n}))}))}))))};var Tr=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],Rr=0;const Pr=r.forwardRef((function(e,t){var n=e.id,o=e.prefixCls,a=void 0===o?"rc-tabs":o,c=e.className,l=e.items,s=e.direction,u=e.activeKey,d=e.defaultActiveKey,f=e.editable,p=e.animated,v=e.tabPosition,m=void 0===v?"top":v,h=e.tabBarGutter,g=e.tabBarStyle,b=e.tabBarExtraContent,y=e.locale,A=e.moreIcon,w=e.moreTransitionName,S=e.destroyInactiveTabPane,x=e.renderTabBar,C=e.onChange,k=e.onTabClick,E=e.onTabScroll,M=e.getPopupContainer,O=e.popupClassName,$=e.indicator,T=(0,ne.A)(e,Tr),R=r.useMemo((function(){return(l||[]).filter((function(e){return e&&"object"===(0,te.A)(e)&&"key"in e}))}),[l]),z="rtl"===s,I=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:(0,J.A)({inkBar:!0},"object"===(0,te.A)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(p),N=(0,r.useState)(!1),L=(0,ee.A)(N,2),j=L[0],_=L[1];(0,r.useEffect)((function(){_(oe())}),[]);var H=(0,re.A)((function(){var e;return null===(e=R[0])||void 0===e?void 0:e.key}),{value:u,defaultValue:d}),D=(0,ee.A)(H,2),B=D[0],W=D[1],F=(0,r.useState)((function(){return R.findIndex((function(e){return e.key===B}))})),X=(0,ee.A)(F,2),K=X[0],G=X[1];(0,r.useEffect)((function(){var e,t=R.findIndex((function(e){return e.key===B}));-1===t&&(t=Math.max(0,Math.min(K,R.length-1)),W(null===(e=R[t])||void 0===e?void 0:e.key));G(t)}),[R.map((function(e){return e.key})).join("_"),B,K]);var q=(0,re.A)(null,{value:n}),Y=(0,ee.A)(q,2),V=Y[0],U=Y[1];(0,r.useEffect)((function(){n||(U("rc-tabs-".concat(Rr)),Rr+=1)}),[]);var Q={id:V,activeKey:B,animated:I,tabPosition:m,rtl:z,mobile:j},ae=(0,J.A)((0,J.A)({},Q),{},{editable:f,locale:y,moreIcon:A,moreTransitionName:w,tabBarGutter:h,onTabClick:function(e,t){null==k||k(e,t);var n=e!==B;W(e),n&&(null==C||C(e))},onTabScroll:E,extra:b,style:g,panes:null,getPopupContainer:M,popupClassName:O,indicator:$});return r.createElement(ie.Provider,{value:{tabs:R,prefixCls:a}},r.createElement("div",(0,P.A)({ref:t,id:n,className:i()(a,"".concat(a,"-").concat(m),(0,Z.A)((0,Z.A)((0,Z.A)({},"".concat(a,"-mobile"),j),"".concat(a,"-editable"),f),"".concat(a,"-rtl"),z),c)},T),r.createElement(Mr,(0,P.A)({},ae,{renderTabBar:x})),r.createElement($r,(0,P.A)({destroyInactiveTabPane:S},Q,{animated:I}))))}));var zr=n(934),Ir=n(3723);const Nr={motionAppear:!1,motionEnter:!0,motionLeave:!0};var Lr=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=Hr[t];return[(0,_r.b)(r,o,i,e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},Br=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[Dr(e,"slide-up"),Dr(e,"slide-down")]]},Wr=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:o,colorBorderSecondary:i,itemSelectedColor:a}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${(0,d.zA)(e.lineWidth)} ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:a,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,d.zA)(o)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${(0,d.zA)(e.borderRadiusLG)} ${(0,d.zA)(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${(0,d.zA)(e.borderRadiusLG)} ${(0,d.zA)(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:(0,d.zA)(o)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,d.zA)(e.borderRadiusLG)} 0 0 ${(0,d.zA)(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,d.zA)(e.borderRadiusLG)} ${(0,d.zA)(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},Fr=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,jr.dF)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${(0,d.zA)(r)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},jr.L9),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${(0,d.zA)(e.paddingXXS)} ${(0,d.zA)(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Xr=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:o,verticalItemPadding:i,verticalItemMargin:a,calc:c}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,d.zA)(e.lineWidth)} ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},\n right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,\n > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:c(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,d.zA)(c(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,d.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:c(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,d.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},Kr=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${(0,d.zA)(e.borderRadius)} ${(0,d.zA)(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${(0,d.zA)(e.borderRadius)} ${(0,d.zA)(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,d.zA)(e.borderRadius)} ${(0,d.zA)(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,d.zA)(e.borderRadius)} 0 0 ${(0,d.zA)(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},Gr=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:i,horizontalItemPadding:a,itemSelectedColor:c,itemColor:l}=e,s=`${t}-tab`;return{[s]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:l,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},(0,jr.K8)(e)),"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${s}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${s}-active ${s}-btn`]:{color:c,textShadow:e.tabsActiveTextShadow},[`&${s}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${s}-disabled ${s}-btn, &${s}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${s}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${s} + ${s}`]:{margin:{_skip_check_:!0,value:i}}}},qr=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:o,calc:i}=e,a=`${t}-rtl`;return{[a]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,d.zA)(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,d.zA)(e.marginXS)},marginLeft:{_skip_check_:!0,value:(0,d.zA)(i(e.marginXXS).mul(-1).equal())},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Yr=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:o,itemHoverColor:i,itemActiveColor:a,colorBorderSecondary:c}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,jr.dF)(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,minHeight:r,marginLeft:{_skip_check_:!0,value:o},padding:`0 ${(0,d.zA)(e.paddingXS)}`,background:"transparent",border:`${(0,d.zA)(e.lineWidth)} ${e.lineType} ${c}`,borderRadius:`${(0,d.zA)(e.borderRadiusLG)} ${(0,d.zA)(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:a}},(0,jr.K8)(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),Gr(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},Vr=(0,f.OF)("Tabs",(e=>{const t=(0,p.h1)(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,d.zA)(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,d.zA)(e.horizontalItemGutter)}`});return[Kr(t),qr(t),Xr(t),Fr(t),Wr(t),Yr(t),Br(t)]}),(e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}));var Ur=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{var t,n,o,a,l,u,d,f;const{type:p,className:v,rootClassName:m,size:h,onEdit:g,hideAdd:b,centered:y,addIcon:A,removeIcon:w,moreIcon:S,popupClassName:x,children:C,items:k,animated:E,style:M,indicatorSize:O,indicator:$}=e,T=Ur(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:R}=T,{direction:P,tabs:z,getPrefixCls:I,getPopupContainer:N}=r.useContext(c.QO),L=I("tabs",R),j=(0,zr.A)(L),[_,H,D]=Vr(L,j);let B;"editable-card"===p&&(B={onEdit:(e,t)=>{let{key:n,event:r}=t;null==g||g("add"===e?r:n,e)},removeIcon:null!==(t=null!=w?w:null==z?void 0:z.removeIcon)&&void 0!==t?t:r.createElement(K.A,null),addIcon:(null!=A?A:null==z?void 0:z.addIcon)||r.createElement(Q,null),showAdd:!0!==b});const W=I();const F=s(h),X=function(e,t){return e||function(e){return e.filter((e=>e))}(ce(t).map((e=>{if(r.isValidElement(e)){const{key:t,props:n}=e,r=n||{},{tab:o}=r,i=Lr(r,["tab"]);return Object.assign(Object.assign({key:String(t)},i),{label:o})}return null})))}(k,C),G=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{}),t.tabPane&&(t.tabPaneMotion=Object.assign(Object.assign({},Nr),{motionName:(0,Ir.b)(e,"switch")})),t}(L,E),q=Object.assign(Object.assign({},null==z?void 0:z.style),M),V={align:null!==(n=null==$?void 0:$.align)&&void 0!==n?n:null===(o=null==z?void 0:z.indicator)||void 0===o?void 0:o.align,size:null!==(d=null!==(l=null!==(a=null==$?void 0:$.size)&&void 0!==a?a:O)&&void 0!==l?l:null===(u=null==z?void 0:z.indicator)||void 0===u?void 0:u.size)&&void 0!==d?d:null==z?void 0:z.indicatorSize};return _(r.createElement(Pr,Object.assign({direction:P,getPopupContainer:N,moreTransitionName:`${W}-slide-up`},T,{items:X,className:i()({[`${L}-${F}`]:F,[`${L}-card`]:["card","editable-card"].includes(p),[`${L}-editable-card`]:"editable-card"===p,[`${L}-centered`]:y},null==z?void 0:z.className,v,m,H,D,j),popupClassName:i()(x,H,D,j),style:q,editable:B,moreIcon:null!==(f=null!=S?S:null==z?void 0:z.moreIcon)&&void 0!==f?f:r.createElement(Y,null),prefixCls:L,animated:G,indicator:V})))};Qr.TabPane=()=>null;const Zr=Qr;var Jr=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{var{prefixCls:t,className:n,hoverable:o=!0}=e,a=Jr(e,["prefixCls","className","hoverable"]);const{getPrefixCls:l}=r.useContext(c.QO),s=l("card",t),u=i()(`${s}-grid`,n,{[`${s}-grid-hoverable`]:o});return r.createElement("div",Object.assign({},a,{className:u}))},to=e=>{const{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:o,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${(0,d.zA)(o)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,d.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,d.zA)(e.borderRadiusLG)} ${(0,d.zA)(e.borderRadiusLG)} 0 0`},(0,jr.t6)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},jr.L9),{[`\n > ${n}-typography,\n > ${n}-typography-edit-content\n `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${(0,d.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},no=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`\n ${(0,d.zA)(o)} 0 0 0 ${n},\n 0 ${(0,d.zA)(o)} 0 0 ${n},\n ${(0,d.zA)(o)} ${(0,d.zA)(o)} 0 0 ${n},\n ${(0,d.zA)(o)} 0 0 0 ${n} inset,\n 0 ${(0,d.zA)(o)} 0 0 ${n} inset;\n `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},ro=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:o,colorBorderSecondary:i,actionsBg:a}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:a,borderTop:`${(0,d.zA)(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${(0,d.zA)(e.borderRadiusLG)} ${(0,d.zA)(e.borderRadiusLG)}`},(0,jr.t6)()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:(0,d.zA)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:o,lineHeight:(0,d.zA)(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,d.zA)(e.lineWidth)} ${e.lineType} ${i}`}}})},oo=e=>Object.assign(Object.assign({margin:`${(0,d.zA)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,jr.t6)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},jr.L9),"&-description":{color:e.colorTextDescription}}),io=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${(0,d.zA)(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${(0,d.zA)(e.padding)} ${(0,d.zA)(n)}`}}},ao=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},co=e=>{const{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:o,colorBorderSecondary:i,boxShadowTertiary:a,cardPaddingBase:c,extraColor:l}=e;return{[n]:Object.assign(Object.assign({},(0,jr.dF)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:a},[`${n}-head`]:to(e),[`${n}-extra`]:{marginInlineStart:"auto",color:l,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:c,borderRadius:`0 0 ${(0,d.zA)(e.borderRadiusLG)} ${(0,d.zA)(e.borderRadiusLG)}`},(0,jr.t6)()),[`${n}-grid`]:no(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${(0,d.zA)(e.borderRadiusLG)} ${(0,d.zA)(e.borderRadiusLG)} 0 0`}},[`${n}-actions`]:ro(e),[`${n}-meta`]:oo(e)}),[`${n}-bordered`]:{border:`${(0,d.zA)(e.lineWidth)} ${e.lineType} ${i}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{borderRadius:`${(0,d.zA)(e.borderRadiusLG)} ${(0,d.zA)(e.borderRadiusLG)} 0 0 `,[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{minHeight:0,[`${n}-head-title, ${n}-extra`]:{paddingTop:o}}},[`${n}-type-inner`]:io(e),[`${n}-loading`]:ao(e),[`${n}-rtl`]:{direction:"rtl"}}},lo=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${(0,d.zA)(n)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},so=(0,f.OF)("Card",(e=>{const t=(0,p.h1)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[co(t),lo(t)]}),(e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})));var uo=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const{actionClasses:t,actions:n=[],actionStyle:o}=e;return r.createElement("ul",{className:t,style:o},n.map(((e,t)=>{const o=`action-${t}`;return r.createElement("li",{style:{width:100/n.length+"%"},key:o},r.createElement("span",null,e))})))},po=r.forwardRef(((e,t)=>{const{prefixCls:n,className:o,rootClassName:l,style:u,extra:d,headStyle:f={},bodyStyle:p={},title:v,loading:m,bordered:h=!0,size:g,type:b,cover:y,actions:A,tabList:w,children:S,activeTabKey:x,defaultActiveTabKey:C,tabBarExtraContent:k,hoverable:E,tabProps:M={},classNames:O,styles:$}=e,T=uo(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:R,direction:P,card:z}=r.useContext(c.QO);const I=e=>{var t;return i()(null===(t=null==z?void 0:z.classNames)||void 0===t?void 0:t[e],null==O?void 0:O[e])},N=e=>{var t;return Object.assign(Object.assign({},null===(t=null==z?void 0:z.styles)||void 0===t?void 0:t[e]),null==$?void 0:$[e])},L=r.useMemo((()=>{let e=!1;return r.Children.forEach(S,(t=>{t&&t.type&&t.type===eo&&(e=!0)})),e}),[S]),j=R("card",n),[_,H,D]=so(j),B=r.createElement(X,{loading:!0,active:!0,paragraph:{rows:4},title:!1},S),W=void 0!==x,F=Object.assign(Object.assign({},M),{[W?"activeKey":"defaultActiveKey"]:W?x:C,tabBarExtraContent:k});let K;const G=s(g),q=G&&"default"!==G?G:"large",Y=w?r.createElement(Zr,Object.assign({size:q},F,{className:`${j}-head-tabs`,onChange:t=>{var n;null===(n=e.onTabChange)||void 0===n||n.call(e,t)},items:w.map((e=>{var{tab:t}=e,n=uo(e,["tab"]);return Object.assign({label:t},n)}))})):null;if(v||d||Y){const e=i()(`${j}-head`,I("header")),t=i()(`${j}-head-title`,I("title")),n=i()(`${j}-extra`,I("extra")),o=Object.assign(Object.assign({},f),N("header"));K=r.createElement("div",{className:e,style:o},r.createElement("div",{className:`${j}-head-wrapper`},v&&r.createElement("div",{className:t,style:N("title")},v),d&&r.createElement("div",{className:n,style:N("extra")},d)),Y)}const V=i()(`${j}-cover`,I("cover")),U=y?r.createElement("div",{className:V,style:N("cover")},y):null,Q=i()(`${j}-body`,I("body")),Z=Object.assign(Object.assign({},p),N("body")),J=r.createElement("div",{className:Q,style:Z},m?B:S),ee=i()(`${j}-actions`,I("actions")),te=A&&A.length?r.createElement(fo,{actionClasses:ee,actionStyle:N("actions"),actions:A}):null,ne=(0,a.A)(T,["onTabChange"]),re=i()(j,null==z?void 0:z.className,{[`${j}-loading`]:m,[`${j}-bordered`]:h,[`${j}-hoverable`]:E,[`${j}-contain-grid`]:L,[`${j}-contain-tabs`]:w&&w.length,[`${j}-${G}`]:G,[`${j}-type-${b}`]:!!b,[`${j}-rtl`]:"rtl"===P},o,l,H,D),oe=Object.assign(Object.assign({},null==z?void 0:z.style),u);return _(r.createElement("div",Object.assign({ref:t},ne,{className:re,style:oe}),K,U,J,te))}));var vo=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:n,avatar:o,title:a,description:l}=e,s=vo(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:u}=r.useContext(c.QO),d=u("card",t),f=i()(`${d}-meta`,n),p=o?r.createElement("div",{className:`${d}-meta-avatar`},o):null,v=a?r.createElement("div",{className:`${d}-meta-title`},a):null,m=l?r.createElement("div",{className:`${d}-meta-description`},l):null,h=v||m?r.createElement("div",{className:`${d}-meta-detail`},v,m):null;return r.createElement("div",Object.assign({},s,{className:f}),p,h)},ho=po;ho.Grid=eo,ho.Meta=mo;const go=ho},3517:(e,t,n)=>{"use strict";n.d(t,{A:()=>ge});var r=n(6540),o=n(8168),i=n(9379),a=n(3029),c=n(2901),l=n(6822),s=n(2176),u=n(3954),d=n(5501),f=n(4467),p=n(2284),v=n(45);const m={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};function h(e,t,n){var r=(n||{}).atBegin;return function(e,t,n){var r,o=n||{},i=o.noTrailing,a=void 0!==i&&i,c=o.noLeading,l=void 0!==c&&c,s=o.debounceMode,u=void 0===s?void 0:s,d=!1,f=0;function p(){r&&clearTimeout(r)}function v(){for(var n=arguments.length,o=new Array(n),i=0;ie?l?(f=Date.now(),a||(r=setTimeout(u?m:v,e))):v():!0!==a&&(r=setTimeout(u?m:v,void 0===u?e-s:e)))}return v.cancel=function(e){var t=(e||{}).upcomingOnly,n=void 0!==t&&t;p(),d=!n},v}(e,t,{debounceMode:!1!==(void 0!==r&&r)})}var g=n(6942),b=n.n(g);const y={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return r.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return r.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null};function A(e,t,n){return Math.max(t,Math.min(e,n))}var w=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()},S=function(e){for(var t=[],n=x(e),r=C(e),o=n;o0?1:0):0},E=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},M=function(e){return e&&e.offsetWidth||0},O=function(e){return e&&e.offsetHeight||0},$=function(e){var t,n,r,o,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,r=Math.atan2(n,t),(o=Math.round(180*r/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0||o<=360&&o>=315?"left":o>=135&&o<=225?"right":!0===i?o>=35&&o<=135?"up":"down":"vertical"},T=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},R=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n},P=function(e,t){var n=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,o=[];nn[n.length-1])t=n[n.length-1];else for(var o in n){if(t-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+M(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),!n)return 0;var i=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-i)||1}return e.slidesToScroll},I=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)},N=function(e){var t,n;(I(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]),e.vertical)?n=(e.unslick?e.slideCount:e.slideCount+2*e.slidesToShow)*e.slideHeight:t=D(e)*e.slideWidth;var r={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",c=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";r=(0,i.A)((0,i.A)({},r),{},{WebkitTransform:o,transform:a,msTransform:c})}else e.vertical?r.top=e.left:r.left=e.left;return e.fade&&(r={opacity:1}),t&&(r.width=t),n&&(r.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?r.marginTop=e.left+"px":r.marginLeft=e.left+"px"),r},L=function(e){I(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=N(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},j=function(e){if(e.unslick)return 0;I(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,r=e.slideIndex,o=e.trackRef,i=e.infinite,a=e.centerMode,c=e.slideCount,l=e.slidesToShow,s=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,f=e.variableWidth,p=e.slideHeight,v=e.fade,m=e.vertical;if(v||1===e.slideCount)return 0;var h=0;if(i?(h=-_(e),c%s!=0&&r+s>c&&(h=-(r>c?l-(r-c):c%s)),a&&(h+=parseInt(l/2))):(c%s!=0&&r+s>c&&(h=l-c%s),a&&(h=parseInt(l/2))),t=m?r*p*-1+h*p:r*u*-1+h*u,!0===f){var g,b=o&&o.node;if(g=r+_(e),t=(n=b&&b.childNodes[g])?-1*n.offsetLeft:0,!0===a){g=i?r+_(e):r,n=b&&b.children[g],t=0;for(var y=0;ye.currentSlide?e.targetSlide>e.currentSlide+W(e)?"left":"right":e.targetSlide0&&(i+=1),r&&t%2==0&&(i+=1),i}return r?0:t-1},F=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),r||t%2!=0||(i+=1),i}return r?t-1:0},X=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},K=Object.keys(y);var G=function(e){var t,n,r,o,i;return r=(i=e.rtl?e.slideCount-1-e.index:e.index)<0||i>=e.slideCount,e.centerMode?(o=Math.floor(e.slidesToShow/2),n=(i-e.currentSlide)%e.slideCount==0,i>e.currentSlide-o-1&&i<=e.currentSlide+o&&(t=!0)):t=e.currentSlide<=i&&i=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},q=function(e,t){return e.key+"-"+t},Y=function(e){var t,n=[],o=[],a=[],c=r.Children.count(e.children),l=x(e),s=C(e);return r.Children.forEach(e.children,(function(u,d){var f,p={message:"children",index:d,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};f=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(d)>=0?u:r.createElement("div",null);var v=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical&&e.slideHeight?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,t.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}((0,i.A)((0,i.A)({},e),{},{index:d})),m=f.props.className||"",h=G((0,i.A)((0,i.A)({},e),{},{index:d}));if(n.push(r.cloneElement(f,{key:"original"+q(f,d),"data-index":d,className:b()(h,m),tabIndex:"-1","aria-hidden":!h["slick-active"],style:(0,i.A)((0,i.A)({outline:"none"},f.props.style||{}),v),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(p)}})),e.infinite&&c>1&&!1===e.fade&&!e.unslick){var g=c-d;g<=_(e)&&((t=-g)>=l&&(f=u),h=G((0,i.A)((0,i.A)({},e),{},{index:t})),o.push(r.cloneElement(f,{key:"precloned"+q(f,t),"data-index":t,tabIndex:"-1",className:b()(h,m),"aria-hidden":!h["slick-active"],style:(0,i.A)((0,i.A)({},f.props.style||{}),v),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(p)}}))),(t=c+d)=w&&d<=g:d===w}),x={message:"dots",index:m,slidesToScroll:l,currentSlide:d},C=this.clickHandler.bind(this,x);v=v.concat(r.createElement("li",{key:m,className:S},r.cloneElement(this.props.customPaging(m),{onClick:C})))}return r.cloneElement(this.props.appendDots(v),(0,i.A)({className:this.props.dotsClass},p))}}])}(r.PureComponent);function Q(e,t,n){return t=(0,u.A)(t),(0,l.A)(e,(0,s.A)()?Reflect.construct(t,n||[],(0,u.A)(e).constructor):t.apply(e,n))}var Z=function(e){function t(){return(0,a.A)(this,t),Q(this,t,arguments)}return(0,d.A)(t,e),(0,c.A)(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:b()(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?r.cloneElement(this.props.prevArrow,(0,i.A)((0,i.A)({},n),a)):r.createElement("button",(0,o.A)({key:"0",type:"button"},n)," ","Previous")}}])}(r.PureComponent),J=function(e){function t(){return(0,a.A)(this,t),Q(this,t,arguments)}return(0,d.A)(t,e),(0,c.A)(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});T(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:b()(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?r.cloneElement(this.props.nextArrow,(0,i.A)((0,i.A)({},n),a)):r.createElement("button",(0,o.A)({key:"1",type:"button"},n)," ","Next")}}])}(r.PureComponent),ee=n(3591),te=["animating"];var ne=function(e){function t(e){var n,c,d,p;(0,a.A)(this,t),c=this,d=t,p=[e],d=(0,u.A)(d),n=(0,l.A)(c,(0,s.A)()?Reflect.construct(d,p||[],(0,u.A)(c).constructor):d.apply(c,p)),(0,f.A)(n,"listRefHandler",(function(e){return n.list=e})),(0,f.A)(n,"trackRefHandler",(function(e){return n.track=e})),(0,f.A)(n,"adaptHeight",(function(){if(n.props.adaptiveHeight&&n.list){var e=n.list.querySelector('[data-index="'.concat(n.state.currentSlide,'"]'));n.list.style.height=O(e)+"px"}})),(0,f.A)(n,"componentDidMount",(function(){if(n.props.onInit&&n.props.onInit(),n.props.lazyLoad){var e=S((0,i.A)((0,i.A)({},n.props),n.state));e.length>0&&(n.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),n.props.onLazyLoad&&n.props.onLazyLoad(e))}var t=(0,i.A)({listRef:n.list,trackRef:n.track},n.props);n.updateState(t,!0,(function(){n.adaptHeight(),n.props.autoplay&&n.autoPlay("playing")})),"progressive"===n.props.lazyLoad&&(n.lazyLoadTimer=setInterval(n.progressiveLazyLoad,1e3)),n.ro=new ee.A((function(){n.state.animating?(n.onWindowResized(!1),n.callbackTimers.push(setTimeout((function(){return n.onWindowResized()}),n.props.speed))):n.onWindowResized()})),n.ro.observe(n.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=n.props.pauseOnFocus?n.onSlideFocus:null,e.onblur=n.props.pauseOnFocus?n.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",n.onWindowResized):window.attachEvent("onresize",n.onWindowResized)})),(0,f.A)(n,"componentWillUnmount",(function(){n.animationEndCallback&&clearTimeout(n.animationEndCallback),n.lazyLoadTimer&&clearInterval(n.lazyLoadTimer),n.callbackTimers.length&&(n.callbackTimers.forEach((function(e){return clearTimeout(e)})),n.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",n.onWindowResized):window.detachEvent("onresize",n.onWindowResized),n.autoplayTimer&&clearInterval(n.autoplayTimer),n.ro.disconnect()})),(0,f.A)(n,"componentDidUpdate",(function(e){if(n.checkImagesLoad(),n.props.onReInit&&n.props.onReInit(),n.props.lazyLoad){var t=S((0,i.A)((0,i.A)({},n.props),n.state));t.length>0&&(n.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}})),n.props.onLazyLoad&&n.props.onLazyLoad(t))}n.adaptHeight();var o=(0,i.A)((0,i.A)({listRef:n.list,trackRef:n.track},n.props),n.state),a=n.didPropsChange(e);a&&n.updateState(o,a,(function(){n.state.currentSlide>=r.Children.count(n.props.children)&&n.changeSlide({message:"index",index:r.Children.count(n.props.children)-n.props.slidesToShow,currentSlide:n.state.currentSlide}),e.autoplay===n.props.autoplay&&e.autoplaySpeed===n.props.autoplaySpeed||(!e.autoplay&&n.props.autoplay?n.autoPlay("playing"):n.props.autoplay?n.autoPlay("update"):n.pause("paused"))}))})),(0,f.A)(n,"onWindowResized",(function(e){n.debouncedResize&&n.debouncedResize.cancel(),n.debouncedResize=h(50,(function(){return n.resizeWindow(e)})),n.debouncedResize()})),(0,f.A)(n,"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(Boolean(n.track&&n.track.node)){var t=(0,i.A)((0,i.A)({listRef:n.list,trackRef:n.track},n.props),n.state);n.updateState(t,e,(function(){n.props.autoplay?n.autoPlay("update"):n.pause("paused")})),n.setState({animating:!1}),clearTimeout(n.animationEndCallback),delete n.animationEndCallback}})),(0,f.A)(n,"updateState",(function(e,t,o){var a=function(e){var t,n=r.Children.count(e.children),o=e.listRef,a=Math.ceil(M(o)),c=e.trackRef&&e.trackRef.node,l=Math.ceil(M(c));if(e.vertical)t=a;else{var s=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(s*=a/100),t=Math.ceil((a-s)/e.slidesToShow)}var u=o&&O(o.querySelector('[data-index="0"]')),d=u*e.slidesToShow,f=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(f=n-1-e.initialSlide);var p=e.lazyLoadedList||[],v=S((0,i.A)((0,i.A)({},e),{},{currentSlide:f,lazyLoadedList:p})),m={slideCount:n,slideWidth:t,listWidth:a,trackWidth:l,currentSlide:f,slideHeight:u,listHeight:d,lazyLoadedList:p=p.concat(v)};return null===e.autoplaying&&e.autoplay&&(m.autoplaying="playing"),m}(e);e=(0,i.A)((0,i.A)((0,i.A)({},e),a),{},{slideIndex:a.currentSlide});var c=j(e);e=(0,i.A)((0,i.A)({},e),{},{left:c});var l=N(e);(t||r.Children.count(n.props.children)!==r.Children.count(e.children))&&(a.trackStyle=l),n.setState(a,o)})),(0,f.A)(n,"ssrInit",(function(){if(n.props.variableWidth){var e=0,t=0,o=[],a=_((0,i.A)((0,i.A)((0,i.A)({},n.props),n.state),{},{slideCount:n.props.children.length})),c=H((0,i.A)((0,i.A)((0,i.A)({},n.props),n.state),{},{slideCount:n.props.children.length}));n.props.children.forEach((function(t){o.push(t.props.style.width),e+=t.props.style.width}));for(var l=0;l=t&&n.onWindowResized()};if(e.onclick){var i=e.onclick;e.onclick=function(t){i(t),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(n.props.lazyLoad?e.onload=function(){n.adaptHeight(),n.callbackTimers.push(setTimeout(n.onWindowResized,n.props.speed))}:(e.onload=o,e.onerror=function(){o(),n.props.onLazyLoadError&&n.props.onLazyLoadError()}))}))})),(0,f.A)(n,"progressiveLazyLoad",(function(){for(var e=[],t=(0,i.A)((0,i.A)({},n.props),n.state),r=n.state.currentSlide;r=-_(t);o--)if(n.state.lazyLoadedList.indexOf(o)<0){e.push(o);break}e.length>0?(n.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),n.props.onLazyLoad&&n.props.onLazyLoad(e)):n.lazyLoadTimer&&(clearInterval(n.lazyLoadTimer),delete n.lazyLoadTimer)})),(0,f.A)(n,"slideHandler",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=n.props,o=r.asNavFor,a=r.beforeChange,c=r.onLazyLoad,l=r.speed,s=r.afterChange,u=n.state.currentSlide,d=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,a=e.index,c=e.slideCount,l=e.lazyLoad,s=e.currentSlide,u=e.centerMode,d=e.slidesToScroll,f=e.slidesToShow,p=e.useCSS,v=e.lazyLoadedList;if(t&&n)return{};var m,h,g,b=a,y={},w={},x=o?a:A(a,0,c-1);if(r){if(!o&&(a<0||a>=c))return{};a<0?b=a+c:a>=c&&(b=a-c),l&&v.indexOf(b)<0&&(v=v.concat(b)),y={animating:!0,currentSlide:b,lazyLoadedList:v,targetSlide:b},w={animating:!1,targetSlide:b}}else m=b,b<0?(m=b+c,o?c%d!=0&&(m=c-c%d):m=0):!T(e)&&b>s?b=m=s:u&&b>=c?(b=o?c:c-1,m=o?0:c-1):b>=c&&(m=b-c,o?c%d!=0&&(m=0):m=c-f),!o&&b+f>=c&&(m=c-f),h=j((0,i.A)((0,i.A)({},e),{},{slideIndex:b})),g=j((0,i.A)((0,i.A)({},e),{},{slideIndex:m})),o||(h===g&&(b=m),h=g),l&&(v=v.concat(S((0,i.A)((0,i.A)({},e),{},{currentSlide:b})))),p?(y={animating:!0,currentSlide:m,trackStyle:L((0,i.A)((0,i.A)({},e),{},{left:h})),lazyLoadedList:v,targetSlide:x},w={animating:!1,currentSlide:m,trackStyle:N((0,i.A)((0,i.A)({},e),{},{left:g})),swipeLeft:null,targetSlide:x}):y={currentSlide:m,trackStyle:N((0,i.A)((0,i.A)({},e),{},{left:g})),lazyLoadedList:v,targetSlide:x};return{state:y,nextState:w}}((0,i.A)((0,i.A)((0,i.A)({index:e},n.props),n.state),{},{trackRef:n.track,useCSS:n.props.useCSS&&!t})),f=d.state,p=d.nextState;if(f){a&&a(u,f.currentSlide);var m=f.lazyLoadedList.filter((function(e){return n.state.lazyLoadedList.indexOf(e)<0}));c&&m.length>0&&c(m),!n.props.waitForAnimate&&n.animationEndCallback&&(clearTimeout(n.animationEndCallback),s&&s(u),delete n.animationEndCallback),n.setState(f,(function(){o&&n.asNavForIndex!==e&&(n.asNavForIndex=e,o.innerSlider.slideHandler(e)),p&&(n.animationEndCallback=setTimeout((function(){var e=p.animating,t=(0,v.A)(p,te);n.setState(t,(function(){n.callbackTimers.push(setTimeout((function(){return n.setState({animating:e})}),10)),s&&s(f.currentSlide),delete n.animationEndCallback}))}),l))}))}})),(0,f.A)(n,"changeSlide",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=function(e,t){var n,r,o,a,c=e.slidesToScroll,l=e.slidesToShow,s=e.slideCount,u=e.currentSlide,d=e.targetSlide,f=e.lazyLoad,p=e.infinite;if(n=s%c!=0?0:(s-u)%c,"previous"===t.message)a=u-(o=0===n?c:l-n),f&&!p&&(a=-1==(r=u-o)?s-1:r),p||(a=d-c);else if("next"===t.message)a=u+(o=0===n?c:n),f&&!p&&(a=(u+c)%s+n),p||(a=d+c);else if("dots"===t.message)a=t.index*t.slidesToScroll;else if("children"===t.message){if(a=t.index,p){var v=B((0,i.A)((0,i.A)({},e),{},{targetSlide:a}));a>t.currentSlide&&"left"===v?a-=s:a10)return{scrolling:!0};c&&(b.swipeLength=E);var M=(l?-1:1)*(b.curX>b.startX?1:-1);c&&(M=b.curY>b.startY?1:-1);var O=Math.ceil(m/h),R=$(t.touchObject,c),P=b.swipeLength;return g||(0===s&&("right"===R||"down"===R)||s+1>=O&&("left"===R||"up"===R)||!T(t)&&("left"===R||"up"===R))&&(P=b.swipeLength*u,!1===d&&f&&(f(R),C.edgeDragged=!0)),!p&&y&&(y(R),C.swiped=!0),x=o?k+P*(A/S)*M:l?k-P*M:k+P*M,c&&(x=k+P*M),C=(0,i.A)((0,i.A)({},C),{},{touchObject:b,swipeLeft:x,trackStyle:N((0,i.A)((0,i.A)({},t),{},{left:x}))}),Math.abs(b.curX-b.startX)<.8*Math.abs(b.curY-b.startY)||b.swipeLength>10&&(C.swiping=!0,w(e)),C}}(e,(0,i.A)((0,i.A)((0,i.A)({},n.props),n.state),{},{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));t&&(t.swiping&&(n.clickable=!1),n.setState(t))})),(0,f.A)(n,"swipeEnd",(function(e){var t=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,a=t.listWidth,c=t.touchThreshold,l=t.verticalSwiping,s=t.listHeight,u=t.swipeToSlide,d=t.scrolling,f=t.onSwipe,p=t.targetSlide,v=t.currentSlide,m=t.infinite;if(!n)return r&&w(e),{};var h=l?s/c:a/c,g=$(o,l),b={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(d)return b;if(!o.swipeLength)return b;if(o.swipeLength>h){var y,A;w(e),f&&f(g);var S=m?v:p;switch(g){case"left":case"up":A=S+z(t),y=u?P(t,A):A,b.currentDirection=0;break;case"right":case"down":A=S-z(t),y=u?P(t,A):A,b.currentDirection=1;break;default:y=S}b.triggerSlideHandler=y}else{var x=j(t);b.trackStyle=L((0,i.A)((0,i.A)({},t),{},{left:x}))}return b}(e,(0,i.A)((0,i.A)((0,i.A)({},n.props),n.state),{},{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));if(t){var r=t.triggerSlideHandler;delete t.triggerSlideHandler,n.setState(t),void 0!==r&&(n.slideHandler(r),n.props.verticalSwiping&&n.enableBodyScroll())}})),(0,f.A)(n,"touchEnd",(function(e){n.swipeEnd(e),n.clickable=!0})),(0,f.A)(n,"slickPrev",(function(){n.callbackTimers.push(setTimeout((function(){return n.changeSlide({message:"previous"})}),0))})),(0,f.A)(n,"slickNext",(function(){n.callbackTimers.push(setTimeout((function(){return n.changeSlide({message:"next"})}),0))})),(0,f.A)(n,"slickGoTo",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";n.callbackTimers.push(setTimeout((function(){return n.changeSlide({message:"index",index:e,currentSlide:n.state.currentSlide},t)}),0))})),(0,f.A)(n,"play",(function(){var e;if(n.props.rtl)e=n.state.currentSlide-n.props.slidesToScroll;else{if(!T((0,i.A)((0,i.A)({},n.props),n.state)))return!1;e=n.state.currentSlide+n.props.slidesToScroll}n.slideHandler(e)})),(0,f.A)(n,"autoPlay",(function(e){n.autoplayTimer&&clearInterval(n.autoplayTimer);var t=n.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;n.autoplayTimer=setInterval(n.play,n.props.autoplaySpeed+50),n.setState({autoplaying:"playing"})})),(0,f.A)(n,"pause",(function(e){n.autoplayTimer&&(clearInterval(n.autoplayTimer),n.autoplayTimer=null);var t=n.state.autoplaying;"paused"===e?n.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==t&&"playing"!==t||n.setState({autoplaying:"focused"}):"playing"===t&&n.setState({autoplaying:"hovered"})})),(0,f.A)(n,"onDotsOver",(function(){return n.props.autoplay&&n.pause("hovered")})),(0,f.A)(n,"onDotsLeave",(function(){return n.props.autoplay&&"hovered"===n.state.autoplaying&&n.autoPlay("leave")})),(0,f.A)(n,"onTrackOver",(function(){return n.props.autoplay&&n.pause("hovered")})),(0,f.A)(n,"onTrackLeave",(function(){return n.props.autoplay&&"hovered"===n.state.autoplaying&&n.autoPlay("leave")})),(0,f.A)(n,"onSlideFocus",(function(){return n.props.autoplay&&n.pause("focused")})),(0,f.A)(n,"onSlideBlur",(function(){return n.props.autoplay&&"focused"===n.state.autoplaying&&n.autoPlay("blur")})),(0,f.A)(n,"render",(function(){var e,t,a,c=b()("slick-slider",n.props.className,{"slick-vertical":n.props.vertical,"slick-initialized":!0}),l=(0,i.A)((0,i.A)({},n.props),n.state),s=R(l,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),u=n.props.pauseOnHover;if(s=(0,i.A)((0,i.A)({},s),{},{onMouseEnter:u?n.onTrackOver:null,onMouseLeave:u?n.onTrackLeave:null,onMouseOver:u?n.onTrackOver:null,focusOnSelect:n.props.focusOnSelect&&n.clickable?n.selectHandler:null}),!0===n.props.dots&&n.state.slideCount>=n.props.slidesToShow){var d=R(l,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),f=n.props.pauseOnDotsHover;d=(0,i.A)((0,i.A)({},d),{},{clickHandler:n.changeSlide,onMouseEnter:f?n.onDotsLeave:null,onMouseOver:f?n.onDotsOver:null,onMouseLeave:f?n.onDotsLeave:null}),e=r.createElement(U,d)}var p=R(l,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);p.clickHandler=n.changeSlide,n.props.arrows&&(t=r.createElement(Z,p),a=r.createElement(J,p));var v=null;n.props.vertical&&(v={height:n.state.listHeight});var m=null;!1===n.props.vertical?!0===n.props.centerMode&&(m={padding:"0px "+n.props.centerPadding}):!0===n.props.centerMode&&(m={padding:n.props.centerPadding+" 0px"});var h=(0,i.A)((0,i.A)({},v),m),g=n.props.touchMove,y={className:"slick-list",style:h,onClick:n.clickHandler,onMouseDown:g?n.swipeStart:null,onMouseMove:n.state.dragging&&g?n.swipeMove:null,onMouseUp:g?n.swipeEnd:null,onMouseLeave:n.state.dragging&&g?n.swipeEnd:null,onTouchStart:g?n.swipeStart:null,onTouchMove:n.state.dragging&&g?n.swipeMove:null,onTouchEnd:g?n.touchEnd:null,onTouchCancel:n.state.dragging&&g?n.swipeEnd:null,onKeyDown:n.props.accessibility?n.keyHandler:null},A={className:c,dir:"ltr",style:n.props.style};return n.props.unslick&&(y={className:"slick-list"},A={className:c,style:n.props.style}),r.createElement("div",A,n.props.unslick?"":t,r.createElement("div",(0,o.A)({ref:n.listRefHandler},y),r.createElement(V,(0,o.A)({ref:n.trackRefHandler},s),n.props.children)),n.props.unslick?"":a,n.props.unslick?"":e)})),n.list=null,n.track=null,n.state=(0,i.A)((0,i.A)({},m),{},{currentSlide:n.props.initialSlide,targetSlide:n.props.initialSlide?n.props.initialSlide:0,slideCount:r.Children.count(n.props.children)}),n.callbackTimers=[],n.clickable=!0,n.debouncedResize=null;var g=n.ssrInit();return n.state=(0,i.A)((0,i.A)({},n.state),g),n}return(0,d.A)(t,e),(0,c.A)(t,[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,o=Object.keys(this.props);n1&&void 0!==arguments[1]&&arguments[1];return n.innerSlider.slickGoTo(e,t)})),(0,f.A)(n,"slickPause",(function(){return n.innerSlider.pause("paused")})),(0,f.A)(n,"slickPlay",(function(){return n.innerSlider.autoPlay("play")})),n.state={breakpoint:null},n._responsiveMediaHandlers=[],n}return(0,d.A)(t,e),(0,c.A)(t,[{key:"media",value:function(e,t){var n=window.matchMedia(e),r=function(e){e.matches&&t()};n.addListener(r),r(n),this._responsiveMediaHandlers.push({mql:n,query:e,listener:r})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(n,r){var o;o=0===r?oe()({minWidth:0,maxWidth:n}):oe()({minWidth:t[r-1]+1,maxWidth:n}),X()&&e.media(o,(function(){e.setState({breakpoint:n})}))}));var n=oe()({minWidth:t.slice(-1)[0]});X()&&this.media(n,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){e.mql.removeListener(e.listener)}))}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===n.state.breakpoint})))[0].settings?"unslick":(0,i.A)((0,i.A)((0,i.A)({},y),this.props),t[0].settings):(0,i.A)((0,i.A)({},y),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var a=r.Children.toArray(this.props.children);a=a.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var c=[],l=null,s=0;s=a.length));p+=1)f.push(r.cloneElement(a[p],{key:100*s+10*d+p,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));u.push(r.createElement("div",{key:10*s+d},f))}e.variableWidth?c.push(r.createElement("div",{key:s,style:{width:l}},u)):c.push(r.createElement("div",{key:s},u))}if("unslick"===e){var v="regular slider "+(this.props.className||"");return r.createElement("div",{className:v},a)}return c.length<=e.slidesToShow&&!e.infinite&&(e.unslick=!0),r.createElement(ne,(0,o.A)({style:this.props.style,ref:this.innerSliderRefHandler},function(e){return K.reduce((function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t}),{})}(e)),c)}}])}(r.Component);var ae=n(2279),ce=n(1466),le=n(5905),se=n(3442),ue=n(336);const de=e=>{const{componentCls:t,antCls:n,carouselArrowSize:r,carouselDotOffset:o,marginXXS:i}=e,a=e.calc(r).mul(-1.25).equal(),c=i;return{[t]:Object.assign(Object.assign({},(0,le.dF)(e)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"},".slick-arrow.slick-hidden":{display:"none"},".slick-prev, .slick-next":{position:"absolute",top:"50%",display:"block",width:r,height:r,marginTop:e.calc(r).mul(-1).div(2).equal(),padding:0,color:"transparent",fontSize:0,lineHeight:0,background:"transparent",border:0,outline:"none",cursor:"pointer","&:hover, &:focus":{color:"transparent",background:"transparent",outline:"none","&::before":{opacity:1}},"&.slick-disabled::before":{opacity:.25}},".slick-prev":{insetInlineStart:a,"&::before":{content:'"\u2190"'}},".slick-next":{insetInlineEnd:a,"&::before":{content:'"\u2192"'}},".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,margin:0,listStyle:"none","&-bottom":{bottom:o},"&-top":{top:o,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:e.dotWidth,height:e.dotHeight,marginInline:c,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${e.motionDurationSlow}`,button:{position:"relative",display:"block",width:"100%",height:e.dotHeight,padding:0,color:"transparent",fontSize:0,background:e.colorBgContainer,border:0,borderRadius:e.dotHeight,outline:"none",cursor:"pointer",opacity:.3,transition:`all ${e.motionDurationSlow}`,"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:e.calc(c).mul(-1).equal(),content:'""'}},"&.slick-active":{width:e.dotActiveWidth,"& button":{background:e.colorBgContainer,opacity:1},"&: hover, &:focus":{opacity:1}}}}})}},fe=e=>{const{componentCls:t,carouselDotOffset:n,marginXXS:r}=e,o={width:e.dotHeight,height:e.dotWidth};return{[`${t}-vertical`]:{".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:e.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:n},"&-right":{insetInlineEnd:n,insetInlineStart:"auto"},li:Object.assign(Object.assign({},o),{margin:`${(0,ce.zA)(r)} 0`,verticalAlign:"baseline",button:o,"&.slick-active":Object.assign(Object.assign({},o),{button:o})})}}}},pe=e=>{const{componentCls:t}=e;return[{[`${t}-rtl`]:{direction:"rtl",".slick-dots":{[`${t}-rtl&`]:{flexDirection:"row-reverse"}}}},{[`${t}-vertical`]:{".slick-dots":{[`${t}-rtl&`]:{flexDirection:"column"}}}}]},ve=(0,se.OF)("Carousel",(e=>{const{controlHeightLG:t,controlHeightSM:n}=e,r=(0,ue.h1)(e,{carouselArrowSize:e.calc(t).div(2).equal(),carouselDotOffset:e.calc(n).div(2).equal()});return[de(r),fe(r),pe(r)]}),(()=>({dotWidth:16,dotHeight:3,dotWidthActive:24,dotActiveWidth:24})),{deprecatedTokens:[["dotWidthActive","dotActiveWidth"]]});var me=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const{dots:n=!0,arrows:o=!1,draggable:i=!1,waitForAnimate:a=!1,dotPosition:c="bottom",vertical:l="left"===c||"right"===c,rootClassName:s,className:u,style:d,id:f}=e,p=me(e,["dots","arrows","draggable","waitForAnimate","dotPosition","vertical","rootClassName","className","style","id"]),{getPrefixCls:v,direction:m,carousel:h}=r.useContext(ae.QO),g=r.useRef(),y=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];g.current.slickGoTo(e,t)};r.useImperativeHandle(t,(()=>({goTo:y,autoPlay:g.current.innerSlider.autoPlay,innerSlider:g.current.innerSlider,prev:g.current.slickPrev,next:g.current.slickNext})),[g.current]);const A=r.useRef(r.Children.count(e.children));r.useEffect((()=>{A.current!==r.Children.count(e.children)&&(y(e.initialSlide||0,!1),A.current=r.Children.count(e.children))}),[e.children]);const w=Object.assign({vertical:l,className:b()(u,null==h?void 0:h.className),style:Object.assign(Object.assign({},null==h?void 0:h.style),d)},p);"fade"===w.effect&&(w.fade=!0);const S=v("carousel",w.prefixCls),x="slick-dots",C=!!n,k=b()(x,`${x}-${c}`,"boolean"!=typeof n&&(null==n?void 0:n.className)),[E,M,O]=ve(S),$=b()(S,{[`${S}-rtl`]:"rtl"===m,[`${S}-vertical`]:w.vertical},M,O,s);return E(r.createElement("div",{className:$,id:f},r.createElement(ie,Object.assign({ref:g},w,{dots:C,dotsClass:k,arrows:o,draggable:i,verticalSwiping:l,waitForAnimate:a}))))}));const ge=he},8224:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,c:()=>i});var r=n(6540);const o=r.createContext(void 0),i=e=>{let{children:t,size:n}=e;const i=r.useContext(o);return r.createElement(o.Provider,{value:n||i},t)},a=o},2279:(e,t,n)=>{"use strict";n.d(t,{QO:()=>i,pM:()=>o});var r=n(6540);const o="anticon",i=r.createContext({getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:o}),{Consumer:a}=i},934:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6613);const o=e=>{const[,,,,t]=(0,r.Ay)();return t?`${e}-css-var`:""}},1412:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>Q});var r=n(6540),o=n.t(r,2),i=n(1466),a=n(1053),c=n(8104),l=n(1526);n(8210);function s(){}const u=r.createContext({}),d=()=>{const e=()=>{};return e.deprecated=s,e},f=(0,r.createContext)(void 0);var p=n(2130);let v=Object.assign({},p.A.Modal),m=[];const h=()=>m.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),p.A.Modal);const g=(0,r.createContext)(void 0);const b=e=>{const{locale:t={},children:n,_ANT_MARK__:o}=e;r.useEffect((()=>{const e=function(e){if(e){const t=Object.assign({},e);return m.push(t),v=h(),()=>{m=m.filter((e=>e!==t)),v=h()}}v=Object.assign({},p.A.Modal)}(t&&t.Modal);return e}),[t]);const i=r.useMemo((()=>Object.assign(Object.assign({},t),{exist:!0})),[t]);return r.createElement(g.Provider,{value:i},n)};var y=n(9806),A=n(723),w=n(2279),S=n(2200),x=n(4978),C=n(998),k=n(5089);const E=`-ant-${Date.now()}-${Math.random()}`;function M(e,t){const n=function(e,t){const n={},r=(e,t)=>{let n=e.clone();return n=(null==t?void 0:t(n))||n,n.toRgbString()},o=(e,t)=>{const o=new x.q(e),i=(0,S.cM)(o.toRgbString());n[`${t}-color`]=r(o),n[`${t}-color-disabled`]=i[1],n[`${t}-color-hover`]=i[4],n[`${t}-color-active`]=i[6],n[`${t}-color-outline`]=o.clone().setAlpha(.2).toRgbString(),n[`${t}-color-deprecated-bg`]=i[0],n[`${t}-color-deprecated-border`]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");const e=new x.q(t.primaryColor),i=(0,S.cM)(e.toRgbString());i.forEach(((e,t)=>{n[`primary-${t+1}`]=e})),n["primary-color-deprecated-l-35"]=r(e,(e=>e.lighten(35))),n["primary-color-deprecated-l-20"]=r(e,(e=>e.lighten(20))),n["primary-color-deprecated-t-20"]=r(e,(e=>e.tint(20))),n["primary-color-deprecated-t-50"]=r(e,(e=>e.tint(50))),n["primary-color-deprecated-f-12"]=r(e,(e=>e.setAlpha(.12*e.getAlpha())));const a=new x.q(i[0]);n["primary-color-active-deprecated-f-30"]=r(a,(e=>e.setAlpha(.3*e.getAlpha()))),n["primary-color-active-deprecated-d-02"]=r(a,(e=>e.darken(2)))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),`\n :root {\n ${Object.keys(n).map((t=>`--${e}-${t}: ${n[t]};`)).join("\n")}\n }\n `.trim()}(e,t);(0,C.A)()&&(0,k.BD)(n,`${E}-dynamic-theme`)}const O=r.createContext(!1),$=e=>{let{children:t,disabled:n}=e;const o=r.useContext(O);return r.createElement(O.Provider,{value:null!=n?n:o},t)},T=O;var R=n(8224);const P=function(){return{componentDisabled:(0,r.useContext)(T),componentSize:(0,r.useContext)(R.A)}};var z=n(3210);const I=Object.assign({},o),{useId:N}=I,L=void 0===N?()=>"":N;var j=n(8542),_=n(6613);function H(e){const{children:t}=e,[,n]=(0,_.Ay)(),{motion:o}=n,i=r.useRef(!1);return i.current=i.current||!1===o,i.current?r.createElement(j.Kq,{motion:o},t):t}const D=()=>null;var B=n(2366),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const{children:t,csp:n,autoInsertSpaceInButton:o,alert:s,anchor:v,form:m,locale:h,componentSize:g,direction:S,space:x,virtual:C,dropdownMatchSelectWidth:k,popupMatchSelectWidth:E,popupOverflow:M,legacyLocale:O,parentContext:T,iconPrefixCls:P,theme:I,componentDisabled:N,segmented:j,statistic:_,spin:X,calendar:K,carousel:G,cascader:q,collapse:Y,typography:V,checkbox:U,descriptions:Q,divider:Z,drawer:J,skeleton:ee,steps:te,image:ne,layout:re,list:oe,mentions:ie,modal:ae,progress:ce,result:le,slider:se,breadcrumb:ue,menu:de,pagination:fe,input:pe,textArea:ve,empty:me,badge:he,radio:ge,rate:be,switch:ye,transfer:Ae,avatar:we,message:Se,tag:xe,table:Ce,card:ke,tabs:Ee,timeline:Me,timePicker:Oe,upload:$e,notification:Te,tree:Re,colorPicker:Pe,datePicker:ze,rangePicker:Ie,flex:Ne,wave:Le,dropdown:je,warning:_e,tour:He,floatButtonGroup:De}=e,Be=r.useCallback(((t,n)=>{const{prefixCls:r}=e;if(n)return n;const o=r||T.getPrefixCls("");return t?`${o}-${t}`:o}),[T.getPrefixCls,e.prefixCls]),We=P||T.iconPrefixCls||w.pM,Fe=n||T.csp;(0,B.A)(We,Fe);const Xe=function(e,t,n){var r;d("ConfigProvider");const o=e||{},i=!1!==o.inherit&&t?t:Object.assign(Object.assign({},y.sb),{hashed:null!==(r=null==t?void 0:t.hashed)&&void 0!==r?r:y.sb.hashed,cssVar:null==t?void 0:t.cssVar}),a=L();return(0,c.A)((()=>{var r,c;if(!e)return t;const l=Object.assign({},i.components);Object.keys(e.components||{}).forEach((t=>{l[t]=Object.assign(Object.assign({},l[t]),e.components[t])}));const s=`css-var-${a.replace(/:/g,"")}`,u=(null!==(r=o.cssVar)&&void 0!==r?r:i.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:null==n?void 0:n.prefixCls},"object"==typeof i.cssVar?i.cssVar:{}),"object"==typeof o.cssVar?o.cssVar:{}),{key:"object"==typeof o.cssVar&&(null===(c=o.cssVar)||void 0===c?void 0:c.key)||s});return Object.assign(Object.assign(Object.assign({},i),o),{token:Object.assign(Object.assign({},i.token),o.token),components:l,cssVar:u})}),[o,i],((e,t)=>e.some(((e,n)=>{const r=t[n];return!(0,z.A)(e,r,!0)}))))}(I,T.theme,{prefixCls:Be("")});const Ke={csp:Fe,autoInsertSpaceInButton:o,alert:s,anchor:v,locale:h||O,direction:S,space:x,virtual:C,popupMatchSelectWidth:null!=E?E:k,popupOverflow:M,getPrefixCls:Be,iconPrefixCls:We,theme:Xe,segmented:j,statistic:_,spin:X,calendar:K,carousel:G,cascader:q,collapse:Y,typography:V,checkbox:U,descriptions:Q,divider:Z,drawer:J,skeleton:ee,steps:te,image:ne,input:pe,textArea:ve,layout:re,list:oe,mentions:ie,modal:ae,progress:ce,result:le,slider:se,breadcrumb:ue,menu:de,pagination:fe,empty:me,badge:he,radio:ge,rate:be,switch:ye,transfer:Ae,avatar:we,message:Se,tag:xe,table:Ce,card:ke,tabs:Ee,timeline:Me,timePicker:Oe,upload:$e,notification:Te,tree:Re,colorPicker:Pe,datePicker:ze,rangePicker:Ie,flex:Ne,wave:Le,dropdown:je,warning:_e,tour:He,floatButtonGroup:De},Ge=Object.assign({},T);Object.keys(Ke).forEach((e=>{void 0!==Ke[e]&&(Ge[e]=Ke[e])})),F.forEach((t=>{const n=e[t];n&&(Ge[t]=n)}));const qe=(0,c.A)((()=>Ge),Ge,((e,t)=>{const n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((n=>e[n]!==t[n]))})),Ye=r.useMemo((()=>({prefixCls:We,csp:Fe})),[We,Fe]);let Ve=r.createElement(r.Fragment,null,r.createElement(D,{dropdownMatchSelectWidth:k}),t);const Ue=r.useMemo((()=>{var e,t,n,r;return(0,l.h)((null===(e=p.A.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=qe.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=qe.form)||void 0===r?void 0:r.validateMessages)||{},(null==m?void 0:m.validateMessages)||{})}),[qe,null==m?void 0:m.validateMessages]);Object.keys(Ue).length>0&&(Ve=r.createElement(f.Provider,{value:Ue},Ve)),h&&(Ve=r.createElement(b,{locale:h,_ANT_MARK__:"internalMark"},Ve)),(We||Fe)&&(Ve=r.createElement(a.A.Provider,{value:Ye},Ve)),g&&(Ve=r.createElement(R.c,{size:g},Ve)),Ve=r.createElement(H,null,Ve);const Qe=r.useMemo((()=>{const e=Xe||{},{algorithm:t,token:n,components:r,cssVar:o}=e,a=W(e,["algorithm","token","components","cssVar"]),c=t&&(!Array.isArray(t)||t.length>0)?(0,i.an)(t):y.zQ,l={};Object.entries(r||{}).forEach((e=>{let[t,n]=e;const r=Object.assign({},n);"algorithm"in r&&(!0===r.algorithm?r.theme=c:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=(0,i.an)(r.algorithm)),delete r.algorithm),l[t]=r}));const s=Object.assign(Object.assign({},A.A),n);return Object.assign(Object.assign({},a),{theme:c,token:s,components:l,override:Object.assign({override:s},l),cssVar:o})}),[Xe]);return I&&(Ve=r.createElement(y.vG.Provider,{value:Qe},Ve)),qe.warning&&(Ve=r.createElement(u.Provider,{value:qe.warning},Ve)),void 0!==N&&(Ve=r.createElement($,{disabled:N},Ve)),r.createElement(w.QO.Provider,{value:qe},Ve)},U=e=>{const t=r.useContext(w.QO),n=r.useContext(g);return r.createElement(V,Object.assign({parentContext:t,legacyLocale:n},e))};U.ConfigContext=w.QO,U.SizeContext=R.A,U.config=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:o}=e;void 0!==t&&(X=t),void 0!==n&&(K=n),"holderRender"in e&&(q=o),r&&(!function(e){return Object.keys(e).some((e=>e.endsWith("Color")))}(r)?G=r:M(Y(),r))},U.useConfig=P,Object.defineProperty(U,"SizeContext",{get:()=>R.A});const Q=U},943:(e,t,n)=>{"use strict";n.d(t,{A:()=>xt});var r=n(6540),o=n(8168);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};var a=n(6653),c=function(e,t){return r.createElement(a.A,(0,o.A)({},e,{ref:t,icon:i}))};const l=r.forwardRef(c);var s=n(6942),u=n.n(s),d=n(9379),f=n(4467),p=n(641),v=n(2284),m=n(45);function h(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}var g=n(2533),b=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],y=r.createContext(null),A=0;function w(e){var t=e.src,n=e.isCustomPlaceholder,o=e.fallback,i=(0,r.useState)(n?"loading":"normal"),a=(0,p.A)(i,2),c=a[0],l=a[1],s=(0,r.useRef)(!1),u="error"===c;(0,r.useEffect)((function(){var e=!0;return function(e){return new Promise((function(t){var n=document.createElement("img");n.onerror=function(){return t(!1)},n.onload=function(){return t(!0)},n.src=e}))}(t).then((function(t){!t&&e&&l("error")})),function(){e=!1}}),[t]),(0,r.useEffect)((function(){n&&!s.current?l("loading"):u&&l("normal")}),[t]);var d=function(){l("normal")};return[function(e){s.current=!1,"loading"===c&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(s.current=!0,d())},u&&o?{src:o}:{onLoad:d,src:t},c]}var S=n(5470),x=r.createContext({}),C=n(4808),k=n(6855),E=n(6928),M="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),O="aria-",$="data-";function T(e,t){return 0===e.indexOf(t)}function R(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:(0,d.A)({},n);var r={};return Object.keys(e).forEach((function(n){(t.aria&&("role"===n||T(n,O))||t.data&&T(n,$)||t.attr&&M.includes(n))&&(r[n]=e[n])})),r}function P(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function z(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}var I=n(8542),N=n(8719);const L=r.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate}));var j={width:0,height:0,overflow:"hidden",outline:"none"},_={outline:"none"},H=r.forwardRef((function(e,t){var n=e.prefixCls,i=e.className,a=e.style,c=e.title,l=e.ariaId,s=e.footer,f=e.closable,p=e.closeIcon,m=e.onClose,h=e.children,g=e.bodyStyle,b=e.bodyProps,y=e.modalRender,A=e.onMouseDown,w=e.onMouseUp,S=e.holderRef,C=e.visible,k=e.forceRender,E=e.width,M=e.height,O=e.classNames,$=e.styles,T=r.useContext(x).panel,P=(0,N.xK)(S,T),z=(0,r.useRef)(),I=(0,r.useRef)(),H=(0,r.useRef)();r.useImperativeHandle(t,(function(){return{focus:function(){var e;null===(e=H.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===I.current?z.current.focus():e||t!==z.current||I.current.focus()}}}));var D,B,W={};void 0!==E&&(W.width=E),void 0!==M&&(W.height=M),s&&(D=r.createElement("div",{className:u()("".concat(n,"-footer"),null==O?void 0:O.footer),style:(0,d.A)({},null==$?void 0:$.footer)},s)),c&&(B=r.createElement("div",{className:u()("".concat(n,"-header"),null==O?void 0:O.header),style:(0,d.A)({},null==$?void 0:$.header)},r.createElement("div",{className:"".concat(n,"-title"),id:l},c)));var F,X=(0,r.useMemo)((function(){return"object"===(0,v.A)(f)&&null!==f?f:f?{closeIcon:null!=p?p:r.createElement("span",{className:"".concat(n,"-close-x")})}:{}}),[f,p]),K=R(X,!0);f&&(F=r.createElement("button",(0,o.A)({type:"button",onClick:m,"aria-label":"Close"},K,{className:"".concat(n,"-close")}),X.closeIcon));var G=r.createElement("div",{className:u()("".concat(n,"-content"),null==O?void 0:O.content),style:null==$?void 0:$.content},F,B,r.createElement("div",(0,o.A)({className:u()("".concat(n,"-body"),null==O?void 0:O.body),style:(0,d.A)((0,d.A)({},g),null==$?void 0:$.body)},b),h),D);return r.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":c?l:null,"aria-modal":"true",ref:P,style:(0,d.A)((0,d.A)({},a),W),className:u()(n,i),onMouseDown:A,onMouseUp:w},r.createElement("div",{tabIndex:0,ref:z,style:j,"aria-hidden":"true"}),r.createElement("div",{ref:H,tabIndex:-1,style:_},r.createElement(L,{shouldUpdate:C||k},y?y(G):G)),r.createElement("div",{tabIndex:0,ref:I,style:j,"aria-hidden":"true"}))}));const D=H;var B=r.forwardRef((function(e,t){var n=e.prefixCls,i=e.title,a=e.style,c=e.className,l=e.visible,s=e.forceRender,f=e.destroyOnClose,v=e.motionName,m=e.ariaId,h=e.onVisibleChanged,g=e.mousePosition,b=(0,r.useRef)(),y=r.useState(),A=(0,p.A)(y,2),w=A[0],S=A[1],x={};function C(){var e,t,n,r,o,i=(e=b.current,t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow,n.left+=z(o),n.top+=z(o,!0),n);S(g?"".concat(g.x-i.left,"px ").concat(g.y-i.top,"px"):"")}return w&&(x.transformOrigin=w),r.createElement(I.Ay,{visible:l,onVisibleChanged:h,onAppearPrepare:C,onEnterPrepare:C,forceRender:s,motionName:v,removeOnLeave:f,ref:b},(function(l,s){var f=l.className,p=l.style;return r.createElement(D,(0,o.A)({},e,{ref:t,title:i,ariaId:m,prefixCls:n,holderRef:s,style:(0,d.A)((0,d.A)((0,d.A)({},p),a),x),className:u()(c,f)}))}))}));B.displayName="Content";const W=B;function F(e){var t=e.prefixCls,n=e.style,i=e.visible,a=e.maskProps,c=e.motionName,l=e.className;return r.createElement(I.Ay,{key:"mask",visible:i,motionName:c,leavedClassName:"".concat(t,"-mask-hidden")},(function(e,i){var c=e.className,s=e.style;return r.createElement("div",(0,o.A)({ref:i,style:(0,d.A)((0,d.A)({},s),n),className:u()("".concat(t,"-mask"),c,l)},a))}))}var X=n(8210);function K(e){var t=e.prefixCls,n=void 0===t?"rc-dialog":t,i=e.zIndex,a=e.visible,c=void 0!==a&&a,l=e.keyboard,s=void 0===l||l,f=e.focusTriggerAfterClose,v=void 0===f||f,m=e.wrapStyle,h=e.wrapClassName,g=e.wrapProps,b=e.onClose,y=e.afterOpenChange,A=e.afterClose,w=e.transitionName,S=e.animation,x=e.closable,M=void 0===x||x,O=e.mask,$=void 0===O||O,T=e.maskTransitionName,z=e.maskAnimation,I=e.maskClosable,N=void 0===I||I,L=e.maskStyle,j=e.maskProps,_=e.rootClassName,H=e.classNames,D=e.styles;var B=(0,r.useRef)(),X=(0,r.useRef)(),K=(0,r.useRef)(),G=r.useState(c),q=(0,p.A)(G,2),Y=q[0],V=q[1],U=(0,k.A)();function Q(e){null==b||b(e)}var Z=(0,r.useRef)(!1),J=(0,r.useRef)(),ee=null;return N&&(ee=function(e){Z.current?Z.current=!1:X.current===e.target&&Q(e)}),(0,r.useEffect)((function(){c&&(V(!0),(0,C.A)(X.current,document.activeElement)||(B.current=document.activeElement))}),[c]),(0,r.useEffect)((function(){return function(){clearTimeout(J.current)}}),[]),r.createElement("div",(0,o.A)({className:u()("".concat(n,"-root"),_)},R(e,{data:!0})),r.createElement(F,{prefixCls:n,visible:$&&c,motionName:P(n,T,z),style:(0,d.A)((0,d.A)({zIndex:i},L),null==D?void 0:D.mask),maskProps:j,className:null==H?void 0:H.mask}),r.createElement("div",(0,o.A)({tabIndex:-1,onKeyDown:function(e){if(s&&e.keyCode===E.A.ESC)return e.stopPropagation(),void Q(e);c&&e.keyCode===E.A.TAB&&K.current.changeActive(!e.shiftKey)},className:u()("".concat(n,"-wrap"),h,null==H?void 0:H.wrapper),ref:X,onClick:ee,style:(0,d.A)((0,d.A)((0,d.A)({zIndex:i},m),null==D?void 0:D.wrapper),{},{display:Y?null:"none"})},g),r.createElement(W,(0,o.A)({},e,{onMouseDown:function(){clearTimeout(J.current),Z.current=!0},onMouseUp:function(){J.current=setTimeout((function(){Z.current=!1}))},ref:K,closable:M,ariaId:U,prefixCls:n,visible:c&&Y,onClose:Q,onVisibleChanged:function(e){if(e)(0,C.A)(X.current,document.activeElement)||null===(t=K.current)||void 0===t||t.focus();else{if(V(!1),$&&B.current&&v){try{B.current.focus({preventScroll:!0})}catch(n){}B.current=null}Y&&(null==A||A())}var t;null==y||y(e)},motionName:P(n,w,S)}))))}var G=function(e){var t=e.visible,n=e.getContainer,i=e.forceRender,a=e.destroyOnClose,c=void 0!==a&&a,l=e.afterClose,s=e.panelRef,u=r.useState(t),d=(0,p.A)(u,2),f=d[0],v=d[1],m=r.useMemo((function(){return{panel:s}}),[s]);return r.useEffect((function(){t&&v(!0)}),[t]),i||!c||f?r.createElement(x.Provider,{value:m},r.createElement(S.A,{open:t||i||f,autoDestroy:!1,getContainer:n,autoLock:t||f},r.createElement(K,(0,o.A)({},e,{destroyOnClose:c,afterClose:function(){null==l||l(),v(!1)}})))):null};G.displayName="Dialog";const q=G;var Y=n(961);function V(e,t,n,r){var o=Y.unstable_batchedUpdates?function(e){Y.unstable_batchedUpdates(n,e)}:n;return null!=e&&e.addEventListener&&e.addEventListener(t,o,r),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,o,r)}}}var U=n(3210),Q=n(5371),Z={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function J(e,t,n,r){var o=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,f.A)({},e,i);if(t<0&&or)return(0,f.A)({},e,t<0?i:-i);return{}}function ee(e,t,n,r){var o=h(),i=o.width,a=o.height,c=null;return e<=i&&t<=a?c={x:0,y:0}:(e>i||t>a)&&(c=(0,d.A)((0,d.A)({},J("x",n,e,i)),J("y",r,t,a))),c}function te(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.hypot(n,r)}function ne(e,t,n,o,i,a,c){var l=i.rotate,s=i.scale,u=i.x,f=i.y,v=(0,r.useState)(!1),m=(0,p.A)(v,2),h=m[0],g=m[1],b=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),y=function(e){b.current=(0,d.A)((0,d.A)({},b.current),e)};return(0,r.useEffect)((function(){var e;return n&&t&&(e=V(window,"touchmove",(function(e){return e.preventDefault()}),{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}}),[n,t]),{isTouching:h,onTouchStart:function(e){if(t){e.stopPropagation(),g(!0);var n=e.touches,r=void 0===n?[]:n;r.length>1?y({point1:{x:r[0].clientX,y:r[0].clientY},point2:{x:r[1].clientX,y:r[1].clientY},eventType:"touchZoom"}):y({point1:{x:r[0].clientX-u,y:r[0].clientY-f},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=b.current,o=r.point1,i=r.point2,l=r.eventType;if(n.length>1&&"touchZoom"===l){var s={x:n[0].clientX,y:n[0].clientY},u={x:n[1].clientX,y:n[1].clientY},d=function(e,t,n,r){var o=te(e,n),i=te(t,r);if(0===o&&0===i)return[e.x,e.y];var a=o/(o+i);return[e.x+a*(t.x-e.x),e.y+a*(t.y-e.y)]}(o,i,s,u),f=(0,p.A)(d,2),v=f[0],m=f[1],h=te(s,u)/te(o,i);c(h,"touchZoom",v,m,!0),y({point1:s,point2:u,eventType:"touchZoom"})}else"move"===l&&(a({x:n[0].clientX-o.x,y:n[0].clientY-o.y},"move"),y({eventType:"move"}))},onTouchEnd:function(){if(n){if(h&&g(!1),y({eventType:"none"}),o>s)return a({x:0,y:0,scale:o},"touchZoom");var t=e.current.offsetWidth*s,r=e.current.offsetHeight*s,i=e.current.getBoundingClientRect(),c=i.left,u=i.top,f=l%180!=0,p=ee(f?r:t,f?t:r,c,u);p&&a((0,d.A)({},p),"dragRebound")}}}}const re=function(e){var t=e.visible,n=e.maskTransitionName,o=e.getContainer,i=e.prefixCls,a=e.rootClassName,c=e.icons,l=e.countRender,s=e.showSwitch,p=e.showProgress,v=e.current,m=e.transform,h=e.count,g=e.scale,b=e.minScale,A=e.maxScale,w=e.closeIcon,x=e.onSwitchLeft,C=e.onSwitchRight,k=e.onClose,M=e.onZoomIn,O=e.onZoomOut,$=e.onRotateRight,T=e.onRotateLeft,R=e.onFlipX,P=e.onFlipY,z=e.toolbarRender,N=e.zIndex,L=(0,r.useContext)(y),j=c.rotateLeft,_=c.rotateRight,H=c.zoomIn,D=c.zoomOut,B=c.close,W=c.left,F=c.right,X=c.flipX,K=c.flipY,G="".concat(i,"-operations-operation");r.useEffect((function(){var e=function(e){e.keyCode===E.A.ESC&&k()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[t]);var q=[{icon:K,onClick:P,type:"flipY"},{icon:X,onClick:R,type:"flipX"},{icon:j,onClick:T,type:"rotateLeft"},{icon:_,onClick:$,type:"rotateRight"},{icon:D,onClick:O,type:"zoomOut",disabled:g<=b},{icon:H,onClick:M,type:"zoomIn",disabled:g===A}].map((function(e){var t,n=e.icon,o=e.onClick,a=e.type,c=e.disabled;return r.createElement("div",{className:u()(G,(t={},(0,f.A)(t,"".concat(i,"-operations-operation-").concat(a),!0),(0,f.A)(t,"".concat(i,"-operations-operation-disabled"),!!c),t)),onClick:o,key:a},n)})),Y=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(I.Ay,{visible:t,motionName:n},(function(e){var t=e.className,n=e.style;return r.createElement(S.A,{open:!0,getContainer:null!=o?o:document.body},r.createElement("div",{className:u()("".concat(i,"-operations-wrapper"),t,a),style:(0,d.A)((0,d.A)({},n),{},{zIndex:N})},null===w?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:k},w||B),s&&r.createElement(r.Fragment,null,r.createElement("div",{className:u()("".concat(i,"-switch-left"),(0,f.A)({},"".concat(i,"-switch-left-disabled"),0===v)),onClick:x},W),r.createElement("div",{className:u()("".concat(i,"-switch-right"),(0,f.A)({},"".concat(i,"-switch-right-disabled"),v===h-1)),onClick:C},F)),r.createElement("div",{className:"".concat(i,"-footer")},p&&r.createElement("div",{className:"".concat(i,"-progress")},l?l(v+1,h):"".concat(v+1," / ").concat(h)),z?z(Y,(0,d.A)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:P,onFlipX:R,onRotateLeft:T,onRotateRight:$,onZoomOut:O,onZoomIn:M},transform:m},L?{current:v,total:h}:{})):Y)))}))};var oe=["fallback","src","imgRef"],ie=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],ae=function(e){var t=e.fallback,n=e.src,i=e.imgRef,a=(0,m.A)(e,oe),c=w({src:n,fallback:t}),l=(0,p.A)(c,2),s=l[0],u=l[1];return r.createElement("img",(0,o.A)({ref:function(e){i.current=e,s(e)}},a,u))};const ce=function(e){var t=e.prefixCls,n=e.src,i=e.alt,a=e.fallback,c=e.movable,l=void 0===c||c,s=e.onClose,v=e.visible,g=e.icons,b=void 0===g?{}:g,A=e.rootClassName,w=e.closeIcon,S=e.getContainer,x=e.current,C=void 0===x?0:x,k=e.count,M=void 0===k?1:k,O=e.countRender,$=e.scaleStep,T=void 0===$?.5:$,R=e.minScale,P=void 0===R?1:R,z=e.maxScale,I=void 0===z?50:z,N=e.transitionName,L=void 0===N?"zoom":N,j=e.maskTransitionName,_=void 0===j?"fade":j,H=e.imageRender,D=e.imgCommonProps,B=e.toolbarRender,W=e.onTransform,F=e.onChange,K=(0,m.A)(e,ie),G=(0,r.useRef)(),Y=(0,r.useContext)(y),J=Y&&M>1,te=Y&&M>=1,oe=(0,r.useState)(!0),ce=(0,p.A)(oe,2),le=ce[0],se=ce[1],ue=function(e,t,n,o){var i=(0,r.useRef)(null),a=(0,r.useRef)([]),c=(0,r.useState)(Z),l=(0,p.A)(c,2),s=l[0],u=l[1],f=function(e,t){null===i.current&&(a.current=[],i.current=(0,Q.A)((function(){u((function(e){var n=e;return a.current.forEach((function(e){n=(0,d.A)((0,d.A)({},n),e)})),i.current=null,null==o||o({transform:n,action:t}),n}))}))),a.current.push((0,d.A)((0,d.A)({},s),e))};return{transform:s,resetTransform:function(e){u(Z),o&&!(0,U.A)(Z,s)&&o({transform:Z,action:e})},updateTransform:f,dispatchZoomChange:function(r,o,i,a,c){var l=e.current,u=l.width,d=l.height,p=l.offsetWidth,v=l.offsetHeight,m=l.offsetLeft,g=l.offsetTop,b=r,y=s.scale*r;y>n?(y=n,b=n/s.scale):y0&&(r=1/r),c(r,"wheel",e.clientX,e.clientY)}}}}(G,l,v,T,de,pe,ve),he=me.isMoving,ge=me.onMouseDown,be=me.onWheel,ye=ne(G,l,v,P,de,pe,ve),Ae=ye.isTouching,we=ye.onTouchStart,Se=ye.onTouchMove,xe=ye.onTouchEnd,Ce=de.rotate,ke=de.scale,Ee=u()((0,f.A)({},"".concat(t,"-moving"),he));(0,r.useEffect)((function(){le||se(!0)}),[le]);var Me=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),C>0&&(se(!1),fe("prev"),null==F||F(C-1,C))},Oe=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),C1&&void 0!==arguments[1]&&arguments[1];const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[(0,qe.b)(r,Ye,Ve,e.motionDurationMid,t),{[`\n ${o}${r}-enter,\n ${o}${r}-appear\n `]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},Qe=new Xe.Mo("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Ze=new Xe.Mo("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),Je=new Xe.Mo("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),et=new Xe.Mo("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),tt=new Xe.Mo("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),nt=new Xe.Mo("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),rt={zoom:{inKeyframes:Qe,outKeyframes:Ze},"zoom-big":{inKeyframes:Je,outKeyframes:et},"zoom-big-fast":{inKeyframes:Je,outKeyframes:et},"zoom-left":{inKeyframes:new Xe.Mo("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),outKeyframes:new Xe.Mo("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}})},"zoom-right":{inKeyframes:new Xe.Mo("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),outKeyframes:new Xe.Mo("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}})},"zoom-up":{inKeyframes:tt,outKeyframes:nt},"zoom-down":{inKeyframes:new Xe.Mo("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),outKeyframes:new Xe.Mo("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}})}},ot=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=rt[t];return[(0,qe.b)(r,o,i,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};var it=n(336),at=n(3442);function ct(e){return{position:e,inset:0}}const lt=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},ct("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},ct("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:Ue(e)}]},st=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${(0,Xe.zA)(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},(0,Ge.dF)(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${(0,Xe.zA)(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${(0,Xe.zA)(e.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},(0,Ge.K8)(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${(0,Xe.zA)(e.borderRadiusLG)} ${(0,Xe.zA)(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,\n ${t}-body,\n ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},ut=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},dt=((0,at.OF)("Modal",(e=>{const t=(e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return(0,it.h1)(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})})(e);return[st(t),ut(t),lt(t),ot(t,"zoom")]}),(e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${(0,Xe.zA)(e.paddingMD)} ${(0,Xe.zA)(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${(0,Xe.zA)(e.padding)} ${(0,Xe.zA)(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${(0,Xe.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${(0,Xe.zA)(e.paddingXS)} ${(0,Xe.zA)(e.padding)}`:0,footerBorderTop:e.wireframe?`${(0,Xe.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${(0,Xe.zA)(e.borderRadiusLG)} ${(0,Xe.zA)(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${(0,Xe.zA)(2*e.padding)} ${(0,Xe.zA)(2*e.padding)} ${(0,Xe.zA)(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM})),{unitless:{titleLineHeight:!0}}),e=>({position:e||"absolute",inset:0})),ft=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:o,prefixCls:i,colorTextLightSolid:a}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:a,background:new Ke.q("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},Ge.L9),{padding:`0 ${(0,Xe.zA)(r)}`,[t]:{marginInlineEnd:o,svg:{verticalAlign:"baseline"}}})}},pt=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:o,margin:i,paddingLG:a,previewOperationColorDisabled:c,previewOperationHoverColor:l,motionDurationSlow:s,iconCls:u,colorTextLightSolid:d}=e,f=new Ke.q(n).setAlpha(.1),p=f.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:o,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:o,right:{_skip_check_:!0,value:o},display:"flex",color:d,backgroundColor:f.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${s}`,"&:hover":{backgroundColor:p.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,Xe.zA)(a)}`,backgroundColor:f.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${s}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:c,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},vt=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:o,zIndexPopup:i,motionDurationSlow:a}=e,c=new Ke.q(t).setAlpha(.1),l=c.clone().setAlpha(.2);return{[`${o}-switch-left, ${o}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal({unit:!1}),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:c.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${a}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${o}-switch-left`]:{insetInlineStart:e.marginSM},[`${o}-switch-right`]:{insetInlineEnd:e.marginSM}}},mt=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:o}=e;return[{[`${o}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},dt()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},dt()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${o}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${o}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal({unit:!1})},"&":[pt(e),vt(e)]}]},ht=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},ft(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},dt())}}},gt=e=>{const{previewCls:t}=e;return{[`${t}-root`]:ot(e,"zoom"),"&":Ue(e,!0)}},bt=(0,at.OF)("Image",(e=>{const t=`${e.componentCls}-preview`,n=(0,it.h1)(e,{previewCls:t,modalMaskBg:new Ke.q("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[ht(n),mt(n),lt((0,it.h1)(n,{componentCls:t})),gt(n)]}),(e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new Ke.q(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Ke.q(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Ke.q(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})));var yt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{var t;const{prefixCls:n,preview:o,className:i,rootClassName:a,style:c}=e,s=wt(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:f=ke.A,getPopupContainer:p,image:v}=r.useContext(xe.QO),m=d("image",n),h=d(),g=f.Image||ke.A.Image,b=(0,Ce.A)(m),[y,A,w]=bt(m,b),S=u()(a,A,w,b),x=u()(i,A,null==v?void 0:v.className),[C]=we("ImagePreview","object"==typeof o?o.zIndex:void 0),k=r.useMemo((()=>{var e;if(!1===o)return o;const t="object"==typeof o?o:{},{getContainer:n,closeIcon:i}=t,a=wt(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${m}-mask-info`},r.createElement(l,null),null==g?void 0:g.preview),icons:At},a),{getContainer:null!=n?n:p,transitionName:(0,Se.b)(h,"zoom",t.transitionName),maskTransitionName:(0,Se.b)(h,"fade",t.maskTransitionName),zIndex:C,closeIcon:null!=i?i:null===(e=null==v?void 0:v.preview)||void 0===e?void 0:e.closeIcon})}),[o,g,null===(t=null==v?void 0:v.preview)||void 0===t?void 0:t.closeIcon]),E=Object.assign(Object.assign({},null==v?void 0:v.style),c);return y(r.createElement(me,Object.assign({prefixCls:m,preview:k,rootClassName:S,className:x,style:E},s)))};St.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,o=yt(e,["previewPrefixCls","preview"]);const{getPrefixCls:i}=r.useContext(xe.QO),a=i("image",t),c=`${a}-preview`,l=i(),s=(0,Ce.A)(a),[d,f,p]=bt(a,s),[v]=we("ImagePreview","object"==typeof n?n.zIndex:void 0),m=r.useMemo((()=>{var e;if(!1===n)return n;const t="object"==typeof n?n:{},r=u()(f,p,s,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,Se.b)(l,"zoom",t.transitionName),maskTransitionName:(0,Se.b)(l,"fade",t.maskTransitionName),rootClassName:r,zIndex:v})}),[n]);return d(r.createElement(me.PreviewGroup,Object.assign({preview:m,previewPrefixCls:c,icons:At},o)))};const xt=St},2130:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});const r={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"};const o={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},i={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},a={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},o),timePickerLocale:Object.assign({},i)},c="${label} is not a valid ${type}",l={locale:"en",Pagination:r,DatePicker:a,TimePicker:i,Calendar:a,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:c,method:c,array:c,object:c,number:c,date:c,boolean:c,integer:c,float:c,regexp:c,email:c,url:c,hex:c},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty"}}},5905:(e,t,n)=>{"use strict";n.d(t,{K8:()=>d,L9:()=>o,Nk:()=>a,av:()=>l,dF:()=>i,t6:()=>c,vj:()=>s});var r=n(1466);const o={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},a=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),c=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),l=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),s=(e,t,n,r)=>{const o=`[class^="${t}"], [class*=" ${t}"]`,i=n?`.${n}`:o,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let c={};return!1!==r&&(c={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},c),a),{[o]:a})}},u=e=>({outline:`${(0,r.zA)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),d=e=>({"&:focus-visible":Object.assign({},u(e))})},4980:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});const r=e=>({animationDuration:e,animationFillMode:"both"}),o=e=>({animationDuration:e,animationFillMode:"both"}),i=function(e,t,n,i){const a=arguments.length>4&&void 0!==arguments[4]&&arguments[4]?"&":"";return{[`\n ${a}${e}-enter,\n ${a}${e}-appear\n `]:Object.assign(Object.assign({},r(i)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},o(i)),{animationPlayState:"paused"}),[`\n ${a}${e}-enter${e}-enter-active,\n ${a}${e}-appear${e}-appear-active\n `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}}},9806:(e,t,n)=>{"use strict";n.d(t,{sb:()=>l,vG:()=>s,zQ:()=>c});var r=n(6540),o=n(1466),i=n(5967),a=n(723);const c=(0,o.an)(i.A),l={token:a.A,override:{override:a.A},hashed:!0},s=r.createContext(l)},9522:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var r=n(1466),o=n(5967),i=n(723),a=n(318);const c=e=>{const t=(null==e?void 0:e.algorithm)?(0,r.an)(e.algorithm):(0,r.an)(o.A),n=Object.assign(Object.assign({},i.A),null==e?void 0:e.token);return(0,r.lO)(n,{override:null==e?void 0:e.token},t,a.A)};var l=n(6613),s=n(9806),u=n(8690),d=n(4488);const f=(e,t)=>{const n=null!=t?t:(0,o.A)(e),r=n.fontSizeSM,i=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),function(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}(null!=t?t:e)),(0,d.A)(r)),{controlHeight:i}),(0,u.A)(Object.assign(Object.assign({},n),{controlHeight:i})))};var p=n(2200),v=n(7484),m=n(4978);const h=(e,t)=>new m.q(e).setAlpha(t).toRgbString(),g=(e,t)=>new m.q(e).lighten(t).toHexString(),b=e=>{const t=(0,p.cM)(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},y=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:h(r,.85),colorTextSecondary:h(r,.65),colorTextTertiary:h(r,.45),colorTextQuaternary:h(r,.25),colorFill:h(r,.18),colorFillSecondary:h(r,.12),colorFillTertiary:h(r,.08),colorFillQuaternary:h(r,.04),colorBgElevated:g(n,12),colorBgContainer:g(n,8),colorBgLayout:g(n,0),colorBgSpotlight:g(n,26),colorBgBlur:h(r,.04),colorBorder:g(n,26),colorBorderSecondary:g(n,19)}},A=(e,t)=>{const n=Object.keys(i.r).map((t=>{const n=(0,p.cM)(e[t],{theme:"dark"});return new Array(10).fill(1).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>e=Object.assign(Object.assign({},e),t)),{}),r=null!=t?t:(0,o.A)(e);return Object.assign(Object.assign(Object.assign({},r),n),(0,v.A)(e,{generateColorPalettes:b,generateNeutralColorPalettes:y}))};const w={defaultConfig:s.sb,defaultSeed:s.sb.token,useToken:function(){const[e,t,n]=(0,l.Ay)();return{theme:e,token:t,hashId:n}},defaultAlgorithm:o.A,darkAlgorithm:A,compactAlgorithm:f,getDesignToken:c}},5967:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(2200),o=n(723),i=n(7484);const a=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}};var c=n(8690),l=n(4488);var s=n(4978);const u=(e,t)=>new s.q(e).setAlpha(t).toRgbString(),d=(e,t)=>new s.q(e).darken(t).toHexString(),f=e=>{const t=(0,r.cM)(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},p=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:u(r,.88),colorTextSecondary:u(r,.65),colorTextTertiary:u(r,.45),colorTextQuaternary:u(r,.25),colorFill:u(r,.15),colorFillSecondary:u(r,.06),colorFillTertiary:u(r,.04),colorFillQuaternary:u(r,.02),colorBgLayout:d(n,4),colorBgContainer:d(n,0),colorBgElevated:d(n,0),colorBgSpotlight:u(r,.85),colorBgBlur:"transparent",colorBorder:d(n,15),colorBorderSecondary:d(n,6)}};function v(e){const t=Object.keys(o.r).map((t=>{const n=(0,r.cM)(e[t]);return new Array(10).fill(1).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>e=Object.assign(Object.assign({},e),t)),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),(0,i.A)(e,{generateColorPalettes:f,generateNeutralColorPalettes:p})),(0,l.A)(e.fontSize)),function(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),(0,c.A)(e)),function(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:o+1},a(r))}(e))}},723:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,r:()=>r});const r={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},o=Object.assign(Object.assign({},r),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0})},7484:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(4978);function o(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:o}=t;const{colorSuccess:i,colorWarning:a,colorError:c,colorInfo:l,colorPrimary:s,colorBgBase:u,colorTextBase:d}=e,f=n(s),p=n(i),v=n(a),m=n(c),h=n(l),g=o(u,d),b=n(e.colorLink||e.colorInfo);return Object.assign(Object.assign({},g),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:v[1],colorWarningBgHover:v[2],colorWarningBorder:v[3],colorWarningBorderHover:v[4],colorWarningHover:v[4],colorWarning:v[6],colorWarningActive:v[7],colorWarningTextHover:v[8],colorWarningText:v[9],colorWarningTextActive:v[10],colorInfoBg:h[1],colorInfoBgHover:h[2],colorInfoBorder:h[3],colorInfoBorderHover:h[4],colorInfoHover:h[4],colorInfo:h[6],colorInfoActive:h[7],colorInfoTextHover:h[8],colorInfoText:h[9],colorInfoTextActive:h[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new r.q("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}},8690:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=e=>{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}}},4488:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=e=>{const t=function(e){const t=new Array(10).fill(null).map(((t,n)=>{const r=n-1,o=e*Math.pow(2.71828,r/5),i=n>1?Math.floor(o):Math.ceil(o);return 2*Math.floor(i/2)}));return t[1]=e,t.map((e=>{return{size:e,lineHeight:(t=e,(t+8)/t)};var t}))}(e),n=t.map((e=>e.size)),r=t.map((e=>e.lineHeight)),o=n[1],i=n[0],a=n[2],c=r[1],l=r[0],s=r[2];return{fontSizeSM:i,fontSize:o,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:c,lineHeightLG:s,lineHeightSM:l,fontHeight:Math.round(c*o),fontHeightLG:Math.round(s*a),fontHeightSM:Math.round(l*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}}},6613:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>v,Xe:()=>d,Is:()=>u});var r=n(6540),o=n(1466);const i="5.16.4";var a=n(9806),c=n(723),l=n(318),s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const r=n.getDerivativeToken(e),{override:o}=t,i=s(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=(0,l.A)(a),i&&Object.entries(i).forEach((e=>{let[t,n]=e;const{theme:r}=n,o=s(n,["theme"]);let i=o;r&&(i=p(Object.assign(Object.assign({},a),o),{override:o},r)),a[t]=i})),a};function v(){const{token:e,hashed:t,theme:n,override:s,cssVar:v}=r.useContext(a.vG),m=`${i}-${t||""}`,h=n||a.zQ,[g,b,y]=(0,o.hV)(h,[c.A,e],{salt:m,override:s,getComputedToken:p,formatToken:l.A,cssVar:v&&{prefix:v.prefix,key:v.key,unitless:u,ignore:d,preserve:f}});return[h,y,t?b:"",g,v]}},318:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(4978),o=n(723);function i(e){return e>=0&&e<=255}const a=function(e,t){const{r:n,g:o,b:a,a:c}=new r.q(e).toRgb();if(c<1)return e;const{r:l,g:s,b:u}=new r.q(t).toRgb();for(let d=.01;d<=1;d+=.01){const e=Math.round((n-l*(1-d))/d),t=Math.round((o-s*(1-d))/d),c=Math.round((a-u*(1-d))/d);if(i(e)&&i(t)&&i(c))return new r.q({r:e,g:t,b:c,a:Math.round(100*d)/100}).toRgbString()}return new r.q({r:n,g:o,b:a,a:1}).toRgbString()};var c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{delete i[e]}));const l=Object.assign(Object.assign({},n),i),s=1200,u=1600;if(!1===l.motion){const e="0s";l.motionDurationFast=e,l.motionDurationMid=e,l.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},l),{colorFillContent:l.colorFillSecondary,colorFillContentHover:l.colorFill,colorFillAlter:l.colorFillQuaternary,colorBgContainerDisabled:l.colorFillTertiary,colorBorderBg:l.colorBgContainer,colorSplit:a(l.colorBorderSecondary,l.colorBgContainer),colorTextPlaceholder:l.colorTextQuaternary,colorTextDisabled:l.colorTextQuaternary,colorTextHeading:l.colorText,colorTextLabel:l.colorTextSecondary,colorTextDescription:l.colorTextTertiary,colorTextLightSolid:l.colorWhite,colorHighlight:l.colorError,colorBgTextHover:l.colorFillSecondary,colorBgTextActive:l.colorFill,colorIcon:l.colorTextTertiary,colorIconHover:l.colorText,colorErrorOutline:a(l.colorErrorBg,l.colorBgContainer),colorWarningOutline:a(l.colorWarningBg,l.colorBgContainer),fontSizeIcon:l.fontSizeSM,lineWidthFocus:4*l.lineWidth,lineWidth:l.lineWidth,controlOutlineWidth:2*l.lineWidth,controlInteractiveSize:l.controlHeight/2,controlItemBgHover:l.colorFillTertiary,controlItemBgActive:l.colorPrimaryBg,controlItemBgActiveHover:l.colorPrimaryBgHover,controlItemBgActiveDisabled:l.colorFill,controlTmpOutline:l.colorFillQuaternary,controlOutline:a(l.colorPrimaryBg,l.colorBgContainer),lineType:l.lineType,borderRadius:l.borderRadius,borderRadiusXS:l.borderRadiusXS,borderRadiusSM:l.borderRadiusSM,borderRadiusLG:l.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:l.sizeXXS,paddingXS:l.sizeXS,paddingSM:l.sizeSM,padding:l.size,paddingMD:l.sizeMD,paddingLG:l.sizeLG,paddingXL:l.sizeXL,paddingContentHorizontalLG:l.sizeLG,paddingContentVerticalLG:l.sizeMS,paddingContentHorizontal:l.sizeMS,paddingContentVertical:l.sizeSM,paddingContentHorizontalSM:l.size,paddingContentVerticalSM:l.sizeXS,marginXXS:l.sizeXXS,marginXS:l.sizeXS,marginSM:l.sizeSM,margin:l.size,marginMD:l.sizeMD,marginLG:l.sizeLG,marginXL:l.sizeXL,marginXXL:l.sizeXXL,boxShadow:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:s,screenXLMin:s,screenXLMax:1599,screenXXL:u,screenXXLMin:u,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`\n 0 1px 2px -2px ${new r.q("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new r.q("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new r.q("rgba(0, 0, 0, 0.09)").toRgbString()}\n `,boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),i)}},3442:(e,t,n)=>{"use strict";n.d(t,{OF:()=>M});var r=n(6540),o=n(1466),i=(n(6956),n(2533),n(8719),n(1526),n(8210),n(2279)),a=n(5905),c=n(6613),l=n(3029),s=n(2901),u=n(3954),d=n(2176),f=n(6822);function p(e,t,n){return t=(0,u.A)(t),(0,f.A)(e,(0,d.A)()?Reflect.construct(t,n||[],(0,u.A)(e).constructor):t.apply(e,n))}var v=n(5501);const m=(0,s.A)((function e(){(0,l.A)(this,e)})),h="CALC_UNIT",g=new RegExp(h,"g");function b(e){return"number"==typeof e?`${e}${h}`:e}let y=function(e){function t(e){var n;return(0,l.A)(this,t),(n=p(this,t)).result="",e instanceof t?n.result=`(${e.result})`:"number"==typeof e?n.result=b(e):"string"==typeof e&&(n.result=e),n}return(0,v.A)(t,e),(0,s.A)(t,[{key:"add",value:function(e){return e instanceof t?this.result=`${this.result} + ${e.getResult()}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} + ${b(e)}`),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof t?this.result=`${this.result} - ${e.getResult()}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} - ${b(e)}`),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result=`(${this.result})`),e instanceof t?this.result=`${this.result} * ${e.getResult(!0)}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} * ${e}`),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result=`(${this.result})`),e instanceof t?this.result=`${this.result} / ${e.getResult(!0)}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} / ${e}`),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?`(${this.result})`:this.result}},{key:"equal",value:function(e){const{unit:t=!0}=e||{};return this.result=this.result.replace(g,t?"px":""),void 0!==this.lowPriority?`calc(${this.result})`:this.result}}])}(m),A=function(e){function t(e){var n;return(0,l.A)(this,t),(n=p(this,t)).result=0,e instanceof t?n.result=e.result:"number"==typeof e&&(n.result=e),n}return(0,v.A)(t,e),(0,s.A)(t,[{key:"add",value:function(e){return e instanceof t?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof t?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof t?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof t?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}])}(m);const w=e=>{const t="css"===e?y:A;return e=>new t(e)};var S=n(336),x=n(2366);const C=(e,t,n)=>{var r;return"function"==typeof n?n((0,S.h1)(t,null!==(r=t[e])&&void 0!==r?r:{})):null!=n?n:{}},k=(e,t,n,r)=>{const o=Object.assign({},t[e]);if(null==r?void 0:r.deprecatedTokens){const{deprecatedTokens:e}=r;e.forEach((e=>{let[t,n]=e;var r;((null==o?void 0:o[t])||(null==o?void 0:o[n]))&&(null!==(r=o[n])&&void 0!==r||(o[n]=null==o?void 0:o[t]))}))}const i=Object.assign(Object.assign({},n),o);return Object.keys(i).forEach((e=>{i[e]===t[e]&&delete i[e]})),i};function E(e,t,n){let l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const s=Array.isArray(e)?e:[e,e],[u]=s,d=s.join("-");return function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const[f,p,v,m,h]=(0,c.Ay)(),{getPrefixCls:g,iconPrefixCls:b,csp:y}=(0,r.useContext)(i.QO),A=g(),E=h?"css":"js",M=w(E),{max:O,min:$}=function(e){return"js"===e?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=new Array(e),n=0;n(0,o.zA)(e))).join(",")})`},min:function(){for(var e=arguments.length,t=new Array(e),n=0;n(0,o.zA)(e))).join(",")})`}}}(E),T={theme:f,token:m,hashId:v,nonce:()=>null==y?void 0:y.nonce,clientOnly:l.clientOnly,order:l.order||-999};(0,o.IV)(Object.assign(Object.assign({},T),{clientOnly:!1,path:["Shared",A]}),(()=>[{"&":(0,a.av)(m)}])),(0,x.A)(b,y);const R=(0,o.IV)(Object.assign(Object.assign({},T),{path:[d,e,b]}),(()=>{if(!1===l.injectStyle)return[];const{token:r,flush:i}=(0,S.Ay)(m),c=C(u,p,n),d=`.${e}`,f=k(u,p,c,{deprecatedTokens:l.deprecatedTokens});h&&Object.keys(c).forEach((e=>{c[e]=`var(${(0,o.Ki)(e,((e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`)(u,h.prefix))})`}));const g=(0,S.h1)(r,{componentCls:d,prefixCls:e,iconCls:`.${b}`,antCls:`.${A}`,calc:M,max:O,min:$},h?c:f),y=t(g,{hashId:v,prefixCls:e,rootPrefixCls:A,iconPrefixCls:b});return i(u,f),[!1===l.resetStyle?null:(0,a.vj)(g,e,s,l.resetFont),y]}));return[R,v]}}const M=(e,t,n,i)=>{const a=E(e,t,n,i),l=((e,t,n)=>{function i(t){return`${e}${t.slice(0,1).toUpperCase()}${t.slice(1)}`}const{unitless:a={},injectStyle:l=!0}=null!=n?n:{},s={[i("zIndexPopup")]:!0};Object.keys(a).forEach((e=>{s[i(e)]=a[e]}));const u=r=>{let{rootCls:a,cssVar:l}=r;const[,u]=(0,c.Ay)();return(0,o.RC)({path:[e],prefix:l.prefix,key:null==l?void 0:l.key,unitless:Object.assign(Object.assign({},c.Is),s),ignore:c.Xe,token:u,scope:a},(()=>{const r=C(e,u,t),o=k(e,u,r,{deprecatedTokens:null==n?void 0:n.deprecatedTokens});return Object.keys(r).forEach((e=>{o[i(e)]=o[e],delete o[e]})),o})),null};return t=>{const[,,,,n]=(0,c.Ay)();return[o=>l&&n?r.createElement(r.Fragment,null,r.createElement(u,{rootCls:t,cssVar:n,component:e}),o):o,null==n?void 0:n.key]}})(Array.isArray(e)?e[0]:e,n,i);return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const[,n]=a(e,t),[r,o]=l(t);return[r,n,o]}}},336:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,h1:()=>i});const r="undefined"!=typeof CSSINJS_STATISTIC;let o=!0;function i(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(e).forEach((t=>{Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:()=>e[t]})}))})),o=!0,i}const a={};function c(){}const l=e=>{let t,n=e,i=c;return r&&"undefined"!=typeof Proxy&&(t=new Set,n=new Proxy(e,{get:(e,n)=>(o&&t.add(n),e[n])}),i=(e,n)=>{var r;a[e]={global:Array.from(t),component:Object.assign(Object.assign({},null===(r=a[e])||void 0===r?void 0:r.component),n)}}),{token:n,keys:t,flush:i}}},2366:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1466),o=n(5905),i=n(6613);const a=(e,t)=>{const[n,a]=(0,i.Ay)();return(0,r.IV)({theme:n,token:a,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce},(()=>[{[`.${e}`]:Object.assign(Object.assign({},(0,o.Nk)()),{[`.${e} .${e}-icon`]:{display:"block"}})}]))}},1441:(e,t,n)=>{var r=n(8028),o=function(e){var t="",n=Object.keys(e);return n.forEach((function(o,i){var a=e[o];(function(e){return/[height|width]$/.test(e)})(o=r(o))&&"number"==typeof a&&(a+="px"),t+=!0===a?o:!1===a?"not "+o:"("+o+": "+a+")",i{"use strict";n.d(t,{Kq:()=>m,Ay:()=>me});var r=n(4467),o=n(9379),i=n(641),a=n(2284),c=n(6942),l=n.n(c),s=n(4207),u=n(8719),d=n(6540),f=n(45),p=["children"],v=d.createContext({});function m(e){var t=e.children,n=(0,f.A)(e,p);return d.createElement(v.Provider,{value:n},t)}var h=n(3029),g=n(2901),b=n(5501),y=n(9426);const A=function(e){(0,b.A)(n,e);var t=(0,y.A)(n);function n(){return(0,h.A)(this,n),t.apply(this,arguments)}return(0,g.A)(n,[{key:"render",value:function(){return this.props.children}}]),n}(d.Component);var w=n(1233),S="none",x="appear",C="enter",k="leave",E="none",M="prepare",O="start",$="active",T="end",R="prepared",P=n(998);function z(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var I,N,L,j=(I=(0,P.A)(),N="undefined"!=typeof window?window:{},L={animationend:z("Animation","AnimationEnd"),transitionend:z("Transition","TransitionEnd")},I&&("AnimationEvent"in N||delete L.animationend.animation,"TransitionEvent"in N||delete L.transitionend.transition),L),_={};if((0,P.A)()){var H=document.createElement("div");_=H.style}var D={};function B(e){if(D[e])return D[e];var t=j[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,U.A)((function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)}));e.current=i},t]}(),s=(0,i.A)(l,2),u=s[0],f=s[1];var p=t?Z:Q;return V((function(){if(a!==E&&a!==T){var e=p.indexOf(a),t=p[e+1],r=n(a);r===J?c(t,!0):t&&u((function(e){function n(){e.isCanceled()||c(t,!0)}!0===r?n():Promise.resolve(r).then(n)}))}}),[e,a]),d.useEffect((function(){return function(){f()}}),[]),[function(){c(M,!0)},a]};const re=function(e){var t=e;"object"===(0,a.A)(e)&&(t=e.transitionSupport);var n=d.forwardRef((function(e,n){var a=e.visible,c=void 0===a||a,f=e.removeOnLeave,p=void 0===f||f,m=e.forceRender,h=e.children,g=e.motionName,b=e.leavedClassName,y=e.eventProps,E=function(e,n){return!(!e.motionName||!t||!1===n)}(e,d.useContext(v).motion),T=(0,d.useRef)(),P=(0,d.useRef)();var z=function(e,t,n,a){var c=a.motionEnter,l=void 0===c||c,s=a.motionAppear,u=void 0===s||s,f=a.motionLeave,p=void 0===f||f,v=a.motionDeadline,m=a.motionLeaveImmediately,h=a.onAppearPrepare,g=a.onEnterPrepare,b=a.onLeavePrepare,y=a.onAppearStart,A=a.onEnterStart,E=a.onLeaveStart,T=a.onAppearActive,P=a.onEnterActive,z=a.onLeaveActive,I=a.onAppearEnd,N=a.onEnterEnd,L=a.onLeaveEnd,j=a.onVisibleChanged,_=(0,w.A)(),H=(0,i.A)(_,2),D=H[0],B=H[1],W=(0,w.A)(S),F=(0,i.A)(W,2),X=F[0],K=F[1],G=(0,w.A)(null),q=(0,i.A)(G,2),U=q[0],Q=q[1],Z=(0,d.useRef)(!1),re=(0,d.useRef)(null);function oe(){return n()}var ie=(0,d.useRef)(!1);function ae(){K(S,!0),Q(null,!0)}function ce(e){var t=oe();if(!e||e.deadline||e.target===t){var n,r=ie.current;X===x&&r?n=null==I?void 0:I(t,e):X===C&&r?n=null==N?void 0:N(t,e):X===k&&r&&(n=null==L?void 0:L(t,e)),X!==S&&r&&!1!==n&&ae()}}var le=Y(ce),se=(0,i.A)(le,1)[0],ue=function(e){var t,n,o;switch(e){case x:return t={},(0,r.A)(t,M,h),(0,r.A)(t,O,y),(0,r.A)(t,$,T),t;case C:return n={},(0,r.A)(n,M,g),(0,r.A)(n,O,A),(0,r.A)(n,$,P),n;case k:return o={},(0,r.A)(o,M,b),(0,r.A)(o,O,E),(0,r.A)(o,$,z),o;default:return{}}},de=d.useMemo((function(){return ue(X)}),[X]),fe=ne(X,!e,(function(e){if(e===M){var t=de[M];return t?t(oe()):J}var n;return me in de&&Q((null===(n=de[me])||void 0===n?void 0:n.call(de,oe(),null))||null),me===$&&(se(oe()),v>0&&(clearTimeout(re.current),re.current=setTimeout((function(){ce({deadline:!0})}),v))),me===R&&ae(),ee})),pe=(0,i.A)(fe,2),ve=pe[0],me=pe[1],he=te(me);ie.current=he,V((function(){B(t);var n,r=Z.current;Z.current=!0,!r&&t&&u&&(n=x),r&&t&&l&&(n=C),(r&&!t&&p||!r&&m&&!t&&p)&&(n=k);var o=ue(n);n&&(e||o[M])?(K(n),ve()):K(S)}),[t]),(0,d.useEffect)((function(){(X===x&&!u||X===C&&!l||X===k&&!p)&&K(S)}),[u,l,p]),(0,d.useEffect)((function(){return function(){Z.current=!1,clearTimeout(re.current)}}),[]);var ge=d.useRef(!1);(0,d.useEffect)((function(){D&&(ge.current=!0),void 0!==D&&X===S&&((ge.current||D)&&(null==j||j(D)),ge.current=!0)}),[D,X]);var be=U;return de[M]&&me===O&&(be=(0,o.A)({transition:"none"},be)),[X,me,be,null!=D?D:t]}(E,c,(function(){try{return T.current instanceof HTMLElement?T.current:(0,s.A)(P.current)}catch(e){return null}}),e),I=(0,i.A)(z,4),N=I[0],L=I[1],j=I[2],_=I[3],H=d.useRef(_);_&&(H.current=!0);var D,B=d.useCallback((function(e){T.current=e,(0,u.Xf)(n,e)}),[n]),W=(0,o.A)((0,o.A)({},y),{},{visible:c});if(h)if(N===S)D=_?h((0,o.A)({},W),B):!p&&H.current&&b?h((0,o.A)((0,o.A)({},W),{},{className:b}),B):m||!p&&!b?h((0,o.A)((0,o.A)({},W),{},{style:{display:"none"}}),B):null;else{var F,X;L===M?X="prepare":te(L)?X="active":L===O&&(X="start");var K=q(g,"".concat(N,"-").concat(X));D=h((0,o.A)((0,o.A)({},W),{},{className:l()(q(g,N),(F={},(0,r.A)(F,K,K&&X),(0,r.A)(F,g,"string"==typeof g),F)),style:j}),B)}else D=null;d.isValidElement(D)&&(0,u.f3)(D)&&(D.ref||(D=d.cloneElement(D,{ref:B})));return d.createElement(A,{ref:P},D)}));return n.displayName="CSSMotion",n}(X);var oe=n(8168),ie=n(9417),ae="add",ce="keep",le="remove",se="removed";function ue(e){var t;return t=e&&"object"===(0,a.A)(e)&&"key"in e?e:{key:e},(0,o.A)((0,o.A)({},t),{},{key:String(t.key)})}function de(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(ue)}var fe=["component","children","onVisibleChanged","onAllRemoved"],pe=["status"],ve=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:re,n=function(e){(0,b.A)(i,e);var n=(0,y.A)(i);function i(){var e;(0,h.A)(this,i);for(var t=arguments.length,a=new Array(t),c=0;c0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,i=t.length,a=de(e),c=de(t);a.forEach((function(e){for(var t=!1,a=r;a1})).forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==le}))).forEach((function(t){t.key===e&&(t.status=ce)}))})),n}(r,i);return{keyEntities:a.filter((function(e){var t=r.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==se||e.status!==le}))}}}]),i}(d.Component);(0,r.A)(n,"defaultProps",{component:"div"})}(X);const me=re},998:(e,t,n)=>{"use strict";function r(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}n.d(t,{A:()=>r})},4808:(e,t,n)=>{"use strict";function r(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}n.d(t,{A:()=>r})},5089:(e,t,n)=>{"use strict";n.d(t,{BD:()=>h,m6:()=>m});var r=n(9379),o=n(998),i=n(4808),a="data-rc-order",c="data-rc-priority",l="rc-util-key",s=new Map;function u(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):l}function d(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function f(e){return Array.from((s.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.A)())return null;var n=t.csp,r=t.prepend,i=t.priority,l=void 0===i?0:i,s=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r),u="prependQueue"===s,p=document.createElement("style");p.setAttribute(a,s),u&&l&&p.setAttribute(c,"".concat(l)),null!=n&&n.nonce&&(p.nonce=null==n?void 0:n.nonce),p.innerHTML=e;var v=d(t),m=v.firstChild;if(r){if(u){var h=(t.styles||f(v)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(a)))return!1;var t=Number(e.getAttribute(c)||0);return l>=t}));if(h.length)return v.insertBefore(p,h[h.length-1].nextSibling),p}v.insertBefore(p,m)}else v.appendChild(p);return p}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=d(t);return(t.styles||f(n)).find((function(n){return n.getAttribute(u(t))===e}))}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=v(e,t);n&&d(t).removeChild(n)}function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=d(n),a=f(o),c=(0,r.A)((0,r.A)({},n),{},{styles:a});!function(e,t){var n=s.get(e);if(!n||!(0,i.A)(document,n)){var r=p("",t),o=r.parentNode;s.set(e,o),e.removeChild(r)}}(o,c);var l=v(t,c);if(l){var m,h,g;if(null!==(m=c.csp)&&void 0!==m&&m.nonce&&l.nonce!==(null===(h=c.csp)||void 0===h?void 0:h.nonce))l.nonce=null===(g=c.csp)||void 0===g?void 0:g.nonce;return l.innerHTML!==e&&(l.innerHTML=e),l}var b=p(e,c);return b.setAttribute(u(c),t),b}},4207:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,f:()=>i});var r=n(6540),o=n(961);function i(e){return e instanceof HTMLElement||e instanceof SVGElement}function a(e){return i(e)?e:e instanceof r.Component?o.findDOMNode(e):null}},2633:(e,t,n)=>{"use strict";function r(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function o(e){return function(e){return r(e)instanceof ShadowRoot}(e)?r(e):null}n.d(t,{j:()=>o})},6928:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const o=r},6956:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540);function o(e){var t=r.useRef();t.current=e;var n=r.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o{"use strict";var r;n.d(t,{A:()=>s});var o=n(641),i=n(9379),a=n(6540);var c=0;var l=(0,i.A)({},r||(r=n.t(a,2))).useId;const s=l?function(e){var t=l();return e||t}:function(e){var t=a.useState("ssr-id"),n=(0,o.A)(t,2),r=n[0],i=n[1];return a.useEffect((function(){var e=c;c+=1,i("rc_unique_".concat(e))}),[]),e||r}},981:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,o:()=>a});var r=n(6540),o=(0,n(998).A)()?r.useLayoutEffect:r.useEffect,i=function(e,t){var n=r.useRef(!0);o((function(){return e(n.current)}),t),o((function(){return n.current=!1,function(){n.current=!0}}),[])},a=function(e,t){i((function(t){if(!t)return e()}),t)};const c=i},8104:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540);function o(e,t,n){var o=r.useRef({});return"value"in o.current&&!n(o.current.condition,t)||(o.current.value=e(),o.current.condition=t),o.current.value}},2533:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(641),o=n(6956),i=n(981),a=n(1233);function c(e){return void 0!==e}function l(e,t){var n=t||{},l=n.defaultValue,s=n.value,u=n.onChange,d=n.postState,f=(0,a.A)((function(){return c(s)?s:c(l)?"function"==typeof l?l():l:"function"==typeof e?e():e})),p=(0,r.A)(f,2),v=p[0],m=p[1],h=void 0!==s?s:v,g=d?d(h):h,b=(0,o.A)(u),y=(0,a.A)([h]),A=(0,r.A)(y,2),w=A[0],S=A[1];return(0,i.o)((function(){var e=w[0];v!==e&&b(v,e)}),[w]),(0,i.o)((function(){c(s)||m(s)}),[s]),[g,(0,o.A)((function(e,t){m(e,t),S([h],t)}))]}},1233:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(641),o=n(6540);function i(e){var t=o.useRef(!1),n=o.useState(e),i=(0,r.A)(n,2),a=i[0],c=i[1];return o.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[a,function(e,n){n&&t.current||c(e)}]}},3210:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2284),o=n(8210);const i=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function e(t,a){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,l=i.has(t);if((0,o.Ay)(!l,"Warning: There may be circular references"),l)return!1;if(t===a)return!0;if(n&&c>1)return!1;i.add(t);var s=c+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var u=0;u{"use strict";n.d(t,{A:()=>o});var r=n(9379);function o(e,t){var n=(0,r.A)({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}},5371:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=function(e){return+setTimeout(e,16)},o=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(r=function(e){return window.requestAnimationFrame(e)},o=function(e){return window.cancelAnimationFrame(e)});var i=0,a=new Map;function c(e){a.delete(e)}var l=function(e){var t=i+=1;return function n(o){if(0===o)c(t),e();else{var i=r((function(){n(o-1)}));a.set(t,i)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),t};l.cancel=function(e){var t=a.get(e);return c(e),o(t)};const s=l},8719:(e,t,n)=>{"use strict";n.d(t,{K4:()=>c,Xf:()=>a,f3:()=>s,xK:()=>l});var r=n(2284),o=(n(6540),n(6351)),i=n(8104);function a(e,t){"function"==typeof e?e(t):"object"===(0,r.A)(e)&&e&&"current"in e&&(e.current=t)}function c(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";n.d(t,{h:()=>m});var r=n(2284),o=n(9379),i=n(8339),a=n(6369),c=n(3893),l=n(7800),s=n(6562);function u(e,t){for(var n=e,r=0;r3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!u(e,t.slice(0,-1))?e:d(e,t,n,r)}function p(e){return Array.isArray(e)?[]:{}}var v="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function m(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";n.d(t,{$e:()=>i,Ay:()=>s});var r={},o=[];function i(e,t){}function a(e,t){}function c(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function l(e,t){c(i,e,t)}l.preMessage=function(e){o.push(e)},l.resetWarned=function(){r={}},l.noteOnce=function(e,t){c(a,e,t)};const s=l},7787:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case c:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case u:case s:case d:case m:case v:case l:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.ForwardRef=d,t.isFragment=function(e){return g(e)===i},t.isMemo=function(e){return g(e)===v}},6351:(e,t,n)=>{"use strict";e.exports=n(7787)},3591:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;c.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),S="undefined"!=typeof WeakMap?new WeakMap:new r,x=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=s.getInstance(),r=new w(t,n,this);S.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){x.prototype[e]=function(){var t;return(t=S.get(this))[e].apply(t,arguments)}}));const C=void 0!==i.ResizeObserver?i.ResizeObserver:x},8028:e=>{e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},6942:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nr})},6369:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{A:()=>r})},9417:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:()=>r})},3029:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{A:()=>r})},2901:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(8406);function o(e,t){for(var n=0;n{"use strict";n.d(t,{A:()=>a});var r=n(3954),o=n(2176),i=n(6822);function a(e){var t=(0,o.A)();return function(){var n,o=(0,r.A)(e);if(t){var a=(0,r.A)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,i.A)(this,n)}}},4467:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8406);function o(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},3954:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{A:()=>r})},5501:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(3662);function o(e,t){if("function"!=typeof t&&null!==t)throw new 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&&(0,r.A)(e,t)}},2176:(e,t,n)=>{"use strict";function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(r=function(){return!!e})()}n.d(t,{A:()=>r})},3893:(e,t,n)=>{"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{A:()=>r})},6562:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:()=>r})},9379:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(4467);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t{"use strict";n.d(t,{A:()=>o});var r=n(8587);function o(e,t){if(null==e)return{};var n,o,i=(0,r.A)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},6822:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2284),o=n(9417);function i(e,t){if(t&&("object"===(0,r.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.A)(e)}},641:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6369);var o=n(7800),i=n(6562);function a(e,t){return(0,r.A)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){s=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(e,t)||(0,o.A)(e,t)||(0,i.A)()}},8339:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(3145);var o=n(3893),i=n(7800);function a(e){return function(e){if(Array.isArray(e))return(0,r.A)(e)}(e)||(0,o.A)(e)||(0,i.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},8406:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2284);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.A)(t)?t:t+""}},2284:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},7800:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(3145);function o(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}},8453:(e,t,n)=>{"use strict";n.d(t,{R:()=>a,x:()=>c});var r=n(6540);const o={},i=r.createContext(o);function a(e){const t=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),r.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/7225.b0787900.js.LICENSE.txt b/assets/js/1599.bcb0326f.js.LICENSE.txt similarity index 84% rename from assets/js/7225.b0787900.js.LICENSE.txt rename to assets/js/1599.bcb0326f.js.LICENSE.txt index c86c8426..babfc3b7 100644 --- a/assets/js/7225.b0787900.js.LICENSE.txt +++ b/assets/js/1599.bcb0326f.js.LICENSE.txt @@ -16,12 +16,8 @@ /**![ellipsis](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE3NiA1MTFhNTYgNTYgMCAxMDExMiAwIDU2IDU2IDAgMTAtMTEyIDB6bTI4MCAwYTU2IDU2IDAgMTAxMTIgMCA1NiA1NiAwIDEwLTExMiAwem0yODAgMGE1NiA1NiAwIDEwMTEyIDAgNTYgNTYgMCAxMC0xMTIgMHoiIC8+PC9zdmc+) */ -/**![left](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcyNCAyMTguM1YxNDFjMC02LjctNy43LTEwLjQtMTIuOS02LjNMMjYwLjMgNDg2LjhhMzEuODYgMzEuODYgMCAwMDAgNTAuM2w0NTAuOCAzNTIuMWM1LjMgNC4xIDEyLjkuNCAxMi45LTYuM3YtNzcuM2MwLTQuOS0yLjMtOS42LTYuMS0xMi42bC0zNjAtMjgxIDM2MC0yODEuMWMzLjgtMyA2LjEtNy43IDYuMS0xMi42eiIgLz48L3N2Zz4=) */ - /**![plus](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQ4MiAxNTJoNjBxOCAwIDggOHY3MDRxMCA4LTggOGgtNjBxLTggMC04LThWMTYwcTAtOCA4LTh6IiAvPjxwYXRoIGQ9Ik0xOTIgNDc0aDY3MnE4IDAgOCA4djYwcTAgOC04IDhIMTYwcS04IDAtOC04di02MHEwLTggOC04eiIgLz48L3N2Zz4=) */ -/**![right](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTc2NS43IDQ4Ni44TDMxNC45IDEzNC43QTcuOTcgNy45NyAwIDAwMzAyIDE0MXY3Ny4zYzAgNC45IDIuMyA5LjYgNi4xIDEyLjZsMzYwIDI4MS4xLTM2MCAyODEuMWMtMy45IDMtNi4xIDcuNy02LjEgMTIuNlY4ODNjMCA2LjcgNy43IDEwLjQgMTIuOSA2LjNsNDUwLjgtMzUyLjFhMzEuOTYgMzEuOTYgMCAwMDAtNTAuNHoiIC8+PC9zdmc+) */ - /**![rotate-left](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHN0eWxlIC8+PC9kZWZzPjxwYXRoIGQ9Ik02NzIgNDE4SDE0NGMtMTcuNyAwLTMyIDE0LjMtMzIgMzJ2NDE0YzAgMTcuNyAxNC4zIDMyIDMyIDMyaDUyOGMxNy43IDAgMzItMTQuMyAzMi0zMlY0NTBjMC0xNy43LTE0LjMtMzItMzItMzJ6bS00NCA0MDJIMTg4VjQ5NGg0NDB2MzI2eiIgLz48cGF0aCBkPSJNODE5LjMgMzI4LjVjLTc4LjgtMTAwLjctMTk2LTE1My42LTMxNC42LTE1NC4ybC0uMi02NGMwLTYuNS03LjYtMTAuMS0xMi42LTYuMWwtMTI4IDEwMWMtNCAzLjEtMy45IDkuMSAwIDEyLjNMNDkyIDMxOC42YzUuMSA0IDEyLjcuNCAxMi42LTYuMXYtNjMuOWMxMi45LjEgMjUuOS45IDM4LjggMi41IDQyLjEgNS4yIDgyLjEgMTguMiAxMTkgMzguNyAzOC4xIDIxLjIgNzEuMiA0OS43IDk4LjQgODQuMyAyNy4xIDM0LjcgNDYuNyA3My43IDU4LjEgMTE1LjhhMzI1Ljk1IDMyNS45NSAwIDAxNi41IDE0MC45aDc0LjljMTQuOC0xMDMuNi0xMS4zLTIxMy04MS0zMDIuM3oiIC8+PC9zdmc+) */ /**![rotate-right](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHN0eWxlIC8+PC9kZWZzPjxwYXRoIGQ9Ik00ODAuNSAyNTEuMmMxMy0xLjYgMjUuOS0yLjQgMzguOC0yLjV2NjMuOWMwIDYuNSA3LjUgMTAuMSAxMi42IDYuMUw2NjAgMjE3LjZjNC0zLjIgNC05LjIgMC0xMi4zbC0xMjgtMTAxYy01LjEtNC0xMi42LS40LTEyLjYgNi4xbC0uMiA2NGMtMTE4LjYuNS0yMzUuOCA1My40LTMxNC42IDE1NC4yQTM5OS43NSAzOTkuNzUgMCAwMDEyMy41IDYzMWg3NC45Yy0uOS01LjMtMS43LTEwLjctMi40LTE2LjEtNS4xLTQyLjEtMi4xLTg0LjEgOC45LTEyNC44IDExLjQtNDIuMiAzMS04MS4xIDU4LjEtMTE1LjggMjcuMi0zNC43IDYwLjMtNjMuMiA5OC40LTg0LjMgMzctMjAuNiA3Ni45LTMzLjYgMTE5LjEtMzguOHoiIC8+PHBhdGggZD0iTTg4MCA0MThIMzUyYy0xNy43IDAtMzIgMTQuMy0zMiAzMnY0MTRjMCAxNy43IDE0LjMgMzIgMzIgMzJoNTI4YzE3LjcgMCAzMi0xNC4zIDMyLTMyVjQ1MGMwLTE3LjctMTQuMy0zMi0zMi0zMnptLTQ0IDQwMkgzOTZWNDk0aDQ0MHYzMjZ6IiAvPjwvc3ZnPg==) */ diff --git a/assets/js/37c719d6.2c11528f.js b/assets/js/37c719d6.2c11528f.js deleted file mode 100644 index 6fd16ff0..00000000 --- a/assets/js/37c719d6.2c11528f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkcodec_wiki=self.webpackChunkcodec_wiki||[]).push([[1227],{1165:(e,t,s)=>{s.d(t,{Ck:()=>p,kS:()=>u});var i=s(4848),n=s(5293),o=s(6540),r=s(3517),a=s(3501),c=s(1412),m=s(9522),l=s(1303);const p=({imageData:e})=>(0,i.jsx)(r.A,{arrows:!0,children:e.map((e=>(0,i.jsx)(a.A,{src:e.src},e.src)))}),u=({tabMap:e})=>{const[t,s]=(0,o.useState)(Object.keys(e)[0]),{colorMode:r,setColorMode:a}=(0,n.G)();return(0,i.jsx)(c.Ay,{theme:{algorithm:"dark"===r?m.A.darkAlgorithm:m.A.defaultAlgorithm},children:(0,i.jsx)(l.A,{tabList:Object.entries(e).map((([e,t])=>({key:e,label:t.label}))),activeTabKey:t,onTabChange:e=>{s(e)},children:e[t].component})})}},9168:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>q,contentTitle:()=>G,default:()=>O,frontMatter:()=>E,metadata:()=>V,toc:()=>N});var i=s(4848),n=s(8453),o=s(1165),r=s(6540),a=s(6942),c=s.n(a),m=s(9853);function l(e){return["small","middle","large"].includes(e)}var p=s(2279),u=s(3442),h=s(336);const b=["wrap","nowrap","wrap-reverse"],v=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],g=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"];const d=function(e,t){return c()(Object.assign(Object.assign(Object.assign({},((e,t)=>{const s={};return b.forEach((i=>{s[`${e}-wrap-${i}`]=t.wrap===i})),s})(e,t)),((e,t)=>{const s={};return g.forEach((i=>{s[`${e}-align-${i}`]=t.align===i})),s[`${e}-align-stretch`]=!t.align&&!!t.vertical,s})(e,t)),((e,t)=>{const s={};return v.forEach((i=>{s[`${e}-justify-${i}`]=t.justify===i})),s})(e,t)))},y=e=>{const{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},f=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},_=e=>{const{componentCls:t}=e,s={};return b.forEach((e=>{s[`${t}-wrap-${e}`]={flexWrap:e}})),s},x=e=>{const{componentCls:t}=e,s={};return g.forEach((e=>{s[`${t}-align-${e}`]={alignItems:e}})),s},k=e=>{const{componentCls:t}=e,s={};return v.forEach((e=>{s[`${t}-justify-${e}`]={justifyContent:e}})),s},w=(0,u.OF)("Flex",(e=>{const{paddingXS:t,padding:s,paddingLG:i}=e,n=(0,h.h1)(e,{flexGapSM:t,flexGap:s,flexGapLG:i});return[y(n),f(n),_(n),x(n),k(n)]}),(()=>({})),{resetStyle:!1});var S=function(e,t){var s={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(s[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(e);n{const{prefixCls:s,rootClassName:i,className:n,style:o,flex:a,gap:u,children:h,vertical:b=!1,component:v="div"}=e,g=S(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:y,direction:f,getPrefixCls:_}=r.useContext(p.QO),x=_("flex",s),[k,j,T]=w(x),E=null!=b?b:null==y?void 0:y.vertical,G=c()(n,i,null==y?void 0:y.className,x,j,T,d(x,e),{[`${x}-rtl`]:"rtl"===f,[`${x}-gap-${u}`]:l(u),[`${x}-vertical`]:E}),V=Object.assign(Object.assign({},null==y?void 0:y.style),o);return a&&(V.flex=a),u&&!l(u)&&(V.gap=u),k(r.createElement(v,Object.assign({ref:t,className:G,style:V},(0,m.A)(g,["justify","wrap","align"])),h))}));const T=j,E={title:"Observing SVT-AV1 v2.1.0's improvements: A New Deep Dive",description:"SVT-AV1 2.1.0 just released, how does it compare to the previous version?",slug:"svt-av1-second-deep-dive",authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043"}],tags:["video","compression","benchmarks"],image:"/img/svt-2.1.0-testing-blog-image.webp",hide_table_of_contents:!1},G="Introduction",V={permalink:"/blog/svt-av1-second-deep-dive",source:"@site/blog/2024-05-19-svt-av1-deep-dive2-v2-1-0.mdx",title:"Observing SVT-AV1 v2.1.0's improvements: A New Deep Dive",description:"SVT-AV1 2.1.0 just released, how does it compare to the previous version?",date:"2024-05-19T00:00:00.000Z",tags:[{label:"video",permalink:"/blog/tags/video"},{label:"compression",permalink:"/blog/tags/compression"},{label:"benchmarks",permalink:"/blog/tags/benchmarks"}],readingTime:38.77,hasTruncateMarker:!0,authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043",imageURL:"https://avatars.githubusercontent.com/u/93526043"}],frontMatter:{title:"Observing SVT-AV1 v2.1.0's improvements: A New Deep Dive",description:"SVT-AV1 2.1.0 just released, how does it compare to the previous version?",slug:"svt-av1-second-deep-dive",authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043",imageURL:"https://avatars.githubusercontent.com/u/93526043"}],tags:["video","compression","benchmarks"],image:"/img/svt-2.1.0-testing-blog-image.webp",hide_table_of_contents:!1},unlisted:!1,nextItem:{title:"Encoding Animation with SVT-AV1: A Deep Dive",permalink:"/blog/svt-av1-deep-dive"}},q={authorsImageUrls:[void 0]},N=[{value:"Feedback",id:"feedback",level:2},{value:"Methodology",id:"methodology",level:2},{value:"Samples",id:"samples",level:2},{value:"Presets comparisons (-1 -> 13 12)",id:"presets-comparisons--1---13-12",level:2},{value:"Efficiency",id:"efficiency",level:3},{value:"Speed",id:"speed",level:3},{value:"Interpretation",id:"interpretation",level:3},{value:"TLDR",id:"tldr",level:3},{value:"SVT-AV1 v2.0.0 vs v2.1.0 presets comparisons:",id:"svt-av1-v200-vs-v210-presets-comparisons",level:2},{value:"preset -1: v2.0.0 vs v2.1.0",id:"preset--1-v200-vs-v210",level:3},{value:"preset 0: v2.0.0 vs v2.1.0",id:"preset-0-v200-vs-v210",level:3},{value:"preset 1: v2.0.0 vs v2.1.0",id:"preset-1-v200-vs-v210",level:3},{value:"preset 2: v2.0.0 vs v2.1.0",id:"preset-2-v200-vs-v210",level:3},{value:"preset 3: v2.0.0 vs v2.1.0",id:"preset-3-v200-vs-v210",level:3},{value:"preset 4: v2.0.0 vs v2.1.0",id:"preset-4-v200-vs-v210",level:3},{value:"preset 5: v2.0.0 vs v2.1.0",id:"preset-5-v200-vs-v210",level:3},{value:"preset 6: v2.0.0 vs v2.1.0",id:"preset-6-v200-vs-v210",level:3},{value:"preset 7: v2.0.0 vs v2.1.0",id:"preset-7-v200-vs-v210",level:3},{value:"preset 8: v2.0.0 vs v2.1.0",id:"preset-8-v200-vs-v210",level:3},{value:"preset 9: v2.0.0 vs v2.1.0",id:"preset-9-v200-vs-v210",level:3},{value:"preset 10: v2.0.0 vs v2.1.0",id:"preset-10-v200-vs-v210",level:3},{value:"preset 11: v2.0.0 vs v2.1.0",id:"preset-11-v200-vs-v210",level:3},{value:"preset 12: v2.0.0 vs v2.1.0",id:"preset-12-v200-vs-v210",level:3},{value:"TLDR",id:"tldr-1",level:3},{value:"Conclusion",id:"conclusion",level:2},{value:"Future",id:"future",level:2}];function R(e){const t={a:"a",blockquote:"blockquote",code:"code",del:"del",em:"em",h2:"h2",h3:"h3",img:"img",li:"li",p:"p",strong:"strong",ul:"ul",...(0,n.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.p,{children:"SVT-AV1, the most scalable AV1 encoder, has received a new update and one may wonder if the old presets recommendation still holds today. We will delve into that in this blog post, based on a series of speed and visual quality benchmarks with SSIMULACRA2 and XPSNR of SVT-AV1 2.1.0 on a corpus of varied animated clips."}),"\n",(0,i.jsx)(t.h2,{id:"feedback",children:"Feedback"}),"\n",(0,i.jsx)(t.p,{children:"I unfortunately never got to update the previous blog post with the image comparisons, and some people expressed concerns that this testing may not be representative of live action content. For the former, I will have to ask for your patience again, because this blog post won't initially contain image comparisons either, but this time they are being actively worked on, along with a magnificent comparisons component and this page will get updated once that is done. As for the latter, please be reassured that this testing in its entirety is perfectly representative of any modern content people typically encode: the diversity of japanese animation is rich and the content specifically chosen for this benchmark is relatively complex. From 3DCG to extremely noisy clips, we are far from the easy-to-compress static scenes of some slice-of-life show."}),"\n",(0,i.jsx)(t.p,{children:"I have also decided to complement this benchmark of another psychovisually-driven metric (XPSNR) so that double-checking is made easier. Thus, each graph possesses a SSIMULACRA2 version and a XPSNR version. Don't hesitate to switch between one another!"}),"\n",(0,i.jsx)(t.h2,{id:"methodology",children:"Methodology"}),"\n",(0,i.jsxs)(t.p,{children:["The resources available will range from ",(0,i.jsx)(t.em,{children:(0,i.jsx)(t.strong,{children:"graphs"})})," to ",(0,i.jsx)(t.del,{children:(0,i.jsx)(t.strong,{children:"image comparisons"})})," (WIP, for real this time). The ",(0,i.jsx)(t.em,{children:(0,i.jsx)(t.strong,{children:"former"})})," has the advantage of being easily understandable, showcasing pure efficiency comparisons between encoder parameters using metrics as the reference, while the ",(0,i.jsx)(t.strong,{children:"latter"})," are image samples from the files encoded during the tests that enable you to check quality for yourself, adding another layer of subjective interpretation to these comparisons."]}),"\n",(0,i.jsxs)(t.p,{children:["The testing methodology involves using relatively short video samples from a wide range of modern anime genre, which have been either losslessly encoded with ",(0,i.jsx)(t.code,{children:"x264 --qp 0"})," for ease of use or losslessly cut from their source. These lossless files are then pipped into SvtAv1EncApp ",(0,i.jsx)(t.em,{children:"directly"}),", meaning we are measuring the performance of a single encoder instance and not leveraging chunked encoding like any actual final AV1 encoding pipeline should. Once an encode is done, SSIMULACRA2 scores are calculated using the ",(0,i.jsx)(t.a,{href:"https://github.com/dnjulek/vapoursynth-ssimulacra2",children:"Zig implementation"}),", XPSNR scores on the other hand are calculated using a ",(0,i.jsx)(t.a,{href:"https://github.com/fraunhoferhhi/xpsnr",children:"ffmpeg filter"}),", and lots of useful data are aggregated to make the graphs for this benchmark, including encoding time, encode size (bitrate), and metrics scores. Bits per pixel scores (BPP) are calculated so that the ",(0,i.jsx)(t.code,{children:"Metric / BPP"})," graphs may represent the closest we have to real efficiency."]}),"\n",(0,i.jsx)(t.p,{children:"The clips used in this test were acquired legally. The Codec Wiki and its contributors do not endorse media piracy."}),"\n",(0,i.jsxs)(t.p,{children:["SvtAv1EncApp was compiled directly from the ",(0,i.jsx)(t.a,{href:"https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases/",children:"v2.0.0 and v2.1.0 source code"})," using the provided ",(0,i.jsx)(t.code,{children:"Build/linux/build.sh"})," script, Clang 16.0.6, and Profile-Guided Optimization (PGO). The testing machine is comprised of an i3 12100 with 16GB of 3200MHz CL14 DDR4 RAM in Arch Linux with kernel 6.7.7 and the performance governor enabled. All encodes have been made in the same session without rebooting."]}),"\n",(0,i.jsxs)(t.p,{children:["This testing was conducted within the ",(0,i.jsx)(t.a,{href:"https://discord.gg/83dRFDFDp7",children:"AV1 Weeb Edition"})," Discord server, which is focused on encoding animated content in AV1."]}),"\n",(0,i.jsx)(t.h2,{id:"samples",children:"Samples"}),"\n",(0,i.jsx)(t.p,{children:"The samples are as follows:"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["11s ",(0,i.jsx)(t.code,{children:"Blame!"})," clip which sports 3DCG action with lots of grain, effects and high-contrast elements."]}),"\n",(0,i.jsxs)(t.li,{children:["13s ",(0,i.jsx)(t.code,{children:"Blue Lock"})," clip which sports rapid camera movements, complex geometry and high-contrast elements."]}),"\n",(0,i.jsxs)(t.li,{children:["5s ",(0,i.jsx)(t.code,{children:"Spy x Family"})," first ending sequence with an extremely high amount of dynamic noise. New most complex source of this set."]}),"\n",(0,i.jsxs)(t.li,{children:["12s ",(0,i.jsx)(t.code,{children:"Jigokuraku (Hell's Paradise)"})," flashback clip with huge static grain in a very dark scenery and some action."]}),"\n",(0,i.jsxs)(t.li,{children:["5s ",(0,i.jsx)(t.code,{children:"The Garden of Sinners"})," clean but fast-paced 3DCG scene with explosions."]}),"\n"]}),"\n",(0,i.jsx)(t.p,{children:"The resolution of every clip is 1080p, except for the first one which is 1920x804."}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsx)(t.p,{children:(0,i.jsxs)(t.strong,{children:["All clips have been encoded in a wide quality range, from ",(0,i.jsx)(t.code,{children:"--crf 6"})," to ",(0,i.jsx)(t.code,{children:"--crf 46"}),", by increments of 4."]})}),"\n"]}),"\n",(0,i.jsx)(t.p,{children:"Without further ado, let's start with the first comparisons!"}),"\n",(0,i.jsxs)(t.h2,{id:"presets-comparisons--1---13-12",children:["Presets comparisons (-1 -> ",(0,i.jsx)(t.del,{children:"13"})," 12)"]}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsxs)(t.strong,{children:["In the following graphs, you may find comparisons between all SVT-AV1 presets, ranging from the slowest ",(0,i.jsx)(t.code,{children:"--preset -1"})," to the fastest ",(0,i.jsx)(t.code,{children:"--preset 12"}),"."]})}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:["Yes, you heard that right. Preset 7 and 13 are no more in ",(0,i.jsx)(t.strong,{children:"v2.1.0"}),". This new update, like the previous one, mostly consisted of optimizing the presets trade-offs. The devs have made the choice to map ",(0,i.jsx)(t.code,{children:"preset 7"})," to ",(0,i.jsx)(t.code,{children:"preset 6"})," and ",(0,i.jsx)(t.code,{children:"preset 13"})," to ",(0,i.jsx)(t.code,{children:"preset 12"})," due to the lack of spacing between the new presets. We will discuss the implications of this further ahead."]}),"\n"]}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.code,{children:"--preset X"})," is the only parameter used here, in conjunction with the CRF values. That means everything else is default. The defaults worth mentioning are:"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--tune 1"}),": tune PSNR"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--aq-mode 2"}),": variance deltaq"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--enable-qm 0"}),": quantisation matrices disabled"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--irefresh-type 2"}),": closed GOP"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--enable-tf 1"}),": temporal filtering enabled"]}),"\n"]}),"\n",(0,i.jsx)(t.p,{children:"And more, like CDEF and restoration enabled, overlays and film-grain disabled..."}),"\n",(0,i.jsx)(t.h3,{id:"efficiency",children:"Efficiency"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"First of all, here are the full efficiency graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/full/SVT-1_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/full/SVT-1_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/full/SVT-1_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/full/SVT-1_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/full/SVT-1_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/full/SVT-1_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/full/SVT-1_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/full/SVT-1_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/full/SVT-1_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/full/SVT-1_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.p,{children:"This is all very cool, but visually bloated."}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:'Now the same graphs but focusing on the "high quality" range (CRF6 -> 22):'}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/hq/SVT-1_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/hq/SVT-1_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/hq/SVT-1_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/hq/SVT-1_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/hq/SVT-1_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/hq/SVT-1_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/hq/SVT-1_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/hq/SVT-1_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/hq/SVT-1_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/hq/SVT-1_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:'Same, but now focusing on the "low quality" range (CRF26 -> 46):'}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/lq/SVT-1_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/lq/SVT-1_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/lq/SVT-1_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/lq/SVT-1_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/lq/SVT-1_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/lq/SVT-1_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/lq/SVT-1_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/lq/SVT-1_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/lq/SVT-1_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/lq/SVT-1_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["If we now focus on ",(0,i.jsx)(t.strong,{children:"presets 4"}),' and below, where it\'s more difficult to discern the differences between presets, we get this at "high quality":']}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/hq/SVT-1_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/hq/SVT-1_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/hq/SVT-1_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/hq/SVT-1_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/hq/SVT-1_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/hq/SVT-1_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/hq/SVT-1_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/hq/SVT-1_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/hq/SVT-1_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/hq/SVT-1_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:'And the following at "low quality":'}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/lq/SVT-1_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/lq/SVT-1_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/lq/SVT-1_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/lq/SVT-1_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/lq/SVT-1_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/lq/SVT-1_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/lq/SVT-1_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/lq/SVT-1_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/lq/SVT-1_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/lq/SVT-1_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.h3,{id:"speed",children:"Speed"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:(0,i.jsx)(t.strong,{children:"Let's now see speed comparisons between all presets:"})}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speed/SVT-1_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speed/SVT-1_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speed/SVT-1_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speed/SVT-1_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speed/SVT-1_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["Once is not custom, ",(0,i.jsx)(t.strong,{children:"preset -1"})," is so abysmally slow it makes the graph unusable."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["Same, but without the placebo ",(0,i.jsx)(t.strong,{children:"preset -1"}),":"]}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speednomr/SVT0_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speednomr/SVT0_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speednomr/SVT0_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speednomr/SVT0_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speednomr/SVT0_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Lastly, here is what it looks like with a logarithmic scale:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speedlog/SVT-1_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speedlog/SVT-1_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speedlog/SVT-1_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speedlog/SVT-1_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speedlog/SVT-1_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.h3,{id:"interpretation",children:"Interpretation"}),"\n",(0,i.jsxs)(t.p,{children:["As for interpreting the results, it would seem like ",(0,i.jsx)(t.strong,{children:"preset 2"})," and ",(0,i.jsx)(t.strong,{children:"preset 4"})," remain all-around very balanced presets, with ",(0,i.jsx)(t.strong,{children:"preset 3"})," being in a nice in-between spot, an improvement over v2.0.0's ",(0,i.jsx)(t.strong,{children:"preset 3"})," in a way. We will better understand the reasons for this when we'll compare the new version to the last, a bit after."]}),"\n",(0,i.jsxs)(t.p,{children:["The quality gap between ",(0,i.jsx)(t.strong,{children:"preset 2"})," and ",(0,i.jsx)(t.strong,{children:"preset 1"})," is usually pretty narrow, however the speed penalty from going to ",(0,i.jsx)(t.strong,{children:"preset 1"})," is ~2x, when the penalty of going from ",(0,i.jsx)(t.strong,{children:"preset 3"})," to ",(0,i.jsx)(t.strong,{children:"preset 2"})," is closer to ~1.5x. As such, ",(0,i.jsx)(t.strong,{children:"preset 1"})," enters placebo territory, and considering the very little benefits of going any lower than it, compared to the huge performance loss of even lower presets, I advise you not to waste encoding resources on ",(0,i.jsx)(t.strong,{children:"preset 0"})," and ",(0,i.jsx)(t.strong,{children:"preset -1"}),". This applies especially at medium to high quality, however at extremely low quality like the CRF40 range, we can still see some small gains from these placebo presets."]}),"\n",(0,i.jsxs)(t.p,{children:["When we start talking about faster presets though, things are pretty different from previous versions: ",(0,i.jsx)(t.strong,{children:"presets 5 to 9"})," behave similarly on the graphs and seem to stand apart from their slower counterparts by just a bit. If you can bear the speed of ",(0,i.jsx)(t.strong,{children:"preset 4"}),", you should definitely be going for it, however if fast encoding is a necessity, for example in the case of realtime transcoding or streaming, ",(0,i.jsx)(t.strong,{children:"presets 5 through 9"})," will serve you right with great efficiency/speed trade-offs between one another. No preset in that range particularly stands out from the others, so simply pick one depending on your performance needs."]}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Presets 10 to 12"})," are pretty inefficient, and to be avoided if possible. They can still be of use in a convex-hull scenario, but in the case of realtime transcoding, you may be better off with a hardware encoder like the ones found in RTX 4000 or Arc GPUs, especially since SVT-AV1's target bitrate mode is even less efficient than CRF mode."]}),"\n",(0,i.jsx)(t.h3,{id:"tldr",children:"TLDR"}),"\n",(0,i.jsxs)(t.p,{children:["The same conclusions as the previous blog post can be made:\n",(0,i.jsxs)(t.strong,{children:["clear quality gains can be observed as we decrease presets, until ",(0,i.jsx)(t.strong,{children:"preset 2"}),", however the effectiveness of dropping presets is noticeably less and less important as quality is increased."]})]}),"\n",(0,i.jsx)(t.p,{children:"In the next part, we will evaluate the differences in efficiency and speed of every presets when updating from SVT-AV1 2.0.0 to 2.1.0, which should enable an increase of nuance from the previous results alone."}),"\n",(0,i.jsx)(t.h2,{id:"svt-av1-v200-vs-v210-presets-comparisons",children:"SVT-AV1 v2.0.0 vs v2.1.0 presets comparisons:"}),"\n",(0,i.jsxs)(t.p,{children:["Two months ago, I conducted a similar test to this one to compare the presets evolution between versions ",(0,i.jsx)(t.strong,{children:"1.8.0"})," and ",(0,i.jsx)(t.strong,{children:"2.0.0"}),". The results were pretty unsatisfying: I noticed that ",(0,i.jsx)(t.strong,{children:"presets -1 to 8"})," in ",(0,i.jsx)(t.strong,{children:"v2.0.0"})," performed like the old ",(0,i.jsx)(t.strong,{children:"presets 0 to 9"})," did in ",(0,i.jsx)(t.strong,{children:"v1.8.0"}),". We basically saw an efficiency regression at a given preset, and speedups did not follow suit as well as we would have anticipated. All in all, it wasn't all that bad, it suffice to say you could simply drop a preset from before and you were good to go again. What was more concerning however is that the release note claimed important speedups that did not impact efficiency and my testing proved otherwise. My theory is that due to the dev team testing methodology, which consist of mostly pretty low resolution clips and non-psychovisual metrics like PSNR, SSIM or bad psychovisual metrics like VMAF, it's very well possible they were tricked into thinking they introduced improvements as they tweaked the presets when in reality the metrics simply didn't notice the quality degradation. Such issue is an additional reason why the industry should adopt more competent metrics, ones that better correlate with the human vision, to improve encoders in more impactful ways and better avoid pointless regressions."]}),"\n",(0,i.jsx)(t.p,{children:"So the question for today's testing is: have the SVT-AV1 devs redeemed themselves and actually improved the presets trade-offs this time around? Let's find out!"}),"\n",(0,i.jsxs)(t.h3,{id:"preset--1-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset -1"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:(0,i.jsx)(t.strong,{children:'Let\'s start off with a battle of the placebos, with the efficiency at "high quality":'})}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT-1_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT-1_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT-1_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT-1_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT-1_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT-1_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT-1_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT-1_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT-1_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT-1_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:'And the efficiency at "low quality":'}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT-1_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT-1_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT-1_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT-1_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT-1_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT-1_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT-1_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT-1_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT-1_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT-1_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.p,{children:"Yes, this is a bit underwhelming, but you can't just improve the best an encoder has to offer with just tweaking right?"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Now, let's compare their respective speeds:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT-1_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT-1_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT-1_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT-1_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT-1_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.p,{children:"Let's be grateful it became ever so slightly faster, I guess."}),"\n",(0,i.jsxs)(t.h3,{id:"preset-0-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 0"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT0_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT0_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT0_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT0_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT0_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT0_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT0_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT0_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT0_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT0_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT0_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT0_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT0_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT0_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT0_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT0_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT0_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT0_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT0_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT0_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["Overall, efficiency wise, this new ",(0,i.jsx)(t.strong,{children:"preset 0"})," places itself in-between old ",(0,i.jsx)(t.strong,{children:"preset -1"})," and ",(0,i.jsx)(t.strong,{children:"0"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT0_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT0_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT0_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT0_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT0_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["Interestingly enough, its speed is much closer to the old ",(0,i.jsx)(t.strong,{children:"preset 0"})," than to the old ",(0,i.jsx)(t.strong,{children:"preset -1"}),". This means ",(0,i.jsx)(t.strong,{children:"preset 0"})," was genuinely improved over v2.0.0!"]}),"\n",(0,i.jsxs)(t.h3,{id:"preset-1-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 1"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT1_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT1_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT1_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT1_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT1_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT1_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT1_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT1_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT1_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT1_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT1_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT1_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT1_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT1_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT1_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT1_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT1_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT1_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT1_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT1_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["In efficiency, this new ",(0,i.jsx)(t.strong,{children:"preset 1"})," is often equal to old ",(0,i.jsx)(t.strong,{children:"preset 0"}),", else in-between old ",(0,i.jsx)(t.strong,{children:"preset 0 and 1"}),"."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT1_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT1_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT1_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT1_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT1_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["We observe that the new preset is a bit closer to old ",(0,i.jsx)(t.strong,{children:"preset 1"})," speeds than it is to old ",(0,i.jsx)(t.strong,{children:"preset 0"})," speeds. Good news!"]}),"\n",(0,i.jsxs)(t.h3,{id:"preset-2-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 2"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT2_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT2_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT2_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT2_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT2_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT2_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT2_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT2_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT2_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT2_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT2_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT2_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT2_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT2_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT2_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT2_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT2_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT2_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT2_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT2_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.p,{children:"Oh well, that's awkward."}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT2_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT2_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT2_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT2_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT2_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["Speed was left untouched too, meaning ",(0,i.jsx)(t.strong,{children:"preset 2"})," is unchanged in v2.1.0."]}),"\n",(0,i.jsxs)(t.h3,{id:"preset-3-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 3"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT3_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT3_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT3_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT3_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT3_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT3_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT3_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT3_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT3_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT3_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT3_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT3_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT3_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT3_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT3_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT3_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT3_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT3_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT3_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT3_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["The new ",(0,i.jsx)(t.strong,{children:"preset 3"}),"'s efficiency is the same as the old one."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT3_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT3_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT3_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT3_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT3_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.p,{children:"However, the preset got slightly faster, so this is a speedup!"}),"\n",(0,i.jsxs)(t.h3,{id:"preset-4-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 4"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT4_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT4_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT4_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT4_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT4_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT4_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT4_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT4_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT4_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT4_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT4_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT4_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT4_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT4_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT4_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT4_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT4_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT4_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT4_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT4_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["We can observe that ",(0,i.jsx)(t.strong,{children:"preset 4"})," got slightly to moderately worse efficiency wise."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT4_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT4_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT4_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT4_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT4_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.p,{children:"Fortunately, the consequence of that slight efficiency decrease is a big performance improvement!"}),"\n",(0,i.jsxs)(t.h3,{id:"preset-5-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 5"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT5_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT5_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT5_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT5_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT5_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT5_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT5_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT5_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT5_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT5_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT5_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT5_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT5_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT5_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT5_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT5_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT5_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT5_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT5_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT5_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Preset 5"})," seems to have gotten ever so slightly worse efficiency wise."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT5_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT5_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT5_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT5_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT5_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.p,{children:"Yet it became slightly faster, this is overall a good trade-off."}),"\n",(0,i.jsxs)(t.h3,{id:"preset-6-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 6"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT6_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT6_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT6_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT6_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT6_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT6_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT6_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT6_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT6_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT6_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT6_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT6_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT6_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT6_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT6_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT6_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT6_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT6_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT6_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT6_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["The new ",(0,i.jsx)(t.strong,{children:"preset 6"})," has a huge responsibility: being able to compensate in the absence of its ",(0,i.jsx)(t.strong,{children:"preset 7"})," sibling. It seems to performs in-between old ",(0,i.jsx)(t.strong,{children:"preset 6 and 7"}),", usually closer to old ",(0,i.jsx)(t.strong,{children:"7"}),"."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT6_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT6_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT6_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT6_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT6_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Preset 6"})," is now ever so slightly slower to old ",(0,i.jsx)(t.strong,{children:"7"}),", this is an interesting trade-off, overall a win over old ",(0,i.jsx)(t.strong,{children:"7"}),"."]}),"\n",(0,i.jsxs)(t.h3,{id:"preset-7-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 7"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.p,{children:["Again, there is no preset 7. Actually, it's preset 6 that disappeared but I'm not remaking the graphs just for fun. If you select preset 6, you will be granted the following message: ",(0,i.jsx)(t.code,{children:"Svt[warn]: Preset M6 is mapped to M7."})]}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.img,{alt:"always_has_been",src:s(9502).A+"",width:"833",height:"466"})}),"\n",(0,i.jsxs)(t.h3,{id:"preset-8-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 8"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT8_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT8_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT8_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT8_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT8_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT8_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT8_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT8_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT8_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT8_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT8_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT8_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT8_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT8_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT8_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT8_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT8_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT8_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT8_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT8_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["In efficiency, this new ",(0,i.jsx)(t.strong,{children:"preset 8"})," is sometimes equal or slightly worse to the old ",(0,i.jsx)(t.strong,{children:"8"}),", and sometimes equal or slightly worse than old ",(0,i.jsx)(t.strong,{children:"7"}),"..."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT8_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT8_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT8_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT8_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT8_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["Overall, the speed is pretty much unchanged from old ",(0,i.jsx)(t.strong,{children:"8"}),". It looks like a slight regression, that's pretty disappointing."]}),"\n",(0,i.jsxs)(t.h3,{id:"preset-9-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 9"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT9_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT9_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT9_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT9_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT9_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT9_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT9_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT9_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT9_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT9_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT9_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT9_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT9_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT9_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT9_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT9_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT9_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT9_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT9_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT9_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["The new ",(0,i.jsx)(t.strong,{children:"preset 9"})," is the same as ever, ever so slightly better in some scenario but nothing groundbreaking."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT9_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT9_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT9_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT9_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT9_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.p,{children:"Its speed remains the same, sometimes ever so slightly slower. Basically the preset is pretty much unchanged, which may as well be a relief, as the last usable preset of the encoder."}),"\n",(0,i.jsxs)(t.h3,{id:"preset-10-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 10"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT10_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT10_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT10_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT10_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT10_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT10_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT10_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT10_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT10_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT10_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT10_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT10_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT10_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT10_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT10_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT10_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT10_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT10_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT10_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT10_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Preset 10"})," is slightly to moderately worse efficiency wise."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT10_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT10_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT10_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT10_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT10_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.p,{children:"Its speed is mostly the same, sometimes ever so slightly faster. It's a wash, avoid this preset at all costs!"}),"\n",(0,i.jsxs)(t.h3,{id:"preset-11-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 11"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT11_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT11_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT11_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT11_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT11_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT11_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT11_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT11_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT11_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT11_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT11_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT11_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT11_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT11_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT11_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT11_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT11_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT11_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT11_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT11_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Preset 11"}),"'s efficiency is untouched."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT11_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT11_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT11_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT11_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT11_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Preset 11"}),"'s speed is unchanged as well."]}),"\n",(0,i.jsxs)(t.h3,{id:"preset-12-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 12"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT13_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT13_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT13_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT13_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT13_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT13_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT13_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT13_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT13_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT13_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT13_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT13_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT13_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT13_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT13_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT13_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT13_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT13_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT13_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT13_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["Just as ",(0,i.jsx)(t.strong,{children:"preset 6"}),", ",(0,i.jsx)(t.strong,{children:"preset 12"})," is now mapped to ",(0,i.jsx)(t.strong,{children:"13"}),", and unsurprisingly, its efficiency is equal to old ",(0,i.jsx)(t.strong,{children:"13"}),"."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT13_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT13_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT13_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT13_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT13_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.p,{children:"The speeds seem to be in-between old 12 and 13, so potentially a slight speedup. Still, nothing to get excited at."}),"\n",(0,i.jsx)(t.h3,{id:"tldr-1",children:"TLDR"}),"\n",(0,i.jsxs)(t.p,{children:["From these extensive comparisons, it appears that some presets have received genuine improvements in their respective efficiency/speed trade-off.\nSome presets, like ",(0,i.jsx)(t.strong,{children:"-1"}),", ",(0,i.jsx)(t.strong,{children:"0"}),", ",(0,i.jsx)(t.strong,{children:"1"})," and ",(0,i.jsx)(t.strong,{children:"3"}),", received the most significant improvements, followed by ",(0,i.jsx)(t.strong,{children:"4"}),", ",(0,i.jsx)(t.strong,{children:"5"})," and ",(0,i.jsx)(t.strong,{children:"6"})," with overall beneficial new trade-offs. ",(0,i.jsx)(t.strong,{children:"Preset 12"})," got slightly faster too. On the other hand, ",(0,i.jsx)(t.strong,{children:"presets 8 and 10"})," seemed to have regressed slightly, and ",(0,i.jsx)(t.strong,{children:"presets 2 and 9"})," are perfectly unchanged from v2.0.0."]}),"\n",(0,i.jsx)(t.h2,{id:"conclusion",children:"Conclusion"}),"\n",(0,i.jsxs)(t.p,{children:["SVT-AV1 2.1.0 introduced some welcomed improvements. ",(0,i.jsx)(t.strong,{children:"Presets 2 through 4"})," remain the king of optimal AV1 encoding, while ",(0,i.jsx)(t.strong,{children:"presets 5 through 9"})," stand as good options for the people that find ",(0,i.jsx)(t.strong,{children:"2-4"})," to be too slow for their liking."]}),"\n",(0,i.jsx)(t.p,{children:"Let's be honest a second, not much as changed in SVT-AV1 since the first blog post. There was no need to redo all the parameter testing for the simple reason that their behavior remained the same, as did the conclusions drawn from them. I hope this article wasn't disappointing in a sense... Still, be reassured, this was just an appetizer, there will be more in the near future!"}),"\n",(0,i.jsxs)(t.p,{children:["By the way, did you know that the ",(0,i.jsx)(t.strong,{children:(0,i.jsx)(t.a,{href:"https://github.com/gianni-rosato/svt-av1-psy/",children:"SVT-AV1-PSY project"})})," was initiated a few months ago? Its defaults were tailored according to the testing done in the last blog post, allowing a free efficiency boost for anyone not keen to tweak their encoders. Furthermore, SVT-AV1-PSY introduced a sharpness parameter to control distortion, a quarter-step quantizer for more CRF precision, a new subjective SSIM tune, Dolby Vision support, frame luma bias, and some other knobs to improve the appeal and consistency of your encodes. It is actively maintained by a group of talented people, including the main dev of the aom-av1-lavish fork of aomenc. Some of the changes are being backported to mainline SVT-AV1 due to the increased interest of the mainline devs. Please check it out!"]}),"\n",(0,i.jsx)(t.p,{children:"Hopefully, this comprehensive second deep dive should give you a helpful new starting point for choosing settings when encoding with the latest SVT-AV1(-PSY) 2.1.0."}),"\n",(0,i.jsx)(t.h2,{id:"future",children:"Future"}),"\n",(0,i.jsx)(t.p,{children:"My plans for the future regarding the blog post include:"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"polishing this blog post and aggrementing it of image comparisons."}),"\n",(0,i.jsx)(t.li,{children:"a follow-up article in the relatively near future about giving you encoding tips and explaining common AV1 encoding knowlegde, for instance showcasing why film grain synthesis is a game-changer or why chunked encoding can prove beneficial to your encoding pipeline."}),"\n",(0,i.jsx)(t.li,{children:"an article focused on observing the evolution of SVT-AV1 since the beginning of its development, as well as comparisons with current aomenc, rav1e and SVT-AV1-PSY, including a quick look at the current state of AVM (development ground for AV2) in comparison to VVC's state."}),"\n"]}),"\n",(0,i.jsx)(t.p,{children:"Thanks for reading!"}),"\n"]})}function O(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(R,{...e})}):R(e)}},9502:(e,t,s)=>{s.d(t,{A:()=>i});const i=s.p+"assets/images/preset_7_meme-db92f83a118086187f0de0dea1362caf.webp"}}]); \ No newline at end of file diff --git a/assets/js/37c719d6.d338fb2a.js b/assets/js/37c719d6.d338fb2a.js new file mode 100644 index 00000000..8667807d --- /dev/null +++ b/assets/js/37c719d6.d338fb2a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcodec_wiki=self.webpackChunkcodec_wiki||[]).push([[1227],{1165:(e,t,s)=>{s.d(t,{Ck:()=>h,kS:()=>b});var i=s(4848),n=s(5293),o=s(6540),r=s(3517),a=s(943),c=s(1412),m=s(9522),l=s(1303),p=s(8633),u=s(363);const h=({imageData:e})=>{const t=({currentSlide:e,direction:t,slideCount:s,...n})=>"left"===t?(0,i.jsx)(p.A,{...n,style:{color:"#fff",fontSize:24,width:24,height:24,zIndex:1,left:10}}):(0,i.jsx)(u.A,{...n,style:{color:"#fff",fontSize:24,width:24,height:24,zIndex:1,right:10}});return(0,i.jsx)(r.A,{arrows:!0,prevArrow:(0,i.jsx)(t,{direction:"left"}),nextArrow:(0,i.jsx)(t,{direction:"right"}),children:e.map((e=>(0,i.jsx)(a.A,{src:e.src},e.src)))})},b=({tabMap:e})=>{const[t,s]=(0,o.useState)(Object.keys(e)[0]),{colorMode:r,setColorMode:a}=(0,n.G)();return(0,i.jsx)(c.Ay,{theme:{algorithm:"dark"===r?m.A.darkAlgorithm:m.A.defaultAlgorithm},children:(0,i.jsx)(l.A,{tabList:Object.entries(e).map((([e,t])=>({key:e,label:t.label}))),activeTabKey:t,onTabChange:e=>{s(e)},children:e[t].component})})}},9168:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>q,contentTitle:()=>G,default:()=>O,frontMatter:()=>E,metadata:()=>V,toc:()=>N});var i=s(4848),n=s(8453),o=s(1165),r=s(6540),a=s(6942),c=s.n(a),m=s(9853);function l(e){return["small","middle","large"].includes(e)}var p=s(2279),u=s(3442),h=s(336);const b=["wrap","nowrap","wrap-reverse"],v=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],g=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"];const d=function(e,t){return c()(Object.assign(Object.assign(Object.assign({},((e,t)=>{const s={};return b.forEach((i=>{s[`${e}-wrap-${i}`]=t.wrap===i})),s})(e,t)),((e,t)=>{const s={};return g.forEach((i=>{s[`${e}-align-${i}`]=t.align===i})),s[`${e}-align-stretch`]=!t.align&&!!t.vertical,s})(e,t)),((e,t)=>{const s={};return v.forEach((i=>{s[`${e}-justify-${i}`]=t.justify===i})),s})(e,t)))},y=e=>{const{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},f=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},_=e=>{const{componentCls:t}=e,s={};return b.forEach((e=>{s[`${t}-wrap-${e}`]={flexWrap:e}})),s},x=e=>{const{componentCls:t}=e,s={};return g.forEach((e=>{s[`${t}-align-${e}`]={alignItems:e}})),s},k=e=>{const{componentCls:t}=e,s={};return v.forEach((e=>{s[`${t}-justify-${e}`]={justifyContent:e}})),s},w=(0,u.OF)("Flex",(e=>{const{paddingXS:t,padding:s,paddingLG:i}=e,n=(0,h.h1)(e,{flexGapSM:t,flexGap:s,flexGapLG:i});return[y(n),f(n),_(n),x(n),k(n)]}),(()=>({})),{resetStyle:!1});var S=function(e,t){var s={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(s[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(e);n{const{prefixCls:s,rootClassName:i,className:n,style:o,flex:a,gap:u,children:h,vertical:b=!1,component:v="div"}=e,g=S(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:y,direction:f,getPrefixCls:_}=r.useContext(p.QO),x=_("flex",s),[k,j,T]=w(x),E=null!=b?b:null==y?void 0:y.vertical,G=c()(n,i,null==y?void 0:y.className,x,j,T,d(x,e),{[`${x}-rtl`]:"rtl"===f,[`${x}-gap-${u}`]:l(u),[`${x}-vertical`]:E}),V=Object.assign(Object.assign({},null==y?void 0:y.style),o);return a&&(V.flex=a),u&&!l(u)&&(V.gap=u),k(r.createElement(v,Object.assign({ref:t,className:G,style:V},(0,m.A)(g,["justify","wrap","align"])),h))}));const T=j,E={title:"Observing SVT-AV1 v2.1.0's improvements: A New Deep Dive",description:"SVT-AV1 2.1.0 just released, how does it compare to the previous version?",slug:"svt-av1-second-deep-dive",authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043"}],tags:["video","compression","benchmarks"],image:"/img/svt-2.1.0-testing-blog-image.webp",hide_table_of_contents:!1},G="Introduction",V={permalink:"/blog/svt-av1-second-deep-dive",source:"@site/blog/2024-05-19-svt-av1-deep-dive2-v2-1-0.mdx",title:"Observing SVT-AV1 v2.1.0's improvements: A New Deep Dive",description:"SVT-AV1 2.1.0 just released, how does it compare to the previous version?",date:"2024-05-19T00:00:00.000Z",tags:[{label:"video",permalink:"/blog/tags/video"},{label:"compression",permalink:"/blog/tags/compression"},{label:"benchmarks",permalink:"/blog/tags/benchmarks"}],readingTime:38.77,hasTruncateMarker:!0,authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043",imageURL:"https://avatars.githubusercontent.com/u/93526043"}],frontMatter:{title:"Observing SVT-AV1 v2.1.0's improvements: A New Deep Dive",description:"SVT-AV1 2.1.0 just released, how does it compare to the previous version?",slug:"svt-av1-second-deep-dive",authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043",imageURL:"https://avatars.githubusercontent.com/u/93526043"}],tags:["video","compression","benchmarks"],image:"/img/svt-2.1.0-testing-blog-image.webp",hide_table_of_contents:!1},unlisted:!1,nextItem:{title:"Encoding Animation with SVT-AV1: A Deep Dive",permalink:"/blog/svt-av1-deep-dive"}},q={authorsImageUrls:[void 0]},N=[{value:"Feedback",id:"feedback",level:2},{value:"Methodology",id:"methodology",level:2},{value:"Samples",id:"samples",level:2},{value:"Presets comparisons (-1 -> 13 12)",id:"presets-comparisons--1---13-12",level:2},{value:"Efficiency",id:"efficiency",level:3},{value:"Speed",id:"speed",level:3},{value:"Interpretation",id:"interpretation",level:3},{value:"TLDR",id:"tldr",level:3},{value:"SVT-AV1 v2.0.0 vs v2.1.0 presets comparisons:",id:"svt-av1-v200-vs-v210-presets-comparisons",level:2},{value:"preset -1: v2.0.0 vs v2.1.0",id:"preset--1-v200-vs-v210",level:3},{value:"preset 0: v2.0.0 vs v2.1.0",id:"preset-0-v200-vs-v210",level:3},{value:"preset 1: v2.0.0 vs v2.1.0",id:"preset-1-v200-vs-v210",level:3},{value:"preset 2: v2.0.0 vs v2.1.0",id:"preset-2-v200-vs-v210",level:3},{value:"preset 3: v2.0.0 vs v2.1.0",id:"preset-3-v200-vs-v210",level:3},{value:"preset 4: v2.0.0 vs v2.1.0",id:"preset-4-v200-vs-v210",level:3},{value:"preset 5: v2.0.0 vs v2.1.0",id:"preset-5-v200-vs-v210",level:3},{value:"preset 6: v2.0.0 vs v2.1.0",id:"preset-6-v200-vs-v210",level:3},{value:"preset 7: v2.0.0 vs v2.1.0",id:"preset-7-v200-vs-v210",level:3},{value:"preset 8: v2.0.0 vs v2.1.0",id:"preset-8-v200-vs-v210",level:3},{value:"preset 9: v2.0.0 vs v2.1.0",id:"preset-9-v200-vs-v210",level:3},{value:"preset 10: v2.0.0 vs v2.1.0",id:"preset-10-v200-vs-v210",level:3},{value:"preset 11: v2.0.0 vs v2.1.0",id:"preset-11-v200-vs-v210",level:3},{value:"preset 12: v2.0.0 vs v2.1.0",id:"preset-12-v200-vs-v210",level:3},{value:"TLDR",id:"tldr-1",level:3},{value:"Conclusion",id:"conclusion",level:2},{value:"Future",id:"future",level:2}];function R(e){const t={a:"a",blockquote:"blockquote",code:"code",del:"del",em:"em",h2:"h2",h3:"h3",img:"img",li:"li",p:"p",strong:"strong",ul:"ul",...(0,n.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.p,{children:"SVT-AV1, the most scalable AV1 encoder, has received a new update and one may wonder if the old presets recommendation still holds today. We will delve into that in this blog post, based on a series of speed and visual quality benchmarks with SSIMULACRA2 and XPSNR of SVT-AV1 2.1.0 on a corpus of varied animated clips."}),"\n",(0,i.jsx)(t.h2,{id:"feedback",children:"Feedback"}),"\n",(0,i.jsx)(t.p,{children:"I unfortunately never got to update the previous blog post with the image comparisons, and some people expressed concerns that this testing may not be representative of live action content. For the former, I will have to ask for your patience again, because this blog post won't initially contain image comparisons either, but this time they are being actively worked on, along with a magnificent comparisons component and this page will get updated once that is done. As for the latter, please be reassured that this testing in its entirety is perfectly representative of any modern content people typically encode: the diversity of japanese animation is rich and the content specifically chosen for this benchmark is relatively complex. From 3DCG to extremely noisy clips, we are far from the easy-to-compress static scenes of some slice-of-life show."}),"\n",(0,i.jsx)(t.p,{children:"I have also decided to complement this benchmark of another psychovisually-driven metric (XPSNR) so that double-checking is made easier. Thus, each graph possesses a SSIMULACRA2 version and a XPSNR version. Don't hesitate to switch between one another!"}),"\n",(0,i.jsx)(t.h2,{id:"methodology",children:"Methodology"}),"\n",(0,i.jsxs)(t.p,{children:["The resources available will range from ",(0,i.jsx)(t.em,{children:(0,i.jsx)(t.strong,{children:"graphs"})})," to ",(0,i.jsx)(t.del,{children:(0,i.jsx)(t.strong,{children:"image comparisons"})})," (WIP, for real this time). The ",(0,i.jsx)(t.em,{children:(0,i.jsx)(t.strong,{children:"former"})})," has the advantage of being easily understandable, showcasing pure efficiency comparisons between encoder parameters using metrics as the reference, while the ",(0,i.jsx)(t.strong,{children:"latter"})," are image samples from the files encoded during the tests that enable you to check quality for yourself, adding another layer of subjective interpretation to these comparisons."]}),"\n",(0,i.jsxs)(t.p,{children:["The testing methodology involves using relatively short video samples from a wide range of modern anime genre, which have been either losslessly encoded with ",(0,i.jsx)(t.code,{children:"x264 --qp 0"})," for ease of use or losslessly cut from their source. These lossless files are then pipped into SvtAv1EncApp ",(0,i.jsx)(t.em,{children:"directly"}),", meaning we are measuring the performance of a single encoder instance and not leveraging chunked encoding like any actual final AV1 encoding pipeline should. Once an encode is done, SSIMULACRA2 scores are calculated using the ",(0,i.jsx)(t.a,{href:"https://github.com/dnjulek/vapoursynth-ssimulacra2",children:"Zig implementation"}),", XPSNR scores on the other hand are calculated using a ",(0,i.jsx)(t.a,{href:"https://github.com/fraunhoferhhi/xpsnr",children:"ffmpeg filter"}),", and lots of useful data are aggregated to make the graphs for this benchmark, including encoding time, encode size (bitrate), and metrics scores. Bits per pixel scores (BPP) are calculated so that the ",(0,i.jsx)(t.code,{children:"Metric / BPP"})," graphs may represent the closest we have to real efficiency."]}),"\n",(0,i.jsx)(t.p,{children:"The clips used in this test were acquired legally. The Codec Wiki and its contributors do not endorse media piracy."}),"\n",(0,i.jsxs)(t.p,{children:["SvtAv1EncApp was compiled directly from the ",(0,i.jsx)(t.a,{href:"https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases/",children:"v2.0.0 and v2.1.0 source code"})," using the provided ",(0,i.jsx)(t.code,{children:"Build/linux/build.sh"})," script, Clang 16.0.6, and Profile-Guided Optimization (PGO). The testing machine is comprised of an i3 12100 with 16GB of 3200MHz CL14 DDR4 RAM in Arch Linux with kernel 6.7.7 and the performance governor enabled. All encodes have been made in the same session without rebooting."]}),"\n",(0,i.jsxs)(t.p,{children:["This testing was conducted within the ",(0,i.jsx)(t.a,{href:"https://discord.gg/83dRFDFDp7",children:"AV1 Weeb Edition"})," Discord server, which is focused on encoding animated content in AV1."]}),"\n",(0,i.jsx)(t.h2,{id:"samples",children:"Samples"}),"\n",(0,i.jsx)(t.p,{children:"The samples are as follows:"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["11s ",(0,i.jsx)(t.code,{children:"Blame!"})," clip which sports 3DCG action with lots of grain, effects and high-contrast elements."]}),"\n",(0,i.jsxs)(t.li,{children:["13s ",(0,i.jsx)(t.code,{children:"Blue Lock"})," clip which sports rapid camera movements, complex geometry and high-contrast elements."]}),"\n",(0,i.jsxs)(t.li,{children:["5s ",(0,i.jsx)(t.code,{children:"Spy x Family"})," first ending sequence with an extremely high amount of dynamic noise. New most complex source of this set."]}),"\n",(0,i.jsxs)(t.li,{children:["12s ",(0,i.jsx)(t.code,{children:"Jigokuraku (Hell's Paradise)"})," flashback clip with huge static grain in a very dark scenery and some action."]}),"\n",(0,i.jsxs)(t.li,{children:["5s ",(0,i.jsx)(t.code,{children:"The Garden of Sinners"})," clean but fast-paced 3DCG scene with explosions."]}),"\n"]}),"\n",(0,i.jsx)(t.p,{children:"The resolution of every clip is 1080p, except for the first one which is 1920x804."}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsx)(t.p,{children:(0,i.jsxs)(t.strong,{children:["All clips have been encoded in a wide quality range, from ",(0,i.jsx)(t.code,{children:"--crf 6"})," to ",(0,i.jsx)(t.code,{children:"--crf 46"}),", by increments of 4."]})}),"\n"]}),"\n",(0,i.jsx)(t.p,{children:"Without further ado, let's start with the first comparisons!"}),"\n",(0,i.jsxs)(t.h2,{id:"presets-comparisons--1---13-12",children:["Presets comparisons (-1 -> ",(0,i.jsx)(t.del,{children:"13"})," 12)"]}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsxs)(t.strong,{children:["In the following graphs, you may find comparisons between all SVT-AV1 presets, ranging from the slowest ",(0,i.jsx)(t.code,{children:"--preset -1"})," to the fastest ",(0,i.jsx)(t.code,{children:"--preset 12"}),"."]})}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:["Yes, you heard that right. Preset 7 and 13 are no more in ",(0,i.jsx)(t.strong,{children:"v2.1.0"}),". This new update, like the previous one, mostly consisted of optimizing the presets trade-offs. The devs have made the choice to map ",(0,i.jsx)(t.code,{children:"preset 7"})," to ",(0,i.jsx)(t.code,{children:"preset 6"})," and ",(0,i.jsx)(t.code,{children:"preset 13"})," to ",(0,i.jsx)(t.code,{children:"preset 12"})," due to the lack of spacing between the new presets. We will discuss the implications of this further ahead."]}),"\n"]}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.code,{children:"--preset X"})," is the only parameter used here, in conjunction with the CRF values. That means everything else is default. The defaults worth mentioning are:"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--tune 1"}),": tune PSNR"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--aq-mode 2"}),": variance deltaq"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--enable-qm 0"}),": quantisation matrices disabled"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--irefresh-type 2"}),": closed GOP"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--enable-tf 1"}),": temporal filtering enabled"]}),"\n"]}),"\n",(0,i.jsx)(t.p,{children:"And more, like CDEF and restoration enabled, overlays and film-grain disabled..."}),"\n",(0,i.jsx)(t.h3,{id:"efficiency",children:"Efficiency"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"First of all, here are the full efficiency graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/full/SVT-1_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/full/SVT-1_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/full/SVT-1_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/full/SVT-1_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/full/SVT-1_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/full/SVT-1_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/full/SVT-1_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/full/SVT-1_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/full/SVT-1_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/full/SVT-1_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.p,{children:"This is all very cool, but visually bloated."}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:'Now the same graphs but focusing on the "high quality" range (CRF6 -> 22):'}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/hq/SVT-1_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/hq/SVT-1_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/hq/SVT-1_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/hq/SVT-1_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/hq/SVT-1_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/hq/SVT-1_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/hq/SVT-1_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/hq/SVT-1_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/hq/SVT-1_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/hq/SVT-1_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:'Same, but now focusing on the "low quality" range (CRF26 -> 46):'}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/lq/SVT-1_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/lq/SVT-1_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/lq/SVT-1_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/lq/SVT-1_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/lq/SVT-1_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/lq/SVT-1_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/lq/SVT-1_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/lq/SVT-1_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/lq/SVT-1_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/lq/SVT-1_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["If we now focus on ",(0,i.jsx)(t.strong,{children:"presets 4"}),' and below, where it\'s more difficult to discern the differences between presets, we get this at "high quality":']}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/hq/SVT-1_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/hq/SVT-1_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/hq/SVT-1_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/hq/SVT-1_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/hq/SVT-1_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/hq/SVT-1_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/hq/SVT-1_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/hq/SVT-1_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/hq/SVT-1_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/hq/SVT-1_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:'And the following at "low quality":'}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/lq/SVT-1_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/lq/SVT-1_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/lq/SVT-1_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/lq/SVT-1_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/lq/SVT-1_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/lq/SVT-1_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/lq/SVT-1_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/lq/SVT-1_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/lq/SVT-1_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/mrto4/lq/SVT-1_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.h3,{id:"speed",children:"Speed"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:(0,i.jsx)(t.strong,{children:"Let's now see speed comparisons between all presets:"})}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speed/SVT-1_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speed/SVT-1_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speed/SVT-1_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speed/SVT-1_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speed/SVT-1_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["Once is not custom, ",(0,i.jsx)(t.strong,{children:"preset -1"})," is so abysmally slow it makes the graph unusable."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["Same, but without the placebo ",(0,i.jsx)(t.strong,{children:"preset -1"}),":"]}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speednomr/SVT0_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speednomr/SVT0_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speednomr/SVT0_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speednomr/SVT0_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speednomr/SVT0_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Lastly, here is what it looks like with a logarithmic scale:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speedlog/SVT-1_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speedlog/SVT-1_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speedlog/SVT-1_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speedlog/SVT-1_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.1.0-only/allpresets/speedlog/SVT-1_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.h3,{id:"interpretation",children:"Interpretation"}),"\n",(0,i.jsxs)(t.p,{children:["As for interpreting the results, it would seem like ",(0,i.jsx)(t.strong,{children:"preset 2"})," and ",(0,i.jsx)(t.strong,{children:"preset 4"})," remain all-around very balanced presets, with ",(0,i.jsx)(t.strong,{children:"preset 3"})," being in a nice in-between spot, an improvement over v2.0.0's ",(0,i.jsx)(t.strong,{children:"preset 3"})," in a way. We will better understand the reasons for this when we'll compare the new version to the last, a bit after."]}),"\n",(0,i.jsxs)(t.p,{children:["The quality gap between ",(0,i.jsx)(t.strong,{children:"preset 2"})," and ",(0,i.jsx)(t.strong,{children:"preset 1"})," is usually pretty narrow, however the speed penalty from going to ",(0,i.jsx)(t.strong,{children:"preset 1"})," is ~2x, when the penalty of going from ",(0,i.jsx)(t.strong,{children:"preset 3"})," to ",(0,i.jsx)(t.strong,{children:"preset 2"})," is closer to ~1.5x. As such, ",(0,i.jsx)(t.strong,{children:"preset 1"})," enters placebo territory, and considering the very little benefits of going any lower than it, compared to the huge performance loss of even lower presets, I advise you not to waste encoding resources on ",(0,i.jsx)(t.strong,{children:"preset 0"})," and ",(0,i.jsx)(t.strong,{children:"preset -1"}),". This applies especially at medium to high quality, however at extremely low quality like the CRF40 range, we can still see some small gains from these placebo presets."]}),"\n",(0,i.jsxs)(t.p,{children:["When we start talking about faster presets though, things are pretty different from previous versions: ",(0,i.jsx)(t.strong,{children:"presets 5 to 9"})," behave similarly on the graphs and seem to stand apart from their slower counterparts by just a bit. If you can bear the speed of ",(0,i.jsx)(t.strong,{children:"preset 4"}),", you should definitely be going for it, however if fast encoding is a necessity, for example in the case of realtime transcoding or streaming, ",(0,i.jsx)(t.strong,{children:"presets 5 through 9"})," will serve you right with great efficiency/speed trade-offs between one another. No preset in that range particularly stands out from the others, so simply pick one depending on your performance needs."]}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Presets 10 to 12"})," are pretty inefficient, and to be avoided if possible. They can still be of use in a convex-hull scenario, but in the case of realtime transcoding, you may be better off with a hardware encoder like the ones found in RTX 4000 or Arc GPUs, especially since SVT-AV1's target bitrate mode is even less efficient than CRF mode."]}),"\n",(0,i.jsx)(t.h3,{id:"tldr",children:"TLDR"}),"\n",(0,i.jsxs)(t.p,{children:["The same conclusions as the previous blog post can be made:\n",(0,i.jsxs)(t.strong,{children:["clear quality gains can be observed as we decrease presets, until ",(0,i.jsx)(t.strong,{children:"preset 2"}),", however the effectiveness of dropping presets is noticeably less and less important as quality is increased."]})]}),"\n",(0,i.jsx)(t.p,{children:"In the next part, we will evaluate the differences in efficiency and speed of every presets when updating from SVT-AV1 2.0.0 to 2.1.0, which should enable an increase of nuance from the previous results alone."}),"\n",(0,i.jsx)(t.h2,{id:"svt-av1-v200-vs-v210-presets-comparisons",children:"SVT-AV1 v2.0.0 vs v2.1.0 presets comparisons:"}),"\n",(0,i.jsxs)(t.p,{children:["Two months ago, I conducted a similar test to this one to compare the presets evolution between versions ",(0,i.jsx)(t.strong,{children:"1.8.0"})," and ",(0,i.jsx)(t.strong,{children:"2.0.0"}),". The results were pretty unsatisfying: I noticed that ",(0,i.jsx)(t.strong,{children:"presets -1 to 8"})," in ",(0,i.jsx)(t.strong,{children:"v2.0.0"})," performed like the old ",(0,i.jsx)(t.strong,{children:"presets 0 to 9"})," did in ",(0,i.jsx)(t.strong,{children:"v1.8.0"}),". We basically saw an efficiency regression at a given preset, and speedups did not follow suit as well as we would have anticipated. All in all, it wasn't all that bad, it suffice to say you could simply drop a preset from before and you were good to go again. What was more concerning however is that the release note claimed important speedups that did not impact efficiency and my testing proved otherwise. My theory is that due to the dev team testing methodology, which consist of mostly pretty low resolution clips and non-psychovisual metrics like PSNR, SSIM or bad psychovisual metrics like VMAF, it's very well possible they were tricked into thinking they introduced improvements as they tweaked the presets when in reality the metrics simply didn't notice the quality degradation. Such issue is an additional reason why the industry should adopt more competent metrics, ones that better correlate with the human vision, to improve encoders in more impactful ways and better avoid pointless regressions."]}),"\n",(0,i.jsx)(t.p,{children:"So the question for today's testing is: have the SVT-AV1 devs redeemed themselves and actually improved the presets trade-offs this time around? Let's find out!"}),"\n",(0,i.jsxs)(t.h3,{id:"preset--1-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset -1"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:(0,i.jsx)(t.strong,{children:'Let\'s start off with a battle of the placebos, with the efficiency at "high quality":'})}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT-1_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT-1_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT-1_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT-1_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT-1_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT-1_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT-1_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT-1_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT-1_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT-1_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:'And the efficiency at "low quality":'}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT-1_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT-1_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT-1_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT-1_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT-1_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT-1_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT-1_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT-1_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT-1_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT-1_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.p,{children:"Yes, this is a bit underwhelming, but you can't just improve the best an encoder has to offer with just tweaking right?"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Now, let's compare their respective speeds:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT-1_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT-1_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT-1_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT-1_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT-1_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.p,{children:"Let's be grateful it became ever so slightly faster, I guess."}),"\n",(0,i.jsxs)(t.h3,{id:"preset-0-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 0"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT0_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT0_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT0_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT0_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT0_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT0_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT0_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT0_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT0_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT0_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT0_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT0_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT0_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT0_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT0_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT0_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT0_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT0_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT0_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT0_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["Overall, efficiency wise, this new ",(0,i.jsx)(t.strong,{children:"preset 0"})," places itself in-between old ",(0,i.jsx)(t.strong,{children:"preset -1"})," and ",(0,i.jsx)(t.strong,{children:"0"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT0_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT0_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT0_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT0_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT0_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["Interestingly enough, its speed is much closer to the old ",(0,i.jsx)(t.strong,{children:"preset 0"})," than to the old ",(0,i.jsx)(t.strong,{children:"preset -1"}),". This means ",(0,i.jsx)(t.strong,{children:"preset 0"})," was genuinely improved over v2.0.0!"]}),"\n",(0,i.jsxs)(t.h3,{id:"preset-1-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 1"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT1_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT1_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT1_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT1_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT1_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT1_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT1_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT1_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT1_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT1_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT1_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT1_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT1_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT1_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT1_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT1_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT1_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT1_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT1_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT1_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["In efficiency, this new ",(0,i.jsx)(t.strong,{children:"preset 1"})," is often equal to old ",(0,i.jsx)(t.strong,{children:"preset 0"}),", else in-between old ",(0,i.jsx)(t.strong,{children:"preset 0 and 1"}),"."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT1_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT1_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT1_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT1_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT1_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["We observe that the new preset is a bit closer to old ",(0,i.jsx)(t.strong,{children:"preset 1"})," speeds than it is to old ",(0,i.jsx)(t.strong,{children:"preset 0"})," speeds. Good news!"]}),"\n",(0,i.jsxs)(t.h3,{id:"preset-2-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 2"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT2_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT2_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT2_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT2_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT2_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT2_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT2_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT2_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT2_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT2_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT2_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT2_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT2_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT2_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT2_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT2_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT2_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT2_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT2_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT2_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.p,{children:"Oh well, that's awkward."}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT2_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT2_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT2_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT2_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT2_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["Speed was left untouched too, meaning ",(0,i.jsx)(t.strong,{children:"preset 2"})," is unchanged in v2.1.0."]}),"\n",(0,i.jsxs)(t.h3,{id:"preset-3-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 3"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT3_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT3_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT3_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT3_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT3_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT3_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT3_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT3_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT3_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT3_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT3_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT3_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT3_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT3_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT3_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT3_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT3_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT3_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT3_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT3_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["The new ",(0,i.jsx)(t.strong,{children:"preset 3"}),"'s efficiency is the same as the old one."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT3_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT3_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT3_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT3_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT3_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.p,{children:"However, the preset got slightly faster, so this is a speedup!"}),"\n",(0,i.jsxs)(t.h3,{id:"preset-4-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 4"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT4_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT4_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT4_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT4_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT4_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT4_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT4_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT4_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT4_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT4_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT4_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT4_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT4_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT4_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT4_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT4_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT4_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT4_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT4_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT4_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["We can observe that ",(0,i.jsx)(t.strong,{children:"preset 4"})," got slightly to moderately worse efficiency wise."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT4_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT4_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT4_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT4_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT4_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.p,{children:"Fortunately, the consequence of that slight efficiency decrease is a big performance improvement!"}),"\n",(0,i.jsxs)(t.h3,{id:"preset-5-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 5"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT5_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT5_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT5_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT5_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT5_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT5_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT5_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT5_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT5_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT5_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT5_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT5_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT5_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT5_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT5_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT5_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT5_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT5_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT5_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT5_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Preset 5"})," seems to have gotten ever so slightly worse efficiency wise."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT5_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT5_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT5_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT5_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT5_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.p,{children:"Yet it became slightly faster, this is overall a good trade-off."}),"\n",(0,i.jsxs)(t.h3,{id:"preset-6-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 6"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT6_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT6_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT6_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT6_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT6_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT6_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT6_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT6_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT6_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT6_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT6_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT6_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT6_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT6_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT6_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT6_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT6_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT6_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT6_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT6_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["The new ",(0,i.jsx)(t.strong,{children:"preset 6"})," has a huge responsibility: being able to compensate in the absence of its ",(0,i.jsx)(t.strong,{children:"preset 7"})," sibling. It seems to performs in-between old ",(0,i.jsx)(t.strong,{children:"preset 6 and 7"}),", usually closer to old ",(0,i.jsx)(t.strong,{children:"7"}),"."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT6_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT6_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT6_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT6_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT6_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Preset 6"})," is now ever so slightly slower to old ",(0,i.jsx)(t.strong,{children:"7"}),", this is an interesting trade-off, overall a win over old ",(0,i.jsx)(t.strong,{children:"7"}),"."]}),"\n",(0,i.jsxs)(t.h3,{id:"preset-7-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 7"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.p,{children:["Again, there is no preset 7. Actually, it's preset 6 that disappeared but I'm not remaking the graphs just for fun. If you select preset 6, you will be granted the following message: ",(0,i.jsx)(t.code,{children:"Svt[warn]: Preset M6 is mapped to M7."})]}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.img,{alt:"always_has_been",src:s(9502).A+"",width:"833",height:"466"})}),"\n",(0,i.jsxs)(t.h3,{id:"preset-8-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 8"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT8_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT8_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT8_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT8_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT8_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT8_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT8_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT8_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT8_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT8_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT8_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT8_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT8_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT8_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT8_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT8_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT8_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT8_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT8_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT8_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["In efficiency, this new ",(0,i.jsx)(t.strong,{children:"preset 8"})," is sometimes equal or slightly worse to the old ",(0,i.jsx)(t.strong,{children:"8"}),", and sometimes equal or slightly worse than old ",(0,i.jsx)(t.strong,{children:"7"}),"..."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT8_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT8_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT8_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT8_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT8_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["Overall, the speed is pretty much unchanged from old ",(0,i.jsx)(t.strong,{children:"8"}),". It looks like a slight regression, that's pretty disappointing."]}),"\n",(0,i.jsxs)(t.h3,{id:"preset-9-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 9"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT9_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT9_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT9_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT9_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT9_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT9_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT9_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT9_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT9_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT9_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT9_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT9_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT9_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT9_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT9_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT9_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT9_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT9_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT9_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT9_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["The new ",(0,i.jsx)(t.strong,{children:"preset 9"})," is the same as ever, ever so slightly better in some scenario but nothing groundbreaking."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT9_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT9_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT9_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT9_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT9_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.p,{children:"Its speed remains the same, sometimes ever so slightly slower. Basically the preset is pretty much unchanged, which may as well be a relief, as the last usable preset of the encoder."}),"\n",(0,i.jsxs)(t.h3,{id:"preset-10-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 10"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT10_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT10_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT10_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT10_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT10_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT10_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT10_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT10_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT10_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT10_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT10_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT10_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT10_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT10_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT10_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT10_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT10_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT10_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT10_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT10_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Preset 10"})," is slightly to moderately worse efficiency wise."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT10_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT10_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT10_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT10_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT10_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.p,{children:"Its speed is mostly the same, sometimes ever so slightly faster. It's a wash, avoid this preset at all costs!"}),"\n",(0,i.jsxs)(t.h3,{id:"preset-11-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 11"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT11_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT11_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT11_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT11_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT11_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT11_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT11_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT11_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT11_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT11_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT11_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT11_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT11_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT11_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT11_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT11_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT11_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT11_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT11_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT11_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Preset 11"}),"'s efficiency is untouched."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT11_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT11_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT11_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT11_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT11_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Preset 11"}),"'s speed is unchanged as well."]}),"\n",(0,i.jsxs)(t.h3,{id:"preset-12-v200-vs-v210",children:[(0,i.jsx)(t.code,{children:"preset 12"}),": v2.0.0 vs v2.1.0"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, high quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT13_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT13_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT13_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT13_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT13_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT13_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT13_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT13_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT13_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/hq/SVT13_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs, low quality:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"SSIMU2",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT13_blame!_ssimu2.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT13_bluelock_ssimu2.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT13_jigokuraku-001_ssimu2.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT13_sxfed1_ssimu2.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT13_THE_GARDEN_OF_SINNERS_9_ssimu2.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})},xpsnr:{label:"XPSNR",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT13_blame!_xpsnr.webp",alt:"Blame!.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT13_bluelock_xpsnr.webp",alt:"BlueLock.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT13_jigokuraku-001_xpsnr.webp",alt:"Jigokuraku.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT13_sxfed1_xpsnr.webp",alt:"SpyxFamily.mkv Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/lq/SVT13_THE_GARDEN_OF_SINNERS_9_xpsnr.webp",alt:"TheGardenOfSinners.mkv Efficiency Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsxs)(t.p,{children:["Just as ",(0,i.jsx)(t.strong,{children:"preset 6"}),", ",(0,i.jsx)(t.strong,{children:"preset 12"})," is now mapped to ",(0,i.jsx)(t.strong,{children:"13"}),", and unsurprisingly, its efficiency is equal to old ",(0,i.jsx)(t.strong,{children:"13"}),"."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsxs)(T,{justify:"space-between",vertical:!0,children:[(0,i.jsx)("div",{style:{height:"0px"}}),(0,i.jsx)(o.kS,{tabMap:{ssimu2:{label:"Speed",component:(0,i.jsx)(o.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT13_blame!_speed.webp",alt:"Blame!.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT13_bluelock_speed.webp",alt:"BlueLock.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT13_jigokuraku-001_speed.webp",alt:"Jigokuraku.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT13_sxfed1_speed.webp",alt:"SpyxFamily.mkv Speed Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-2.1.0-blogpost/2.0.0vs2.1.0/speed/SVT13_THE_GARDEN_OF_SINNERS_9_speed.webp",alt:"TheGardenOfSinners.mkv Speed Graph"}]})}}}),(0,i.jsx)("div",{style:{height:"24px"}})]}),"\n",(0,i.jsx)(t.p,{children:"The speeds seem to be in-between old 12 and 13, so potentially a slight speedup. Still, nothing to get excited at."}),"\n",(0,i.jsx)(t.h3,{id:"tldr-1",children:"TLDR"}),"\n",(0,i.jsxs)(t.p,{children:["From these extensive comparisons, it appears that some presets have received genuine improvements in their respective efficiency/speed trade-off.\nSome presets, like ",(0,i.jsx)(t.strong,{children:"-1"}),", ",(0,i.jsx)(t.strong,{children:"0"}),", ",(0,i.jsx)(t.strong,{children:"1"})," and ",(0,i.jsx)(t.strong,{children:"3"}),", received the most significant improvements, followed by ",(0,i.jsx)(t.strong,{children:"4"}),", ",(0,i.jsx)(t.strong,{children:"5"})," and ",(0,i.jsx)(t.strong,{children:"6"})," with overall beneficial new trade-offs. ",(0,i.jsx)(t.strong,{children:"Preset 12"})," got slightly faster too. On the other hand, ",(0,i.jsx)(t.strong,{children:"presets 8 and 10"})," seemed to have regressed slightly, and ",(0,i.jsx)(t.strong,{children:"presets 2 and 9"})," are perfectly unchanged from v2.0.0."]}),"\n",(0,i.jsx)(t.h2,{id:"conclusion",children:"Conclusion"}),"\n",(0,i.jsxs)(t.p,{children:["SVT-AV1 2.1.0 introduced some welcomed improvements. ",(0,i.jsx)(t.strong,{children:"Presets 2 through 4"})," remain the king of optimal AV1 encoding, while ",(0,i.jsx)(t.strong,{children:"presets 5 through 9"})," stand as good options for the people that find ",(0,i.jsx)(t.strong,{children:"2-4"})," to be too slow for their liking."]}),"\n",(0,i.jsx)(t.p,{children:"Let's be honest a second, not much as changed in SVT-AV1 since the first blog post. There was no need to redo all the parameter testing for the simple reason that their behavior remained the same, as did the conclusions drawn from them. I hope this article wasn't disappointing in a sense... Still, be reassured, this was just an appetizer, there will be more in the near future!"}),"\n",(0,i.jsxs)(t.p,{children:["By the way, did you know that the ",(0,i.jsx)(t.strong,{children:(0,i.jsx)(t.a,{href:"https://github.com/gianni-rosato/svt-av1-psy/",children:"SVT-AV1-PSY project"})})," was initiated a few months ago? Its defaults were tailored according to the testing done in the last blog post, allowing a free efficiency boost for anyone not keen to tweak their encoders. Furthermore, SVT-AV1-PSY introduced a sharpness parameter to control distortion, a quarter-step quantizer for more CRF precision, a new subjective SSIM tune, Dolby Vision support, frame luma bias, and some other knobs to improve the appeal and consistency of your encodes. It is actively maintained by a group of talented people, including the main dev of the aom-av1-lavish fork of aomenc. Some of the changes are being backported to mainline SVT-AV1 due to the increased interest of the mainline devs. Please check it out!"]}),"\n",(0,i.jsx)(t.p,{children:"Hopefully, this comprehensive second deep dive should give you a helpful new starting point for choosing settings when encoding with the latest SVT-AV1(-PSY) 2.1.0."}),"\n",(0,i.jsx)(t.h2,{id:"future",children:"Future"}),"\n",(0,i.jsx)(t.p,{children:"My plans for the future regarding the blog post include:"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"polishing this blog post and aggrementing it of image comparisons."}),"\n",(0,i.jsx)(t.li,{children:"a follow-up article in the relatively near future about giving you encoding tips and explaining common AV1 encoding knowlegde, for instance showcasing why film grain synthesis is a game-changer or why chunked encoding can prove beneficial to your encoding pipeline."}),"\n",(0,i.jsx)(t.li,{children:"an article focused on observing the evolution of SVT-AV1 since the beginning of its development, as well as comparisons with current aomenc, rav1e and SVT-AV1-PSY, including a quick look at the current state of AVM (development ground for AV2) in comparison to VVC's state."}),"\n"]}),"\n",(0,i.jsx)(t.p,{children:"Thanks for reading!"}),"\n"]})}function O(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(R,{...e})}):R(e)}},9502:(e,t,s)=>{s.d(t,{A:()=>i});const i=s.p+"assets/images/preset_7_meme-db92f83a118086187f0de0dea1362caf.webp"}}]); \ No newline at end of file diff --git a/assets/js/48b7ca01.463cb8d6.js b/assets/js/48b7ca01.463cb8d6.js deleted file mode 100644 index daa41d12..00000000 --- a/assets/js/48b7ca01.463cb8d6.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkcodec_wiki=self.webpackChunkcodec_wiki||[]).push([[1347],{1165:(e,t,i)=>{i.d(t,{Ck:()=>m,kS:()=>h});var s=i(4848),a=i(5293),n=i(6540),o=i(3517),r=i(3501),c=i(1412),l=i(9522),d=i(1303);const m=({imageData:e})=>(0,s.jsx)(o.A,{arrows:!0,children:e.map((e=>(0,s.jsx)(r.A,{src:e.src},e.src)))}),h=({tabMap:e})=>{const[t,i]=(0,n.useState)(Object.keys(e)[0]),{colorMode:o,setColorMode:r}=(0,a.G)();return(0,s.jsx)(c.Ay,{theme:{algorithm:"dark"===o?l.A.darkAlgorithm:l.A.defaultAlgorithm},children:(0,s.jsx)(d.A,{tabList:Object.entries(e).map((([e,t])=>({key:e,label:t.label}))),activeTabKey:t,onTabChange:e=>{i(e)},children:e[t].component})})}},9350:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>m,frontMatter:()=>n,metadata:()=>r,toc:()=>l});var s=i(4848),a=i(8453);i(1165);const n={title:"Encoding Animation with SVT-AV1: A Deep Dive",description:"With the recent release of SVT-AV1 1.8.0, how does it stack up for encoding animation?",slug:"svt-av1-deep-dive",authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043"}],tags:["video","compression","benchmarks"],image:"/img/svt-1.8.0-testing-blog-image.webp",hide_table_of_contents:!1},o="Introduction",r={permalink:"/blog/svt-av1-deep-dive",source:"@site/blog/2023-12-30-svt-av1-deep-dive.mdx",title:"Encoding Animation with SVT-AV1: A Deep Dive",description:"With the recent release of SVT-AV1 1.8.0, how does it stack up for encoding animation?",date:"2023-12-30T00:00:00.000Z",tags:[{label:"video",permalink:"/blog/tags/video"},{label:"compression",permalink:"/blog/tags/compression"},{label:"benchmarks",permalink:"/blog/tags/benchmarks"}],readingTime:22.32,hasTruncateMarker:!0,authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043",imageURL:"https://avatars.githubusercontent.com/u/93526043"}],frontMatter:{title:"Encoding Animation with SVT-AV1: A Deep Dive",description:"With the recent release of SVT-AV1 1.8.0, how does it stack up for encoding animation?",slug:"svt-av1-deep-dive",authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043",imageURL:"https://avatars.githubusercontent.com/u/93526043"}],tags:["video","compression","benchmarks"],image:"/img/svt-1.8.0-testing-blog-image.webp",hide_table_of_contents:!1},unlisted:!1,prevItem:{title:"Observing SVT-AV1 v2.1.0's improvements: A New Deep Dive",permalink:"/blog/svt-av1-second-deep-dive"},nextItem:{title:"Embedding the Un-Embeddable",permalink:"/blog/embedding-the-un-embeddable"}},c={authorsImageUrls:[void 0]},l=[];function d(e){const t={del:"del",em:"em",p:"p",strong:"strong",...(0,a.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:"This blog post is based on a series of visual quality benchmarks with SSIMULACRA2 and speed benchmarks of SVT-AV1 1.8.0 on a corpus of animated clips."}),"\n",(0,s.jsxs)(t.p,{children:["The resources available will range from ",(0,s.jsx)(t.em,{children:(0,s.jsx)(t.strong,{children:"graphs"})})," to ",(0,s.jsx)(t.del,{children:(0,s.jsx)(t.strong,{children:"image comparisons"})})," (WIP). The ",(0,s.jsx)(t.em,{children:(0,s.jsx)(t.strong,{children:"former"})})," has the advantage of being easily understandable, showcasing pure efficiency comparisons between encoder parameters using metrics as the reference, while the ",(0,s.jsx)(t.strong,{children:"latter"})," are image samples from the encoded files during the tests that enable you to check quality for yourself and add another layer of subjective interpretation to these comparisons."]})]})}function m(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}}}]); \ No newline at end of file diff --git a/assets/js/48b7ca01.9b8dfff0.js b/assets/js/48b7ca01.9b8dfff0.js new file mode 100644 index 00000000..6103bb19 --- /dev/null +++ b/assets/js/48b7ca01.9b8dfff0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcodec_wiki=self.webpackChunkcodec_wiki||[]).push([[1347],{1165:(e,t,i)=>{i.d(t,{Ck:()=>g,kS:()=>p});var s=i(4848),n=i(5293),r=i(6540),a=i(3517),o=i(943),c=i(1412),l=i(9522),d=i(1303),h=i(8633),m=i(363);const g=({imageData:e})=>{const t=({currentSlide:e,direction:t,slideCount:i,...n})=>"left"===t?(0,s.jsx)(h.A,{...n,style:{color:"#fff",fontSize:24,width:24,height:24,zIndex:1,left:10}}):(0,s.jsx)(m.A,{...n,style:{color:"#fff",fontSize:24,width:24,height:24,zIndex:1,right:10}});return(0,s.jsx)(a.A,{arrows:!0,prevArrow:(0,s.jsx)(t,{direction:"left"}),nextArrow:(0,s.jsx)(t,{direction:"right"}),children:e.map((e=>(0,s.jsx)(o.A,{src:e.src},e.src)))})},p=({tabMap:e})=>{const[t,i]=(0,r.useState)(Object.keys(e)[0]),{colorMode:a,setColorMode:o}=(0,n.G)();return(0,s.jsx)(c.Ay,{theme:{algorithm:"dark"===a?l.A.darkAlgorithm:l.A.defaultAlgorithm},children:(0,s.jsx)(d.A,{tabList:Object.entries(e).map((([e,t])=>({key:e,label:t.label}))),activeTabKey:t,onTabChange:e=>{i(e)},children:e[t].component})})}},9350:(e,t,i)=>{i.r(t),i.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>h,frontMatter:()=>r,metadata:()=>o,toc:()=>l});var s=i(4848),n=i(8453);i(1165);const r={title:"Encoding Animation with SVT-AV1: A Deep Dive",description:"With the recent release of SVT-AV1 1.8.0, how does it stack up for encoding animation?",slug:"svt-av1-deep-dive",authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043"}],tags:["video","compression","benchmarks"],image:"/img/svt-1.8.0-testing-blog-image.webp",hide_table_of_contents:!1},a="Introduction",o={permalink:"/blog/svt-av1-deep-dive",source:"@site/blog/2023-12-30-svt-av1-deep-dive.mdx",title:"Encoding Animation with SVT-AV1: A Deep Dive",description:"With the recent release of SVT-AV1 1.8.0, how does it stack up for encoding animation?",date:"2023-12-30T00:00:00.000Z",tags:[{label:"video",permalink:"/blog/tags/video"},{label:"compression",permalink:"/blog/tags/compression"},{label:"benchmarks",permalink:"/blog/tags/benchmarks"}],readingTime:22.32,hasTruncateMarker:!0,authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043",imageURL:"https://avatars.githubusercontent.com/u/93526043"}],frontMatter:{title:"Encoding Animation with SVT-AV1: A Deep Dive",description:"With the recent release of SVT-AV1 1.8.0, how does it stack up for encoding animation?",slug:"svt-av1-deep-dive",authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043",imageURL:"https://avatars.githubusercontent.com/u/93526043"}],tags:["video","compression","benchmarks"],image:"/img/svt-1.8.0-testing-blog-image.webp",hide_table_of_contents:!1},unlisted:!1,prevItem:{title:"Observing SVT-AV1 v2.1.0's improvements: A New Deep Dive",permalink:"/blog/svt-av1-second-deep-dive"},nextItem:{title:"Embedding the Un-Embeddable",permalink:"/blog/embedding-the-un-embeddable"}},c={authorsImageUrls:[void 0]},l=[];function d(e){const t={del:"del",em:"em",p:"p",strong:"strong",...(0,n.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.p,{children:"This blog post is based on a series of visual quality benchmarks with SSIMULACRA2 and speed benchmarks of SVT-AV1 1.8.0 on a corpus of animated clips."}),"\n",(0,s.jsxs)(t.p,{children:["The resources available will range from ",(0,s.jsx)(t.em,{children:(0,s.jsx)(t.strong,{children:"graphs"})})," to ",(0,s.jsx)(t.del,{children:(0,s.jsx)(t.strong,{children:"image comparisons"})})," (WIP). The ",(0,s.jsx)(t.em,{children:(0,s.jsx)(t.strong,{children:"former"})})," has the advantage of being easily understandable, showcasing pure efficiency comparisons between encoder parameters using metrics as the reference, while the ",(0,s.jsx)(t.strong,{children:"latter"})," are image samples from the encoded files during the tests that enable you to check quality for yourself and add another layer of subjective interpretation to these comparisons."]})]})}function h(e={}){const{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}}}]); \ No newline at end of file diff --git a/assets/js/70de1c07.3dd7bc15.js b/assets/js/70de1c07.3dd7bc15.js deleted file mode 100644 index fe18160c..00000000 --- a/assets/js/70de1c07.3dd7bc15.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkcodec_wiki=self.webpackChunkcodec_wiki||[]).push([[544],{1165:(e,t,s)=>{s.d(t,{Ck:()=>m,kS:()=>h});var i=s(4848),o=s(5293),n=s(6540),a=s(3517),r=s(3501),c=s(1412),l=s(9522),u=s(1303);const m=({imageData:e})=>(0,i.jsx)(a.A,{arrows:!0,children:e.map((e=>(0,i.jsx)(r.A,{src:e.src},e.src)))}),h=({tabMap:e})=>{const[t,s]=(0,n.useState)(Object.keys(e)[0]),{colorMode:a,setColorMode:r}=(0,o.G)();return(0,i.jsx)(c.Ay,{theme:{algorithm:"dark"===a?l.A.darkAlgorithm:l.A.defaultAlgorithm},children:(0,i.jsx)(u.A,{tabList:Object.entries(e).map((([e,t])=>({key:e,label:t.label}))),activeTabKey:t,onTabChange:e=>{s(e)},children:e[t].component})})}},850:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>l,contentTitle:()=>r,default:()=>h,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var i=s(4848),o=s(8453),n=s(1165);const a={title:"Encoding Animation with SVT-AV1: A Deep Dive",description:"With the recent release of SVT-AV1 1.8.0, how does it stack up for encoding animation?",slug:"svt-av1-deep-dive",authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043"}],tags:["video","compression","benchmarks"],image:"/img/svt-1.8.0-testing-blog-image.webp",hide_table_of_contents:!1},r="Introduction",c={permalink:"/blog/svt-av1-deep-dive",source:"@site/blog/2023-12-30-svt-av1-deep-dive.mdx",title:"Encoding Animation with SVT-AV1: A Deep Dive",description:"With the recent release of SVT-AV1 1.8.0, how does it stack up for encoding animation?",date:"2023-12-30T00:00:00.000Z",tags:[{label:"video",permalink:"/blog/tags/video"},{label:"compression",permalink:"/blog/tags/compression"},{label:"benchmarks",permalink:"/blog/tags/benchmarks"}],readingTime:22.32,hasTruncateMarker:!0,authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043",imageURL:"https://avatars.githubusercontent.com/u/93526043"}],frontMatter:{title:"Encoding Animation with SVT-AV1: A Deep Dive",description:"With the recent release of SVT-AV1 1.8.0, how does it stack up for encoding animation?",slug:"svt-av1-deep-dive",authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043",imageURL:"https://avatars.githubusercontent.com/u/93526043"}],tags:["video","compression","benchmarks"],image:"/img/svt-1.8.0-testing-blog-image.webp",hide_table_of_contents:!1},unlisted:!1,prevItem:{title:"Observing SVT-AV1 v2.1.0's improvements: A New Deep Dive",permalink:"/blog/svt-av1-second-deep-dive"},nextItem:{title:"Embedding the Un-Embeddable",permalink:"/blog/embedding-the-un-embeddable"}},l={authorsImageUrls:[void 0]},u=[{value:"Samples",id:"samples",level:2},{value:"Presets comparisons (-1 -> 13)",id:"presets-comparisons--1---13",level:2},{value:"TLDR",id:"tldr",level:3},{value:"Tunes comparisons",id:"tunes-comparisons",level:2},{value:"TLDR",id:"tldr-1",level:3},{value:"Parameters comparisons",id:"parameters-comparisons",level:2},{value:"--tile-rows 1 --tile-columns 1 vs default --tile-rows 0 --tile-columns 0",id:"--tile-rows-1---tile-columns-1-vs-default---tile-rows-0---tile-columns-0",level:3},{value:"--aq-mode 0 vs default --aq-mode 2",id:"--aq-mode-0-vs-default---aq-mode-2",level:3},{value:"--aq-mode 1 vs default --aq-mode 2",id:"--aq-mode-1-vs-default---aq-mode-2",level:3},{value:"--enable-cdef 0 vs default --enable-cdef 1",id:"--enable-cdef-0-vs-default---enable-cdef-1",level:3},{value:"--enable-dg 0 vs default --enable-dg 1",id:"--enable-dg-0-vs-default---enable-dg-1",level:3},{value:"--enable-dlf 0 vs default --enable-dlf 1",id:"--enable-dlf-0-vs-default---enable-dlf-1",level:3},{value:"--fast-decode 1 vs default --fast-decode 0",id:"--fast-decode-1-vs-default---fast-decode-0",level:3},{value:"--irefresh-type 1 vs default --irefresh-type 2",id:"--irefresh-type-1-vs-default---irefresh-type-2",level:3},{value:"--lookahead 0 vs default --lookahead -1 (auto)",id:"--lookahead-0-vs-default---lookahead--1-auto",level:3},{value:"--lookahead 60 vs default --lookahead -1 (auto)",id:"--lookahead-60-vs-default---lookahead--1-auto",level:3},{value:"--lookahead 120 (max) vs default --lookahead -1 (auto)",id:"--lookahead-120-max-vs-default---lookahead--1-auto",level:3},{value:"--enable-overlays 1 vs default --enable-overlays 0",id:"--enable-overlays-1-vs-default---enable-overlays-0",level:3},{value:"--enable-qm 1 vs default --enable-qm 0",id:"--enable-qm-1-vs-default---enable-qm-0",level:3},{value:"--enable-qm 1 --qm-min 0 vs --enable-qm 1",id:"--enable-qm-1---qm-min-0-vs---enable-qm-1",level:3},{value:"--enable-restoration 0 vs default --enable-restoration 1",id:"--enable-restoration-0-vs-default---enable-restoration-1",level:3},{value:"--scm 0 vs default --scm 2 (content adaptive)",id:"--scm-0-vs-default---scm-2-content-adaptive",level:3},{value:"--scm 1 vs default --scm 2 (content adaptive)",id:"--scm-1-vs-default---scm-2-content-adaptive",level:3},{value:"--enable-tf 0 vs default --enable-tf 1",id:"--enable-tf-0-vs-default---enable-tf-1",level:3},{value:"--enable-tpl-la 0 vs default --enable-tpl-la 1",id:"--enable-tpl-la-0-vs-default---enable-tpl-la-1",level:3},{value:"superres:",id:"superres",level:3},{value:"Early TLDR on parameters results:",id:"early-tldr-on-parameters-results",level:3},{value:"Conclusion",id:"conclusion",level:2}];function m(e){const t={a:"a",blockquote:"blockquote",code:"code",del:"del",em:"em",h2:"h2",h3:"h3",img:"img",li:"li",p:"p",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.p,{children:"This blog post is based on a series of visual quality benchmarks with SSIMULACRA2 and speed benchmarks of SVT-AV1 1.8.0 on a corpus of animated clips."}),"\n",(0,i.jsxs)(t.p,{children:["The resources available will range from ",(0,i.jsx)(t.em,{children:(0,i.jsx)(t.strong,{children:"graphs"})})," to ",(0,i.jsx)(t.del,{children:(0,i.jsx)(t.strong,{children:"image comparisons"})})," (WIP). The ",(0,i.jsx)(t.em,{children:(0,i.jsx)(t.strong,{children:"former"})})," has the advantage of being easily understandable, showcasing pure efficiency comparisons between encoder parameters using metrics as the reference, while the ",(0,i.jsx)(t.strong,{children:"latter"})," are image samples from the encoded files during the tests that enable you to check quality for yourself and add another layer of subjective interpretation to these comparisons."]}),"\n",(0,i.jsxs)(t.p,{children:["The testing methodology involves using relatively short video samples from a wide range of modern anime genre, which have been either losslessly encoded with ",(0,i.jsx)(t.code,{children:"x264 --qp 0"})," for ease of use or losslessly cut from their source. These lossless files are then pipped into SvtAv1EncApp ",(0,i.jsx)(t.em,{children:"directly"}),", meaning we are measuring the performance of a single encoder instance and not leveraging chunked encoding like any actual final AV1 encoding pipeline should. Once an encode is done, SSIMULACRA2 scores are calculated using the ",(0,i.jsx)(t.a,{href:"https://github.com/dnjulek/vapoursynth-ssimulacra2",children:"Zig implementation"})," and lots of useful data are aggregated to make the graphs for this benchmark, including encoding time, encode size (bitrate), and SSIMULACRA2 scores. Bits per pixel scores (BPP) are calculated so that the ",(0,i.jsx)(t.code,{children:"Metric / BPP"})," graphs may represent the closest we have to real efficiency."]}),"\n",(0,i.jsx)(t.p,{children:"The clips used in this test were acquired legally. The Codec Wiki and its contributors do not endorse media piracy."}),"\n",(0,i.jsxs)(t.p,{children:["SvtAv1EncApp was compiled directly from the ",(0,i.jsx)(t.a,{href:"https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases/v1.8.0",children:"v1.8.0 source code"})," using the provided ",(0,i.jsx)(t.code,{children:"Build/linux/build.sh"})," script, Clang 16.0.6, and Profile-Guided Optimization (PGO). The testing machine is comprised of an i7 8750H running at 35W with 16GB of 2666MHz DDR4 RAM in Arch Linux with kernel 6.6.6 and the performance governor enabled. All encodes have been made in the same session without rebooting."]}),"\n",(0,i.jsxs)(t.p,{children:["This testing was conducted within the ",(0,i.jsx)(t.a,{href:"https://discord.gg/83dRFDFDp7",children:"AV1 Weeb Edition"})," Discord server, which is focused on encoding animated content in AV1."]}),"\n",(0,i.jsx)(t.h2,{id:"samples",children:"Samples"}),"\n",(0,i.jsx)(t.p,{children:"The samples are as follows:"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["11s ",(0,i.jsx)(t.code,{children:"Blame!"})," clip which sports 3DCG action with lots of grain, effects and high-contrast elements. Most complex source of this set."]}),"\n",(0,i.jsxs)(t.li,{children:["13s ",(0,i.jsx)(t.code,{children:"Blue Lock"})," clip which sports rapid camera movements and rotations + high-contrast elements."]}),"\n",(0,i.jsxs)(t.li,{children:["15s ",(0,i.jsx)(t.code,{children:"Fate/Grand Order: Babylonia"})," relatively slow-paced clip with lots of effects still. Easiest source of this set but easy sources still give interesting data."]}),"\n",(0,i.jsxs)(t.li,{children:["22s ",(0,i.jsx)(t.code,{children:"Jigokuraku (Hell's Paradise)"})," flashback clip with huge static grain in a very dark scenery and some action."]}),"\n",(0,i.jsxs)(t.li,{children:["14s ",(0,i.jsx)(t.code,{children:"Kaguya-sama"})," opening sequence with lots of effects and fast change of scenery.\nThe resolution of every clip is 1080p, except for the first one which is 1920x804."]}),"\n"]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsx)(t.p,{children:(0,i.jsxs)(t.strong,{children:["All clips have been encoded in a wide quality range, from ",(0,i.jsx)(t.code,{children:"--crf 8"})," to ",(0,i.jsx)(t.code,{children:"--crf 43"}),"."]})}),"\n"]}),"\n",(0,i.jsx)(t.p,{children:"Without further ado, let's start with the first comparisons!"}),"\n",(0,i.jsx)(t.h2,{id:"presets-comparisons--1---13",children:"Presets comparisons (-1 -> 13)"}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsxs)(t.strong,{children:["In the following graphs, you may find comparisons between all SVT-AV1 presets, ranging from the slowest ",(0,i.jsx)(t.code,{children:"--preset -1"})," to the fastest ",(0,i.jsx)(t.code,{children:"--preset 13"}),"."]}),"\n",(0,i.jsx)(t.em,{children:"Please remember that these two extreme presets are meant for development purposes and as such should not be used in normal encoding conditions. You will soon understand why."})]}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.code,{children:"--preset X"})," is the only parameter used here, in conjunction with the CRF values. That means everything else is default. The defaults worth mentioning are:"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.code,{children:"--tune 1"}),": tune PSNR"]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.code,{children:"--aq-mode 2"}),": variance deltaq"]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.code,{children:"--enable-qm 0"}),": quantisation matrices disabled"]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.code,{children:"--irefresh-type 2"}),": closed GOP"]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.code,{children:"--enable-tf 1"}),": temporal filtering enabled\nAnd more, like CDEF and restoration enabled, overlays and film-grain disabled..."]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsx)(t.p,{children:"First of all, here are the efficiency graphs:"}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-graphs/SVT4_blame.webp",alt:"Blame!.h264 Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-graphs/SVT4_bluelock.webp",alt:"BlueLock.h264 Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-graphs/SVT4_fate.webp",alt:"Fate.h264 Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-graphs/SVT4_jigokuraku.webp",alt:"Jigokuraku.h264 Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-graphs/SVT4_kaguya.webp",alt:"Kaguya.h264 Efficiency Graph"}]}),"\n",(0,i.jsx)(t.p,{children:"This could be too much information."}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:'Now the same graphs but focusing on the "high quality" range (CRF8 -> 23):'}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-highq/SVT4_blame.webp",alt:"blame High Quality Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-highq/SVT4_bluelock.webp",alt:"bluelock High Quality Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-highq/SVT4_fate.webp",alt:"fate High Quality Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-highq/SVT4_jigokuraku.webp",alt:"jigokuraku High Quality Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-highq/SVT4_kaguya.webp",alt:"kaguya High Quality Efficiency Graph"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Same again but without presets 9 to 13 for better clarity:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-highq-slow/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-highq-slow/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-highq-slow/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-highq-slow/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-highq-slow/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:'Now for the "low quality" range (CRF28 -> 43):'}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-lowq/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-lowq/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-lowq/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-lowq/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-lowq/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Same but without presets 9 to 13 for better clarity:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-lowq-slow/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-lowq-slow/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-lowq-slow/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-lowq-slow/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-lowq-slow/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:(0,i.jsx)(t.strong,{children:"Let's now see speed comparisons between all presets:"})}),"\n"]}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.img,{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed_overall.webp",alt:"speed_overall"})}),"\n",(0,i.jsxs)(t.p,{children:["As we can see, preset -1 is so abysmally slow it makes the graph unusable\n(BTW, notice the ",(0,i.jsx)(t.code,{children:"1e6"})," in the lower right corner, it is obviously not encoding at 1 to 4 ms, but at 1 000 000 to 4 000 000 ms)"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Here is what it looks like with a logarithmic scale:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-log-bpp/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-log-bpp/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-log-bpp/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-log-bpp/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-log-bpp/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:(0,i.jsx)(t.strong,{children:"Now the speed graphs but with SSIMU2 on the y-axis instead of BPP: (logarithmic scale)"})}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-log-ssimu2/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-log-ssimu2/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-log-ssimu2/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-log-ssimu2/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-log-ssimu2/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Here are speeds graphs for preset 1 to 6 with a linear scale:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-linear-bpp/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-linear-bpp/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-linear-bpp/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-linear-bpp/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-linear-bpp/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.p,{children:["One interpretation we can have is that ",(0,i.jsx)(t.strong,{children:"presets 2 to 4"})," have actually pretty close scores (pretty much the same at HQ, 2 points at max in the low quality range) but ",(0,i.jsx)(t.strong,{children:"preset 2"})," is ",(0,i.jsx)(t.strong,{children:"2x slower than preset 4"}),". The quality gap between ",(0,i.jsx)(t.strong,{children:"preset 2"})," and ",(0,i.jsx)(t.strong,{children:"preset 1"})," is even narrower but the speed penalty is also ~2x."]}),"\n",(0,i.jsxs)(t.p,{children:["That makes it hard to recommend ",(0,i.jsx)(t.strong,{children:"preset 1"}),", while ",(0,i.jsx)(t.strong,{children:"preset 3"})," is in a strange middle ground between ",(0,i.jsx)(t.strong,{children:"2"})," and ",(0,i.jsx)(t.strong,{children:"4"})," where it makes little sense to choose it over those two: it's better to choose ",(0,i.jsx)(t.strong,{children:"preset 2"})," for the higher efficiency at 1.5x slower speeds, or ",(0,i.jsx)(t.strong,{children:"preset 4"})," for the 1.33 to 1.5x higher speeds. At least the option exists."]}),"\n",(0,i.jsxs)(t.p,{children:["A similar observation can be made between ",(0,i.jsx)(t.strong,{children:"preset 5"})," and ",(0,i.jsx)(t.strong,{children:"6"}),". They can be so close in scores in many samples (especially at HQ) while also being close in speeds that ",(0,i.jsx)(t.strong,{children:"preset 5"})," becomes rather obsolete most of the time."]}),"\n",(0,i.jsx)(t.h3,{id:"tldr",children:"TLDR"}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.strong,{children:"Clear quality gains can be observed as we decrease presets, until the very last one, however the effectiveness of dropping presets becomes less and less impressive the higher in quality you go."})}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:["For instance, in worst-case scenario, we observe that (for the CRF23 to CRF8 range), ",(0,i.jsx)(t.strong,{children:(0,i.jsx)(t.strong,{children:"preset 4"})})," only loses at maximum ",(0,i.jsx)(t.strong,{children:"2"})," SSIMU2 ",(0,i.jsx)(t.strong,{children:"points"})," compared to ",(0,i.jsx)(t.strong,{children:(0,i.jsx)(t.strong,{children:"preset -1"})})," while being 50-60x faster. Though to be fair, the speed loss from ",(0,i.jsx)(t.strong,{children:(0,i.jsx)(t.strong,{children:"preset 4"})})," to ",(0,i.jsx)(t.strong,{children:(0,i.jsx)(t.strong,{children:"preset 0"})}),' is "only" 5-10x for a maximum SSIMU2 difference close to ',(0,i.jsx)(t.strong,{children:"1.5 point"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:["From CRF43 to CRF28, the difference between ",(0,i.jsx)(t.strong,{children:(0,i.jsx)(t.strong,{children:"preset 4"})})," and ",(0,i.jsx)(t.strong,{children:(0,i.jsx)(t.strong,{children:"preset -1"})})," can be as much as ",(0,i.jsx)(t.strong,{children:"5"})," SSIMU2 ",(0,i.jsx)(t.strong,{children:"points"}),", so lower presets become more attractive."]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(t.h2,{id:"tunes-comparisons",children:"Tunes comparisons"}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsxs)(t.strong,{children:["In the following graphs, you may find comparisons between SVT-AV1 tunes, from the default ",(0,i.jsx)(t.code,{children:"--tune 1"})," (PSNR) to the other two tunes: ",(0,i.jsx)(t.code,{children:"--tune 0"})," (VQ) and ",(0,i.jsx)(t.code,{children:"--tune 2"})," (SSIM)."]})}),"\n",(0,i.jsxs)(t.p,{children:["Except for the tunes, ",(0,i.jsx)(t.code,{children:"--preset 4"})," is set due to its good balance of quality and speed, in conjunction with the CRF values. That means everything else is default. The defaults have been mentioned earlier above."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:(0,i.jsx)(t.strong,{children:"Let's compare the efficiency of every tunes:"})}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:'Now let\'s focus on the "high quality" range (CRF8 -> 23):'}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency-highq/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency-highq/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency-highq/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency-highq/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency-highq/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:'And the "low quality" range (CRF28 -> 43):'}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency-lowq/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency-lowq/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency-lowq/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency-lowq/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency-lowq/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"And here is the speed difference:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Graphs comparing the tunes individually between each others will be made available soon."}),"\n",(0,i.jsx)(t.li,{children:"The image comparisons will make the conclusion quite more nuanced, stay tuned (heheh) for that."}),"\n"]}),"\n",(0,i.jsx)(t.h3,{id:"tldr-1",children:"TLDR"}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsxs)(t.strong,{children:["SSIMU2 favors ",(0,i.jsx)(t.strong,{children:"tune 1 and 2"})," above ",(0,i.jsx)(t.strong,{children:"tune 0"}),". At high quality, ",(0,i.jsx)(t.strong,{children:"tune 1 and 2"})," are matched, while at low quality ",(0,i.jsx)(t.strong,{children:"tune 2"})," takes the edge. ",(0,i.jsx)(t.strong,{children:"Tune 0"})," is sometimes a match for the other two on certain clips and other times fare pretty badly."]}),"\n",(0,i.jsxs)(t.strong,{children:["For some reason, ",(0,i.jsx)(t.strong,{children:"tune 0"})," is quite a bit faster now, compared to 1 and 2 which are basically the same."]})]}),"\n",(0,i.jsxs)(t.p,{children:["Keep in mind that I have observed multiple times in the past that ",(0,i.jsx)(t.strong,{children:"tune 0"})," kept more fine detail and was sharper than the other tunes, at the expense of potential artifacting, like ringing and distortion. It may very well explain why the metric doesn't like its results. The image comparisons may give a different interpretation than what we concluded here, please stay ",(0,i.jsx)(t.em,{children:"tuned"})," for these subjective comparisons."]}),"\n",(0,i.jsx)(t.h2,{id:"parameters-comparisons",children:"Parameters comparisons"}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"In the following graphs, you may find comparisons between many SVT-AV1 parameters."}),"\n",(0,i.jsx)(t.em,{children:"Additional graphs focusing on the high and low qualities will be made available later down the line"})]}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.code,{children:"--preset 4"})," is used here due to its good balance of quality and speed, in conjunction with the CRF values. That means everything else is default. The defaults have been mentioned earlier above."]}),"\n",(0,i.jsxs)(t.h3,{id:"--tile-rows-1---tile-columns-1-vs-default---tile-rows-0---tile-columns-0",children:[(0,i.jsx)(t.code,{children:"--tile-rows 1 --tile-columns 1"})," vs default ",(0,i.jsx)(t.code,{children:"--tile-rows 0 --tile-columns 0"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tile-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tile-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tile-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tile-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tile-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tile-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tile-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tile-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tile-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tile-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"tiles"})," here are both slightly harmful and slower."]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--aq-mode-0-vs-default---aq-mode-2",children:[(0,i.jsx)(t.code,{children:"--aq-mode 0"})," vs default ",(0,i.jsx)(t.code,{children:"--aq-mode 2"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:["Except for the Jigokuraku clip, ",(0,i.jsx)(t.strong,{children:"aq-mode 0"})," is harmful in the eyes of SSIMU2, while being slower at low CRF levels, and sometimes a match or faster at high CRF levels."]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--aq-mode-1-vs-default---aq-mode-2",children:[(0,i.jsx)(t.code,{children:"--aq-mode 1"})," vs default ",(0,i.jsx)(t.code,{children:"--aq-mode 2"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode1-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode1-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode1-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode1-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode1-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode1-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode1-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode1-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode1-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode1-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"aq-mode 1"})," fares closer to ",(0,i.jsx)(t.strong,{children:"aq-mode 2"})," than ",(0,i.jsx)(t.strong,{children:"aq-mode 0"})," did, both in quality and speed, but is still overall inferior according to SSIMU2"]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--enable-cdef-0-vs-default---enable-cdef-1",children:[(0,i.jsx)(t.code,{children:"--enable-cdef 0"})," vs default ",(0,i.jsx)(t.code,{children:"--enable-cdef 1"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/cdef-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/cdef-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/cdef-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/cdef-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/cdef-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/cdef-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/cdef-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/cdef-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/cdef-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/cdef-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:["According to SSIMU2, disabling CDEF barely impact efficiency. But as its a pretty demanding tool, there's a slight speed benefit of having it disabled too. I advise you to take these results with a grain of salt until the image comparisons, because in anime particularly, CDEF ",(0,i.jsx)(t.em,{children:"can"})," be beneficial for the line-art."]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--enable-dg-0-vs-default---enable-dg-1",children:[(0,i.jsx)(t.code,{children:"--enable-dg 0"})," vs default ",(0,i.jsx)(t.code,{children:"--enable-dg 1"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dg-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dg-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dg-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dg-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dg-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dg-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dg-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dg-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dg-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dg-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Dynamic GoP control"})," yields bit-perfect results in all clips except for Blue Lock and Jigokuraku. There is no speed benefit to disabling it except in clips where it is in use. Let's not jump to conclusions too easily, the image comparisons will tell if it's \"safe\" to keep the setting disabled at all times or not."]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--enable-dlf-0-vs-default---enable-dlf-1",children:[(0,i.jsx)(t.code,{children:"--enable-dlf 0"})," vs default ",(0,i.jsx)(t.code,{children:"--enable-dlf 1"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dlf-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dlf-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dlf-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dlf-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dlf-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dlf-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dlf-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dlf-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dlf-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dlf-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Deblocking loop filter"})," can be slightly beneficial in some scenarios. In reverse, it is never harmful, so it is recommended to keep it default."]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--fast-decode-1-vs-default---fast-decode-0",children:[(0,i.jsx)(t.code,{children:"--fast-decode 1"})," vs default ",(0,i.jsx)(t.code,{children:"--fast-decode 0"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/fast-decode-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/fast-decode-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/fast-decode-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/fast-decode-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/fast-decode-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/fast-decode-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/fast-decode-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/fast-decode-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/fast-decode-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/fast-decode-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"fast-decode 1"})," is pretty harmful in the Fate clip and slightly harmful in the rest. There is a speed benefit of enabling it though."]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--irefresh-type-1-vs-default---irefresh-type-2",children:[(0,i.jsx)(t.code,{children:"--irefresh-type 1"})," vs default ",(0,i.jsx)(t.code,{children:"--irefresh-type 2"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/irefresh-type1-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/irefresh-type1-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/irefresh-type1-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/irefresh-type1-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/irefresh-type1-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/irefresh-type1-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/irefresh-type1-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/irefresh-type1-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/irefresh-type1-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/irefresh-type1-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsx)(t.p,{children:"Finally something interesting to analyse!"}),"\n"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.strong,{children:"irefresh-type 1"})," is either a match or beneficial compared to ",(0,i.jsx)(t.strong,{children:"irefresh-type 2"})," at high CRF levels."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.strong,{children:"irefresh-type 1"})," either wins or lose to ",(0,i.jsx)(t.strong,{children:"irefresh-type 2"})," at low CRF levels depending on the clip. As such, it is NOT recommended to blindly set ",(0,i.jsx)(t.strong,{children:"irefresh-type"})," to ",(0,i.jsx)(t.strong,{children:"1"}),' at "high quality" as it might be harmful depending on the content.']}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.strong,{children:"irefresh-type 1"})," is always slower compared to ",(0,i.jsx)(t.strong,{children:"irefresh-type 2"}),", so I might argue it is more safe to leave ",(0,i.jsx)(t.strong,{children:"irefresh-type"}),' default at "high quality" than not.']}),"\n",(0,i.jsxs)(t.li,{children:["According to the content type of those clips, it appears that ",(0,i.jsx)(t.strong,{children:"irefresh-type 1"})," may benefit ",(0,i.jsx)(t.em,{children:"extremely grainy"})," content while default ",(0,i.jsx)(t.strong,{children:"irefresh-type 2"})," is better suited for ",(0,i.jsx)(t.em,{children:"cleanish"})," content. This needs to be confirmed with ",(0,i.jsx)(t.em,{children:"moar"})," testing though."]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--lookahead-0-vs-default---lookahead--1-auto",children:[(0,i.jsx)(t.code,{children:"--lookahead 0"})," vs default ",(0,i.jsx)(t.code,{children:"--lookahead -1"})," (auto)"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.h3,{id:"--lookahead-60-vs-default---lookahead--1-auto",children:[(0,i.jsx)(t.code,{children:"--lookahead 60"})," vs default ",(0,i.jsx)(t.code,{children:"--lookahead -1"})," (auto)"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead60-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead60-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead60-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead60-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead60-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead60-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead60-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead60-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead60-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead60-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.h3,{id:"--lookahead-120-max-vs-default---lookahead--1-auto",children:[(0,i.jsx)(t.code,{children:"--lookahead 120"})," (max) vs default ",(0,i.jsx)(t.code,{children:"--lookahead -1"})," (auto)"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead120-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead120-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead120-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead120-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead120-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead120-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead120-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead120-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead120-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead120-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"lookahead"})," seems to behave strangely when set..."]}),"\n"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.strong,{children:"lookahead 0"})," shifts quality around a lot and it is difficult to draw conclusions but there's a clear speed drawback of disabling lookahead."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.strong,{children:"lookahead 60"})," is perfectly bit-perfect to every clips EXCEPT for some damn reason in Jigokuraku at CRF23"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.strong,{children:"lookahead 120"})," is somehow also bit-perfect, but this time in every clips and every CRF levels. Both 60 and 120 don't see much speed differences."]}),"\n"]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsx)(t.p,{children:"Soooo.... this behavior is so odd I don't advise to set any lookahead value. Let the encoder decide."}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--enable-overlays-1-vs-default---enable-overlays-0",children:[(0,i.jsx)(t.code,{children:"--enable-overlays 1"})," vs default ",(0,i.jsx)(t.code,{children:"--enable-overlays 0"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/overlays-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/overlays-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/overlays-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/overlays-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/overlays-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/overlays-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/overlays-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/overlays-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/overlays-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/overlays-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"overlays"})," do not seem to either improve efficiency or performance."]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--enable-qm-1-vs-default---enable-qm-0",children:[(0,i.jsx)(t.code,{children:"--enable-qm 1"})," vs default ",(0,i.jsx)(t.code,{children:"--enable-qm 0"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:["Enabling ",(0,i.jsx)(t.strong,{children:"quantization matrices"}),' alone increase efficiency at "high quality" with no real speed impact.']}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--enable-qm-1---qm-min-0-vs---enable-qm-1",children:[(0,i.jsx)(t.code,{children:"--enable-qm 1 --qm-min 0"})," vs ",(0,i.jsx)(t.code,{children:"--enable-qm 1"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-min-efficiency/SVT4_qm1_blame.webp",alt:"SVT4_qm1_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-min-efficiency/SVT4_qm1_bluelock.webp",alt:"SVT4_qm1_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-min-efficiency/SVT4_qm1_fate.webp",alt:"SVT4_qm1_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-min-efficiency/SVT4_qm1_jigokuraku.webp",alt:"SVT4_qm1_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-min-efficiency/SVT4_qm1_kaguya.webp",alt:"SVT4_qm1_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-min-speed/SVT4_qm1_blame.webp",alt:"SVT4_qm1_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-min-speed/SVT4_qm1_bluelock.webp",alt:"SVT4_qm1_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-min-speed/SVT4_qm1_fate.webp",alt:"SVT4_qm1_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-min-speed/SVT4_qm1_jigokuraku.webp",alt:"SVT4_qm1_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-min-speed/SVT4_qm1_kaguya.webp",alt:"SVT4_qm1_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:["Setting ",(0,i.jsx)(t.strong,{children:"qm-min"})," to ",(0,i.jsx)(t.strong,{children:"0"})," on top of enabling ",(0,i.jsx)(t.strong,{children:"quantization matrices"})," can be beneficial in some clips at no added compute time."]}),"\n"]}),"\n",(0,i.jsx)(t.p,{children:"I will re-tests many QMs ranges in the future, but I doubt it changed much from v1.7.0 where 0 was the most appropriate choice for most content."}),"\n",(0,i.jsxs)(t.h3,{id:"--enable-restoration-0-vs-default---enable-restoration-1",children:[(0,i.jsx)(t.code,{children:"--enable-restoration 0"})," vs default ",(0,i.jsx)(t.code,{children:"--enable-restoration 1"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/restoration-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/restoration-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/restoration-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/restoration-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/restoration-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/restoration-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/restoration-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/restoration-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/restoration-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/restoration-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:["Even though the efficiencies are very similar, nothing is bit-perfect here. So according to SSIMU2, the ",(0,i.jsx)(t.strong,{children:"loop restoration filter"})," isn't necessarily useful. However, just like CDEF, it's a pretty demanding tool, so disabling it yields some performance improvements. Let's take these with a grain of salt until the image comparisons."]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--scm-0-vs-default---scm-2-content-adaptive",children:[(0,i.jsx)(t.code,{children:"--scm 0"})," vs default ",(0,i.jsx)(t.code,{children:"--scm 2"})," (content adaptive)"]}),"\n",(0,i.jsx)(t.p,{children:"In all the clips, the results are bit-perfect and there is no notable performance difference."}),"\n",(0,i.jsxs)(t.h3,{id:"--scm-1-vs-default---scm-2-content-adaptive",children:[(0,i.jsx)(t.code,{children:"--scm 1"})," vs default ",(0,i.jsx)(t.code,{children:"--scm 2"})," (content adaptive)"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/scm1-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/scm1-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/scm1-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/scm1-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/scm1-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/scm1-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/scm1-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/scm1-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/scm1-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/scm1-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:["Interestingly enough, ",(0,i.jsx)(t.strong,{children:"screen content tools"})," seem to improve efficiency according to SSIMU2, at the cost of a huge performance regression. After the image comparisons are published, I will conduct additional testing on this."]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--enable-tf-0-vs-default---enable-tf-1",children:[(0,i.jsx)(t.code,{children:"--enable-tf 0"})," vs default ",(0,i.jsx)(t.code,{children:"--enable-tf 1"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tf-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tf-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tf-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tf-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tf-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tf-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tf-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tf-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tf-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tf-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:["Disabled ",(0,i.jsx)(t.strong,{children:"temporal filtering"})," ",(0,i.jsx)(t.em,{children:"can"}),' sometimes improve efficiency slightly at "high quality", however it is very much clip dependent. It also improves performance slightly. The image comparisons will give another perspective to these results.']}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--enable-tpl-la-0-vs-default---enable-tpl-la-1",children:[(0,i.jsx)(t.code,{children:"--enable-tpl-la 0"})," vs default ",(0,i.jsx)(t.code,{children:"--enable-tpl-la 1"})]}),"\n",(0,i.jsx)(t.p,{children:"In all the clips, the results are bit-perfect and there is no notable performance difference."}),"\n",(0,i.jsxs)(t.h3,{id:"superres",children:[(0,i.jsx)(t.code,{children:"superres"}),":"]}),"\n",(0,i.jsx)(t.p,{children:"Kinda lazy to make, share and comment so much graphs for something that can be told in two lines..."}),"\n",(0,i.jsx)(t.p,{children:"All superres variants are freaking useless as they:"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"do not improve efficiency"}),"\n",(0,i.jsx)(t.li,{children:"decrease encoding speeds"}),"\n",(0,i.jsx)(t.li,{children:"decrease decoding speeds when either bitrate or quality normalized."}),"\n"]}),"\n",(0,i.jsx)(t.h3,{id:"early-tldr-on-parameters-results",children:(0,i.jsx)(t.strong,{children:"Early TLDR on parameters results:"})}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.em,{children:(0,i.jsxs)(t.strong,{children:["For a previous test with SVT-AV1 1.7.0 I did all parameters tests with ",(0,i.jsx)(t.code,{children:"--preset 6 --tune 2"}),", now I did them with ",(0,i.jsx)(t.code,{children:"--preset 4 --tune 1"}),". Mostly everything tested on v1.7.0 still stands today, but now we have more valuable data. Images comparisons are still needed to give more context to some results, so the conclusion presented here remains early as they are 100% based on SSIMU2 results and will require more analysis down the line."]})})}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.strong,{children:"Here is a quick run down of how each parameter affect encoding:"})}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--tile-rows --tile-columns"})," should never be used (except for decreasing decode complexity)"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--aq-mode 2"})," is the most efficient / fastest"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--enable-cdef 0"})," ",(0,i.jsx)(t.em,{children:"might"})," improve performance at almost no efficiency loss ",(0,i.jsx)(t.em,{children:"(needs more thorough testing)"})]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--enable-dg"})," and ",(0,i.jsx)(t.code,{children:"--enable-dlf"})," barely do anything"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--fast-decode 1"})," decreases efficiency, improves encoding times, and the decoding gains still need to be determined."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--irefresh-type"})," should be kept default at high CRF values and for cleanish content at low CRF values, but can be set to 1 at low CRF values for extremely grainy content"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--lookahead"})," should be kept default"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--enable-overlays 1"})," does not improve efficiency, slight speed regression as well"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--enable-qm 1 --qm-min 0"})," should be set for increased efficiency especially at low CRF values at no perf cost"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--enable-restoration"})," barely does anything but disabling yields better performance ",(0,i.jsx)(t.em,{children:"(needs visual confirmation)"})]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--scm 1"})," screen content tools can improve efficiency with a big performance trade-off ",(0,i.jsx)(t.em,{children:"(needs more thorough testing)"})]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--enable-tf 0"})," is a mixed bag efficiency wise but improves performance"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"superres & resize"})," please don't."]}),"\n"]}),"\n",(0,i.jsx)(t.h2,{id:"conclusion",children:"Conclusion"}),"\n",(0,i.jsx)(t.p,{children:"The extensive benchmarking reveals that obviously the slower presets provide better efficiency, with diminishing returns past preset 2. However, preset 4 provides a good balance of quality and speed for most use cases. Presets 6 and 8 are good options for the people that find 4 to be too slow for their liking."}),"\n",(0,i.jsx)(t.p,{children:"The default settings tend to provide good results, but some tweaks like enabling quantization matrices can further optimize efficiency. Parameters like tile encoding and super resolution modes are not beneficial. Overall, SVT-AV1 continues to be a competitive option for encoding animation in AV1, with its speed being a notable strength."}),"\n",(0,i.jsx)(t.p,{children:"Further testing with more content samples would help solidify these findings. The image comparisons will also provide additional subjective evaluation to complement the objective metrics used here, and we can discover the potential usefulness of Tune 0 that may betray what the metrics suggest. Overall, this comprehensive deep dive should give encoders a helpful starting point for choosing settings when encoding animation with the latest SVT-AV1 1.8.0. Thanks for reading!"}),"\n"]})}function h(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(m,{...e})}):m(e)}}}]); \ No newline at end of file diff --git a/assets/js/70de1c07.bce2655b.js b/assets/js/70de1c07.bce2655b.js new file mode 100644 index 00000000..640e8d8b --- /dev/null +++ b/assets/js/70de1c07.bce2655b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcodec_wiki=self.webpackChunkcodec_wiki||[]).push([[544],{1165:(e,t,s)=>{s.d(t,{Ck:()=>d,kS:()=>b});var i=s(4848),o=s(5293),n=s(6540),a=s(3517),r=s(943),c=s(1412),l=s(9522),u=s(1303),m=s(8633),h=s(363);const d=({imageData:e})=>{const t=({currentSlide:e,direction:t,slideCount:s,...o})=>"left"===t?(0,i.jsx)(m.A,{...o,style:{color:"#fff",fontSize:24,width:24,height:24,zIndex:1,left:10}}):(0,i.jsx)(h.A,{...o,style:{color:"#fff",fontSize:24,width:24,height:24,zIndex:1,right:10}});return(0,i.jsx)(a.A,{arrows:!0,prevArrow:(0,i.jsx)(t,{direction:"left"}),nextArrow:(0,i.jsx)(t,{direction:"right"}),children:e.map((e=>(0,i.jsx)(r.A,{src:e.src},e.src)))})},b=({tabMap:e})=>{const[t,s]=(0,n.useState)(Object.keys(e)[0]),{colorMode:a,setColorMode:r}=(0,o.G)();return(0,i.jsx)(c.Ay,{theme:{algorithm:"dark"===a?l.A.darkAlgorithm:l.A.defaultAlgorithm},children:(0,i.jsx)(u.A,{tabList:Object.entries(e).map((([e,t])=>({key:e,label:t.label}))),activeTabKey:t,onTabChange:e=>{s(e)},children:e[t].component})})}},850:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>l,contentTitle:()=>r,default:()=>h,frontMatter:()=>a,metadata:()=>c,toc:()=>u});var i=s(4848),o=s(8453),n=s(1165);const a={title:"Encoding Animation with SVT-AV1: A Deep Dive",description:"With the recent release of SVT-AV1 1.8.0, how does it stack up for encoding animation?",slug:"svt-av1-deep-dive",authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043"}],tags:["video","compression","benchmarks"],image:"/img/svt-1.8.0-testing-blog-image.webp",hide_table_of_contents:!1},r="Introduction",c={permalink:"/blog/svt-av1-deep-dive",source:"@site/blog/2023-12-30-svt-av1-deep-dive.mdx",title:"Encoding Animation with SVT-AV1: A Deep Dive",description:"With the recent release of SVT-AV1 1.8.0, how does it stack up for encoding animation?",date:"2023-12-30T00:00:00.000Z",tags:[{label:"video",permalink:"/blog/tags/video"},{label:"compression",permalink:"/blog/tags/compression"},{label:"benchmarks",permalink:"/blog/tags/benchmarks"}],readingTime:22.32,hasTruncateMarker:!0,authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043",imageURL:"https://avatars.githubusercontent.com/u/93526043"}],frontMatter:{title:"Encoding Animation with SVT-AV1: A Deep Dive",description:"With the recent release of SVT-AV1 1.8.0, how does it stack up for encoding animation?",slug:"svt-av1-deep-dive",authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043",imageURL:"https://avatars.githubusercontent.com/u/93526043"}],tags:["video","compression","benchmarks"],image:"/img/svt-1.8.0-testing-blog-image.webp",hide_table_of_contents:!1},unlisted:!1,prevItem:{title:"Observing SVT-AV1 v2.1.0's improvements: A New Deep Dive",permalink:"/blog/svt-av1-second-deep-dive"},nextItem:{title:"Embedding the Un-Embeddable",permalink:"/blog/embedding-the-un-embeddable"}},l={authorsImageUrls:[void 0]},u=[{value:"Samples",id:"samples",level:2},{value:"Presets comparisons (-1 -> 13)",id:"presets-comparisons--1---13",level:2},{value:"TLDR",id:"tldr",level:3},{value:"Tunes comparisons",id:"tunes-comparisons",level:2},{value:"TLDR",id:"tldr-1",level:3},{value:"Parameters comparisons",id:"parameters-comparisons",level:2},{value:"--tile-rows 1 --tile-columns 1 vs default --tile-rows 0 --tile-columns 0",id:"--tile-rows-1---tile-columns-1-vs-default---tile-rows-0---tile-columns-0",level:3},{value:"--aq-mode 0 vs default --aq-mode 2",id:"--aq-mode-0-vs-default---aq-mode-2",level:3},{value:"--aq-mode 1 vs default --aq-mode 2",id:"--aq-mode-1-vs-default---aq-mode-2",level:3},{value:"--enable-cdef 0 vs default --enable-cdef 1",id:"--enable-cdef-0-vs-default---enable-cdef-1",level:3},{value:"--enable-dg 0 vs default --enable-dg 1",id:"--enable-dg-0-vs-default---enable-dg-1",level:3},{value:"--enable-dlf 0 vs default --enable-dlf 1",id:"--enable-dlf-0-vs-default---enable-dlf-1",level:3},{value:"--fast-decode 1 vs default --fast-decode 0",id:"--fast-decode-1-vs-default---fast-decode-0",level:3},{value:"--irefresh-type 1 vs default --irefresh-type 2",id:"--irefresh-type-1-vs-default---irefresh-type-2",level:3},{value:"--lookahead 0 vs default --lookahead -1 (auto)",id:"--lookahead-0-vs-default---lookahead--1-auto",level:3},{value:"--lookahead 60 vs default --lookahead -1 (auto)",id:"--lookahead-60-vs-default---lookahead--1-auto",level:3},{value:"--lookahead 120 (max) vs default --lookahead -1 (auto)",id:"--lookahead-120-max-vs-default---lookahead--1-auto",level:3},{value:"--enable-overlays 1 vs default --enable-overlays 0",id:"--enable-overlays-1-vs-default---enable-overlays-0",level:3},{value:"--enable-qm 1 vs default --enable-qm 0",id:"--enable-qm-1-vs-default---enable-qm-0",level:3},{value:"--enable-qm 1 --qm-min 0 vs --enable-qm 1",id:"--enable-qm-1---qm-min-0-vs---enable-qm-1",level:3},{value:"--enable-restoration 0 vs default --enable-restoration 1",id:"--enable-restoration-0-vs-default---enable-restoration-1",level:3},{value:"--scm 0 vs default --scm 2 (content adaptive)",id:"--scm-0-vs-default---scm-2-content-adaptive",level:3},{value:"--scm 1 vs default --scm 2 (content adaptive)",id:"--scm-1-vs-default---scm-2-content-adaptive",level:3},{value:"--enable-tf 0 vs default --enable-tf 1",id:"--enable-tf-0-vs-default---enable-tf-1",level:3},{value:"--enable-tpl-la 0 vs default --enable-tpl-la 1",id:"--enable-tpl-la-0-vs-default---enable-tpl-la-1",level:3},{value:"superres:",id:"superres",level:3},{value:"Early TLDR on parameters results:",id:"early-tldr-on-parameters-results",level:3},{value:"Conclusion",id:"conclusion",level:2}];function m(e){const t={a:"a",blockquote:"blockquote",code:"code",del:"del",em:"em",h2:"h2",h3:"h3",img:"img",li:"li",p:"p",strong:"strong",ul:"ul",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.p,{children:"This blog post is based on a series of visual quality benchmarks with SSIMULACRA2 and speed benchmarks of SVT-AV1 1.8.0 on a corpus of animated clips."}),"\n",(0,i.jsxs)(t.p,{children:["The resources available will range from ",(0,i.jsx)(t.em,{children:(0,i.jsx)(t.strong,{children:"graphs"})})," to ",(0,i.jsx)(t.del,{children:(0,i.jsx)(t.strong,{children:"image comparisons"})})," (WIP). The ",(0,i.jsx)(t.em,{children:(0,i.jsx)(t.strong,{children:"former"})})," has the advantage of being easily understandable, showcasing pure efficiency comparisons between encoder parameters using metrics as the reference, while the ",(0,i.jsx)(t.strong,{children:"latter"})," are image samples from the encoded files during the tests that enable you to check quality for yourself and add another layer of subjective interpretation to these comparisons."]}),"\n",(0,i.jsxs)(t.p,{children:["The testing methodology involves using relatively short video samples from a wide range of modern anime genre, which have been either losslessly encoded with ",(0,i.jsx)(t.code,{children:"x264 --qp 0"})," for ease of use or losslessly cut from their source. These lossless files are then pipped into SvtAv1EncApp ",(0,i.jsx)(t.em,{children:"directly"}),", meaning we are measuring the performance of a single encoder instance and not leveraging chunked encoding like any actual final AV1 encoding pipeline should. Once an encode is done, SSIMULACRA2 scores are calculated using the ",(0,i.jsx)(t.a,{href:"https://github.com/dnjulek/vapoursynth-ssimulacra2",children:"Zig implementation"})," and lots of useful data are aggregated to make the graphs for this benchmark, including encoding time, encode size (bitrate), and SSIMULACRA2 scores. Bits per pixel scores (BPP) are calculated so that the ",(0,i.jsx)(t.code,{children:"Metric / BPP"})," graphs may represent the closest we have to real efficiency."]}),"\n",(0,i.jsx)(t.p,{children:"The clips used in this test were acquired legally. The Codec Wiki and its contributors do not endorse media piracy."}),"\n",(0,i.jsxs)(t.p,{children:["SvtAv1EncApp was compiled directly from the ",(0,i.jsx)(t.a,{href:"https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases/v1.8.0",children:"v1.8.0 source code"})," using the provided ",(0,i.jsx)(t.code,{children:"Build/linux/build.sh"})," script, Clang 16.0.6, and Profile-Guided Optimization (PGO). The testing machine is comprised of an i7 8750H running at 35W with 16GB of 2666MHz DDR4 RAM in Arch Linux with kernel 6.6.6 and the performance governor enabled. All encodes have been made in the same session without rebooting."]}),"\n",(0,i.jsxs)(t.p,{children:["This testing was conducted within the ",(0,i.jsx)(t.a,{href:"https://discord.gg/83dRFDFDp7",children:"AV1 Weeb Edition"})," Discord server, which is focused on encoding animated content in AV1."]}),"\n",(0,i.jsx)(t.h2,{id:"samples",children:"Samples"}),"\n",(0,i.jsx)(t.p,{children:"The samples are as follows:"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["11s ",(0,i.jsx)(t.code,{children:"Blame!"})," clip which sports 3DCG action with lots of grain, effects and high-contrast elements. Most complex source of this set."]}),"\n",(0,i.jsxs)(t.li,{children:["13s ",(0,i.jsx)(t.code,{children:"Blue Lock"})," clip which sports rapid camera movements and rotations + high-contrast elements."]}),"\n",(0,i.jsxs)(t.li,{children:["15s ",(0,i.jsx)(t.code,{children:"Fate/Grand Order: Babylonia"})," relatively slow-paced clip with lots of effects still. Easiest source of this set but easy sources still give interesting data."]}),"\n",(0,i.jsxs)(t.li,{children:["22s ",(0,i.jsx)(t.code,{children:"Jigokuraku (Hell's Paradise)"})," flashback clip with huge static grain in a very dark scenery and some action."]}),"\n",(0,i.jsxs)(t.li,{children:["14s ",(0,i.jsx)(t.code,{children:"Kaguya-sama"})," opening sequence with lots of effects and fast change of scenery.\nThe resolution of every clip is 1080p, except for the first one which is 1920x804."]}),"\n"]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsx)(t.p,{children:(0,i.jsxs)(t.strong,{children:["All clips have been encoded in a wide quality range, from ",(0,i.jsx)(t.code,{children:"--crf 8"})," to ",(0,i.jsx)(t.code,{children:"--crf 43"}),"."]})}),"\n"]}),"\n",(0,i.jsx)(t.p,{children:"Without further ado, let's start with the first comparisons!"}),"\n",(0,i.jsx)(t.h2,{id:"presets-comparisons--1---13",children:"Presets comparisons (-1 -> 13)"}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsxs)(t.strong,{children:["In the following graphs, you may find comparisons between all SVT-AV1 presets, ranging from the slowest ",(0,i.jsx)(t.code,{children:"--preset -1"})," to the fastest ",(0,i.jsx)(t.code,{children:"--preset 13"}),"."]}),"\n",(0,i.jsx)(t.em,{children:"Please remember that these two extreme presets are meant for development purposes and as such should not be used in normal encoding conditions. You will soon understand why."})]}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.code,{children:"--preset X"})," is the only parameter used here, in conjunction with the CRF values. That means everything else is default. The defaults worth mentioning are:"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.code,{children:"--tune 1"}),": tune PSNR"]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.code,{children:"--aq-mode 2"}),": variance deltaq"]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.code,{children:"--enable-qm 0"}),": quantisation matrices disabled"]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.code,{children:"--irefresh-type 2"}),": closed GOP"]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.code,{children:"--enable-tf 1"}),": temporal filtering enabled\nAnd more, like CDEF and restoration enabled, overlays and film-grain disabled..."]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsx)(t.p,{children:"First of all, here are the efficiency graphs:"}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-graphs/SVT4_blame.webp",alt:"Blame!.h264 Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-graphs/SVT4_bluelock.webp",alt:"BlueLock.h264 Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-graphs/SVT4_fate.webp",alt:"Fate.h264 Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-graphs/SVT4_jigokuraku.webp",alt:"Jigokuraku.h264 Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-graphs/SVT4_kaguya.webp",alt:"Kaguya.h264 Efficiency Graph"}]}),"\n",(0,i.jsx)(t.p,{children:"This could be too much information."}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:'Now the same graphs but focusing on the "high quality" range (CRF8 -> 23):'}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-highq/SVT4_blame.webp",alt:"blame High Quality Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-highq/SVT4_bluelock.webp",alt:"bluelock High Quality Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-highq/SVT4_fate.webp",alt:"fate High Quality Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-highq/SVT4_jigokuraku.webp",alt:"jigokuraku High Quality Efficiency Graph"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-highq/SVT4_kaguya.webp",alt:"kaguya High Quality Efficiency Graph"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Same again but without presets 9 to 13 for better clarity:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-highq-slow/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-highq-slow/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-highq-slow/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-highq-slow/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-highq-slow/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:'Now for the "low quality" range (CRF28 -> 43):'}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-lowq/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-lowq/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-lowq/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-lowq/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-lowq/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Same but without presets 9 to 13 for better clarity:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-lowq-slow/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-lowq-slow/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-lowq-slow/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-lowq-slow/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/svt-efficiency-lowq-slow/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:(0,i.jsx)(t.strong,{children:"Let's now see speed comparisons between all presets:"})}),"\n"]}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.img,{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed_overall.webp",alt:"speed_overall"})}),"\n",(0,i.jsxs)(t.p,{children:["As we can see, preset -1 is so abysmally slow it makes the graph unusable\n(BTW, notice the ",(0,i.jsx)(t.code,{children:"1e6"})," in the lower right corner, it is obviously not encoding at 1 to 4 ms, but at 1 000 000 to 4 000 000 ms)"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Here is what it looks like with a logarithmic scale:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-log-bpp/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-log-bpp/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-log-bpp/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-log-bpp/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-log-bpp/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:(0,i.jsx)(t.strong,{children:"Now the speed graphs but with SSIMU2 on the y-axis instead of BPP: (logarithmic scale)"})}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-log-ssimu2/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-log-ssimu2/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-log-ssimu2/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-log-ssimu2/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-log-ssimu2/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Here are speeds graphs for preset 1 to 6 with a linear scale:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-linear-bpp/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-linear-bpp/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-linear-bpp/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-linear-bpp/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/speed-linear-bpp/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.p,{children:["One interpretation we can have is that ",(0,i.jsx)(t.strong,{children:"presets 2 to 4"})," have actually pretty close scores (pretty much the same at HQ, 2 points at max in the low quality range) but ",(0,i.jsx)(t.strong,{children:"preset 2"})," is ",(0,i.jsx)(t.strong,{children:"2x slower than preset 4"}),". The quality gap between ",(0,i.jsx)(t.strong,{children:"preset 2"})," and ",(0,i.jsx)(t.strong,{children:"preset 1"})," is even narrower but the speed penalty is also ~2x."]}),"\n",(0,i.jsxs)(t.p,{children:["That makes it hard to recommend ",(0,i.jsx)(t.strong,{children:"preset 1"}),", while ",(0,i.jsx)(t.strong,{children:"preset 3"})," is in a strange middle ground between ",(0,i.jsx)(t.strong,{children:"2"})," and ",(0,i.jsx)(t.strong,{children:"4"})," where it makes little sense to choose it over those two: it's better to choose ",(0,i.jsx)(t.strong,{children:"preset 2"})," for the higher efficiency at 1.5x slower speeds, or ",(0,i.jsx)(t.strong,{children:"preset 4"})," for the 1.33 to 1.5x higher speeds. At least the option exists."]}),"\n",(0,i.jsxs)(t.p,{children:["A similar observation can be made between ",(0,i.jsx)(t.strong,{children:"preset 5"})," and ",(0,i.jsx)(t.strong,{children:"6"}),". They can be so close in scores in many samples (especially at HQ) while also being close in speeds that ",(0,i.jsx)(t.strong,{children:"preset 5"})," becomes rather obsolete most of the time."]}),"\n",(0,i.jsx)(t.h3,{id:"tldr",children:"TLDR"}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.strong,{children:"Clear quality gains can be observed as we decrease presets, until the very last one, however the effectiveness of dropping presets becomes less and less impressive the higher in quality you go."})}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:["For instance, in worst-case scenario, we observe that (for the CRF23 to CRF8 range), ",(0,i.jsx)(t.strong,{children:(0,i.jsx)(t.strong,{children:"preset 4"})})," only loses at maximum ",(0,i.jsx)(t.strong,{children:"2"})," SSIMU2 ",(0,i.jsx)(t.strong,{children:"points"})," compared to ",(0,i.jsx)(t.strong,{children:(0,i.jsx)(t.strong,{children:"preset -1"})})," while being 50-60x faster. Though to be fair, the speed loss from ",(0,i.jsx)(t.strong,{children:(0,i.jsx)(t.strong,{children:"preset 4"})})," to ",(0,i.jsx)(t.strong,{children:(0,i.jsx)(t.strong,{children:"preset 0"})}),' is "only" 5-10x for a maximum SSIMU2 difference close to ',(0,i.jsx)(t.strong,{children:"1.5 point"}),"."]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["\n",(0,i.jsxs)(t.p,{children:["From CRF43 to CRF28, the difference between ",(0,i.jsx)(t.strong,{children:(0,i.jsx)(t.strong,{children:"preset 4"})})," and ",(0,i.jsx)(t.strong,{children:(0,i.jsx)(t.strong,{children:"preset -1"})})," can be as much as ",(0,i.jsx)(t.strong,{children:"5"})," SSIMU2 ",(0,i.jsx)(t.strong,{children:"points"}),", so lower presets become more attractive."]}),"\n"]}),"\n"]}),"\n",(0,i.jsx)(t.h2,{id:"tunes-comparisons",children:"Tunes comparisons"}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsxs)(t.strong,{children:["In the following graphs, you may find comparisons between SVT-AV1 tunes, from the default ",(0,i.jsx)(t.code,{children:"--tune 1"})," (PSNR) to the other two tunes: ",(0,i.jsx)(t.code,{children:"--tune 0"})," (VQ) and ",(0,i.jsx)(t.code,{children:"--tune 2"})," (SSIM)."]})}),"\n",(0,i.jsxs)(t.p,{children:["Except for the tunes, ",(0,i.jsx)(t.code,{children:"--preset 4"})," is set due to its good balance of quality and speed, in conjunction with the CRF values. That means everything else is default. The defaults have been mentioned earlier above."]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:(0,i.jsx)(t.strong,{children:"Let's compare the efficiency of every tunes:"})}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:'Now let\'s focus on the "high quality" range (CRF8 -> 23):'}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency-highq/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency-highq/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency-highq/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency-highq/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency-highq/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:'And the "low quality" range (CRF28 -> 43):'}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency-lowq/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency-lowq/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency-lowq/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency-lowq/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-efficiency-lowq/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"And here is the speed difference:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tunes-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Graphs comparing the tunes individually between each others will be made available soon."}),"\n",(0,i.jsx)(t.li,{children:"The image comparisons will make the conclusion quite more nuanced, stay tuned (heheh) for that."}),"\n"]}),"\n",(0,i.jsx)(t.h3,{id:"tldr-1",children:"TLDR"}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsxs)(t.strong,{children:["SSIMU2 favors ",(0,i.jsx)(t.strong,{children:"tune 1 and 2"})," above ",(0,i.jsx)(t.strong,{children:"tune 0"}),". At high quality, ",(0,i.jsx)(t.strong,{children:"tune 1 and 2"})," are matched, while at low quality ",(0,i.jsx)(t.strong,{children:"tune 2"})," takes the edge. ",(0,i.jsx)(t.strong,{children:"Tune 0"})," is sometimes a match for the other two on certain clips and other times fare pretty badly."]}),"\n",(0,i.jsxs)(t.strong,{children:["For some reason, ",(0,i.jsx)(t.strong,{children:"tune 0"})," is quite a bit faster now, compared to 1 and 2 which are basically the same."]})]}),"\n",(0,i.jsxs)(t.p,{children:["Keep in mind that I have observed multiple times in the past that ",(0,i.jsx)(t.strong,{children:"tune 0"})," kept more fine detail and was sharper than the other tunes, at the expense of potential artifacting, like ringing and distortion. It may very well explain why the metric doesn't like its results. The image comparisons may give a different interpretation than what we concluded here, please stay ",(0,i.jsx)(t.em,{children:"tuned"})," for these subjective comparisons."]}),"\n",(0,i.jsx)(t.h2,{id:"parameters-comparisons",children:"Parameters comparisons"}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"In the following graphs, you may find comparisons between many SVT-AV1 parameters."}),"\n",(0,i.jsx)(t.em,{children:"Additional graphs focusing on the high and low qualities will be made available later down the line"})]}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.code,{children:"--preset 4"})," is used here due to its good balance of quality and speed, in conjunction with the CRF values. That means everything else is default. The defaults have been mentioned earlier above."]}),"\n",(0,i.jsxs)(t.h3,{id:"--tile-rows-1---tile-columns-1-vs-default---tile-rows-0---tile-columns-0",children:[(0,i.jsx)(t.code,{children:"--tile-rows 1 --tile-columns 1"})," vs default ",(0,i.jsx)(t.code,{children:"--tile-rows 0 --tile-columns 0"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tile-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tile-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tile-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tile-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tile-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tile-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tile-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tile-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tile-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tile-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"tiles"})," here are both slightly harmful and slower."]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--aq-mode-0-vs-default---aq-mode-2",children:[(0,i.jsx)(t.code,{children:"--aq-mode 0"})," vs default ",(0,i.jsx)(t.code,{children:"--aq-mode 2"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:["Except for the Jigokuraku clip, ",(0,i.jsx)(t.strong,{children:"aq-mode 0"})," is harmful in the eyes of SSIMU2, while being slower at low CRF levels, and sometimes a match or faster at high CRF levels."]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--aq-mode-1-vs-default---aq-mode-2",children:[(0,i.jsx)(t.code,{children:"--aq-mode 1"})," vs default ",(0,i.jsx)(t.code,{children:"--aq-mode 2"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode1-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode1-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode1-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode1-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode1-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode1-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode1-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode1-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode1-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/aq-mode1-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"aq-mode 1"})," fares closer to ",(0,i.jsx)(t.strong,{children:"aq-mode 2"})," than ",(0,i.jsx)(t.strong,{children:"aq-mode 0"})," did, both in quality and speed, but is still overall inferior according to SSIMU2"]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--enable-cdef-0-vs-default---enable-cdef-1",children:[(0,i.jsx)(t.code,{children:"--enable-cdef 0"})," vs default ",(0,i.jsx)(t.code,{children:"--enable-cdef 1"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/cdef-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/cdef-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/cdef-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/cdef-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/cdef-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/cdef-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/cdef-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/cdef-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/cdef-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/cdef-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:["According to SSIMU2, disabling CDEF barely impact efficiency. But as its a pretty demanding tool, there's a slight speed benefit of having it disabled too. I advise you to take these results with a grain of salt until the image comparisons, because in anime particularly, CDEF ",(0,i.jsx)(t.em,{children:"can"})," be beneficial for the line-art."]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--enable-dg-0-vs-default---enable-dg-1",children:[(0,i.jsx)(t.code,{children:"--enable-dg 0"})," vs default ",(0,i.jsx)(t.code,{children:"--enable-dg 1"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dg-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dg-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dg-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dg-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dg-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dg-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dg-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dg-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dg-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dg-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Dynamic GoP control"})," yields bit-perfect results in all clips except for Blue Lock and Jigokuraku. There is no speed benefit to disabling it except in clips where it is in use. Let's not jump to conclusions too easily, the image comparisons will tell if it's \"safe\" to keep the setting disabled at all times or not."]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--enable-dlf-0-vs-default---enable-dlf-1",children:[(0,i.jsx)(t.code,{children:"--enable-dlf 0"})," vs default ",(0,i.jsx)(t.code,{children:"--enable-dlf 1"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dlf-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dlf-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dlf-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dlf-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dlf-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dlf-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dlf-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dlf-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dlf-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/dlf-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"Deblocking loop filter"})," can be slightly beneficial in some scenarios. In reverse, it is never harmful, so it is recommended to keep it default."]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--fast-decode-1-vs-default---fast-decode-0",children:[(0,i.jsx)(t.code,{children:"--fast-decode 1"})," vs default ",(0,i.jsx)(t.code,{children:"--fast-decode 0"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/fast-decode-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/fast-decode-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/fast-decode-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/fast-decode-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/fast-decode-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/fast-decode-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/fast-decode-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/fast-decode-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/fast-decode-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/fast-decode-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"fast-decode 1"})," is pretty harmful in the Fate clip and slightly harmful in the rest. There is a speed benefit of enabling it though."]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--irefresh-type-1-vs-default---irefresh-type-2",children:[(0,i.jsx)(t.code,{children:"--irefresh-type 1"})," vs default ",(0,i.jsx)(t.code,{children:"--irefresh-type 2"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/irefresh-type1-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/irefresh-type1-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/irefresh-type1-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/irefresh-type1-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/irefresh-type1-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/irefresh-type1-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/irefresh-type1-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/irefresh-type1-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/irefresh-type1-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/irefresh-type1-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsx)(t.p,{children:"Finally something interesting to analyse!"}),"\n"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.strong,{children:"irefresh-type 1"})," is either a match or beneficial compared to ",(0,i.jsx)(t.strong,{children:"irefresh-type 2"})," at high CRF levels."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.strong,{children:"irefresh-type 1"})," either wins or lose to ",(0,i.jsx)(t.strong,{children:"irefresh-type 2"})," at low CRF levels depending on the clip. As such, it is NOT recommended to blindly set ",(0,i.jsx)(t.strong,{children:"irefresh-type"})," to ",(0,i.jsx)(t.strong,{children:"1"}),' at "high quality" as it might be harmful depending on the content.']}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.strong,{children:"irefresh-type 1"})," is always slower compared to ",(0,i.jsx)(t.strong,{children:"irefresh-type 2"}),", so I might argue it is more safe to leave ",(0,i.jsx)(t.strong,{children:"irefresh-type"}),' default at "high quality" than not.']}),"\n",(0,i.jsxs)(t.li,{children:["According to the content type of those clips, it appears that ",(0,i.jsx)(t.strong,{children:"irefresh-type 1"})," may benefit ",(0,i.jsx)(t.em,{children:"extremely grainy"})," content while default ",(0,i.jsx)(t.strong,{children:"irefresh-type 2"})," is better suited for ",(0,i.jsx)(t.em,{children:"cleanish"})," content. This needs to be confirmed with ",(0,i.jsx)(t.em,{children:"moar"})," testing though."]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--lookahead-0-vs-default---lookahead--1-auto",children:[(0,i.jsx)(t.code,{children:"--lookahead 0"})," vs default ",(0,i.jsx)(t.code,{children:"--lookahead -1"})," (auto)"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.h3,{id:"--lookahead-60-vs-default---lookahead--1-auto",children:[(0,i.jsx)(t.code,{children:"--lookahead 60"})," vs default ",(0,i.jsx)(t.code,{children:"--lookahead -1"})," (auto)"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead60-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead60-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead60-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead60-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead60-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead60-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead60-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead60-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead60-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead60-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.h3,{id:"--lookahead-120-max-vs-default---lookahead--1-auto",children:[(0,i.jsx)(t.code,{children:"--lookahead 120"})," (max) vs default ",(0,i.jsx)(t.code,{children:"--lookahead -1"})," (auto)"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead120-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead120-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead120-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead120-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead120-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead120-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead120-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead120-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead120-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/lookahead120-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"lookahead"})," seems to behave strangely when set..."]}),"\n"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.strong,{children:"lookahead 0"})," shifts quality around a lot and it is difficult to draw conclusions but there's a clear speed drawback of disabling lookahead."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.strong,{children:"lookahead 60"})," is perfectly bit-perfect to every clips EXCEPT for some damn reason in Jigokuraku at CRF23"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.strong,{children:"lookahead 120"})," is somehow also bit-perfect, but this time in every clips and every CRF levels. Both 60 and 120 don't see much speed differences."]}),"\n"]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsx)(t.p,{children:"Soooo.... this behavior is so odd I don't advise to set any lookahead value. Let the encoder decide."}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--enable-overlays-1-vs-default---enable-overlays-0",children:[(0,i.jsx)(t.code,{children:"--enable-overlays 1"})," vs default ",(0,i.jsx)(t.code,{children:"--enable-overlays 0"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/overlays-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/overlays-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/overlays-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/overlays-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/overlays-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/overlays-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/overlays-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/overlays-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/overlays-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/overlays-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.strong,{children:"overlays"})," do not seem to either improve efficiency or performance."]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--enable-qm-1-vs-default---enable-qm-0",children:[(0,i.jsx)(t.code,{children:"--enable-qm 1"})," vs default ",(0,i.jsx)(t.code,{children:"--enable-qm 0"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:["Enabling ",(0,i.jsx)(t.strong,{children:"quantization matrices"}),' alone increase efficiency at "high quality" with no real speed impact.']}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--enable-qm-1---qm-min-0-vs---enable-qm-1",children:[(0,i.jsx)(t.code,{children:"--enable-qm 1 --qm-min 0"})," vs ",(0,i.jsx)(t.code,{children:"--enable-qm 1"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-min-efficiency/SVT4_qm1_blame.webp",alt:"SVT4_qm1_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-min-efficiency/SVT4_qm1_bluelock.webp",alt:"SVT4_qm1_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-min-efficiency/SVT4_qm1_fate.webp",alt:"SVT4_qm1_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-min-efficiency/SVT4_qm1_jigokuraku.webp",alt:"SVT4_qm1_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-min-efficiency/SVT4_qm1_kaguya.webp",alt:"SVT4_qm1_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-min-speed/SVT4_qm1_blame.webp",alt:"SVT4_qm1_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-min-speed/SVT4_qm1_bluelock.webp",alt:"SVT4_qm1_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-min-speed/SVT4_qm1_fate.webp",alt:"SVT4_qm1_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-min-speed/SVT4_qm1_jigokuraku.webp",alt:"SVT4_qm1_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/qm-min-speed/SVT4_qm1_kaguya.webp",alt:"SVT4_qm1_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:["Setting ",(0,i.jsx)(t.strong,{children:"qm-min"})," to ",(0,i.jsx)(t.strong,{children:"0"})," on top of enabling ",(0,i.jsx)(t.strong,{children:"quantization matrices"})," can be beneficial in some clips at no added compute time."]}),"\n"]}),"\n",(0,i.jsx)(t.p,{children:"I will re-tests many QMs ranges in the future, but I doubt it changed much from v1.7.0 where 0 was the most appropriate choice for most content."}),"\n",(0,i.jsxs)(t.h3,{id:"--enable-restoration-0-vs-default---enable-restoration-1",children:[(0,i.jsx)(t.code,{children:"--enable-restoration 0"})," vs default ",(0,i.jsx)(t.code,{children:"--enable-restoration 1"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/restoration-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/restoration-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/restoration-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/restoration-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/restoration-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/restoration-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/restoration-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/restoration-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/restoration-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/restoration-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:["Even though the efficiencies are very similar, nothing is bit-perfect here. So according to SSIMU2, the ",(0,i.jsx)(t.strong,{children:"loop restoration filter"})," isn't necessarily useful. However, just like CDEF, it's a pretty demanding tool, so disabling it yields some performance improvements. Let's take these with a grain of salt until the image comparisons."]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--scm-0-vs-default---scm-2-content-adaptive",children:[(0,i.jsx)(t.code,{children:"--scm 0"})," vs default ",(0,i.jsx)(t.code,{children:"--scm 2"})," (content adaptive)"]}),"\n",(0,i.jsx)(t.p,{children:"In all the clips, the results are bit-perfect and there is no notable performance difference."}),"\n",(0,i.jsxs)(t.h3,{id:"--scm-1-vs-default---scm-2-content-adaptive",children:[(0,i.jsx)(t.code,{children:"--scm 1"})," vs default ",(0,i.jsx)(t.code,{children:"--scm 2"})," (content adaptive)"]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/scm1-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/scm1-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/scm1-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/scm1-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/scm1-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/scm1-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/scm1-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/scm1-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/scm1-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/scm1-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:["Interestingly enough, ",(0,i.jsx)(t.strong,{children:"screen content tools"})," seem to improve efficiency according to SSIMU2, at the cost of a huge performance regression. After the image comparisons are published, I will conduct additional testing on this."]}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--enable-tf-0-vs-default---enable-tf-1",children:[(0,i.jsx)(t.code,{children:"--enable-tf 0"})," vs default ",(0,i.jsx)(t.code,{children:"--enable-tf 1"})]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Efficiency graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tf-efficiency/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tf-efficiency/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tf-efficiency/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tf-efficiency/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tf-efficiency/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Speed graphs:"}),"\n"]}),"\n",(0,i.jsx)(n.Ck,{imageData:[{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tf-speed/SVT4_blame.webp",alt:"SVT4_blame"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tf-speed/SVT4_bluelock.webp",alt:"SVT4_bluelock"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tf-speed/SVT4_fate.webp",alt:"SVT4_fate"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tf-speed/SVT4_jigokuraku.webp",alt:"SVT4_jigokuraku"},{src:"https://raw.githubusercontent.com/av1-community-contributors/images/main/svt-trix-blogpost/tf-speed/SVT4_kaguya.webp",alt:"SVT4_kaguya"}]}),"\n",(0,i.jsxs)(t.blockquote,{children:["\n",(0,i.jsxs)(t.p,{children:["Disabled ",(0,i.jsx)(t.strong,{children:"temporal filtering"})," ",(0,i.jsx)(t.em,{children:"can"}),' sometimes improve efficiency slightly at "high quality", however it is very much clip dependent. It also improves performance slightly. The image comparisons will give another perspective to these results.']}),"\n"]}),"\n",(0,i.jsxs)(t.h3,{id:"--enable-tpl-la-0-vs-default---enable-tpl-la-1",children:[(0,i.jsx)(t.code,{children:"--enable-tpl-la 0"})," vs default ",(0,i.jsx)(t.code,{children:"--enable-tpl-la 1"})]}),"\n",(0,i.jsx)(t.p,{children:"In all the clips, the results are bit-perfect and there is no notable performance difference."}),"\n",(0,i.jsxs)(t.h3,{id:"superres",children:[(0,i.jsx)(t.code,{children:"superres"}),":"]}),"\n",(0,i.jsx)(t.p,{children:"Kinda lazy to make, share and comment so much graphs for something that can be told in two lines..."}),"\n",(0,i.jsx)(t.p,{children:"All superres variants are freaking useless as they:"}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"do not improve efficiency"}),"\n",(0,i.jsx)(t.li,{children:"decrease encoding speeds"}),"\n",(0,i.jsx)(t.li,{children:"decrease decoding speeds when either bitrate or quality normalized."}),"\n"]}),"\n",(0,i.jsx)(t.h3,{id:"early-tldr-on-parameters-results",children:(0,i.jsx)(t.strong,{children:"Early TLDR on parameters results:"})}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.em,{children:(0,i.jsxs)(t.strong,{children:["For a previous test with SVT-AV1 1.7.0 I did all parameters tests with ",(0,i.jsx)(t.code,{children:"--preset 6 --tune 2"}),", now I did them with ",(0,i.jsx)(t.code,{children:"--preset 4 --tune 1"}),". Mostly everything tested on v1.7.0 still stands today, but now we have more valuable data. Images comparisons are still needed to give more context to some results, so the conclusion presented here remains early as they are 100% based on SSIMU2 results and will require more analysis down the line."]})})}),"\n",(0,i.jsx)(t.p,{children:(0,i.jsx)(t.strong,{children:"Here is a quick run down of how each parameter affect encoding:"})}),"\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--tile-rows --tile-columns"})," should never be used (except for decreasing decode complexity)"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--aq-mode 2"})," is the most efficient / fastest"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--enable-cdef 0"})," ",(0,i.jsx)(t.em,{children:"might"})," improve performance at almost no efficiency loss ",(0,i.jsx)(t.em,{children:"(needs more thorough testing)"})]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--enable-dg"})," and ",(0,i.jsx)(t.code,{children:"--enable-dlf"})," barely do anything"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--fast-decode 1"})," decreases efficiency, improves encoding times, and the decoding gains still need to be determined."]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--irefresh-type"})," should be kept default at high CRF values and for cleanish content at low CRF values, but can be set to 1 at low CRF values for extremely grainy content"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--lookahead"})," should be kept default"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--enable-overlays 1"})," does not improve efficiency, slight speed regression as well"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--enable-qm 1 --qm-min 0"})," should be set for increased efficiency especially at low CRF values at no perf cost"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--enable-restoration"})," barely does anything but disabling yields better performance ",(0,i.jsx)(t.em,{children:"(needs visual confirmation)"})]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--scm 1"})," screen content tools can improve efficiency with a big performance trade-off ",(0,i.jsx)(t.em,{children:"(needs more thorough testing)"})]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"--enable-tf 0"})," is a mixed bag efficiency wise but improves performance"]}),"\n",(0,i.jsxs)(t.li,{children:[(0,i.jsx)(t.code,{children:"superres & resize"})," please don't."]}),"\n"]}),"\n",(0,i.jsx)(t.h2,{id:"conclusion",children:"Conclusion"}),"\n",(0,i.jsx)(t.p,{children:"The extensive benchmarking reveals that obviously the slower presets provide better efficiency, with diminishing returns past preset 2. However, preset 4 provides a good balance of quality and speed for most use cases. Presets 6 and 8 are good options for the people that find 4 to be too slow for their liking."}),"\n",(0,i.jsx)(t.p,{children:"The default settings tend to provide good results, but some tweaks like enabling quantization matrices can further optimize efficiency. Parameters like tile encoding and super resolution modes are not beneficial. Overall, SVT-AV1 continues to be a competitive option for encoding animation in AV1, with its speed being a notable strength."}),"\n",(0,i.jsx)(t.p,{children:"Further testing with more content samples would help solidify these findings. The image comparisons will also provide additional subjective evaluation to complement the objective metrics used here, and we can discover the potential usefulness of Tune 0 that may betray what the metrics suggest. Overall, this comprehensive deep dive should give encoders a helpful starting point for choosing settings when encoding animation with the latest SVT-AV1 1.8.0. Thanks for reading!"}),"\n"]})}function h(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(m,{...e})}):m(e)}}}]); \ No newline at end of file diff --git a/assets/js/7225.b0787900.js b/assets/js/7225.b0787900.js deleted file mode 100644 index 8dd90039..00000000 --- a/assets/js/7225.b0787900.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 7225.b0787900.js.LICENSE.txt */ -(self.webpackChunkcodec_wiki=self.webpackChunkcodec_wiki||[]).push([[7225],{2200:(e,t,n)=>{"use strict";n.d(t,{z1:()=>S,cM:()=>b});var r=n(2456),o=n(6250),i=2,a=.16,c=.05,l=.05,s=.15,u=5,d=4,f=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function p(e){var t=e.r,n=e.g,o=e.b,i=(0,r.wE)(t,n,o);return{h:360*i.h,s:i.s,v:i.v}}function v(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.Ob)(t,n,o,!1))}function m(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-i*t:Math.round(e.h)+i*t:n?Math.round(e.h)+i*t:Math.round(e.h)-i*t)<0?r+=360:r>=360&&(r-=360),r}function h(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-a*t:t===d?e.s+a:e.s+c*t)>1&&(r=1),n&&t===u&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function g(e,t,n){var r;return(r=n?e.v+l*t:e.v-s*t)>1&&(r=1),Number(r.toFixed(2))}function b(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.RO)(e),i=u;i>0;i-=1){var a=p(r),c=v((0,o.RO)({h:m(a,i,!0),s:h(a,i,!0),v:g(a,i,!0)}));n.push(c)}n.push(v(r));for(var l=1;l<=d;l+=1){var s=p(r),b=v((0,o.RO)({h:m(s,l),s:h(s,l),v:g(s,l)}));n.push(b)}return"dark"===t.theme?f.map((function(e){var r,i,a,c=e.index,l=e.opacity;return v((r=(0,o.RO)(t.backgroundColor||"#141414"),i=(0,o.RO)(n[c]),a=100*l/100,{r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b}))})):n}var y={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},A={},w={};Object.keys(y).forEach((function(e){A[e]=b(y[e]),A[e].primary=A[e][5],w[e]=b(y[e],{theme:"dark",backgroundColor:"#141414"}),w[e].primary=w[e][5]}));A.red,A.volcano,A.gold,A.orange,A.yellow,A.lime,A.green,A.cyan;var S=A.blue;A.geekblue,A.purple,A.magenta,A.grey,A.grey},1466:(e,t,n)=>{"use strict";n.d(t,{Mo:()=>ct,an:()=>$,lO:()=>Z,Ki:()=>_,zA:()=>L,RC:()=>it,hV:()=>ee,IV:()=>rt});var r=n(4467),o=n(641),i=n(8339),a=n(9379);const c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)};var l=n(5089),s=n(6540),u=n.t(s,2),d=(n(8104),n(3210),n(3029)),f=n(2901),p="%";function v(e){return e.join(p)}const m=function(){function e(t){(0,d.A)(this,e),(0,r.A)(this,"instanceId",void 0),(0,r.A)(this,"cache",new Map),this.instanceId=t}return(0,f.A)(e,[{key:"get",value:function(e){return this.opGet(v(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(v(e),t)}},{key:"opUpdate",value:function(e,t){var n=t(this.cache.get(e));null===n?this.cache.delete(e):this.cache.set(e,n)}}]),e}();var h="data-token-hash",g="data-css-hash",b="__cssinjs_instance__";function y(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(g,"]"))||[],n=document.head.firstChild;Array.from(t).forEach((function(t){t[b]=t[b]||e,t[b]===e&&document.head.insertBefore(t,n)}));var r={};Array.from(document.querySelectorAll("style[".concat(g,"]"))).forEach((function(t){var n,o=t.getAttribute(g);r[o]?t[b]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):r[o]=!0}))}return new m(e)}var A=s.createContext({hashPriority:"low",cache:y(),defaultCache:!0});const w=A;var S=n(2284),x=n(998);var C=function(){function e(){(0,d.A)(this,e),(0,r.A)(this,"cache",void 0),(0,r.A)(this,"keys",void 0),(0,r.A)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,f.A)(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach((function(e){var t;o?o=null===(t=o)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e):o=void 0})),null!==(t=o)&&void 0!==t&&t.value&&r&&(o.value[1]=this.cacheCallTimes++),null===(n=o)||void 0===n?void 0:n.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce((function(e,t){var n=(0,o.A)(e,2)[1];return r.internalGet(t)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),E+=1}return(0,f.A)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce((function(t,n){return n(e,t)}),void 0)}}]),e}(),O=new C;function $(e){var t=Array.isArray(e)?e:[e];return O.has(t)||O.set(t,new M(t)),O.get(t)}var T=new WeakMap,R={};var P=new WeakMap;function z(e){var t=P.get(e)||"";return t||(Object.keys(e).forEach((function(n){var r=e[n];t+=n,r instanceof M?t+=r.id:r&&"object"===(0,S.A)(r)?t+=z(r):t+=r})),P.set(e,t)),t}function I(e,t){return c("".concat(t,"_").concat(z(e)))}"random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,"");var N=(0,x.A)();function L(e){return"number"==typeof e?"".concat(e,"px"):e}function j(e,t,n){var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(arguments.length>4&&void 0!==arguments[4]&&arguments[4])return e;var c=(0,a.A)((0,a.A)({},i),{},(o={},(0,r.A)(o,h,t),(0,r.A)(o,g,n),o)),l=Object.keys(c).map((function(e){var t=c[e];return t?"".concat(e,'="').concat(t,'"'):null})).filter((function(e){return e})).join(" ");return"")}var _=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},H=function(e,t,n){return Object.keys(e).length?".".concat(t).concat(null!=n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map((function(e){var t=(0,o.A)(e,2),n=t[0],r=t[1];return"".concat(n,":").concat(r,";")})).join(""),"}"):""},D=function(e,t,n){var r={},i={};return Object.entries(e).forEach((function(e){var t,a,c=(0,o.A)(e,2),l=c[0],s=c[1];if(null!=n&&null!==(t=n.preserve)&&void 0!==t&&t[l])i[l]=s;else if(!("string"!=typeof s&&"number"!=typeof s||null!=n&&null!==(a=n.ignore)&&void 0!==a&&a[l])){var u,d=_(l,null==n?void 0:n.prefix);r[d]="number"!=typeof s||null!=n&&null!==(u=n.unitless)&&void 0!==u&&u[l]?String(s):"".concat(s,"px"),i[l]="var(".concat(d,")")}})),[i,H(r,t,{scope:null==n?void 0:n.scope})]},B=n(981),W=(0,a.A)({},u).useInsertionEffect;const F=W?function(e,t,n){return W((function(){return e(),t()}),n)}:function(e,t,n){s.useMemo(e,n),(0,B.A)((function(){return t(!0)}),n)};const X=void 0!==(0,a.A)({},u).useInsertionEffect?function(e){var t=[],n=!1;return s.useEffect((function(){return n=!1,function(){n=!0,t.length&&t.forEach((function(e){return e()}))}}),e),function(e){n||t.push(e)}}:function(){return function(e){e()}};const K=function(){return!1};function G(e,t,n,r,a){var c=s.useContext(w).cache,l=v([e].concat((0,i.A)(t))),u=X([l]),d=(K(),function(e){c.opUpdate(l,(function(t){var r=t||[void 0,void 0],i=(0,o.A)(r,2),a=i[0];var c=[void 0===a?0:a,i[1]||n()];return e?e(c):c}))});s.useMemo((function(){d()}),[l]);var f=c.opGet(l)[1];return F((function(){null==a||a(f)}),(function(e){return d((function(t){var n=(0,o.A)(t,2),r=n[0],i=n[1];return e&&0===r&&(null==a||a(f)),[r+1,i]})),function(){c.opUpdate(l,(function(t){var n=t||[],i=(0,o.A)(n,2),a=i[0],s=void 0===a?0:a,d=i[1];return 0===s-1?(u((function(){!e&&c.opGet(l)||null==r||r(d,!1)})),null):[s-1,d]}))}}),[l]),f}var q={},Y="css",V=new Map;var U=0;function Q(e,t){V.set(e,(V.get(e)||0)-1);var n=Array.from(V.keys()),r=n.filter((function(e){return(V.get(e)||0)<=0}));n.length-r.length>U&&r.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(h,'="').concat(e,'"]')).forEach((function(e){var n;e[b]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),V.delete(e)}))}var Z=function(e,t,n,r){var o=n.getDerivativeToken(e),i=(0,a.A)((0,a.A)({},o),t);return r&&(i=r(i)),i},J="token";function ee(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,s.useContext)(w),u=r.cache.instanceId,d=r.container,f=n.salt,p=void 0===f?"":f,v=n.override,m=void 0===v?q:v,y=n.formatToken,A=n.getComputedToken,S=n.cssVar,x=function(e,t){for(var n=T,r=0;r0?ve(ke,--xe):0,we--,10===Ce&&(we=1,Ae--),Ce}function Oe(){return Ce=xe2||Pe(Ce)>3?"":" "}function je(e,t){for(;--t&&Oe()&&!(Ce<48||Ce>102||Ce>57&&Ce<65||Ce>70&&Ce<97););return Re(e,Te()+(t<6&&32==$e()&&32==Oe()))}function _e(e){for(;Oe();)switch(Ce){case e:return xe;case 34:case 39:34!==e&&39!==e&&_e(Ce);break;case 40:41===e&&_e(e);break;case 92:Oe()}return xe}function He(e,t){for(;Oe()&&e+Ce!==57&&(e+Ce!==84||47!==$e()););return"/*"+Re(t,xe-1)+"*"+ue(47===e?e:Oe())}function De(e){for(;!Pe($e());)Oe();return Re(e,xe)}function Be(e){return Ie(We("",null,null,null,[""],e=ze(e),0,[0],e))}function We(e,t,n,r,o,i,a,c,l){for(var s=0,u=0,d=a,f=0,p=0,v=0,m=1,h=1,g=1,b=0,y="",A=o,w=i,S=r,x=y;h;)switch(v=b,b=Oe()){case 40:if(108!=v&&58==ve(x,d-1)){-1!=pe(x+=fe(Ne(b),"&","&\f"),"&\f",se(s?c[s-1]:0))&&(g=-1);break}case 34:case 39:case 91:x+=Ne(b);break;case 9:case 10:case 13:case 32:x+=Le(v);break;case 92:x+=je(Te()-1,7);continue;case 47:switch($e()){case 42:case 47:ge(Xe(He(Oe(),Te()),t,n,l),l);break;default:x+="/"}break;case 123*m:c[s++]=he(x)*g;case 125*m:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+u:-1==g&&(x=fe(x,/\f/g,"")),p>0&&he(x)-d&&ge(p>32?Ke(x+";",r,n,d-1,l):Ke(fe(x," ","")+";",r,n,d-2,l),l);break;case 59:x+=";";default:if(ge(S=Fe(x,t,n,s,u,o,c,y,A=[],w=[],d,i),i),123===b)if(0===u)We(x,t,S,S,A,i,d,c,w);else switch(99===f&&110===ve(x,3)?100:f){case 100:case 108:case 109:case 115:We(e,S,S,r&&ge(Fe(e,S,S,0,0,o,c,y,o,A=[],d,w),w),o,w,d,c,r?A:w);break;default:We(x,S,S,S,[""],w,0,c,w)}}s=u=p=0,m=g=1,y=x="",d=a;break;case 58:d=1+he(x),p=v;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==Me())continue;switch(x+=ue(b),b*m){case 38:g=u>0?1:(x+="\f",-1);break;case 44:c[s++]=(he(x)-1)*g,g=1;break;case 64:45===$e()&&(x+=Ne(Oe())),f=$e(),u=d=he(y=x+=De(Te())),b++;break;case 45:45===v&&2==he(x)&&(m=0)}}return i}function Fe(e,t,n,r,o,i,a,c,l,s,u,d){for(var f=o-1,p=0===o?i:[""],v=function(e){return e.length}(p),m=0,h=0,g=0;m0?p[b]+" "+y:fe(y,/&\f/g,p[b])))&&(l[g++]=A);return Ee(e,t,n,0===o?oe:c,l,s,u,d)}function Xe(e,t,n,r){return Ee(e,t,n,re,ue(Ce),me(e,2,-2),0,r)}function Ke(e,t,n,r,o){return Ee(e,t,n,ie,me(e,0,r),me(e,r+1,-1),r,o)}var Ge,qe="data-ant-cssinjs-cache-path",Ye="_FILE_STYLE__";var Ve=!0;function Ue(e){return function(){if(!Ge&&(Ge={},(0,x.A)())){var e=document.createElement("div");e.className=qe,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";(t=t.replace(/^"/,"").replace(/"$/,"")).split(";").forEach((function(e){var t=e.split(":"),n=(0,o.A)(t,2),r=n[0],i=n[1];Ge[r]=i}));var n,r=document.querySelector("style[".concat(qe,"]"));r&&(Ve=!1,null===(n=r.parentNode)||void 0===n||n.removeChild(r)),document.body.removeChild(e)}}(),!!Ge[e]}var Qe="_multi_value_";function Ze(e){return be(Be(e),ye).replace(/\{%%%\:[^;];}/g,";")}var Je=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},c=r.root,l=r.injectHash,s=r.parentSelectors,u=n.hashId,d=n.layer,f=(n.path,n.hashPriority),p=n.transformers,v=void 0===p?[]:p,m=(n.linters,""),h={};function g(t){var r=t.getName(u);if(!h[r]){var i=e(t.style,n,{root:!1,parentSelectors:s}),a=(0,o.A)(i,1)[0];h[r]="@keyframes ".concat(t.getName(u)).concat(a)}}var b=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach((function(t){Array.isArray(t)?e(t,n):t&&n.push(t)})),n}(Array.isArray(t)?t:[t]);return b.forEach((function(t){var r="string"!=typeof t||c?t:{};if("string"==typeof r)m+="".concat(r,"\n");else if(r._keyframe)g(r);else{var d=v.reduce((function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e}),r);Object.keys(d).forEach((function(t){var r=d[t];if("object"!==(0,S.A)(r)||!r||"animationName"===t&&r._keyframe||function(e){return"object"===(0,S.A)(e)&&e&&("_skip_check_"in e||Qe in e)}(r)){var p;function E(e,t){var n=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),r=t;ne[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(g(t),r=t.getName(u)),m+="".concat(n,":").concat(r,";")}var v=null!==(p=null==r?void 0:r.value)&&void 0!==p?p:r;"object"===(0,S.A)(r)&&null!=r&&r[Qe]&&Array.isArray(v)?v.forEach((function(e){E(t,e)})):E(t,v)}else{var b=!1,y=t.trim(),A=!1;(c||l)&&u?y.startsWith("@")?b=!0:y=function(e,t,n){if(!t)return e;var r=".".concat(t),o="low"===n?":where(".concat(r,")"):r;return e.split(",").map((function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",a=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(a).concat(o).concat(r.slice(a.length))].concat((0,i.A)(n.slice(1))).join(" ")})).join(",")}(t,u,f):!c||u||"&"!==y&&""!==y||(y="",A=!0);var w=e(r,n,{root:A,injectHash:b,parentSelectors:[].concat((0,i.A)(s),[y])}),x=(0,o.A)(w,2),C=x[0],k=x[1];h=(0,a.A)((0,a.A)({},h),k),m+="".concat(y).concat(C)}}))}})),c?d&&(m="@layer ".concat(d.name," {").concat(m,"}"),d.dependencies&&(h["@layer ".concat(d.name)]=d.dependencies.map((function(e){return"@layer ".concat(e,", ").concat(d.name,";")})).join("\n"))):m="{".concat(m,"}"),[m,h]};function et(e,t){return c("".concat(e.join("%")).concat(t))}function tt(){return null}var nt="style";function rt(e,t){var n=e.token,c=e.path,u=e.hashId,d=e.layer,f=e.nonce,p=e.clientOnly,v=e.order,m=void 0===v?0:v,y=s.useContext(w),A=y.autoClear,S=(y.mock,y.defaultCache),C=y.hashPriority,k=y.container,E=y.ssrInline,M=y.transformers,O=y.linters,$=y.cache,T=y.layer,R=n._tokenKey,P=[R];T&&P.push("layer"),P.push.apply(P,(0,i.A)(c));var z=N;var I=G(nt,P,(function(){var e=P.join("|");if(Ue(e)){var n=function(e){var t=Ge[e],n=null;if(t&&(0,x.A)())if(Ve)n=Ye;else{var r=document.querySelector("style[".concat(g,'="').concat(Ge[e],'"]'));r?n=r.innerHTML:delete Ge[e]}return[n,t]}(e),r=(0,o.A)(n,2),i=r[0],a=r[1];if(i)return[i,R,a,{},p,m]}var l=t(),s=Je(l,{hashId:u,hashPriority:C,layer:T?d:void 0,path:c.join("-"),transformers:M,linters:O}),f=(0,o.A)(s,2),v=f[0],h=f[1],b=Ze(v),y=et(P,b);return[b,R,y,h,p,m]}),(function(e,t){var n=(0,o.A)(e,3)[2];(t||A)&&N&&(0,l.m6)(n,{mark:g})}),(function(e){var t=(0,o.A)(e,4),n=t[0],r=(t[1],t[2]),i=t[3];if(z&&n!==Ye){var c={mark:g,prepend:!T&&"queue",attachTo:k,priority:m},s="function"==typeof f?f():f;s&&(c.csp={nonce:s});var u=[],d=[];Object.keys(i).forEach((function(e){e.startsWith("@layer")?u.push(e):d.push(e)})),u.forEach((function(e){(0,l.BD)(Ze(i[e]),"_layer-".concat(e),(0,a.A)((0,a.A)({},c),{},{prepend:!0}))}));var p=(0,l.BD)(n,r,c);p[b]=$.instanceId,p.setAttribute(h,R),d.forEach((function(e){(0,l.BD)(Ze(i[e]),"_effect-".concat(e),c)}))}})),L=(0,o.A)(I,3),j=L[0],_=L[1],H=L[2];return function(e){var t,n;E&&!z&&S?t=s.createElement("style",(0,te.A)({},(n={},(0,r.A)(n,h,_),(0,r.A)(n,g,H),n),{dangerouslySetInnerHTML:{__html:j}})):t=s.createElement(tt,null);return s.createElement(s.Fragment,null,t,e)}}var ot="cssVar";const it=function(e,t){var n=e.key,r=e.prefix,a=e.unitless,c=e.ignore,u=e.token,d=e.scope,f=void 0===d?"":d,p=(0,s.useContext)(w),v=p.cache.instanceId,m=p.container,y=u._tokenKey,A=[].concat((0,i.A)(e.path),[n,f,y]);return G(ot,A,(function(){var e=t(),i=D(e,n,{prefix:r,unitless:a,ignore:c,scope:f}),l=(0,o.A)(i,2),s=l[0],u=l[1];return[s,u,et(A,u),n]}),(function(e){var t=(0,o.A)(e,3)[2];N&&(0,l.m6)(t,{mark:g})}),(function(e){var t=(0,o.A)(e,3),r=t[1],i=t[2];if(r){var a=(0,l.BD)(r,i,{mark:g,prepend:"queue",attachTo:m,priority:-999});a[b]=v,a.setAttribute(h,n)}}))};var at;at={},(0,r.A)(at,nt,(function(e,t,n){var r=(0,o.A)(e,6),i=r[0],a=r[1],c=r[2],l=r[3],s=r[4],u=r[5],d=(n||{}).plain;if(s)return null;var f=i,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return f=j(i,a,c,p,d),l&&Object.keys(l).forEach((function(e){if(!t[e]){t[e]=!0;var n=j(Ze(l[e]),a,"_effect-".concat(e),p,d);e.startsWith("@layer")?f=n+f:f+=n}})),[u,c,f]})),(0,r.A)(at,J,(function(e,t,n){var r=(0,o.A)(e,5),i=r[2],a=r[3],c=r[4],l=(n||{}).plain;if(!a)return null;var s=i._tokenKey;return[-999,s,j(a,c,s,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l)]})),(0,r.A)(at,ot,(function(e,t,n){var r=(0,o.A)(e,4),i=r[1],a=r[2],c=r[3],l=(n||{}).plain;if(!i)return null;return[-999,a,j(i,c,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l)]}));const ct=function(){function e(t,n){(0,d.A)(this,e),(0,r.A)(this,"name",void 0),(0,r.A)(this,"style",void 0),(0,r.A)(this,"_keyframe",!0),this.name=t,this.style=n}return(0,f.A)(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}();function lt(e){return e.notSplit=!0,e}lt(["borderTop","borderBottom"]),lt(["borderTop"]),lt(["borderBottom"]),lt(["borderLeft","borderRight"]),lt(["borderLeft"]),lt(["borderRight"])},6653:(e,t,n)=>{"use strict";n.d(t,{A:()=>$});var r=n(8168),o=n(641),i=n(4467),a=n(45),c=n(6540),l=n(6942),s=n.n(l),u=n(2200),d=n(1053),f=n(9379),p=n(2284),v=n(5089),m=n(2633),h=n(8210);function g(e){return"object"===(0,p.A)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,p.A)(e.icon)||"function"==typeof e.icon)}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r,o=e[n];if("class"===n)t.className=o,delete t.class;else delete t[n],t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=o;return t}),{})}function y(e,t,n){return n?c.createElement(e.tag,(0,f.A)((0,f.A)({key:t},b(e.attrs)),n),(e.children||[]).map((function(n,r){return y(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):c.createElement(e.tag,(0,f.A)({key:t},b(e.attrs)),(e.children||[]).map((function(n,r){return y(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function A(e){return(0,u.cM)(e)[0]}function w(e){return e?Array.isArray(e)?e:[e]:[]}var S=["icon","className","onClick","style","primaryColor","secondaryColor"],x={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var C=function(e){var t,n,r,o,i,l,s,u=e.icon,p=e.className,b=e.onClick,w=e.style,C=e.primaryColor,k=e.secondaryColor,E=(0,a.A)(e,S),M=c.useRef(),O=x;if(C&&(O={primaryColor:C,secondaryColor:k||A(C)}),t=M,n=(0,c.useContext)(d.A),r=n.csp,o=n.prefixCls,i="\n.anticon {\n display: inline-flex;\n alignItems: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",o&&(i=i.replace(/anticon/g,o)),(0,c.useEffect)((function(){var e=t.current,n=(0,m.j)(e);(0,v.BD)(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:n})}),[]),l=g(u),s="icon should be icon definiton, but got ".concat(u),(0,h.Ay)(l,"[@ant-design/icons] ".concat(s)),!g(u))return null;var $=u;return $&&"function"==typeof $.icon&&($=(0,f.A)((0,f.A)({},$),{},{icon:$.icon(O.primaryColor,O.secondaryColor)})),y($.icon,"svg-".concat($.name),(0,f.A)((0,f.A)({className:p,onClick:b,style:w,"data-icon":$.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},E),{},{ref:M}))};C.displayName="IconReact",C.getTwoToneColors=function(){return(0,f.A)({},x)},C.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;x.primaryColor=t,x.secondaryColor=n||A(t),x.calculated=!!n};const k=C;function E(e){var t=w(e),n=(0,o.A)(t,2),r=n[0],i=n[1];return k.setTwoToneColors({primaryColor:r,secondaryColor:i})}var M=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];E(u.z1.primary);var O=c.forwardRef((function(e,t){var n=e.className,l=e.icon,u=e.spin,f=e.rotate,p=e.tabIndex,v=e.onClick,m=e.twoToneColor,h=(0,a.A)(e,M),g=c.useContext(d.A),b=g.prefixCls,y=void 0===b?"anticon":b,A=g.rootClassName,S=s()(A,y,(0,i.A)((0,i.A)({},"".concat(y,"-").concat(l.name),!!l.name),"".concat(y,"-spin"),!!u||"loading"===l.name),n),x=p;void 0===x&&v&&(x=-1);var C=f?{msTransform:"rotate(".concat(f,"deg)"),transform:"rotate(".concat(f,"deg)")}:void 0,E=w(m),O=(0,o.A)(E,2),$=O[0],T=O[1];return c.createElement("span",(0,r.A)({role:"img","aria-label":l.name},h,{ref:t,tabIndex:x,onClick:v,className:S}),c.createElement(k,{icon:l,primaryColor:$,secondaryColor:T,style:C}))}));O.displayName="AntdIcon",O.getTwoToneColor=function(){var e=k.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},O.setTwoToneColor=E;const $=O},1053:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(6540).createContext)({})},6467:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(8168),o=n(6540);const i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};var a=n(6653),c=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(c)},2456:(e,t,n)=>{"use strict";n.d(t,{H:()=>d,K6:()=>i,Me:()=>s,Ob:()=>u,YL:()=>c,_:()=>o,g8:()=>v,n6:()=>p,oS:()=>m,wE:()=>l});var r=n(9244);function o(e,t,n){return{r:255*(0,r.Cg)(e,255),g:255*(0,r.Cg)(t,255),b:255*(0,r.Cg)(n,255)}}function i(e,t,n){e=(0,r.Cg)(e,255),t=(0,r.Cg)(t,255),n=(0,r.Cg)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,c=0,l=(o+i)/2;if(o===i)c=0,a=0;else{var s=o-i;switch(c=l>.5?s/(2-o-i):s/(o+i),o){case e:a=(t-n)/s+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function c(e,t,n){var o,i,c;if(e=(0,r.Cg)(e,360),t=(0,r.Cg)(t,100),n=(0,r.Cg)(n,100),0===t)i=n,c=n,o=n;else{var l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;o=a(s,l,e+1/3),i=a(s,l,e),c=a(s,l,e-1/3)}return{r:255*o,g:255*i,b:255*c}}function l(e,t,n){e=(0,r.Cg)(e,255),t=(0,r.Cg)(t,255),n=(0,r.Cg)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,c=o,l=o-i,s=0===o?0:l/o;if(o===i)a=0;else{switch(o){case e:a=(t-n)/l+(t>16,g:(65280&e)>>8,b:255&e}}},2434:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},6250:(e,t,n)=>{"use strict";n.d(t,{RO:()=>a});var r=n(2456),o=n(2434),i=n(9244);function a(e){var t={r:0,g:0,b:0},n=1,a=null,c=null,l=null,s=!1,f=!1;return"string"==typeof e&&(e=function(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;var t=!1;if(o.D[e])e=o.D[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=u.rgb.exec(e);if(n)return{r:n[1],g:n[2],b:n[3]};if(n=u.rgba.exec(e),n)return{r:n[1],g:n[2],b:n[3],a:n[4]};if(n=u.hsl.exec(e),n)return{h:n[1],s:n[2],l:n[3]};if(n=u.hsla.exec(e),n)return{h:n[1],s:n[2],l:n[3],a:n[4]};if(n=u.hsv.exec(e),n)return{h:n[1],s:n[2],v:n[3]};if(n=u.hsva.exec(e),n)return{h:n[1],s:n[2],v:n[3],a:n[4]};if(n=u.hex8.exec(e),n)return{r:(0,r.g8)(n[1]),g:(0,r.g8)(n[2]),b:(0,r.g8)(n[3]),a:(0,r.n6)(n[4]),format:t?"name":"hex8"};if(n=u.hex6.exec(e),n)return{r:(0,r.g8)(n[1]),g:(0,r.g8)(n[2]),b:(0,r.g8)(n[3]),format:t?"name":"hex"};if(n=u.hex4.exec(e),n)return{r:(0,r.g8)(n[1]+n[1]),g:(0,r.g8)(n[2]+n[2]),b:(0,r.g8)(n[3]+n[3]),a:(0,r.n6)(n[4]+n[4]),format:t?"name":"hex8"};if(n=u.hex3.exec(e),n)return{r:(0,r.g8)(n[1]+n[1]),g:(0,r.g8)(n[2]+n[2]),b:(0,r.g8)(n[3]+n[3]),format:t?"name":"hex"};return!1}(e)),"object"==typeof e&&(d(e.r)&&d(e.g)&&d(e.b)?(t=(0,r._)(e.r,e.g,e.b),s=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):d(e.h)&&d(e.s)&&d(e.v)?(a=(0,i.Px)(e.s),c=(0,i.Px)(e.v),t=(0,r.Me)(e.h,a,c),s=!0,f="hsv"):d(e.h)&&d(e.s)&&d(e.l)&&(a=(0,i.Px)(e.s),l=(0,i.Px)(e.l),t=(0,r.YL)(e.h,a,l),s=!0,f="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.TV)(n),{ok:s,format:e.format||f,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var c="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),l="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),s="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),u={CSS_UNIT:new RegExp(c),rgb:new RegExp("rgb"+l),rgba:new RegExp("rgba"+s),hsl:new RegExp("hsl"+l),hsla:new RegExp("hsla"+s),hsv:new RegExp("hsv"+l),hsva:new RegExp("hsva"+s),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function d(e){return Boolean(u.CSS_UNIT.exec(String(e)))}},4978:(e,t,n)=>{"use strict";n.d(t,{q:()=>c});var r=n(2456),o=n(2434),i=n(6250),a=n(9244),c=function(){function e(t,n){var o;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=(0,r.oS)(t)),this.originalInput=t;var a=(0,i.RO)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.TV)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,r.wE)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,r.wE)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,r.K6)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,r.K6)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,r.Ob)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,r.H)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.Cg)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.Cg)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,r.Ob)(this.r,this.g,this.b,!1),t=0,n=Object.entries(o.D);t=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,a.J$)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,a.J$)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,a.J$)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,a.J$)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100;return new e({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],c=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+c)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a{"use strict";function r(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function c(e){return 1===e.length?"0"+e:String(e)}n.d(t,{Cg:()=>r,J$:()=>o,Px:()=>a,TV:()=>i,wl:()=>c})},5470:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(641),o=n(6540),i=n(961),a=n(998),c=(n(8210),n(8719));const l=o.createContext(null);var s=n(8339),u=n(981),d=[];var f=n(5089);function p(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r,o,i=n.style;if(i.position="absolute",i.left="0",i.top="0",i.width="100px",i.height="100px",i.overflow="scroll",e){var a=getComputedStyle(e);i.scrollbarColor=a.scrollbarColor,i.scrollbarWidth=a.scrollbarWidth;var c=getComputedStyle(e,"::-webkit-scrollbar"),l=parseInt(c.width,10),s=parseInt(c.height,10);try{var u=l?"width: ".concat(c.width,";"):"",d=s?"height: ".concat(c.height,";"):"";(0,f.BD)("\n#".concat(t,"::-webkit-scrollbar {\n").concat(u,"\n").concat(d,"\n}"),t)}catch(m){console.error(m),r=l,o=s}}document.body.appendChild(n);var p=e&&r&&!isNaN(r)?r:n.offsetWidth-n.clientWidth,v=e&&o&&!isNaN(o)?o:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),(0,f.m6)(t),{width:p,height:v}}var v="rc-util-locker-".concat(Date.now()),m=0;function h(e){var t=!!e,n=o.useState((function(){return m+=1,"".concat(v,"_").concat(m)})),i=(0,r.A)(n,1)[0];(0,u.A)((function(){if(t){var e=(r=document.body,"undefined"!=typeof document&&r&&r instanceof Element?p(r):{width:0,height:0}).width,n=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,f.BD)("\nhtml body {\n overflow-y: hidden;\n ".concat(n?"width: calc(100% - ".concat(e,"px);"):"","\n}"),i)}else(0,f.m6)(i);var r;return function(){(0,f.m6)(i)}}),[t,i])}var g=!1;var b=function(e){return!1!==e&&((0,a.A)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)};const y=o.forwardRef((function(e,t){var n=e.open,f=e.autoLock,p=e.getContainer,v=(e.debug,e.autoDestroy),m=void 0===v||v,y=e.children,A=o.useState(n),w=(0,r.A)(A,2),S=w[0],x=w[1],C=S||n;o.useEffect((function(){(m||n)&&x(n)}),[n,m]);var k=o.useState((function(){return b(p)})),E=(0,r.A)(k,2),M=E[0],O=E[1];o.useEffect((function(){var e=b(p);O(null!=e?e:null)}));var $=function(e,t){var n=o.useState((function(){return(0,a.A)()?document.createElement("div"):null})),i=(0,r.A)(n,1)[0],c=o.useRef(!1),f=o.useContext(l),p=o.useState(d),v=(0,r.A)(p,2),m=v[0],h=v[1],g=f||(c.current?void 0:function(e){h((function(t){return[e].concat((0,s.A)(t))}))});function b(){i.parentElement||document.body.appendChild(i),c.current=!0}function y(){var e;null===(e=i.parentElement)||void 0===e||e.removeChild(i),c.current=!1}return(0,u.A)((function(){return e?f?f(b):b():y(),y}),[e]),(0,u.A)((function(){m.length&&(m.forEach((function(e){return e()})),h(d))}),[m]),[i,g]}(C&&!M),T=(0,r.A)($,2),R=T[0],P=T[1],z=null!=M?M:R;h(f&&n&&(0,a.A)()&&(z===R||z===document.body));var I=null;y&&(0,c.f3)(y)&&t&&(I=y.ref);var N=(0,c.xK)(I,t);if(!C||!(0,a.A)()||void 0===M)return null;var L,j=!1===z||("boolean"==typeof L&&(g=L),g),_=y;return t&&(_=o.cloneElement(y,{ref:N})),o.createElement(l.Provider,{value:P},j?_:(0,i.createPortal)(_,z))}))},3723:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});const r=(e,t,n)=>void 0!==n?n:`${e}-${t}`},1303:(e,t,n)=>{"use strict";n.d(t,{A:()=>go});var r=n(6540),o=n(6942),i=n.n(o),a=n(9853),c=n(2279),l=n(8224);const s=e=>{const t=r.useContext(l.A);return r.useMemo((()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t),[e,t])},u=e=>{const{prefixCls:t,className:n,style:o,size:a,shape:c}=e,l=i()({[`${t}-lg`]:"large"===a,[`${t}-sm`]:"small"===a}),s=i()({[`${t}-circle`]:"circle"===c,[`${t}-square`]:"square"===c,[`${t}-round`]:"round"===c}),u=r.useMemo((()=>"number"==typeof a?{width:a,height:a,lineHeight:`${a}px`}:{}),[a]);return r.createElement("span",{className:i()(t,l,s,n),style:Object.assign(Object.assign({},u),o)})};var d=n(1466),f=n(3442),p=n(336);const v=new d.Mo("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),m=e=>({height:e,lineHeight:(0,d.zA)(e)}),h=e=>Object.assign({width:e},m(e)),g=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:v,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),b=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},m(e)),y=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},h(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},h(o)),[`${t}${t}-sm`]:Object.assign({},h(i))}},A=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:c}=e;return{[`${r}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},b(t,c)),[`${r}-lg`]:Object.assign({},b(o,c)),[`${r}-sm`]:Object.assign({},b(i,c))}},w=e=>Object.assign({width:e},m(e)),S=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:o,calc:i}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:o},w(i(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},w(n)),{maxWidth:i(n).mul(4).equal(),maxHeight:i(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},x=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},C=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},m(e)),k=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:o,controlHeightSM:i,gradientFromColor:a,calc:c}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:c(r).mul(2).equal(),minWidth:c(r).mul(2).equal()},C(r,c))},x(e,r,n)),{[`${n}-lg`]:Object.assign({},C(o,c))}),x(e,o,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},C(i,c))}),x(e,i,`${n}-sm`))},E=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:o,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:c,controlHeight:l,controlHeightLG:s,controlHeightSM:u,gradientFromColor:d,padding:f,marginSM:p,borderRadius:v,titleHeight:m,blockRadius:b,paragraphLiHeight:w,controlHeightXS:x,paragraphMarginTop:C}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:f,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:d},h(l)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},h(s)),[`${n}-sm`]:Object.assign({},h(u))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${r}`]:{width:"100%",height:m,background:d,borderRadius:b,[`+ ${o}`]:{marginBlockStart:u}},[`${o}`]:{padding:0,"> li":{width:"100%",height:w,listStyle:"none",background:d,borderRadius:b,"+ li":{marginBlockStart:x}}},[`${o}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${o} > li`]:{borderRadius:v}}},[`${t}-with-avatar ${t}-content`]:{[`${r}`]:{marginBlockStart:p,[`+ ${o}`]:{marginBlockStart:C}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},k(e)),y(e)),A(e)),S(e)),[`${t}${t}-block`]:{width:"100%",[`${i}`]:{width:"100%"},[`${a}`]:{width:"100%"}},[`${t}${t}-active`]:{[`\n ${r},\n ${o} > li,\n ${n},\n ${i},\n ${a},\n ${c}\n `]:Object.assign({},g(e))}}},M=(0,f.OF)("Skeleton",(e=>{const{componentCls:t,calc:n}=e,r=(0,p.h1)(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[E(r)]}),(e=>{const{colorFillContent:t,colorFill:n}=e;return{color:t,colorGradientEnd:n,gradientFromColor:t,gradientToColor:n,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}}),{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),O=e=>{const{prefixCls:t,className:n,rootClassName:o,active:l,shape:s="circle",size:d="default"}=e,{getPrefixCls:f}=r.useContext(c.QO),p=f("skeleton",t),[v,m,h]=M(p),g=(0,a.A)(e,["prefixCls","className"]),b=i()(p,`${p}-element`,{[`${p}-active`]:l},n,o,m,h);return v(r.createElement("div",{className:b},r.createElement(u,Object.assign({prefixCls:`${p}-avatar`,shape:s,size:d},g))))},$=e=>{const{prefixCls:t,className:n,rootClassName:o,active:l,block:s=!1,size:d="default"}=e,{getPrefixCls:f}=r.useContext(c.QO),p=f("skeleton",t),[v,m,h]=M(p),g=(0,a.A)(e,["prefixCls"]),b=i()(p,`${p}-element`,{[`${p}-active`]:l,[`${p}-block`]:s},n,o,m,h);return v(r.createElement("div",{className:b},r.createElement(u,Object.assign({prefixCls:`${p}-button`,size:d},g))))},T=e=>{const{prefixCls:t,className:n,rootClassName:o,style:a,active:l}=e,{getPrefixCls:s}=r.useContext(c.QO),u=s("skeleton",t),[d,f,p]=M(u),v=i()(u,`${u}-element`,{[`${u}-active`]:l},n,o,f,p);return d(r.createElement("div",{className:v},r.createElement("div",{className:i()(`${u}-image`,n),style:a},r.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${u}-image-svg`},r.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:`${u}-image-path`})))))},R=e=>{const{prefixCls:t,className:n,rootClassName:o,active:l,block:s,size:d="default"}=e,{getPrefixCls:f}=r.useContext(c.QO),p=f("skeleton",t),[v,m,h]=M(p),g=(0,a.A)(e,["prefixCls"]),b=i()(p,`${p}-element`,{[`${p}-active`]:l,[`${p}-block`]:s},n,o,m,h);return v(r.createElement("div",{className:b},r.createElement(u,Object.assign({prefixCls:`${p}-input`,size:d},g))))};var P=n(8168);const z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"};var I=n(6653),N=function(e,t){return r.createElement(I.A,(0,P.A)({},e,{ref:t,icon:z}))};const L=r.forwardRef(N),j=e=>{const{prefixCls:t,className:n,rootClassName:o,style:a,active:l,children:s}=e,{getPrefixCls:u}=r.useContext(c.QO),d=u("skeleton",t),[f,p,v]=M(d),m=i()(d,`${d}-element`,{[`${d}-active`]:l},p,n,o,v),h=null!=s?s:r.createElement(L,null);return f(r.createElement("div",{className:m},r.createElement("div",{className:i()(`${d}-image`,n),style:a},h)))};var _=n(8339);const H=(e,t)=>{const{width:n,rows:r=2}=t;return Array.isArray(n)?n[e]:r-1===e?n:void 0},D=e=>{const{prefixCls:t,className:n,style:o,rows:a}=e,c=(0,_.A)(Array(a)).map(((t,n)=>r.createElement("li",{key:n,style:{width:H(n,e)}})));return r.createElement("ul",{className:i()(t,n),style:o},c)},B=e=>{let{prefixCls:t,className:n,width:o,style:a}=e;return r.createElement("h3",{className:i()(t,n),style:Object.assign({width:o},a)})};function W(e){return e&&"object"==typeof e?e:{}}const F=e=>{const{prefixCls:t,loading:n,className:o,rootClassName:a,style:l,children:s,avatar:d=!1,title:f=!0,paragraph:p=!0,active:v,round:m}=e,{getPrefixCls:h,direction:g,skeleton:b}=r.useContext(c.QO),y=h("skeleton",t),[A,w,S]=M(y);if(n||!("loading"in e)){const e=!!d,t=!!f,n=!!p;let c,s;if(e){const e=Object.assign(Object.assign({prefixCls:`${y}-avatar`},function(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(t,n)),W(d));c=r.createElement("div",{className:`${y}-header`},r.createElement(u,Object.assign({},e)))}if(t||n){let o,i;if(t){const t=Object.assign(Object.assign({prefixCls:`${y}-title`},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(e,n)),W(f));o=r.createElement(B,Object.assign({},t))}if(n){const n=Object.assign(Object.assign({prefixCls:`${y}-paragraph`},function(e,t){const n={};return e&&t||(n.width="61%"),n.rows=!e&&t?3:2,n}(e,t)),W(p));i=r.createElement(D,Object.assign({},n))}s=r.createElement("div",{className:`${y}-content`},o,i)}const h=i()(y,{[`${y}-with-avatar`]:e,[`${y}-active`]:v,[`${y}-rtl`]:"rtl"===g,[`${y}-round`]:m},null==b?void 0:b.className,o,a,w,S);return A(r.createElement("div",{className:h,style:Object.assign(Object.assign({},null==b?void 0:b.style),l)},c,s))}return null!=s?s:null};F.Button=$,F.Avatar=O,F.Input=R,F.Image=T,F.Node=j;const X=F;var K=n(6467);const G={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};var q=function(e,t){return r.createElement(I.A,(0,P.A)({},e,{ref:t,icon:G}))};const Y=r.forwardRef(q);const V={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};var U=function(e,t){return r.createElement(I.A,(0,P.A)({},e,{ref:t,icon:V}))};const Q=r.forwardRef(U);var Z=n(4467),J=n(9379),ee=n(641),te=n(2284),ne=n(45),re=n(2533);const oe=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))},ie=(0,r.createContext)(null);var ae=n(6351);function ce(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return r.Children.forEach(e,(function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(ce(e)):(0,ae.isFragment)(e)&&e.props?n=n.concat(ce(e.props.children,t)):n.push(e))})),n}var le=n(8210),se=n(4207),ue=n(8719),de=r.createContext(null);var fe=n(3591),pe=new Map;var ve=new fe.A((function(e){e.forEach((function(e){var t,n=e.target;null===(t=pe.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}));var me=n(3029),he=n(2901),ge=n(5501),be=n(9426),ye=function(e){(0,ge.A)(n,e);var t=(0,be.A)(n);function n(){return(0,me.A)(this,n),t.apply(this,arguments)}return(0,he.A)(n,[{key:"render",value:function(){return this.props.children}}]),n}(r.Component);function Ae(e,t){var n=e.children,o=e.disabled,i=r.useRef(null),a=r.useRef(null),c=r.useContext(de),l="function"==typeof n,s=l?n(i):n,u=r.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),d=!l&&r.isValidElement(s)&&(0,ue.f3)(s),f=d?s.ref:null,p=(0,ue.xK)(f,i),v=function(){var e;return(0,se.A)(i.current)||(i.current&&"object"===(0,te.A)(i.current)?(0,se.A)(null===(e=i.current)||void 0===e?void 0:e.nativeElement):null)||(0,se.A)(a.current)};r.useImperativeHandle(t,(function(){return v()}));var m=r.useRef(e);m.current=e;var h=r.useCallback((function(e){var t=m.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,a=o.height,l=e.offsetWidth,s=e.offsetHeight,d=Math.floor(i),f=Math.floor(a);if(u.current.width!==d||u.current.height!==f||u.current.offsetWidth!==l||u.current.offsetHeight!==s){var p={width:d,height:f,offsetWidth:l,offsetHeight:s};u.current=p;var v=l===Math.round(i)?i:l,h=s===Math.round(a)?a:s,g=(0,J.A)((0,J.A)({},p),{},{offsetWidth:v,offsetHeight:h});null==c||c(g,e,r),n&&Promise.resolve().then((function(){n(g,e)}))}}),[]);return r.useEffect((function(){var e,t,n=v();return n&&!o&&(e=n,t=h,pe.has(e)||(pe.set(e,new Set),ve.observe(e)),pe.get(e).add(t)),function(){return function(e,t){pe.has(e)&&(pe.get(e).delete(t),pe.get(e).size||(ve.unobserve(e),pe.delete(e)))}(n,h)}}),[i.current,o]),r.createElement(ye,{ref:a},d?r.cloneElement(s,{ref:p}):s)}const we=r.forwardRef(Ae);function Se(e,t){var n=e.children;return("function"==typeof n?[n]:ce(n)).map((function(n,o){var i=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(o);return r.createElement(we,(0,P.A)({},e,{key:i,ref:0===o?t:void 0}),n)}))}var xe=r.forwardRef(Se);xe.Collection=function(e){var t=e.children,n=e.onBatchResize,o=r.useRef(0),i=r.useRef([]),a=r.useContext(de),c=r.useCallback((function(e,t,r){o.current+=1;var c=o.current;i.current.push({size:e,element:t,data:r}),Promise.resolve().then((function(){c===o.current&&(null==n||n(i.current),i.current=[])})),null==a||a(e,t,r)}),[n,a]);return r.createElement(de.Provider,{value:c},t)};const Ce=xe;var ke=n(6956),Ee=n(5371);const Me=function(e){var t=e.activeTabOffset,n=e.horizontal,o=e.rtl,i=e.indicator,a=void 0===i?{}:i,c=a.size,l=a.align,s=void 0===l?"center":l,u=(0,r.useState)(),d=(0,ee.A)(u,2),f=d[0],p=d[1],v=(0,r.useRef)(),m=r.useCallback((function(e){return"function"==typeof c?c(e):"number"==typeof c?c:e}),[c]);function h(){Ee.A.cancel(v.current)}return(0,r.useEffect)((function(){var e={};if(t)if(n){e.width=m(t.width);var r=o?"right":"left";"start"===s&&(e[r]=t[r]),"center"===s&&(e[r]=t[r]+t.width/2,e.transform=o?"translateX(50%)":"translateX(-50%)"),"end"===s&&(e[r]=t[r]+t.width,e.transform="translateX(-100%)")}else e.height=m(t.height),"start"===s&&(e.top=t.top),"center"===s&&(e.top=t.top+t.height/2,e.transform="translateY(-50%)"),"end"===s&&(e.top=t.top+t.height,e.transform="translateY(-100%)");return h(),v.current=(0,Ee.A)((function(){p(e)})),h}),[t,n,o,s,m]),{style:f}};var Oe={width:0,height:0,left:0,top:0};function $e(e,t){var n=r.useRef(e),o=r.useState({}),i=(0,ee.A)(o,2)[1];return[n.current,function(e){var r="function"==typeof e?e(n.current):e;r!==n.current&&t(r,n.current),n.current=r,i({})}]}var Te=Math.pow(.995,20);var Re=n(981);function Pe(e){var t=(0,r.useState)(0),n=(0,ee.A)(t,2),o=n[0],i=n[1],a=(0,r.useRef)(0),c=(0,r.useRef)();return c.current=e,(0,Re.o)((function(){var e;null===(e=c.current)||void 0===e||e.call(c)}),[o]),function(){a.current===o&&(a.current+=1,i(a.current))}}var ze={width:0,height:0,left:0,top:0,right:0};function Ie(e){var t;return e instanceof Map?(t={},e.forEach((function(e,n){t[n]=e}))):t=e,JSON.stringify(t)}function Ne(e){return String(e).replace(/"/g,"TABS_DQ")}function Le(e,t,n,r){return!(!n||r||!1===e||void 0===e&&(!1===t||null===t))}var je=r.forwardRef((function(e,t){var n=e.prefixCls,o=e.editable,i=e.locale,a=e.style;return o&&!1!==o.showAdd?r.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:a,"aria-label":(null==i?void 0:i.addAriaLabel)||"Add tab",onClick:function(e){o.onEdit("add",{event:e})}},o.addIcon||"+"):null}));const _e=je;const He=r.forwardRef((function(e,t){var n,o=e.position,i=e.prefixCls,a=e.extra;if(!a)return null;var c={};return"object"!==(0,te.A)(a)||r.isValidElement(a)?c.right=a:c=a,"right"===o&&(n=c.right),"left"===o&&(n=c.left),n?r.createElement("div",{className:"".concat(i,"-extra-content"),ref:t},n):null}));var De=n(5470),Be=n(2633),We=n(6855),Fe=n(8542);function Xe(e){var t=e.prefixCls,n=e.align,o=e.arrow,a=e.arrowPos,c=o||{},l=c.className,s=c.content,u=a.x,d=void 0===u?0:u,f=a.y,p=void 0===f?0:f,v=r.useRef();if(!n||!n.points)return null;var m={position:"absolute"};if(!1!==n.autoArrow){var h=n.points[0],g=n.points[1],b=h[0],y=h[1],A=g[0],w=g[1];b!==A&&["t","b"].includes(b)?"t"===b?m.top=0:m.bottom=0:m.top=p,y!==w&&["l","r"].includes(y)?"l"===y?m.left=0:m.right=0:m.left=d}return r.createElement("div",{ref:v,className:i()("".concat(t,"-arrow"),l),style:m},s)}function Ke(e){var t=e.prefixCls,n=e.open,o=e.zIndex,a=e.mask,c=e.motion;return a?r.createElement(Fe.Ay,(0,P.A)({},c,{motionAppear:!0,visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return r.createElement("div",{style:{zIndex:o},className:i()("".concat(t,"-mask"),n)})})):null}const Ge=r.memo((function(e){return e.children}),(function(e,t){return t.cache}));var qe=r.forwardRef((function(e,t){var n=e.popup,o=e.className,a=e.prefixCls,c=e.style,l=e.target,s=e.onVisibleChanged,u=e.open,d=e.keepDom,f=e.fresh,p=e.onClick,v=e.mask,m=e.arrow,h=e.arrowPos,g=e.align,b=e.motion,y=e.maskMotion,A=e.forceRender,w=e.getPopupContainer,S=e.autoDestroy,x=e.portal,C=e.zIndex,k=e.onMouseEnter,E=e.onMouseLeave,M=e.onPointerEnter,O=e.ready,$=e.offsetX,T=e.offsetY,R=e.offsetR,z=e.offsetB,I=e.onAlign,N=e.onPrepare,L=e.stretch,j=e.targetWidth,_=e.targetHeight,H="function"==typeof n?n():n,D=u||d,B=(null==w?void 0:w.length)>0,W=r.useState(!w||!B),F=(0,ee.A)(W,2),X=F[0],K=F[1];if((0,Re.A)((function(){!X&&B&&l&&K(!0)}),[X,B,l]),!X)return null;var G="auto",q={left:"-1000vw",top:"-1000vh",right:G,bottom:G};if(O||!u){var Y,V=g.points,U=g.dynamicInset||(null===(Y=g._experimental)||void 0===Y?void 0:Y.dynamicInset),Q=U&&"r"===V[0][1],Z=U&&"b"===V[0][0];Q?(q.right=R,q.left=G):(q.left=$,q.right=G),Z?(q.bottom=z,q.top=G):(q.top=T,q.bottom=G)}var te={};return L&&(L.includes("height")&&_?te.height=_:L.includes("minHeight")&&_&&(te.minHeight=_),L.includes("width")&&j?te.width=j:L.includes("minWidth")&&j&&(te.minWidth=j)),u||(te.pointerEvents="none"),r.createElement(x,{open:A||D,getContainer:w&&function(){return w(l)},autoDestroy:S},r.createElement(Ke,{prefixCls:a,open:u,zIndex:C,mask:v,motion:y}),r.createElement(Ce,{onResize:I,disabled:!u},(function(e){return r.createElement(Fe.Ay,(0,P.A)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:A,leavedClassName:"".concat(a,"-hidden")},b,{onAppearPrepare:N,onEnterPrepare:N,visible:u,onVisibleChanged:function(e){var t;null==b||null===(t=b.onVisibleChanged)||void 0===t||t.call(b,e),s(e)}}),(function(n,l){var s=n.className,d=n.style,v=i()(a,s,o);return r.createElement("div",{ref:(0,ue.K4)(e,t,l),className:v,style:(0,J.A)((0,J.A)((0,J.A)((0,J.A)({"--arrow-x":"".concat(h.x||0,"px"),"--arrow-y":"".concat(h.y||0,"px")},q),te),d),{},{boxSizing:"border-box",zIndex:C},c),onMouseEnter:k,onMouseLeave:E,onPointerEnter:M,onClick:p},m&&r.createElement(Xe,{prefixCls:a,arrow:m,arrowPos:h,align:g}),r.createElement(Ge,{cache:!u&&!f},H))}))})))}));const Ye=qe;const Ve=r.forwardRef((function(e,t){var n=e.children,o=e.getTriggerDOMNode,i=(0,ue.f3)(n),a=r.useCallback((function(e){(0,ue.Xf)(t,o?o(e):e)}),[o]),c=(0,ue.xK)(a,n.ref);return i?r.cloneElement(n,{ref:c}):n}));const Ue=r.createContext(null);function Qe(e){return e?Array.isArray(e)?e:[e]:[]}const Ze=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1};function Je(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(arguments.length>2?arguments[2]:void 0)?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function et(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function tt(e){return e.ownerDocument.defaultView}function nt(e){for(var t=[],n=null==e?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var o=tt(n).getComputedStyle(n);[o.overflowX,o.overflowY,o.overflow].some((function(e){return r.includes(e)}))&&t.push(n),n=n.parentElement}return t}function rt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function ot(e){return rt(parseFloat(e),0)}function it(e,t){var n=(0,J.A)({},e);return(t||[]).forEach((function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=tt(e).getComputedStyle(e),r=t.overflow,o=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,c=t.borderLeftWidth,l=t.borderRightWidth,s=e.getBoundingClientRect(),u=e.offsetHeight,d=e.clientHeight,f=e.offsetWidth,p=e.clientWidth,v=ot(i),m=ot(a),h=ot(c),g=ot(l),b=rt(Math.round(s.width/f*1e3)/1e3),y=rt(Math.round(s.height/u*1e3)/1e3),A=(f-p-h-g)*b,w=(u-d-v-m)*y,S=v*y,x=m*y,C=h*b,k=g*b,E=0,M=0;if("clip"===r){var O=ot(o);E=O*b,M=O*y}var $=s.x+C-E,T=s.y+S-M,R=$+s.width+2*E-C-k-A,P=T+s.height+2*M-S-x-w;n.left=Math.max(n.left,$),n.top=Math.max(n.top,T),n.right=Math.min(n.right,R),n.bottom=Math.min(n.bottom,P)}})),n}function at(e){var t="".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),n=t.match(/^(.*)\%$/);return n?e*(parseFloat(n[1])/100):parseFloat(t)}function ct(e,t){var n=t||[],r=(0,ee.A)(n,2),o=r[0],i=r[1];return[at(e.width,o),at(e.height,i)]}function lt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function st(e,t){var n,r=t[0],o=t[1];return n="t"===r?e.y:"b"===r?e.y+e.height:e.y+e.height/2,{x:"l"===o?e.x:"r"===o?e.x+e.width:e.x+e.width/2,y:n}}function ut(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,r){return r===t?n[e]||"c":e})).join("")}var dt=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];const ft=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:De.A,t=r.forwardRef((function(t,n){var o=t.prefixCls,a=void 0===o?"rc-trigger-popup":o,c=t.children,l=t.action,s=void 0===l?"hover":l,u=t.showAction,d=t.hideAction,f=t.popupVisible,p=t.defaultPopupVisible,v=t.onPopupVisibleChange,m=t.afterPopupVisibleChange,h=t.mouseEnterDelay,g=t.mouseLeaveDelay,b=void 0===g?.1:g,y=t.focusDelay,A=t.blurDelay,w=t.mask,S=t.maskClosable,x=void 0===S||S,C=t.getPopupContainer,k=t.forceRender,E=t.autoDestroy,M=t.destroyPopupOnHide,O=t.popup,$=t.popupClassName,T=t.popupStyle,R=t.popupPlacement,P=t.builtinPlacements,z=void 0===P?{}:P,I=t.popupAlign,N=t.zIndex,L=t.stretch,j=t.getPopupClassNameFromAlign,H=t.fresh,D=t.alignPoint,B=t.onPopupClick,W=t.onPopupAlign,F=t.arrow,X=t.popupMotion,K=t.maskMotion,G=t.popupTransitionName,q=t.popupAnimation,Y=t.maskTransitionName,V=t.maskAnimation,U=t.className,Q=t.getTriggerDOMNode,Z=(0,ne.A)(t,dt),te=E||M||!1,re=r.useState(!1),ie=(0,ee.A)(re,2),ae=ie[0],ce=ie[1];(0,Re.A)((function(){ce(oe())}),[]);var le=r.useRef({}),ue=r.useContext(Ue),de=r.useMemo((function(){return{registerSubPopup:function(e,t){le.current[e]=t,null==ue||ue.registerSubPopup(e,t)}}}),[ue]),fe=(0,We.A)(),pe=r.useState(null),ve=(0,ee.A)(pe,2),me=ve[0],he=ve[1],ge=r.useRef(null),be=(0,ke.A)((function(e){ge.current=e,(0,se.f)(e)&&me!==e&&he(e),null==ue||ue.registerSubPopup(fe,e)})),ye=r.useState(null),Ae=(0,ee.A)(ye,2),we=Ae[0],Se=Ae[1],xe=r.useRef(null),Ee=(0,ke.A)((function(e){(0,se.f)(e)&&we!==e&&(Se(e),xe.current=e)})),Me=r.Children.only(c),Oe=(null==Me?void 0:Me.props)||{},$e={},Te=(0,ke.A)((function(e){var t,n,r=we;return(null==r?void 0:r.contains(e))||(null===(t=(0,Be.j)(r))||void 0===t?void 0:t.host)===e||e===r||(null==me?void 0:me.contains(e))||(null===(n=(0,Be.j)(me))||void 0===n?void 0:n.host)===e||e===me||Object.values(le.current).some((function(t){return(null==t?void 0:t.contains(e))||e===t}))})),Pe=et(a,X,q,G),ze=et(a,K,V,Y),Ie=r.useState(p||!1),Ne=(0,ee.A)(Ie,2),Le=Ne[0],je=Ne[1],_e=null!=f?f:Le,He=(0,ke.A)((function(e){void 0===f&&je(e)}));(0,Re.A)((function(){je(f||!1)}),[f]);var De=r.useRef(_e);De.current=_e;var Fe=r.useRef([]);Fe.current=[];var Xe=(0,ke.A)((function(e){var t;He(e),(null!==(t=Fe.current[Fe.current.length-1])&&void 0!==t?t:_e)!==e&&(Fe.current.push(e),null==v||v(e))})),Ke=r.useRef(),Ge=function(){clearTimeout(Ke.current)},qe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Ge(),0===t?Xe(e):Ke.current=setTimeout((function(){Xe(e)}),1e3*t)};r.useEffect((function(){return Ge}),[]);var ot=r.useState(!1),at=(0,ee.A)(ot,2),ft=at[0],pt=at[1];(0,Re.A)((function(e){e&&!_e||pt(!0)}),[_e]);var vt=r.useState(null),mt=(0,ee.A)(vt,2),ht=mt[0],gt=mt[1],bt=r.useState([0,0]),yt=(0,ee.A)(bt,2),At=yt[0],wt=yt[1],St=function(e){wt([e.clientX,e.clientY])},xt=function(e,t,n,o,i,a,c){var l=r.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:i[o]||{}}),s=(0,ee.A)(l,2),u=s[0],d=s[1],f=r.useRef(0),p=r.useMemo((function(){return t?nt(t):[]}),[t]),v=r.useRef({});e||(v.current={});var m=(0,ke.A)((function(){if(t&&n&&e){var r,l,s,u=t,f=u.ownerDocument,m=tt(u).getComputedStyle(u),h=m.width,g=m.height,b=m.position,y=u.style.left,A=u.style.top,w=u.style.right,S=u.style.bottom,x=u.style.overflow,C=(0,J.A)((0,J.A)({},i[o]),a),k=f.createElement("div");if(null===(r=u.parentElement)||void 0===r||r.appendChild(k),k.style.left="".concat(u.offsetLeft,"px"),k.style.top="".concat(u.offsetTop,"px"),k.style.position=b,k.style.height="".concat(u.offsetHeight,"px"),k.style.width="".concat(u.offsetWidth,"px"),u.style.left="0",u.style.top="0",u.style.right="auto",u.style.bottom="auto",u.style.overflow="hidden",Array.isArray(n))s={x:n[0],y:n[1],width:0,height:0};else{var E=n.getBoundingClientRect();s={x:E.x,y:E.y,width:E.width,height:E.height}}var M=u.getBoundingClientRect(),O=f.documentElement,$=O.clientWidth,T=O.clientHeight,R=O.scrollWidth,P=O.scrollHeight,z=O.scrollTop,I=O.scrollLeft,N=M.height,L=M.width,j=s.height,_=s.width,H={left:0,top:0,right:$,bottom:T},D={left:-I,top:-z,right:R-I,bottom:P-z},B=C.htmlRegion,W="visible",F="visibleFirst";"scroll"!==B&&B!==F&&(B=W);var X=B===F,K=it(D,p),G=it(H,p),q=B===W?G:K,Y=X?G:q;u.style.left="auto",u.style.top="auto",u.style.right="0",u.style.bottom="0";var V=u.getBoundingClientRect();u.style.left=y,u.style.top=A,u.style.right=w,u.style.bottom=S,u.style.overflow=x,null===(l=u.parentElement)||void 0===l||l.removeChild(k);var U=rt(Math.round(L/parseFloat(h)*1e3)/1e3),Q=rt(Math.round(N/parseFloat(g)*1e3)/1e3);if(0===U||0===Q||(0,se.f)(n)&&!Ze(n))return;var Z=C.offset,te=C.targetOffset,ne=ct(M,Z),re=(0,ee.A)(ne,2),oe=re[0],ie=re[1],ae=ct(s,te),ce=(0,ee.A)(ae,2),le=ce[0],ue=ce[1];s.x-=le,s.y-=ue;var de=C.points||[],fe=(0,ee.A)(de,2),pe=fe[0],ve=lt(fe[1]),me=lt(pe),he=st(s,ve),ge=st(M,me),be=(0,J.A)({},C),ye=he.x-ge.x+oe,Ae=he.y-ge.y+ie;function wt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:q,r=M.x+e,o=M.y+t,i=r+L,a=o+N,c=Math.max(r,n.left),l=Math.max(o,n.top),s=Math.min(i,n.right),u=Math.min(a,n.bottom);return Math.max(0,(s-c)*(u-l))}var we,Se,xe,Ce,ke=wt(ye,Ae),Ee=wt(ye,Ae,G),Me=st(s,["t","l"]),Oe=st(M,["t","l"]),$e=st(s,["b","r"]),Te=st(M,["b","r"]),Re=C.overflow||{},Pe=Re.adjustX,ze=Re.adjustY,Ie=Re.shiftX,Ne=Re.shiftY,Le=function(e){return"boolean"==typeof e?e:e>=0};function St(){we=M.y+Ae,Se=we+N,xe=M.x+ye,Ce=xe+L}St();var je=Le(ze),_e=me[0]===ve[0];if(je&&"t"===me[0]&&(Se>Y.bottom||v.current.bt)){var He=Ae;_e?He-=N-j:He=Me.y-Te.y-ie;var De=wt(ye,He),Be=wt(ye,He,G);De>ke||De===ke&&(!X||Be>=Ee)?(v.current.bt=!0,Ae=He,ie=-ie,be.points=[ut(me,0),ut(ve,0)]):v.current.bt=!1}if(je&&"b"===me[0]&&(weke||Fe===ke&&(!X||Xe>=Ee)?(v.current.tb=!0,Ae=We,ie=-ie,be.points=[ut(me,0),ut(ve,0)]):v.current.tb=!1}var Ke=Le(Pe),Ge=me[1]===ve[1];if(Ke&&"l"===me[1]&&(Ce>Y.right||v.current.rl)){var qe=ye;Ge?qe-=L-_:qe=Me.x-Te.x-oe;var Ye=wt(qe,Ae),Ve=wt(qe,Ae,G);Ye>ke||Ye===ke&&(!X||Ve>=Ee)?(v.current.rl=!0,ye=qe,oe=-oe,be.points=[ut(me,1),ut(ve,1)]):v.current.rl=!1}if(Ke&&"r"===me[1]&&(xeke||Qe===ke&&(!X||Je>=Ee)?(v.current.lr=!0,ye=Ue,oe=-oe,be.points=[ut(me,1),ut(ve,1)]):v.current.lr=!1}St();var et=!0===Ie?0:Ie;"number"==typeof et&&(xeG.right&&(ye-=Ce-G.right-oe,s.x>G.right-et&&(ye+=s.x-G.right+et)));var nt=!0===Ne?0:Ne;"number"==typeof nt&&(weG.bottom&&(Ae-=Se-G.bottom-ie,s.y>G.bottom-nt&&(Ae+=s.y-G.bottom+nt)));var ot=M.x+ye,at=ot+L,dt=M.y+Ae,ft=dt+N,pt=s.x,vt=pt+_,mt=s.y,ht=mt+j,gt=(Math.max(ot,pt)+Math.min(at,vt))/2-ot,bt=(Math.max(dt,mt)+Math.min(ft,ht))/2-dt;null==c||c(t,be);var yt=V.right-M.x-(ye+M.width),At=V.bottom-M.y-(Ae+M.height);d({ready:!0,offsetX:ye/U,offsetY:Ae/Q,offsetR:yt/U,offsetB:At/Q,arrowX:gt/U,arrowY:bt/Q,scaleX:U,scaleY:Q,align:be})}})),h=function(){d((function(e){return(0,J.A)((0,J.A)({},e),{},{ready:!1})}))};return(0,Re.A)(h,[o]),(0,Re.A)((function(){e||h()}),[e]),[u.ready,u.offsetX,u.offsetY,u.offsetR,u.offsetB,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,function(){f.current+=1;var e=f.current;Promise.resolve().then((function(){f.current===e&&m()}))}]}(_e,me,D?At:we,R,z,I,W),Ct=(0,ee.A)(xt,11),kt=Ct[0],Et=Ct[1],Mt=Ct[2],Ot=Ct[3],$t=Ct[4],Tt=Ct[5],Rt=Ct[6],Pt=Ct[7],zt=Ct[8],It=Ct[9],Nt=Ct[10],Lt=function(e,t,n,o){return r.useMemo((function(){var r=Qe(null!=n?n:t),i=Qe(null!=o?o:t),a=new Set(r),c=new Set(i);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),c.has("hover")&&(c.delete("hover"),c.add("click"))),[a,c]}),[e,t,n,o])}(ae,s,u,d),jt=(0,ee.A)(Lt,2),_t=jt[0],Ht=jt[1],Dt=_t.has("click"),Bt=Ht.has("click")||Ht.has("contextMenu"),Wt=(0,ke.A)((function(){ft||Nt()}));!function(e,t,n,r,o){(0,Re.A)((function(){if(e&&t&&n){var i=n,a=nt(t),c=nt(i),l=tt(i),s=new Set([l].concat((0,_.A)(a),(0,_.A)(c)));function u(){r(),o()}return s.forEach((function(e){e.addEventListener("scroll",u,{passive:!0})})),l.addEventListener("resize",u,{passive:!0}),r(),function(){s.forEach((function(e){e.removeEventListener("scroll",u),l.removeEventListener("resize",u)}))}}}),[e,t,n])}(_e,we,me,Wt,(function(){De.current&&D&&Bt&&qe(!1)})),(0,Re.A)((function(){Wt()}),[At,R]),(0,Re.A)((function(){!_e||null!=z&&z[R]||Wt()}),[JSON.stringify(I)]);var Ft=r.useMemo((function(){var e=function(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a1?a-1:0),l=1;l1?n-1:0),o=1;o1?n-1:0),o=1;oh,ge=(0,r.useMemo)((function(){var e=c;return ve?e=null===$&&k?c:c.slice(0,Math.min(c.length,R/f)):"number"==typeof h&&(e=c.slice(0,h)),e}),[c,f,$,h,ve]),be=(0,r.useMemo)((function(){return ve?c.slice(ae+1):c.slice(ge.length)}),[c,ge,ve,ae]),ye=(0,r.useCallback)((function(e,t){var n;return"function"==typeof u?u(e):null!==(n=u&&(null==e?void 0:e[u]))&&void 0!==n?n:t}),[u]),Ae=(0,r.useCallback)(l||function(e){return e},[l]);function we(e,t,n){(oe!==e||void 0!==t&&t!==Q)&&(ie(e),n||(ue(eR){we(r-1,e-o-q+F);break}}y&&xe(0)+q>R&&Z(null)}}),[R,N,F,q,ye,ge]);var ke=se&&!!be.length,Ee={};null!==Q&&ve&&(Ee={position:"absolute",left:Q,top:0});var Me,Oe={prefixCls:de,responsive:ve,component:S,invalidate:me},$e=s?function(e,t){var n=ye(e,t);return r.createElement(Rt.Provider,{key:n,value:(0,J.A)((0,J.A)({},Oe),{},{order:t,item:e,itemKey:n,registerSize:Se,display:t<=ae})},s(e,t))}:function(e,t){var n=ye(e,t);return r.createElement(Mt,(0,P.A)({},Oe,{order:t,key:n,item:e,renderItem:Ae,itemKey:n,registerSize:Se,display:t<=ae}))},Te={order:ke?ae:Number.MAX_SAFE_INTEGER,className:"".concat(de,"-rest"),registerSize:function(e,t){X(t),D(F)},display:ke};if(b)b&&(Me=r.createElement(Rt.Provider,{value:(0,J.A)((0,J.A)({},Oe),Te)},b(be)));else{var Pe=g||Bt;Me=r.createElement(Mt,(0,P.A)({},Oe,Te),"function"==typeof Pe?Pe(be):Pe)}var ze=r.createElement(w,(0,P.A)({className:i()(!me&&o,m),style:v,ref:t},C),ge.map($e),he?Me:null,y&&r.createElement(Mt,(0,P.A)({},Oe,{responsive:pe,responsiveDisabled:!ve,order:ae,className:"".concat(de,"-suffix"),registerSize:function(e,t){Y(t)},display:!0,style:Ee}),y));return pe&&(ze=r.createElement(Ce,{onResize:function(e,t){T(t.clientWidth)},disabled:!ve},ze)),ze}var Ft=r.forwardRef(Wt);Ft.displayName="Overflow",Ft.Item=jt,Ft.RESPONSIVE=Ht,Ft.INVALIDATE=Dt;const Xt=Ft;var Kt=n(3210),Gt=r.createContext(null);function qt(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function Yt(e){return qt(r.useContext(Gt),e)}var Vt=n(8104),Ut=["children","locked"],Qt=r.createContext(null);function Zt(e){var t=e.children,n=e.locked,o=(0,ne.A)(e,Ut),i=r.useContext(Qt),a=(0,Vt.A)((function(){return e=i,t=o,n=(0,J.A)({},e),Object.keys(t).forEach((function(e){var r=t[e];void 0!==r&&(n[e]=r)})),n;var e,t,n}),[i,o],(function(e,t){return!(n||e[0]===t[0]&&(0,Kt.A)(e[1],t[1],!0))}));return r.createElement(Qt.Provider,{value:a},t)}var Jt=[],en=r.createContext(null);function tn(){return r.useContext(en)}var nn=r.createContext(Jt);function rn(e){var t=r.useContext(nn);return r.useMemo((function(){return void 0!==e?[].concat((0,_.A)(t),[e]):t}),[t,e])}var on=r.createContext(null);const an=r.createContext({});function cn(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Ze(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),i=Number(o),a=null;return o&&!Number.isNaN(i)?a=i:r&&null===a&&(a=0),r&&e.disabled&&(a=null),null!==a&&(a>=0||t&&a<0)}return!1}function ln(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,_.A)(e.querySelectorAll("*")).filter((function(e){return cn(e,t)}));return cn(e,t)&&n.unshift(e),n}var sn=pt.A.LEFT,un=pt.A.RIGHT,dn=pt.A.UP,fn=pt.A.DOWN,pn=pt.A.ENTER,vn=pt.A.ESC,mn=pt.A.HOME,hn=pt.A.END,gn=[dn,fn,sn,un];function bn(e,t){return ln(e,!0).filter((function(e){return t.has(e)}))}function yn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=bn(e,t),i=o.length,a=o.findIndex((function(e){return n===e}));return r<0?-1===a?a=i-1:a-=1:r>0&&(a+=1),o[a=(a+i)%i]}var An=function(e,t){var n=new Set,r=new Map,o=new Map;return e.forEach((function(e){var i=document.querySelector("[data-menu-id='".concat(qt(t,e),"']"));i&&(n.add(i),o.set(i,e),r.set(e,i))})),{elements:n,key2element:r,element2key:o}};function wn(e,t,n,o,i,a,c,l,s,u){var d=r.useRef(),f=r.useRef();f.current=t;var p=function(){Ee.A.cancel(d.current)};return r.useEffect((function(){return function(){p()}}),[]),function(r){var v=r.which;if([].concat(gn,[pn,vn,mn,hn]).includes(v)){var m=a(),h=An(m,o),g=h,b=g.elements,y=g.key2element,A=g.element2key,w=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(y.get(t),b),S=A.get(w),x=function(e,t,n,r){var o,i="prev",a="next",c="children",l="parent";if("inline"===e&&r===pn)return{inlineTrigger:!0};var s=(0,Z.A)((0,Z.A)({},dn,i),fn,a),u=(0,Z.A)((0,Z.A)((0,Z.A)((0,Z.A)({},sn,n?a:i),un,n?i:a),fn,c),pn,c),d=(0,Z.A)((0,Z.A)((0,Z.A)((0,Z.A)((0,Z.A)((0,Z.A)({},dn,i),fn,a),pn,c),vn,l),sn,n?c:l),un,n?l:c);switch(null===(o={inline:s,horizontal:u,vertical:d,inlineSub:s,horizontalSub:d,verticalSub:d}["".concat(e).concat(t?"":"Sub")])||void 0===o?void 0:o[r]){case i:return{offset:-1,sibling:!0};case a:return{offset:1,sibling:!0};case l:return{offset:-1,sibling:!1};case c:return{offset:1,sibling:!1};default:return null}}(e,1===c(S,!0).length,n,v);if(!x&&v!==mn&&v!==hn)return;(gn.includes(v)||[mn,hn].includes(v))&&r.preventDefault();var C=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var r=A.get(e);l(r),p(),d.current=(0,Ee.A)((function(){f.current===r&&t.focus()}))}};if([mn,hn].includes(v)||x.sibling||!w){var k,E,M=bn(k=w&&"inline"!==e?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(w):i.current,b);E=v===mn?M[0]:v===hn?M[M.length-1]:yn(k,b,w,x.offset),C(E)}else if(x.inlineTrigger)s(S);else if(x.offset>0)s(S,!0),p(),d.current=(0,Ee.A)((function(){h=An(m,o);var e=w.getAttribute("aria-controls"),t=yn(document.getElementById(e),h.elements);C(t)}),5);else if(x.offset<0){var O=c(S,!0),$=O[O.length-2],T=y.get($);s($,!1),C(T)}}null==u||u(r)}}var Sn="__RC_UTIL_PATH_SPLIT__",xn=function(e){return e.join(Sn)},Cn="rc-menu-more";function kn(){var e=r.useState({}),t=(0,ee.A)(e,2)[1],n=(0,r.useRef)(new Map),o=(0,r.useRef)(new Map),i=r.useState([]),a=(0,ee.A)(i,2),c=a[0],l=a[1],s=(0,r.useRef)(0),u=(0,r.useRef)(!1),d=(0,r.useCallback)((function(e,r){var i=xn(r);o.current.set(i,e),n.current.set(e,i),s.current+=1;var a,c=s.current;a=function(){c===s.current&&(u.current||t({}))},Promise.resolve().then(a)}),[]),f=(0,r.useCallback)((function(e,t){var r=xn(t);o.current.delete(r),n.current.delete(e)}),[]),p=(0,r.useCallback)((function(e){l(e)}),[]),v=(0,r.useCallback)((function(e,t){var r=n.current.get(e)||"",o=r.split(Sn);return t&&c.includes(o[0])&&o.unshift(Cn),o}),[c]),m=(0,r.useCallback)((function(e,t){return e.some((function(e){return v(e,!0).includes(t)}))}),[v]),h=(0,r.useCallback)((function(e){var t="".concat(n.current.get(e)).concat(Sn),r=new Set;return(0,_.A)(o.current.keys()).forEach((function(e){e.startsWith(t)&&r.add(o.current.get(e))})),r}),[]);return r.useEffect((function(){return function(){u.current=!0}}),[]),{registerPath:d,unregisterPath:f,refreshOverflowKeys:p,isSubPathKey:m,getKeyPath:v,getKeys:function(){var e=(0,_.A)(n.current.keys());return c.length&&e.push(Cn),e},getSubPathKeys:h}}function En(e){var t=r.useRef(e);t.current=e;var n=r.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o1&&(y.motionAppear=!1);var A=y.onVisibleChanged;return y.onVisibleChanged=function(e){return p.current||e||g(!0),null==A?void 0:A(e)},h?null:r.createElement(Zt,{mode:a,locked:!p.current},r.createElement(Fe.Ay,(0,P.A)({visible:b},y,{forceRender:s,removeOnLeave:!1,leavedClassName:"".concat(l,"-hidden")}),(function(e){var n=e.className,o=e.style;return r.createElement(Xn,{id:t,className:n,style:o},i)})))}var Jn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],er=["active"],tr=function(e){var t=e.style,n=e.className,o=e.title,a=e.eventKey,c=(e.warnKey,e.disabled),l=e.internalPopupClose,s=e.children,u=e.itemIcon,d=e.expandIcon,f=e.popupClassName,p=e.popupOffset,v=e.popupStyle,m=e.onClick,h=e.onMouseEnter,g=e.onMouseLeave,b=e.onTitleClick,y=e.onTitleMouseEnter,A=e.onTitleMouseLeave,w=(0,ne.A)(e,Jn),S=Yt(a),x=r.useContext(Qt),C=x.prefixCls,k=x.mode,E=x.openKeys,M=x.disabled,O=x.overflowDisabled,$=x.activeKey,T=x.selectedKeys,R=x.itemIcon,z=x.expandIcon,I=x.onItemClick,N=x.onOpenChange,L=x.onActive,j=r.useContext(an)._internalRenderSubMenuItem,_=r.useContext(on).isSubPathKey,H=rn(),D="".concat(C,"-submenu"),B=M||c,W=r.useRef(),F=r.useRef();var X=null!=u?u:R,K=null!=d?d:z,G=E.includes(a),q=!O&&G,Y=_(T,a),V=$n(a,B,y,A),U=V.active,Q=(0,ne.A)(V,er),te=r.useState(!1),re=(0,ee.A)(te,2),oe=re[0],ie=re[1],ae=function(e){B||ie(e)},ce=r.useMemo((function(){return U||"inline"!==k&&(oe||_([$],a))}),[k,U,$,oe,a,_]),le=Tn(H.length),se=En((function(e){null==m||m(zn(e)),I(e)})),ue=S&&"".concat(S,"-popup"),de=r.createElement("div",(0,P.A)({role:"menuitem",style:le,className:"".concat(D,"-title"),tabIndex:B?null:-1,ref:W,title:"string"==typeof o?o:null,"data-menu-id":O&&S?null:S,"aria-expanded":q,"aria-haspopup":!0,"aria-controls":ue,"aria-disabled":B,onClick:function(e){B||(null==b||b({key:a,domEvent:e}),"inline"===k&&N(a,!G))},onFocus:function(){L(a)}},Q),o,r.createElement(Rn,{icon:"horizontal"!==k?K:void 0,props:(0,J.A)((0,J.A)({},e),{},{isOpen:q,isSubMenu:!0})},r.createElement("i",{className:"".concat(D,"-arrow")}))),fe=r.useRef(k);if("inline"!==k&&H.length>1?fe.current="vertical":fe.current=k,!O){var pe=fe.current;de=r.createElement(Qn,{mode:pe,prefixCls:D,visible:!l&&q&&"inline"!==k,popupClassName:f,popupOffset:p,popupStyle:v,popup:r.createElement(Zt,{mode:"horizontal"===pe?"vertical":pe},r.createElement(Xn,{id:ue,ref:F},s)),disabled:B,onVisibleChange:function(e){"inline"!==k&&N(a,e)}},de)}var ve=r.createElement(Xt.Item,(0,P.A)({role:"none"},w,{component:"li",style:t,className:i()(D,"".concat(D,"-").concat(k),n,(0,Z.A)((0,Z.A)((0,Z.A)((0,Z.A)({},"".concat(D,"-open"),q),"".concat(D,"-active"),ce),"".concat(D,"-selected"),Y),"".concat(D,"-disabled"),B)),onMouseEnter:function(e){ae(!0),null==h||h({key:a,domEvent:e})},onMouseLeave:function(e){ae(!1),null==g||g({key:a,domEvent:e})}}),de,!O&&r.createElement(Zn,{id:ue,open:q,keyPath:H},s));return j&&(ve=j(ve,e,{selected:Y,active:ce,open:q,disabled:B})),r.createElement(Zt,{onItemClick:se,mode:"horizontal"===k?"vertical":k,itemIcon:X,expandIcon:K},ve)};function nr(e){var t,n=e.eventKey,o=e.children,i=rn(n),a=Kn(o,i),c=tn();return r.useEffect((function(){if(c)return c.registerPath(n,i),function(){c.unregisterPath(n,i)}}),[i]),t=c?a:r.createElement(tr,e,a),r.createElement(nn.Provider,{value:i},t)}var rr=["className","title","eventKey","children"],or=["children"],ir=function(e){var t=e.className,n=e.title,o=(e.eventKey,e.children),a=(0,ne.A)(e,rr),c=r.useContext(Qt).prefixCls,l="".concat(c,"-item-group");return r.createElement("li",(0,P.A)({role:"presentation"},a,{onClick:function(e){return e.stopPropagation()},className:i()(l,t)}),r.createElement("div",{role:"presentation",className:"".concat(l,"-title"),title:"string"==typeof n?n:void 0},n),r.createElement("ul",{role:"group",className:"".concat(l,"-list")},o))};function ar(e){var t=e.children,n=(0,ne.A)(e,or),o=Kn(t,rn(n.eventKey));return tn()?o:r.createElement(ir,(0,a.A)(n,["warnKey"]),o)}function cr(e){var t=e.className,n=e.style,o=r.useContext(Qt).prefixCls;return tn()?null:r.createElement("li",{role:"separator",className:i()("".concat(o,"-item-divider"),t),style:n})}var lr=["label","children","key","type"];function sr(e){return(e||[]).map((function(e,t){if(e&&"object"===(0,te.A)(e)){var n=e,o=n.label,i=n.children,a=n.key,c=n.type,l=(0,ne.A)(n,lr),s=null!=a?a:"tmp-".concat(t);return i||"group"===c?"group"===c?r.createElement(ar,(0,P.A)({key:s},l,{title:o}),sr(i)):r.createElement(nr,(0,P.A)({key:s},l,{title:o}),sr(i)):"divider"===c?r.createElement(cr,(0,P.A)({key:s},l)):r.createElement(Dn,(0,P.A)({key:s},l),o)}return null})).filter((function(e){return e}))}function ur(e,t,n){var r=e;return t&&(r=sr(t)),Kn(r,n)}var dr=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],fr=[],pr=r.forwardRef((function(e,t){var n,o=e,a=o.prefixCls,c=void 0===a?"rc-menu":a,l=o.rootClassName,s=o.style,u=o.className,d=o.tabIndex,f=void 0===d?0:d,p=o.items,v=o.children,m=o.direction,h=o.id,g=o.mode,b=void 0===g?"vertical":g,y=o.inlineCollapsed,A=o.disabled,w=o.disabledOverflow,S=o.subMenuOpenDelay,x=void 0===S?.1:S,C=o.subMenuCloseDelay,k=void 0===C?.1:C,E=o.forceSubMenuRender,M=o.defaultOpenKeys,O=o.openKeys,$=o.activeKey,T=o.defaultActiveFirst,R=o.selectable,z=void 0===R||R,I=o.multiple,N=void 0!==I&&I,L=o.defaultSelectedKeys,j=o.selectedKeys,H=o.onSelect,D=o.onDeselect,B=o.inlineIndent,W=void 0===B?24:B,F=o.motion,X=o.defaultMotions,K=o.triggerSubMenuAction,G=void 0===K?"hover":K,q=o.builtinPlacements,Y=o.itemIcon,V=o.expandIcon,U=o.overflowedIndicator,Q=void 0===U?"...":U,te=o.overflowedIndicatorPopupClassName,oe=o.getPopupContainer,ie=o.onClick,ae=o.onOpenChange,ce=o.onKeyDown,le=(o.openAnimation,o.openTransitionName,o._internalRenderMenuItem),se=o._internalRenderSubMenuItem,ue=(0,ne.A)(o,dr),de=r.useMemo((function(){return ur(v,p,fr)}),[v,p]),fe=r.useState(!1),pe=(0,ee.A)(fe,2),ve=pe[0],me=pe[1],he=r.useRef(),ge=function(e){var t=(0,re.A)(e,{value:e}),n=(0,ee.A)(t,2),o=n[0],i=n[1];return r.useEffect((function(){On+=1;var e="".concat(Mn,"-").concat(On);i("rc-menu-uuid-".concat(e))}),[]),o}(h),be="rtl"===m;var ye=(0,re.A)(M,{value:O,postState:function(e){return e||fr}}),Ae=(0,ee.A)(ye,2),we=Ae[0],Se=Ae[1],xe=function(e){function t(){Se(e),null==ae||ae(e)}arguments.length>1&&void 0!==arguments[1]&&arguments[1]?(0,Ot.flushSync)(t):t()},Ce=r.useState(we),ke=(0,ee.A)(Ce,2),Ee=ke[0],Me=ke[1],Oe=r.useRef(!1),$e=r.useMemo((function(){return"inline"!==b&&"vertical"!==b||!y?[b,!1]:["vertical",y]}),[b,y]),Te=(0,ee.A)($e,2),Re=Te[0],Pe=Te[1],ze="inline"===Re,Ie=r.useState(Re),Ne=(0,ee.A)(Ie,2),Le=Ne[0],je=Ne[1],_e=r.useState(Pe),He=(0,ee.A)(_e,2),De=He[0],Be=He[1];r.useEffect((function(){je(Re),Be(Pe),Oe.current&&(ze?Se(Ee):xe(fr))}),[Re,Pe]);var We=r.useState(0),Fe=(0,ee.A)(We,2),Xe=Fe[0],Ke=Fe[1],Ge=Xe>=de.length-1||"horizontal"!==Le||w;r.useEffect((function(){ze&&Me(we)}),[we]),r.useEffect((function(){return Oe.current=!0,function(){Oe.current=!1}}),[]);var qe=kn(),Ye=qe.registerPath,Ve=qe.unregisterPath,Ue=qe.refreshOverflowKeys,Qe=qe.isSubPathKey,Ze=qe.getKeyPath,Je=qe.getKeys,et=qe.getSubPathKeys,tt=r.useMemo((function(){return{registerPath:Ye,unregisterPath:Ve}}),[Ye,Ve]),nt=r.useMemo((function(){return{isSubPathKey:Qe}}),[Qe]);r.useEffect((function(){Ue(Ge?fr:de.slice(Xe+1).map((function(e){return e.key})))}),[Xe,Ge]);var rt=(0,re.A)($||T&&(null===(n=de[0])||void 0===n?void 0:n.key),{value:$}),ot=(0,ee.A)(rt,2),it=ot[0],at=ot[1],ct=En((function(e){at(e)})),lt=En((function(){at(void 0)}));(0,r.useImperativeHandle)(t,(function(){return{list:he.current,focus:function(e){var t,n,r=Je(),o=An(r,ge),i=o.elements,a=o.key2element,c=o.element2key,l=bn(he.current,i),s=null!=it?it:l[0]?c.get(l[0]):null===(t=de.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key,u=a.get(s);s&&u&&(null==u||null===(n=u.focus)||void 0===n||n.call(u,e))}}}));var st=(0,re.A)(L||[],{value:j,postState:function(e){return Array.isArray(e)?e:null==e?fr:[e]}}),ut=(0,ee.A)(st,2),dt=ut[0],ft=ut[1],pt=En((function(e){null==ie||ie(zn(e)),function(e){if(z){var t,n=e.key,r=dt.includes(n);t=N?r?dt.filter((function(e){return e!==n})):[].concat((0,_.A)(dt),[n]):[n],ft(t);var o=(0,J.A)((0,J.A)({},e),{},{selectedKeys:t});r?null==D||D(o):null==H||H(o)}!N&&we.length&&"inline"!==Le&&xe(fr)}(e)})),vt=En((function(e,t){var n=we.filter((function(t){return t!==e}));if(t)n.push(e);else if("inline"!==Le){var r=et(e);n=n.filter((function(e){return!r.has(e)}))}(0,Kt.A)(we,n,!0)||xe(n,!0)})),mt=wn(Le,it,be,ge,he,Je,Ze,at,(function(e,t){var n=null!=t?t:!we.includes(e);vt(e,n)}),ce);r.useEffect((function(){me(!0)}),[]);var ht=r.useMemo((function(){return{_internalRenderMenuItem:le,_internalRenderSubMenuItem:se}}),[le,se]),gt="horizontal"!==Le||w?de:de.map((function(e,t){return r.createElement(Zt,{key:e.key,overflowDisabled:t>Xe},e)})),bt=r.createElement(Xt,(0,P.A)({id:h,ref:he,prefixCls:"".concat(c,"-overflow"),component:"ul",itemComponent:Dn,className:i()(c,"".concat(c,"-root"),"".concat(c,"-").concat(Le),u,(0,Z.A)((0,Z.A)({},"".concat(c,"-inline-collapsed"),De),"".concat(c,"-rtl"),be),l),dir:m,style:s,role:"menu",tabIndex:f,data:gt,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?de.slice(-t):null;return r.createElement(nr,{eventKey:Cn,title:Q,disabled:Ge,internalPopupClose:0===t,popupClassName:te},n)},maxCount:"horizontal"!==Le||w?Xt.INVALIDATE:Xt.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){Ke(e)},onKeyDown:mt},ue));return r.createElement(an.Provider,{value:ht},r.createElement(Gt.Provider,{value:ge},r.createElement(Zt,{prefixCls:c,rootClassName:l,mode:Le,openKeys:we,rtl:be,disabled:A,motion:ve?F:null,defaultMotions:ve?X:null,activeKey:it,onActive:ct,onInactive:lt,selectedKeys:dt,inlineIndent:W,subMenuOpenDelay:x,subMenuCloseDelay:k,forceSubMenuRender:E,builtinPlacements:q,triggerSubMenuAction:G,getPopupContainer:oe,itemIcon:Y,expandIcon:V,onItemClick:pt,onOpenChange:vt},r.createElement(on.Provider,{value:nt},bt),r.createElement("div",{style:{display:"none"},"aria-hidden":!0},r.createElement(en.Provider,{value:tt},de)))))}));var vr=pr;vr.Item=Dn,vr.SubMenu=nr,vr.ItemGroup=ar,vr.Divider=cr;const mr=vr;var hr=r.forwardRef((function(e,t){var n=e.prefixCls,o=e.id,a=e.tabs,c=e.locale,l=e.mobile,s=e.moreIcon,u=void 0===s?"More":s,d=e.moreTransitionName,f=e.style,p=e.className,v=e.editable,m=e.tabBarGutter,h=e.rtl,g=e.removeAriaLabel,b=e.onTabClick,y=e.getPopupContainer,A=e.popupClassName,w=(0,r.useState)(!1),S=(0,ee.A)(w,2),x=S[0],C=S[1],k=(0,r.useState)(null),E=(0,ee.A)(k,2),M=E[0],O=E[1],$="".concat(o,"-more-popup"),T="".concat(n,"-dropdown"),R=null!==M?"".concat($,"-").concat(M):null,P=null==c?void 0:c.dropdownAriaLabel;var z=r.createElement(mr,{onClick:function(e){var t=e.key,n=e.domEvent;b(t,n),C(!1)},prefixCls:"".concat(T,"-menu"),id:$,tabIndex:-1,role:"listbox","aria-activedescendant":R,selectedKeys:[M],"aria-label":void 0!==P?P:"expanded dropdown"},a.map((function(e){var t=e.closable,n=e.disabled,i=e.closeIcon,a=e.key,c=e.label,l=Le(t,i,v,n);return r.createElement(Dn,{key:a,id:"".concat($,"-").concat(a),role:"option","aria-controls":o&&"".concat(o,"-panel-").concat(a),disabled:n},r.createElement("span",null,c),l&&r.createElement("button",{type:"button","aria-label":g||"remove",tabIndex:0,className:"".concat(T,"-menu-item-remove"),onClick:function(e){e.stopPropagation(),function(e,t){e.preventDefault(),e.stopPropagation(),v.onEdit("remove",{key:t,event:e})}(e,a)}},i||v.removeIcon||"\xd7"))})));function I(e){for(var t=a.filter((function(e){return!e.disabled})),n=t.findIndex((function(e){return e.key===M}))||0,r=t.length,o=0;ot?"left":"right"})})),R=(0,ee.A)(T,2),z=R[0],I=R[1],N=$e(0,(function(e,t){!$&&g&&g({direction:e>t?"top":"bottom"})})),L=(0,ee.A)(N,2),j=L[0],H=L[1],D=(0,r.useState)([0,0]),B=(0,ee.A)(D,2),W=B[0],F=B[1],X=(0,r.useState)([0,0]),K=(0,ee.A)(X,2),G=K[0],q=K[1],Y=(0,r.useState)([0,0]),V=(0,ee.A)(Y,2),U=V[0],Q=V[1],te=(0,r.useState)([0,0]),ne=(0,ee.A)(te,2),re=ne[0],oe=ne[1],ae=function(e){var t=(0,r.useRef)([]),n=(0,r.useState)({}),o=(0,ee.A)(n,2)[1],i=(0,r.useRef)("function"==typeof e?e():e),a=Pe((function(){var e=i.current;t.current.forEach((function(t){e=t(e)})),t.current=[],i.current=e,o({})}));return[i.current,function(e){t.current.push(e),a()}]}(new Map),ce=(0,ee.A)(ae,2),le=ce[0],se=ce[1],de=function(e,t,n){return(0,r.useMemo)((function(){for(var n,r=new Map,o=t.get(null===(n=e[0])||void 0===n?void 0:n.key)||Oe,i=o.left+o.width,a=0;aAe?Ae:e}$&&s?(ye=0,Ae=Math.max(0,pe-ge)):(ye=Math.min(0,ge-pe),Ae=0);var Se=(0,r.useRef)(null),xe=(0,r.useState)(),Ee=(0,ee.A)(xe,2),Re=Ee[0],Le=Ee[1];function je(){Le(Date.now())}function De(){Se.current&&clearTimeout(Se.current)}!function(e,t){var n=(0,r.useState)(),o=(0,ee.A)(n,2),i=o[0],a=o[1],c=(0,r.useState)(0),l=(0,ee.A)(c,2),s=l[0],u=l[1],d=(0,r.useState)(0),f=(0,ee.A)(d,2),p=f[0],v=f[1],m=(0,r.useState)(),h=(0,ee.A)(m,2),g=h[0],b=h[1],y=(0,r.useRef)(),A=(0,r.useRef)(),w=(0,r.useRef)(null);w.current={onTouchStart:function(e){var t=e.touches[0],n=t.screenX,r=t.screenY;a({x:n,y:r}),window.clearInterval(y.current)},onTouchMove:function(e){if(i){e.preventDefault();var n=e.touches[0],r=n.screenX,o=n.screenY;a({x:r,y:o});var c=r-i.x,l=o-i.y;t(c,l);var d=Date.now();u(d),v(d-s),b({x:c,y:l})}},onTouchEnd:function(){if(i&&(a(null),b(null),g)){var e=g.x/p,n=g.y/p,r=Math.abs(e),o=Math.abs(n);if(Math.max(r,o)<.1)return;var c=e,l=n;y.current=window.setInterval((function(){Math.abs(c)<.01&&Math.abs(l)<.01?window.clearInterval(y.current):t(20*(c*=Te),20*(l*=Te))}),20)}},onWheel:function(e){var n=e.deltaX,r=e.deltaY,o=0,i=Math.abs(n),a=Math.abs(r);i===a?o="x"===A.current?n:r:i>a?(o=n,A.current="x"):(o=r,A.current="y"),t(-o,-o)&&e.preventDefault()}},r.useEffect((function(){function t(e){w.current.onTouchMove(e)}function n(e){w.current.onTouchEnd(e)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",n,{passive:!1}),e.current.addEventListener("touchstart",(function(e){w.current.onTouchStart(e)}),{passive:!1}),e.current.addEventListener("wheel",(function(e){w.current.onWheel(e)})),function(){document.removeEventListener("touchmove",t),document.removeEventListener("touchend",n)}}),[])}(k,(function(e,t){function n(e,t){e((function(e){return we(e+t)}))}return!!he&&($?n(I,e):n(H,t),De(),je(),!0)})),(0,r.useEffect)((function(){return De(),Re&&(Se.current=setTimeout((function(){Le(0)}),100)),De}),[Re]);var Be=function(e,t,n,o,i,a,c){var l,s,u,d=c.tabs,f=c.tabPosition,p=c.rtl;return["top","bottom"].includes(f)?(l="width",s=p?"right":"left",u=Math.abs(n)):(l="height",s="top",u=-n),(0,r.useMemo)((function(){if(!d.length)return[0,0];for(var n=d.length,r=n,o=0;ou+t){r=o-1;break}}for(var a=0,c=n-1;c>=0;c-=1)if((e.get(d[c].key)||ze)[s]=r?[0,0]:[a,r]}),[e,t,o,i,a,u,f,d.map((function(e){return e.key})).join("_"),p])}(de,ge,$?z:j,pe,ve,me,(0,J.A)((0,J.A)({},e),{},{tabs:w})),We=(0,ee.A)(Be,2),Fe=We[0],Xe=We[1],Ke=(0,ke.A)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=de.get(e)||{width:0,height:0,left:0,right:0,top:0};if($){var n=z;s?t.rightz+ge&&(n=t.right+t.width-ge):t.left<-z?n=-t.left:t.left+t.width>-z+ge&&(n=-(t.left+t.width-ge)),H(0),I(we(n))}else{var r=j;t.top<-j?r=-t.top:t.top+t.height>-j+ge&&(r=-(t.top+t.height-ge)),I(0),H(we(r))}})),Ge={};"top"===p||"bottom"===p?Ge[s?"marginRight":"marginLeft"]=v:Ge.marginTop=v;var qe=w.map((function(e,t){var n=e.key;return r.createElement(br,{id:a,prefixCls:A,key:n,tab:e,style:0===t?void 0:Ge,closable:e.closable,editable:d,active:n===l,renderWrapper:m,removeAriaLabel:null==f?void 0:f.removeAriaLabel,onClick:function(e){h(n,e)},onFocus:function(){Ke(n),je(),k.current&&(s||(k.current.scrollLeft=0),k.current.scrollTop=0)}})})),Ye=function(){return se((function(){var e,t=new Map,n=null===(e=E.current)||void 0===e?void 0:e.getBoundingClientRect();return w.forEach((function(e){var r,o=e.key,i=null===(r=E.current)||void 0===r?void 0:r.querySelector('[data-node-key="'.concat(Ne(o),'"]'));if(i){var a=function(e,t){var n=e.offsetWidth,r=e.offsetHeight,o=e.offsetTop,i=e.offsetLeft,a=e.getBoundingClientRect(),c=a.width,l=a.height,s=a.x,u=a.y;return Math.abs(c-n)<1?[c,l,s-t.x,u-t.y]:[n,r,i,o]}(i,n),c=(0,ee.A)(a,4),l=c[0],s=c[1],u=c[2],d=c[3];t.set(o,{width:l,height:s,left:u,top:d})}})),t}))};(0,r.useEffect)((function(){Ye()}),[w.map((function(e){return e.key})).join("_")]);var Ve=Pe((function(){var e=yr(S),t=yr(x),n=yr(C);F([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var r=yr(O);Q(r);var o=yr(M);oe(o);var i=yr(E);q([i[0]-r[0],i[1]-r[1]]),Ye()})),Ue=w.slice(0,Fe),Qe=w.slice(Xe+1),Ze=[].concat((0,_.A)(Ue),(0,_.A)(Qe)),Je=de.get(l),et=Me({activeTabOffset:Je,horizontal:$,indicator:b,rtl:s}).style;(0,r.useEffect)((function(){Ke()}),[l,ye,Ae,Ie(Je),Ie(de),$]),(0,r.useEffect)((function(){Ve()}),[s]);var tt,nt,rt,ot,it=!!Ze.length,at="".concat(A,"-nav-wrap");return $?s?(nt=z>0,tt=z!==Ae):(tt=z<0,nt=z!==ye):(rt=j<0,ot=j!==ye),r.createElement(Ce,{onResize:Ve},r.createElement("div",{ref:(0,ue.xK)(t,S),role:"tablist",className:i()("".concat(A,"-nav"),n),style:o,onKeyDown:function(){je()}},r.createElement(He,{ref:x,position:"left",extra:u,prefixCls:A}),r.createElement(Ce,{onResize:Ve},r.createElement("div",{className:i()(at,(0,Z.A)((0,Z.A)((0,Z.A)((0,Z.A)({},"".concat(at,"-ping-left"),tt),"".concat(at,"-ping-right"),nt),"".concat(at,"-ping-top"),rt),"".concat(at,"-ping-bottom"),ot)),ref:k},r.createElement(Ce,{onResize:Ve},r.createElement("div",{ref:E,className:"".concat(A,"-nav-list"),style:{transform:"translate(".concat(z,"px, ").concat(j,"px)"),transition:Re?"none":void 0}},qe,r.createElement(_e,{ref:O,prefixCls:A,locale:f,editable:d,style:(0,J.A)((0,J.A)({},0===qe.length?void 0:Ge),{},{visibility:it?"hidden":null})}),r.createElement("div",{className:i()("".concat(A,"-ink-bar"),(0,Z.A)({},"".concat(A,"-ink-bar-animated"),c.inkBar)),style:et}))))),r.createElement(gr,(0,P.A)({},e,{removeAriaLabel:null==f?void 0:f.removeAriaLabel,ref:M,prefixCls:A,tabs:Ze,className:!it&&be,tabMoving:!!Re})),r.createElement(He,{ref:C,position:"right",extra:u,prefixCls:A})))}));const Sr=wr;var xr=r.forwardRef((function(e,t){var n=e.prefixCls,o=e.className,a=e.style,c=e.id,l=e.active,s=e.tabKey,u=e.children;return r.createElement("div",{id:c&&"".concat(c,"-panel-").concat(s),role:"tabpanel",tabIndex:l?0:-1,"aria-labelledby":c&&"".concat(c,"-tab-").concat(s),"aria-hidden":!l,style:a,className:i()(n,l&&"".concat(n,"-active"),o),ref:t},u)}));const Cr=xr;var kr=["renderTabBar"],Er=["label","key"];const Mr=function(e){var t=e.renderTabBar,n=(0,ne.A)(e,kr),o=r.useContext(ie).tabs;return t?t((0,J.A)((0,J.A)({},n),{},{panes:o.map((function(e){var t=e.label,n=e.key,o=(0,ne.A)(e,Er);return r.createElement(Cr,(0,P.A)({tab:t,key:n,tabKey:n},o))}))}),Sr):r.createElement(Sr,n)};var Or=["key","forceRender","style","className","destroyInactiveTabPane"];const $r=function(e){var t=e.id,n=e.activeKey,o=e.animated,a=e.tabPosition,c=e.destroyInactiveTabPane,l=r.useContext(ie),s=l.prefixCls,u=l.tabs,d=o.tabPane,f="".concat(s,"-tabpane");return r.createElement("div",{className:i()("".concat(s,"-content-holder"))},r.createElement("div",{className:i()("".concat(s,"-content"),"".concat(s,"-content-").concat(a),(0,Z.A)({},"".concat(s,"-content-animated"),d))},u.map((function(e){var a=e.key,l=e.forceRender,s=e.style,u=e.className,p=e.destroyInactiveTabPane,v=(0,ne.A)(e,Or),m=a===n;return r.createElement(Fe.Ay,(0,P.A)({key:a,visible:m,forceRender:l,removeOnLeave:!(!c&&!p),leavedClassName:"".concat(f,"-hidden")},o.tabPaneMotion),(function(e,n){var o=e.style,c=e.className;return r.createElement(Cr,(0,P.A)({},v,{prefixCls:f,id:t,tabKey:a,animated:d,active:m,style:(0,J.A)((0,J.A)({},s),o),className:i()(u,c),ref:n}))}))}))))};var Tr=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],Rr=0;const Pr=r.forwardRef((function(e,t){var n=e.id,o=e.prefixCls,a=void 0===o?"rc-tabs":o,c=e.className,l=e.items,s=e.direction,u=e.activeKey,d=e.defaultActiveKey,f=e.editable,p=e.animated,v=e.tabPosition,m=void 0===v?"top":v,h=e.tabBarGutter,g=e.tabBarStyle,b=e.tabBarExtraContent,y=e.locale,A=e.moreIcon,w=e.moreTransitionName,S=e.destroyInactiveTabPane,x=e.renderTabBar,C=e.onChange,k=e.onTabClick,E=e.onTabScroll,M=e.getPopupContainer,O=e.popupClassName,$=e.indicator,T=(0,ne.A)(e,Tr),R=r.useMemo((function(){return(l||[]).filter((function(e){return e&&"object"===(0,te.A)(e)&&"key"in e}))}),[l]),z="rtl"===s,I=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:(0,J.A)({inkBar:!0},"object"===(0,te.A)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(p),N=(0,r.useState)(!1),L=(0,ee.A)(N,2),j=L[0],_=L[1];(0,r.useEffect)((function(){_(oe())}),[]);var H=(0,re.A)((function(){var e;return null===(e=R[0])||void 0===e?void 0:e.key}),{value:u,defaultValue:d}),D=(0,ee.A)(H,2),B=D[0],W=D[1],F=(0,r.useState)((function(){return R.findIndex((function(e){return e.key===B}))})),X=(0,ee.A)(F,2),K=X[0],G=X[1];(0,r.useEffect)((function(){var e,t=R.findIndex((function(e){return e.key===B}));-1===t&&(t=Math.max(0,Math.min(K,R.length-1)),W(null===(e=R[t])||void 0===e?void 0:e.key));G(t)}),[R.map((function(e){return e.key})).join("_"),B,K]);var q=(0,re.A)(null,{value:n}),Y=(0,ee.A)(q,2),V=Y[0],U=Y[1];(0,r.useEffect)((function(){n||(U("rc-tabs-".concat(Rr)),Rr+=1)}),[]);var Q={id:V,activeKey:B,animated:I,tabPosition:m,rtl:z,mobile:j},ae=(0,J.A)((0,J.A)({},Q),{},{editable:f,locale:y,moreIcon:A,moreTransitionName:w,tabBarGutter:h,onTabClick:function(e,t){null==k||k(e,t);var n=e!==B;W(e),n&&(null==C||C(e))},onTabScroll:E,extra:b,style:g,panes:null,getPopupContainer:M,popupClassName:O,indicator:$});return r.createElement(ie.Provider,{value:{tabs:R,prefixCls:a}},r.createElement("div",(0,P.A)({ref:t,id:n,className:i()(a,"".concat(a,"-").concat(m),(0,Z.A)((0,Z.A)((0,Z.A)({},"".concat(a,"-mobile"),j),"".concat(a,"-editable"),f),"".concat(a,"-rtl"),z),c)},T),r.createElement(Mr,(0,P.A)({},ae,{renderTabBar:x})),r.createElement($r,(0,P.A)({destroyInactiveTabPane:S},Q,{animated:I}))))}));var zr=n(934),Ir=n(3723);const Nr={motionAppear:!1,motionEnter:!0,motionLeave:!0};var Lr=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=Hr[t];return[(0,_r.b)(r,o,i,e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},Br=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[Dr(e,"slide-up"),Dr(e,"slide-down")]]},Wr=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:o,colorBorderSecondary:i,itemSelectedColor:a}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${(0,d.zA)(e.lineWidth)} ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:a,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,d.zA)(o)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${(0,d.zA)(e.borderRadiusLG)} ${(0,d.zA)(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${(0,d.zA)(e.borderRadiusLG)} ${(0,d.zA)(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:(0,d.zA)(o)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,d.zA)(e.borderRadiusLG)} 0 0 ${(0,d.zA)(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,d.zA)(e.borderRadiusLG)} ${(0,d.zA)(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},Fr=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,jr.dF)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${(0,d.zA)(r)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},jr.L9),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${(0,d.zA)(e.paddingXXS)} ${(0,d.zA)(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Xr=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:o,verticalItemPadding:i,verticalItemMargin:a,calc:c}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:o,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,d.zA)(e.lineWidth)} ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},\n right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,\n > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:c(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,d.zA)(c(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,d.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:c(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,d.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},Kr=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:o,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${(0,d.zA)(e.borderRadius)} ${(0,d.zA)(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${(0,d.zA)(e.borderRadius)} ${(0,d.zA)(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,d.zA)(e.borderRadius)} ${(0,d.zA)(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,d.zA)(e.borderRadius)} 0 0 ${(0,d.zA)(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},Gr=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:o,tabsHorizontalItemMargin:i,horizontalItemPadding:a,itemSelectedColor:c,itemColor:l}=e,s=`${t}-tab`;return{[s]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:l,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},(0,jr.K8)(e)),"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${s}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${s}-active ${s}-btn`]:{color:c,textShadow:e.tabsActiveTextShadow},[`&${s}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${s}-disabled ${s}-btn, &${s}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${s}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${s} + ${s}`]:{margin:{_skip_check_:!0,value:i}}}},qr=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:o,calc:i}=e,a=`${t}-rtl`;return{[a]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,d.zA)(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,d.zA)(e.marginXS)},marginLeft:{_skip_check_:!0,value:(0,d.zA)(i(e.marginXXS).mul(-1).equal())},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:o},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Yr=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:o,itemHoverColor:i,itemActiveColor:a,colorBorderSecondary:c}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,jr.dF)(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,minHeight:r,marginLeft:{_skip_check_:!0,value:o},padding:`0 ${(0,d.zA)(e.paddingXS)}`,background:"transparent",border:`${(0,d.zA)(e.lineWidth)} ${e.lineType} ${c}`,borderRadius:`${(0,d.zA)(e.borderRadiusLG)} ${(0,d.zA)(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:a}},(0,jr.K8)(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),Gr(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},Vr=(0,f.OF)("Tabs",(e=>{const t=(0,p.h1)(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,d.zA)(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,d.zA)(e.horizontalItemGutter)}`});return[Kr(t),qr(t),Xr(t),Fr(t),Wr(t),Yr(t),Br(t)]}),(e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}}));var Ur=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{var t,n,o,a,l,u,d,f;const{type:p,className:v,rootClassName:m,size:h,onEdit:g,hideAdd:b,centered:y,addIcon:A,removeIcon:w,moreIcon:S,popupClassName:x,children:C,items:k,animated:E,style:M,indicatorSize:O,indicator:$}=e,T=Ur(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:R}=T,{direction:P,tabs:z,getPrefixCls:I,getPopupContainer:N}=r.useContext(c.QO),L=I("tabs",R),j=(0,zr.A)(L),[_,H,D]=Vr(L,j);let B;"editable-card"===p&&(B={onEdit:(e,t)=>{let{key:n,event:r}=t;null==g||g("add"===e?r:n,e)},removeIcon:null!==(t=null!=w?w:null==z?void 0:z.removeIcon)&&void 0!==t?t:r.createElement(K.A,null),addIcon:(null!=A?A:null==z?void 0:z.addIcon)||r.createElement(Q,null),showAdd:!0!==b});const W=I();const F=s(h),X=function(e,t){return e||function(e){return e.filter((e=>e))}(ce(t).map((e=>{if(r.isValidElement(e)){const{key:t,props:n}=e,r=n||{},{tab:o}=r,i=Lr(r,["tab"]);return Object.assign(Object.assign({key:String(t)},i),{label:o})}return null})))}(k,C),G=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{}),t.tabPane&&(t.tabPaneMotion=Object.assign(Object.assign({},Nr),{motionName:(0,Ir.b)(e,"switch")})),t}(L,E),q=Object.assign(Object.assign({},null==z?void 0:z.style),M),V={align:null!==(n=null==$?void 0:$.align)&&void 0!==n?n:null===(o=null==z?void 0:z.indicator)||void 0===o?void 0:o.align,size:null!==(d=null!==(l=null!==(a=null==$?void 0:$.size)&&void 0!==a?a:O)&&void 0!==l?l:null===(u=null==z?void 0:z.indicator)||void 0===u?void 0:u.size)&&void 0!==d?d:null==z?void 0:z.indicatorSize};return _(r.createElement(Pr,Object.assign({direction:P,getPopupContainer:N,moreTransitionName:`${W}-slide-up`},T,{items:X,className:i()({[`${L}-${F}`]:F,[`${L}-card`]:["card","editable-card"].includes(p),[`${L}-editable-card`]:"editable-card"===p,[`${L}-centered`]:y},null==z?void 0:z.className,v,m,H,D,j),popupClassName:i()(x,H,D,j),style:q,editable:B,moreIcon:null!==(f=null!=S?S:null==z?void 0:z.moreIcon)&&void 0!==f?f:r.createElement(Y,null),prefixCls:L,animated:G,indicator:V})))};Qr.TabPane=()=>null;const Zr=Qr;var Jr=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{var{prefixCls:t,className:n,hoverable:o=!0}=e,a=Jr(e,["prefixCls","className","hoverable"]);const{getPrefixCls:l}=r.useContext(c.QO),s=l("card",t),u=i()(`${s}-grid`,n,{[`${s}-grid-hoverable`]:o});return r.createElement("div",Object.assign({},a,{className:u}))},to=e=>{const{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:o,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${(0,d.zA)(o)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,d.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,d.zA)(e.borderRadiusLG)} ${(0,d.zA)(e.borderRadiusLG)} 0 0`},(0,jr.t6)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},jr.L9),{[`\n > ${n}-typography,\n > ${n}-typography-edit-content\n `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${(0,d.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},no=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:o}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:`\n ${(0,d.zA)(o)} 0 0 0 ${n},\n 0 ${(0,d.zA)(o)} 0 0 ${n},\n ${(0,d.zA)(o)} ${(0,d.zA)(o)} 0 0 ${n},\n ${(0,d.zA)(o)} 0 0 0 ${n} inset,\n 0 ${(0,d.zA)(o)} 0 0 ${n} inset;\n `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},ro=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:o,colorBorderSecondary:i,actionsBg:a}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:a,borderTop:`${(0,d.zA)(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${(0,d.zA)(e.borderRadiusLG)} ${(0,d.zA)(e.borderRadiusLG)}`},(0,jr.t6)()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:(0,d.zA)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:o,lineHeight:(0,d.zA)(e.calc(o).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,d.zA)(e.lineWidth)} ${e.lineType} ${i}`}}})},oo=e=>Object.assign(Object.assign({margin:`${(0,d.zA)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,jr.t6)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},jr.L9),"&-description":{color:e.colorTextDescription}}),io=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${(0,d.zA)(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${(0,d.zA)(e.padding)} ${(0,d.zA)(n)}`}}},ao=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},co=e=>{const{antCls:t,componentCls:n,cardShadow:r,cardHeadPadding:o,colorBorderSecondary:i,boxShadowTertiary:a,cardPaddingBase:c,extraColor:l}=e;return{[n]:Object.assign(Object.assign({},(0,jr.dF)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${n}-bordered)`]:{boxShadow:a},[`${n}-head`]:to(e),[`${n}-extra`]:{marginInlineStart:"auto",color:l,fontWeight:"normal",fontSize:e.fontSize},[`${n}-body`]:Object.assign({padding:c,borderRadius:`0 0 ${(0,d.zA)(e.borderRadiusLG)} ${(0,d.zA)(e.borderRadiusLG)}`},(0,jr.t6)()),[`${n}-grid`]:no(e),[`${n}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${t}-image-mask`]:{borderRadius:`${(0,d.zA)(e.borderRadiusLG)} ${(0,d.zA)(e.borderRadiusLG)} 0 0`}},[`${n}-actions`]:ro(e),[`${n}-meta`]:oo(e)}),[`${n}-bordered`]:{border:`${(0,d.zA)(e.lineWidth)} ${e.lineType} ${i}`,[`${n}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${n}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${n}-contain-grid`]:{borderRadius:`${(0,d.zA)(e.borderRadiusLG)} ${(0,d.zA)(e.borderRadiusLG)} 0 0 `,[`${n}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${n}-loading) ${n}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${n}-contain-tabs`]:{[`> ${n}-head`]:{minHeight:0,[`${n}-head-title, ${n}-extra`]:{paddingTop:o}}},[`${n}-type-inner`]:io(e),[`${n}-loading`]:ao(e),[`${n}-rtl`]:{direction:"rtl"}}},lo=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:o}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${(0,d.zA)(n)}`,fontSize:o,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},so=(0,f.OF)("Card",(e=>{const t=(0,p.h1)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[co(t),lo(t)]}),(e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})));var uo=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const{actionClasses:t,actions:n=[],actionStyle:o}=e;return r.createElement("ul",{className:t,style:o},n.map(((e,t)=>{const o=`action-${t}`;return r.createElement("li",{style:{width:100/n.length+"%"},key:o},r.createElement("span",null,e))})))},po=r.forwardRef(((e,t)=>{const{prefixCls:n,className:o,rootClassName:l,style:u,extra:d,headStyle:f={},bodyStyle:p={},title:v,loading:m,bordered:h=!0,size:g,type:b,cover:y,actions:A,tabList:w,children:S,activeTabKey:x,defaultActiveTabKey:C,tabBarExtraContent:k,hoverable:E,tabProps:M={},classNames:O,styles:$}=e,T=uo(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:R,direction:P,card:z}=r.useContext(c.QO);const I=e=>{var t;return i()(null===(t=null==z?void 0:z.classNames)||void 0===t?void 0:t[e],null==O?void 0:O[e])},N=e=>{var t;return Object.assign(Object.assign({},null===(t=null==z?void 0:z.styles)||void 0===t?void 0:t[e]),null==$?void 0:$[e])},L=r.useMemo((()=>{let e=!1;return r.Children.forEach(S,(t=>{t&&t.type&&t.type===eo&&(e=!0)})),e}),[S]),j=R("card",n),[_,H,D]=so(j),B=r.createElement(X,{loading:!0,active:!0,paragraph:{rows:4},title:!1},S),W=void 0!==x,F=Object.assign(Object.assign({},M),{[W?"activeKey":"defaultActiveKey"]:W?x:C,tabBarExtraContent:k});let K;const G=s(g),q=G&&"default"!==G?G:"large",Y=w?r.createElement(Zr,Object.assign({size:q},F,{className:`${j}-head-tabs`,onChange:t=>{var n;null===(n=e.onTabChange)||void 0===n||n.call(e,t)},items:w.map((e=>{var{tab:t}=e,n=uo(e,["tab"]);return Object.assign({label:t},n)}))})):null;if(v||d||Y){const e=i()(`${j}-head`,I("header")),t=i()(`${j}-head-title`,I("title")),n=i()(`${j}-extra`,I("extra")),o=Object.assign(Object.assign({},f),N("header"));K=r.createElement("div",{className:e,style:o},r.createElement("div",{className:`${j}-head-wrapper`},v&&r.createElement("div",{className:t,style:N("title")},v),d&&r.createElement("div",{className:n,style:N("extra")},d)),Y)}const V=i()(`${j}-cover`,I("cover")),U=y?r.createElement("div",{className:V,style:N("cover")},y):null,Q=i()(`${j}-body`,I("body")),Z=Object.assign(Object.assign({},p),N("body")),J=r.createElement("div",{className:Q,style:Z},m?B:S),ee=i()(`${j}-actions`,I("actions")),te=A&&A.length?r.createElement(fo,{actionClasses:ee,actionStyle:N("actions"),actions:A}):null,ne=(0,a.A)(T,["onTabChange"]),re=i()(j,null==z?void 0:z.className,{[`${j}-loading`]:m,[`${j}-bordered`]:h,[`${j}-hoverable`]:E,[`${j}-contain-grid`]:L,[`${j}-contain-tabs`]:w&&w.length,[`${j}-${G}`]:G,[`${j}-type-${b}`]:!!b,[`${j}-rtl`]:"rtl"===P},o,l,H,D),oe=Object.assign(Object.assign({},null==z?void 0:z.style),u);return _(r.createElement("div",Object.assign({ref:t},ne,{className:re,style:oe}),K,U,J,te))}));var vo=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:n,avatar:o,title:a,description:l}=e,s=vo(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:u}=r.useContext(c.QO),d=u("card",t),f=i()(`${d}-meta`,n),p=o?r.createElement("div",{className:`${d}-meta-avatar`},o):null,v=a?r.createElement("div",{className:`${d}-meta-title`},a):null,m=l?r.createElement("div",{className:`${d}-meta-description`},l):null,h=v||m?r.createElement("div",{className:`${d}-meta-detail`},v,m):null;return r.createElement("div",Object.assign({},s,{className:f}),p,h)},ho=po;ho.Grid=eo,ho.Meta=mo;const go=ho},3517:(e,t,n)=>{"use strict";n.d(t,{A:()=>ge});var r=n(6540),o=n(8168),i=n(9379),a=n(3029),c=n(2901),l=n(6822),s=n(2176),u=n(3954),d=n(5501),f=n(4467),p=n(2284),v=n(45);const m={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};function h(e,t,n){var r=(n||{}).atBegin;return function(e,t,n){var r,o=n||{},i=o.noTrailing,a=void 0!==i&&i,c=o.noLeading,l=void 0!==c&&c,s=o.debounceMode,u=void 0===s?void 0:s,d=!1,f=0;function p(){r&&clearTimeout(r)}function v(){for(var n=arguments.length,o=new Array(n),i=0;ie?l?(f=Date.now(),a||(r=setTimeout(u?m:v,e))):v():!0!==a&&(r=setTimeout(u?m:v,void 0===u?e-s:e)))}return v.cancel=function(e){var t=(e||{}).upcomingOnly,n=void 0!==t&&t;p(),d=!n},v}(e,t,{debounceMode:!1!==(void 0!==r&&r)})}var g=n(6942),b=n.n(g);const y={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return r.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return r.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null};function A(e,t,n){return Math.max(t,Math.min(e,n))}var w=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()},S=function(e){for(var t=[],n=x(e),r=C(e),o=n;o0?1:0):0},E=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},M=function(e){return e&&e.offsetWidth||0},O=function(e){return e&&e.offsetHeight||0},$=function(e){var t,n,r,o,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,r=Math.atan2(n,t),(o=Math.round(180*r/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0||o<=360&&o>=315?"left":o>=135&&o<=225?"right":!0===i?o>=35&&o<=135?"up":"down":"vertical"},T=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},R=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n},P=function(e,t){var n=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,o=[];nn[n.length-1])t=n[n.length-1];else for(var o in n){if(t-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+M(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),!n)return 0;var i=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-i)||1}return e.slidesToScroll},I=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)},N=function(e){var t,n;(I(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]),e.vertical)?n=(e.unslick?e.slideCount:e.slideCount+2*e.slidesToShow)*e.slideHeight:t=D(e)*e.slideWidth;var r={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",c=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";r=(0,i.A)((0,i.A)({},r),{},{WebkitTransform:o,transform:a,msTransform:c})}else e.vertical?r.top=e.left:r.left=e.left;return e.fade&&(r={opacity:1}),t&&(r.width=t),n&&(r.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?r.marginTop=e.left+"px":r.marginLeft=e.left+"px"),r},L=function(e){I(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=N(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},j=function(e){if(e.unslick)return 0;I(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,r=e.slideIndex,o=e.trackRef,i=e.infinite,a=e.centerMode,c=e.slideCount,l=e.slidesToShow,s=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,f=e.variableWidth,p=e.slideHeight,v=e.fade,m=e.vertical;if(v||1===e.slideCount)return 0;var h=0;if(i?(h=-_(e),c%s!=0&&r+s>c&&(h=-(r>c?l-(r-c):c%s)),a&&(h+=parseInt(l/2))):(c%s!=0&&r+s>c&&(h=l-c%s),a&&(h=parseInt(l/2))),t=m?r*p*-1+h*p:r*u*-1+h*u,!0===f){var g,b=o&&o.node;if(g=r+_(e),t=(n=b&&b.childNodes[g])?-1*n.offsetLeft:0,!0===a){g=i?r+_(e):r,n=b&&b.children[g],t=0;for(var y=0;ye.currentSlide?e.targetSlide>e.currentSlide+W(e)?"left":"right":e.targetSlide0&&(i+=1),r&&t%2==0&&(i+=1),i}return r?0:t-1},F=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),r||t%2!=0||(i+=1),i}return r?t-1:0},X=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},K=Object.keys(y);var G=function(e){var t,n,r,o,i;return r=(i=e.rtl?e.slideCount-1-e.index:e.index)<0||i>=e.slideCount,e.centerMode?(o=Math.floor(e.slidesToShow/2),n=(i-e.currentSlide)%e.slideCount==0,i>e.currentSlide-o-1&&i<=e.currentSlide+o&&(t=!0)):t=e.currentSlide<=i&&i=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},q=function(e,t){return e.key+"-"+t},Y=function(e){var t,n=[],o=[],a=[],c=r.Children.count(e.children),l=x(e),s=C(e);return r.Children.forEach(e.children,(function(u,d){var f,p={message:"children",index:d,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};f=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(d)>=0?u:r.createElement("div",null);var v=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical&&e.slideHeight?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,t.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}((0,i.A)((0,i.A)({},e),{},{index:d})),m=f.props.className||"",h=G((0,i.A)((0,i.A)({},e),{},{index:d}));if(n.push(r.cloneElement(f,{key:"original"+q(f,d),"data-index":d,className:b()(h,m),tabIndex:"-1","aria-hidden":!h["slick-active"],style:(0,i.A)((0,i.A)({outline:"none"},f.props.style||{}),v),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(p)}})),e.infinite&&c>1&&!1===e.fade&&!e.unslick){var g=c-d;g<=_(e)&&((t=-g)>=l&&(f=u),h=G((0,i.A)((0,i.A)({},e),{},{index:t})),o.push(r.cloneElement(f,{key:"precloned"+q(f,t),"data-index":t,tabIndex:"-1",className:b()(h,m),"aria-hidden":!h["slick-active"],style:(0,i.A)((0,i.A)({},f.props.style||{}),v),onClick:function(t){f.props&&f.props.onClick&&f.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(p)}}))),(t=c+d)=w&&d<=g:d===w}),x={message:"dots",index:m,slidesToScroll:l,currentSlide:d},C=this.clickHandler.bind(this,x);v=v.concat(r.createElement("li",{key:m,className:S},r.cloneElement(this.props.customPaging(m),{onClick:C})))}return r.cloneElement(this.props.appendDots(v),(0,i.A)({className:this.props.dotsClass},p))}}])}(r.PureComponent);function Q(e,t,n){return t=(0,u.A)(t),(0,l.A)(e,(0,s.A)()?Reflect.construct(t,n||[],(0,u.A)(e).constructor):t.apply(e,n))}var Z=function(e){function t(){return(0,a.A)(this,t),Q(this,t,arguments)}return(0,d.A)(t,e),(0,c.A)(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:b()(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?r.cloneElement(this.props.prevArrow,(0,i.A)((0,i.A)({},n),a)):r.createElement("button",(0,o.A)({key:"0",type:"button"},n)," ","Previous")}}])}(r.PureComponent),J=function(e){function t(){return(0,a.A)(this,t),Q(this,t,arguments)}return(0,d.A)(t,e),(0,c.A)(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});T(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:b()(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?r.cloneElement(this.props.nextArrow,(0,i.A)((0,i.A)({},n),a)):r.createElement("button",(0,o.A)({key:"1",type:"button"},n)," ","Next")}}])}(r.PureComponent),ee=n(3591),te=["animating"];var ne=function(e){function t(e){var n,c,d,p;(0,a.A)(this,t),c=this,d=t,p=[e],d=(0,u.A)(d),n=(0,l.A)(c,(0,s.A)()?Reflect.construct(d,p||[],(0,u.A)(c).constructor):d.apply(c,p)),(0,f.A)(n,"listRefHandler",(function(e){return n.list=e})),(0,f.A)(n,"trackRefHandler",(function(e){return n.track=e})),(0,f.A)(n,"adaptHeight",(function(){if(n.props.adaptiveHeight&&n.list){var e=n.list.querySelector('[data-index="'.concat(n.state.currentSlide,'"]'));n.list.style.height=O(e)+"px"}})),(0,f.A)(n,"componentDidMount",(function(){if(n.props.onInit&&n.props.onInit(),n.props.lazyLoad){var e=S((0,i.A)((0,i.A)({},n.props),n.state));e.length>0&&(n.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),n.props.onLazyLoad&&n.props.onLazyLoad(e))}var t=(0,i.A)({listRef:n.list,trackRef:n.track},n.props);n.updateState(t,!0,(function(){n.adaptHeight(),n.props.autoplay&&n.autoPlay("playing")})),"progressive"===n.props.lazyLoad&&(n.lazyLoadTimer=setInterval(n.progressiveLazyLoad,1e3)),n.ro=new ee.A((function(){n.state.animating?(n.onWindowResized(!1),n.callbackTimers.push(setTimeout((function(){return n.onWindowResized()}),n.props.speed))):n.onWindowResized()})),n.ro.observe(n.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=n.props.pauseOnFocus?n.onSlideFocus:null,e.onblur=n.props.pauseOnFocus?n.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",n.onWindowResized):window.attachEvent("onresize",n.onWindowResized)})),(0,f.A)(n,"componentWillUnmount",(function(){n.animationEndCallback&&clearTimeout(n.animationEndCallback),n.lazyLoadTimer&&clearInterval(n.lazyLoadTimer),n.callbackTimers.length&&(n.callbackTimers.forEach((function(e){return clearTimeout(e)})),n.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",n.onWindowResized):window.detachEvent("onresize",n.onWindowResized),n.autoplayTimer&&clearInterval(n.autoplayTimer),n.ro.disconnect()})),(0,f.A)(n,"componentDidUpdate",(function(e){if(n.checkImagesLoad(),n.props.onReInit&&n.props.onReInit(),n.props.lazyLoad){var t=S((0,i.A)((0,i.A)({},n.props),n.state));t.length>0&&(n.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}})),n.props.onLazyLoad&&n.props.onLazyLoad(t))}n.adaptHeight();var o=(0,i.A)((0,i.A)({listRef:n.list,trackRef:n.track},n.props),n.state),a=n.didPropsChange(e);a&&n.updateState(o,a,(function(){n.state.currentSlide>=r.Children.count(n.props.children)&&n.changeSlide({message:"index",index:r.Children.count(n.props.children)-n.props.slidesToShow,currentSlide:n.state.currentSlide}),e.autoplay===n.props.autoplay&&e.autoplaySpeed===n.props.autoplaySpeed||(!e.autoplay&&n.props.autoplay?n.autoPlay("playing"):n.props.autoplay?n.autoPlay("update"):n.pause("paused"))}))})),(0,f.A)(n,"onWindowResized",(function(e){n.debouncedResize&&n.debouncedResize.cancel(),n.debouncedResize=h(50,(function(){return n.resizeWindow(e)})),n.debouncedResize()})),(0,f.A)(n,"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(Boolean(n.track&&n.track.node)){var t=(0,i.A)((0,i.A)({listRef:n.list,trackRef:n.track},n.props),n.state);n.updateState(t,e,(function(){n.props.autoplay?n.autoPlay("update"):n.pause("paused")})),n.setState({animating:!1}),clearTimeout(n.animationEndCallback),delete n.animationEndCallback}})),(0,f.A)(n,"updateState",(function(e,t,o){var a=function(e){var t,n=r.Children.count(e.children),o=e.listRef,a=Math.ceil(M(o)),c=e.trackRef&&e.trackRef.node,l=Math.ceil(M(c));if(e.vertical)t=a;else{var s=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(s*=a/100),t=Math.ceil((a-s)/e.slidesToShow)}var u=o&&O(o.querySelector('[data-index="0"]')),d=u*e.slidesToShow,f=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(f=n-1-e.initialSlide);var p=e.lazyLoadedList||[],v=S((0,i.A)((0,i.A)({},e),{},{currentSlide:f,lazyLoadedList:p})),m={slideCount:n,slideWidth:t,listWidth:a,trackWidth:l,currentSlide:f,slideHeight:u,listHeight:d,lazyLoadedList:p=p.concat(v)};return null===e.autoplaying&&e.autoplay&&(m.autoplaying="playing"),m}(e);e=(0,i.A)((0,i.A)((0,i.A)({},e),a),{},{slideIndex:a.currentSlide});var c=j(e);e=(0,i.A)((0,i.A)({},e),{},{left:c});var l=N(e);(t||r.Children.count(n.props.children)!==r.Children.count(e.children))&&(a.trackStyle=l),n.setState(a,o)})),(0,f.A)(n,"ssrInit",(function(){if(n.props.variableWidth){var e=0,t=0,o=[],a=_((0,i.A)((0,i.A)((0,i.A)({},n.props),n.state),{},{slideCount:n.props.children.length})),c=H((0,i.A)((0,i.A)((0,i.A)({},n.props),n.state),{},{slideCount:n.props.children.length}));n.props.children.forEach((function(t){o.push(t.props.style.width),e+=t.props.style.width}));for(var l=0;l=t&&n.onWindowResized()};if(e.onclick){var i=e.onclick;e.onclick=function(t){i(t),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(n.props.lazyLoad?e.onload=function(){n.adaptHeight(),n.callbackTimers.push(setTimeout(n.onWindowResized,n.props.speed))}:(e.onload=o,e.onerror=function(){o(),n.props.onLazyLoadError&&n.props.onLazyLoadError()}))}))})),(0,f.A)(n,"progressiveLazyLoad",(function(){for(var e=[],t=(0,i.A)((0,i.A)({},n.props),n.state),r=n.state.currentSlide;r=-_(t);o--)if(n.state.lazyLoadedList.indexOf(o)<0){e.push(o);break}e.length>0?(n.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),n.props.onLazyLoad&&n.props.onLazyLoad(e)):n.lazyLoadTimer&&(clearInterval(n.lazyLoadTimer),delete n.lazyLoadTimer)})),(0,f.A)(n,"slideHandler",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=n.props,o=r.asNavFor,a=r.beforeChange,c=r.onLazyLoad,l=r.speed,s=r.afterChange,u=n.state.currentSlide,d=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,a=e.index,c=e.slideCount,l=e.lazyLoad,s=e.currentSlide,u=e.centerMode,d=e.slidesToScroll,f=e.slidesToShow,p=e.useCSS,v=e.lazyLoadedList;if(t&&n)return{};var m,h,g,b=a,y={},w={},x=o?a:A(a,0,c-1);if(r){if(!o&&(a<0||a>=c))return{};a<0?b=a+c:a>=c&&(b=a-c),l&&v.indexOf(b)<0&&(v=v.concat(b)),y={animating:!0,currentSlide:b,lazyLoadedList:v,targetSlide:b},w={animating:!1,targetSlide:b}}else m=b,b<0?(m=b+c,o?c%d!=0&&(m=c-c%d):m=0):!T(e)&&b>s?b=m=s:u&&b>=c?(b=o?c:c-1,m=o?0:c-1):b>=c&&(m=b-c,o?c%d!=0&&(m=0):m=c-f),!o&&b+f>=c&&(m=c-f),h=j((0,i.A)((0,i.A)({},e),{},{slideIndex:b})),g=j((0,i.A)((0,i.A)({},e),{},{slideIndex:m})),o||(h===g&&(b=m),h=g),l&&(v=v.concat(S((0,i.A)((0,i.A)({},e),{},{currentSlide:b})))),p?(y={animating:!0,currentSlide:m,trackStyle:L((0,i.A)((0,i.A)({},e),{},{left:h})),lazyLoadedList:v,targetSlide:x},w={animating:!1,currentSlide:m,trackStyle:N((0,i.A)((0,i.A)({},e),{},{left:g})),swipeLeft:null,targetSlide:x}):y={currentSlide:m,trackStyle:N((0,i.A)((0,i.A)({},e),{},{left:g})),lazyLoadedList:v,targetSlide:x};return{state:y,nextState:w}}((0,i.A)((0,i.A)((0,i.A)({index:e},n.props),n.state),{},{trackRef:n.track,useCSS:n.props.useCSS&&!t})),f=d.state,p=d.nextState;if(f){a&&a(u,f.currentSlide);var m=f.lazyLoadedList.filter((function(e){return n.state.lazyLoadedList.indexOf(e)<0}));c&&m.length>0&&c(m),!n.props.waitForAnimate&&n.animationEndCallback&&(clearTimeout(n.animationEndCallback),s&&s(u),delete n.animationEndCallback),n.setState(f,(function(){o&&n.asNavForIndex!==e&&(n.asNavForIndex=e,o.innerSlider.slideHandler(e)),p&&(n.animationEndCallback=setTimeout((function(){var e=p.animating,t=(0,v.A)(p,te);n.setState(t,(function(){n.callbackTimers.push(setTimeout((function(){return n.setState({animating:e})}),10)),s&&s(f.currentSlide),delete n.animationEndCallback}))}),l))}))}})),(0,f.A)(n,"changeSlide",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=function(e,t){var n,r,o,a,c=e.slidesToScroll,l=e.slidesToShow,s=e.slideCount,u=e.currentSlide,d=e.targetSlide,f=e.lazyLoad,p=e.infinite;if(n=s%c!=0?0:(s-u)%c,"previous"===t.message)a=u-(o=0===n?c:l-n),f&&!p&&(a=-1==(r=u-o)?s-1:r),p||(a=d-c);else if("next"===t.message)a=u+(o=0===n?c:n),f&&!p&&(a=(u+c)%s+n),p||(a=d+c);else if("dots"===t.message)a=t.index*t.slidesToScroll;else if("children"===t.message){if(a=t.index,p){var v=B((0,i.A)((0,i.A)({},e),{},{targetSlide:a}));a>t.currentSlide&&"left"===v?a-=s:a10)return{scrolling:!0};c&&(b.swipeLength=E);var M=(l?-1:1)*(b.curX>b.startX?1:-1);c&&(M=b.curY>b.startY?1:-1);var O=Math.ceil(m/h),R=$(t.touchObject,c),P=b.swipeLength;return g||(0===s&&("right"===R||"down"===R)||s+1>=O&&("left"===R||"up"===R)||!T(t)&&("left"===R||"up"===R))&&(P=b.swipeLength*u,!1===d&&f&&(f(R),C.edgeDragged=!0)),!p&&y&&(y(R),C.swiped=!0),x=o?k+P*(A/S)*M:l?k-P*M:k+P*M,c&&(x=k+P*M),C=(0,i.A)((0,i.A)({},C),{},{touchObject:b,swipeLeft:x,trackStyle:N((0,i.A)((0,i.A)({},t),{},{left:x}))}),Math.abs(b.curX-b.startX)<.8*Math.abs(b.curY-b.startY)||b.swipeLength>10&&(C.swiping=!0,w(e)),C}}(e,(0,i.A)((0,i.A)((0,i.A)({},n.props),n.state),{},{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));t&&(t.swiping&&(n.clickable=!1),n.setState(t))})),(0,f.A)(n,"swipeEnd",(function(e){var t=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,a=t.listWidth,c=t.touchThreshold,l=t.verticalSwiping,s=t.listHeight,u=t.swipeToSlide,d=t.scrolling,f=t.onSwipe,p=t.targetSlide,v=t.currentSlide,m=t.infinite;if(!n)return r&&w(e),{};var h=l?s/c:a/c,g=$(o,l),b={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(d)return b;if(!o.swipeLength)return b;if(o.swipeLength>h){var y,A;w(e),f&&f(g);var S=m?v:p;switch(g){case"left":case"up":A=S+z(t),y=u?P(t,A):A,b.currentDirection=0;break;case"right":case"down":A=S-z(t),y=u?P(t,A):A,b.currentDirection=1;break;default:y=S}b.triggerSlideHandler=y}else{var x=j(t);b.trackStyle=L((0,i.A)((0,i.A)({},t),{},{left:x}))}return b}(e,(0,i.A)((0,i.A)((0,i.A)({},n.props),n.state),{},{trackRef:n.track,listRef:n.list,slideIndex:n.state.currentSlide}));if(t){var r=t.triggerSlideHandler;delete t.triggerSlideHandler,n.setState(t),void 0!==r&&(n.slideHandler(r),n.props.verticalSwiping&&n.enableBodyScroll())}})),(0,f.A)(n,"touchEnd",(function(e){n.swipeEnd(e),n.clickable=!0})),(0,f.A)(n,"slickPrev",(function(){n.callbackTimers.push(setTimeout((function(){return n.changeSlide({message:"previous"})}),0))})),(0,f.A)(n,"slickNext",(function(){n.callbackTimers.push(setTimeout((function(){return n.changeSlide({message:"next"})}),0))})),(0,f.A)(n,"slickGoTo",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";n.callbackTimers.push(setTimeout((function(){return n.changeSlide({message:"index",index:e,currentSlide:n.state.currentSlide},t)}),0))})),(0,f.A)(n,"play",(function(){var e;if(n.props.rtl)e=n.state.currentSlide-n.props.slidesToScroll;else{if(!T((0,i.A)((0,i.A)({},n.props),n.state)))return!1;e=n.state.currentSlide+n.props.slidesToScroll}n.slideHandler(e)})),(0,f.A)(n,"autoPlay",(function(e){n.autoplayTimer&&clearInterval(n.autoplayTimer);var t=n.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;n.autoplayTimer=setInterval(n.play,n.props.autoplaySpeed+50),n.setState({autoplaying:"playing"})})),(0,f.A)(n,"pause",(function(e){n.autoplayTimer&&(clearInterval(n.autoplayTimer),n.autoplayTimer=null);var t=n.state.autoplaying;"paused"===e?n.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==t&&"playing"!==t||n.setState({autoplaying:"focused"}):"playing"===t&&n.setState({autoplaying:"hovered"})})),(0,f.A)(n,"onDotsOver",(function(){return n.props.autoplay&&n.pause("hovered")})),(0,f.A)(n,"onDotsLeave",(function(){return n.props.autoplay&&"hovered"===n.state.autoplaying&&n.autoPlay("leave")})),(0,f.A)(n,"onTrackOver",(function(){return n.props.autoplay&&n.pause("hovered")})),(0,f.A)(n,"onTrackLeave",(function(){return n.props.autoplay&&"hovered"===n.state.autoplaying&&n.autoPlay("leave")})),(0,f.A)(n,"onSlideFocus",(function(){return n.props.autoplay&&n.pause("focused")})),(0,f.A)(n,"onSlideBlur",(function(){return n.props.autoplay&&"focused"===n.state.autoplaying&&n.autoPlay("blur")})),(0,f.A)(n,"render",(function(){var e,t,a,c=b()("slick-slider",n.props.className,{"slick-vertical":n.props.vertical,"slick-initialized":!0}),l=(0,i.A)((0,i.A)({},n.props),n.state),s=R(l,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),u=n.props.pauseOnHover;if(s=(0,i.A)((0,i.A)({},s),{},{onMouseEnter:u?n.onTrackOver:null,onMouseLeave:u?n.onTrackLeave:null,onMouseOver:u?n.onTrackOver:null,focusOnSelect:n.props.focusOnSelect&&n.clickable?n.selectHandler:null}),!0===n.props.dots&&n.state.slideCount>=n.props.slidesToShow){var d=R(l,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),f=n.props.pauseOnDotsHover;d=(0,i.A)((0,i.A)({},d),{},{clickHandler:n.changeSlide,onMouseEnter:f?n.onDotsLeave:null,onMouseOver:f?n.onDotsOver:null,onMouseLeave:f?n.onDotsLeave:null}),e=r.createElement(U,d)}var p=R(l,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);p.clickHandler=n.changeSlide,n.props.arrows&&(t=r.createElement(Z,p),a=r.createElement(J,p));var v=null;n.props.vertical&&(v={height:n.state.listHeight});var m=null;!1===n.props.vertical?!0===n.props.centerMode&&(m={padding:"0px "+n.props.centerPadding}):!0===n.props.centerMode&&(m={padding:n.props.centerPadding+" 0px"});var h=(0,i.A)((0,i.A)({},v),m),g=n.props.touchMove,y={className:"slick-list",style:h,onClick:n.clickHandler,onMouseDown:g?n.swipeStart:null,onMouseMove:n.state.dragging&&g?n.swipeMove:null,onMouseUp:g?n.swipeEnd:null,onMouseLeave:n.state.dragging&&g?n.swipeEnd:null,onTouchStart:g?n.swipeStart:null,onTouchMove:n.state.dragging&&g?n.swipeMove:null,onTouchEnd:g?n.touchEnd:null,onTouchCancel:n.state.dragging&&g?n.swipeEnd:null,onKeyDown:n.props.accessibility?n.keyHandler:null},A={className:c,dir:"ltr",style:n.props.style};return n.props.unslick&&(y={className:"slick-list"},A={className:c,style:n.props.style}),r.createElement("div",A,n.props.unslick?"":t,r.createElement("div",(0,o.A)({ref:n.listRefHandler},y),r.createElement(V,(0,o.A)({ref:n.trackRefHandler},s),n.props.children)),n.props.unslick?"":a,n.props.unslick?"":e)})),n.list=null,n.track=null,n.state=(0,i.A)((0,i.A)({},m),{},{currentSlide:n.props.initialSlide,targetSlide:n.props.initialSlide?n.props.initialSlide:0,slideCount:r.Children.count(n.props.children)}),n.callbackTimers=[],n.clickable=!0,n.debouncedResize=null;var g=n.ssrInit();return n.state=(0,i.A)((0,i.A)({},n.state),g),n}return(0,d.A)(t,e),(0,c.A)(t,[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,o=Object.keys(this.props);n1&&void 0!==arguments[1]&&arguments[1];return n.innerSlider.slickGoTo(e,t)})),(0,f.A)(n,"slickPause",(function(){return n.innerSlider.pause("paused")})),(0,f.A)(n,"slickPlay",(function(){return n.innerSlider.autoPlay("play")})),n.state={breakpoint:null},n._responsiveMediaHandlers=[],n}return(0,d.A)(t,e),(0,c.A)(t,[{key:"media",value:function(e,t){var n=window.matchMedia(e),r=function(e){e.matches&&t()};n.addListener(r),r(n),this._responsiveMediaHandlers.push({mql:n,query:e,listener:r})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(n,r){var o;o=0===r?oe()({minWidth:0,maxWidth:n}):oe()({minWidth:t[r-1]+1,maxWidth:n}),X()&&e.media(o,(function(){e.setState({breakpoint:n})}))}));var n=oe()({minWidth:t.slice(-1)[0]});X()&&this.media(n,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){e.mql.removeListener(e.listener)}))}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===n.state.breakpoint})))[0].settings?"unslick":(0,i.A)((0,i.A)((0,i.A)({},y),this.props),t[0].settings):(0,i.A)((0,i.A)({},y),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var a=r.Children.toArray(this.props.children);a=a.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var c=[],l=null,s=0;s=a.length));p+=1)f.push(r.cloneElement(a[p],{key:100*s+10*d+p,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));u.push(r.createElement("div",{key:10*s+d},f))}e.variableWidth?c.push(r.createElement("div",{key:s,style:{width:l}},u)):c.push(r.createElement("div",{key:s},u))}if("unslick"===e){var v="regular slider "+(this.props.className||"");return r.createElement("div",{className:v},a)}return c.length<=e.slidesToShow&&!e.infinite&&(e.unslick=!0),r.createElement(ne,(0,o.A)({style:this.props.style,ref:this.innerSliderRefHandler},function(e){return K.reduce((function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t}),{})}(e)),c)}}])}(r.Component);var ae=n(2279),ce=n(1466),le=n(5905),se=n(3442),ue=n(336);const de=e=>{const{componentCls:t,antCls:n,carouselArrowSize:r,carouselDotOffset:o,marginXXS:i}=e,a=e.calc(r).mul(-1.25).equal(),c=i;return{[t]:Object.assign(Object.assign({},(0,le.dF)(e)),{".slick-slider":{position:"relative",display:"block",boxSizing:"border-box",touchAction:"pan-y",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",".slick-track, .slick-list":{transform:"translate3d(0, 0, 0)",touchAction:"pan-y"}},".slick-list":{position:"relative",display:"block",margin:0,padding:0,overflow:"hidden","&:focus":{outline:"none"},"&.dragging":{cursor:"pointer"},".slick-slide":{pointerEvents:"none",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"hidden"},"&.slick-active":{pointerEvents:"auto",[`input${n}-radio-input, input${n}-checkbox-input`]:{visibility:"visible"}},"> div > div":{verticalAlign:"bottom"}}},".slick-track":{position:"relative",top:0,insetInlineStart:0,display:"block","&::before, &::after":{display:"table",content:'""'},"&::after":{clear:"both"}},".slick-slide":{display:"none",float:"left",height:"100%",minHeight:1,img:{display:"block"},"&.dragging img":{pointerEvents:"none"}},".slick-initialized .slick-slide":{display:"block"},".slick-vertical .slick-slide":{display:"block",height:"auto"},".slick-arrow.slick-hidden":{display:"none"},".slick-prev, .slick-next":{position:"absolute",top:"50%",display:"block",width:r,height:r,marginTop:e.calc(r).mul(-1).div(2).equal(),padding:0,color:"transparent",fontSize:0,lineHeight:0,background:"transparent",border:0,outline:"none",cursor:"pointer","&:hover, &:focus":{color:"transparent",background:"transparent",outline:"none","&::before":{opacity:1}},"&.slick-disabled::before":{opacity:.25}},".slick-prev":{insetInlineStart:a,"&::before":{content:'"\u2190"'}},".slick-next":{insetInlineEnd:a,"&::before":{content:'"\u2192"'}},".slick-dots":{position:"absolute",insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:15,display:"flex !important",justifyContent:"center",paddingInlineStart:0,margin:0,listStyle:"none","&-bottom":{bottom:o},"&-top":{top:o,bottom:"auto"},li:{position:"relative",display:"inline-block",flex:"0 1 auto",boxSizing:"content-box",width:e.dotWidth,height:e.dotHeight,marginInline:c,padding:0,textAlign:"center",textIndent:-999,verticalAlign:"top",transition:`all ${e.motionDurationSlow}`,button:{position:"relative",display:"block",width:"100%",height:e.dotHeight,padding:0,color:"transparent",fontSize:0,background:e.colorBgContainer,border:0,borderRadius:e.dotHeight,outline:"none",cursor:"pointer",opacity:.3,transition:`all ${e.motionDurationSlow}`,"&: hover, &:focus":{opacity:.75},"&::after":{position:"absolute",inset:e.calc(c).mul(-1).equal(),content:'""'}},"&.slick-active":{width:e.dotActiveWidth,"& button":{background:e.colorBgContainer,opacity:1},"&: hover, &:focus":{opacity:1}}}}})}},fe=e=>{const{componentCls:t,carouselDotOffset:n,marginXXS:r}=e,o={width:e.dotHeight,height:e.dotWidth};return{[`${t}-vertical`]:{".slick-dots":{top:"50%",bottom:"auto",flexDirection:"column",width:e.dotHeight,height:"auto",margin:0,transform:"translateY(-50%)","&-left":{insetInlineEnd:"auto",insetInlineStart:n},"&-right":{insetInlineEnd:n,insetInlineStart:"auto"},li:Object.assign(Object.assign({},o),{margin:`${(0,ce.zA)(r)} 0`,verticalAlign:"baseline",button:o,"&.slick-active":Object.assign(Object.assign({},o),{button:o})})}}}},pe=e=>{const{componentCls:t}=e;return[{[`${t}-rtl`]:{direction:"rtl",".slick-dots":{[`${t}-rtl&`]:{flexDirection:"row-reverse"}}}},{[`${t}-vertical`]:{".slick-dots":{[`${t}-rtl&`]:{flexDirection:"column"}}}}]},ve=(0,se.OF)("Carousel",(e=>{const{controlHeightLG:t,controlHeightSM:n}=e,r=(0,ue.h1)(e,{carouselArrowSize:e.calc(t).div(2).equal(),carouselDotOffset:e.calc(n).div(2).equal()});return[de(r),fe(r),pe(r)]}),(()=>({dotWidth:16,dotHeight:3,dotWidthActive:24,dotActiveWidth:24})),{deprecatedTokens:[["dotWidthActive","dotActiveWidth"]]});var me=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const{dots:n=!0,arrows:o=!1,draggable:i=!1,waitForAnimate:a=!1,dotPosition:c="bottom",vertical:l="left"===c||"right"===c,rootClassName:s,className:u,style:d,id:f}=e,p=me(e,["dots","arrows","draggable","waitForAnimate","dotPosition","vertical","rootClassName","className","style","id"]),{getPrefixCls:v,direction:m,carousel:h}=r.useContext(ae.QO),g=r.useRef(),y=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];g.current.slickGoTo(e,t)};r.useImperativeHandle(t,(()=>({goTo:y,autoPlay:g.current.innerSlider.autoPlay,innerSlider:g.current.innerSlider,prev:g.current.slickPrev,next:g.current.slickNext})),[g.current]);const A=r.useRef(r.Children.count(e.children));r.useEffect((()=>{A.current!==r.Children.count(e.children)&&(y(e.initialSlide||0,!1),A.current=r.Children.count(e.children))}),[e.children]);const w=Object.assign({vertical:l,className:b()(u,null==h?void 0:h.className),style:Object.assign(Object.assign({},null==h?void 0:h.style),d)},p);"fade"===w.effect&&(w.fade=!0);const S=v("carousel",w.prefixCls),x="slick-dots",C=!!n,k=b()(x,`${x}-${c}`,"boolean"!=typeof n&&(null==n?void 0:n.className)),[E,M,O]=ve(S),$=b()(S,{[`${S}-rtl`]:"rtl"===m,[`${S}-vertical`]:w.vertical},M,O,s);return E(r.createElement("div",{className:$,id:f},r.createElement(ie,Object.assign({ref:g},w,{dots:C,dotsClass:k,arrows:o,draggable:i,verticalSwiping:l,waitForAnimate:a}))))}));const ge=he},8224:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,c:()=>i});var r=n(6540);const o=r.createContext(void 0),i=e=>{let{children:t,size:n}=e;const i=r.useContext(o);return r.createElement(o.Provider,{value:n||i},t)},a=o},2279:(e,t,n)=>{"use strict";n.d(t,{QO:()=>i,pM:()=>o});var r=n(6540);const o="anticon",i=r.createContext({getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:o}),{Consumer:a}=i},934:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6613);const o=e=>{const[,,,,t]=(0,r.Ay)();return t?`${e}-css-var`:""}},1412:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>Q});var r=n(6540),o=n.t(r,2),i=n(1466),a=n(1053),c=n(8104),l=n(1526);n(8210);function s(){}const u=r.createContext({}),d=()=>{const e=()=>{};return e.deprecated=s,e},f=(0,r.createContext)(void 0);var p=n(2130);let v=Object.assign({},p.A.Modal),m=[];const h=()=>m.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),p.A.Modal);const g=(0,r.createContext)(void 0);const b=e=>{const{locale:t={},children:n,_ANT_MARK__:o}=e;r.useEffect((()=>{const e=function(e){if(e){const t=Object.assign({},e);return m.push(t),v=h(),()=>{m=m.filter((e=>e!==t)),v=h()}}v=Object.assign({},p.A.Modal)}(t&&t.Modal);return e}),[t]);const i=r.useMemo((()=>Object.assign(Object.assign({},t),{exist:!0})),[t]);return r.createElement(g.Provider,{value:i},n)};var y=n(9806),A=n(723),w=n(2279),S=n(2200),x=n(4978),C=n(998),k=n(5089);const E=`-ant-${Date.now()}-${Math.random()}`;function M(e,t){const n=function(e,t){const n={},r=(e,t)=>{let n=e.clone();return n=(null==t?void 0:t(n))||n,n.toRgbString()},o=(e,t)=>{const o=new x.q(e),i=(0,S.cM)(o.toRgbString());n[`${t}-color`]=r(o),n[`${t}-color-disabled`]=i[1],n[`${t}-color-hover`]=i[4],n[`${t}-color-active`]=i[6],n[`${t}-color-outline`]=o.clone().setAlpha(.2).toRgbString(),n[`${t}-color-deprecated-bg`]=i[0],n[`${t}-color-deprecated-border`]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");const e=new x.q(t.primaryColor),i=(0,S.cM)(e.toRgbString());i.forEach(((e,t)=>{n[`primary-${t+1}`]=e})),n["primary-color-deprecated-l-35"]=r(e,(e=>e.lighten(35))),n["primary-color-deprecated-l-20"]=r(e,(e=>e.lighten(20))),n["primary-color-deprecated-t-20"]=r(e,(e=>e.tint(20))),n["primary-color-deprecated-t-50"]=r(e,(e=>e.tint(50))),n["primary-color-deprecated-f-12"]=r(e,(e=>e.setAlpha(.12*e.getAlpha())));const a=new x.q(i[0]);n["primary-color-active-deprecated-f-30"]=r(a,(e=>e.setAlpha(.3*e.getAlpha()))),n["primary-color-active-deprecated-d-02"]=r(a,(e=>e.darken(2)))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),`\n :root {\n ${Object.keys(n).map((t=>`--${e}-${t}: ${n[t]};`)).join("\n")}\n }\n `.trim()}(e,t);(0,C.A)()&&(0,k.BD)(n,`${E}-dynamic-theme`)}const O=r.createContext(!1),$=e=>{let{children:t,disabled:n}=e;const o=r.useContext(O);return r.createElement(O.Provider,{value:null!=n?n:o},t)},T=O;var R=n(8224);const P=function(){return{componentDisabled:(0,r.useContext)(T),componentSize:(0,r.useContext)(R.A)}};var z=n(3210);const I=Object.assign({},o),{useId:N}=I,L=void 0===N?()=>"":N;var j=n(8542),_=n(6613);function H(e){const{children:t}=e,[,n]=(0,_.Ay)(),{motion:o}=n,i=r.useRef(!1);return i.current=i.current||!1===o,i.current?r.createElement(j.Kq,{motion:o},t):t}const D=()=>null;var B=n(2366),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const{children:t,csp:n,autoInsertSpaceInButton:o,alert:s,anchor:v,form:m,locale:h,componentSize:g,direction:S,space:x,virtual:C,dropdownMatchSelectWidth:k,popupMatchSelectWidth:E,popupOverflow:M,legacyLocale:O,parentContext:T,iconPrefixCls:P,theme:I,componentDisabled:N,segmented:j,statistic:_,spin:X,calendar:K,carousel:G,cascader:q,collapse:Y,typography:V,checkbox:U,descriptions:Q,divider:Z,drawer:J,skeleton:ee,steps:te,image:ne,layout:re,list:oe,mentions:ie,modal:ae,progress:ce,result:le,slider:se,breadcrumb:ue,menu:de,pagination:fe,input:pe,textArea:ve,empty:me,badge:he,radio:ge,rate:be,switch:ye,transfer:Ae,avatar:we,message:Se,tag:xe,table:Ce,card:ke,tabs:Ee,timeline:Me,timePicker:Oe,upload:$e,notification:Te,tree:Re,colorPicker:Pe,datePicker:ze,rangePicker:Ie,flex:Ne,wave:Le,dropdown:je,warning:_e,tour:He,floatButtonGroup:De}=e,Be=r.useCallback(((t,n)=>{const{prefixCls:r}=e;if(n)return n;const o=r||T.getPrefixCls("");return t?`${o}-${t}`:o}),[T.getPrefixCls,e.prefixCls]),We=P||T.iconPrefixCls||w.pM,Fe=n||T.csp;(0,B.A)(We,Fe);const Xe=function(e,t,n){var r;d("ConfigProvider");const o=e||{},i=!1!==o.inherit&&t?t:Object.assign(Object.assign({},y.sb),{hashed:null!==(r=null==t?void 0:t.hashed)&&void 0!==r?r:y.sb.hashed,cssVar:null==t?void 0:t.cssVar}),a=L();return(0,c.A)((()=>{var r,c;if(!e)return t;const l=Object.assign({},i.components);Object.keys(e.components||{}).forEach((t=>{l[t]=Object.assign(Object.assign({},l[t]),e.components[t])}));const s=`css-var-${a.replace(/:/g,"")}`,u=(null!==(r=o.cssVar)&&void 0!==r?r:i.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:null==n?void 0:n.prefixCls},"object"==typeof i.cssVar?i.cssVar:{}),"object"==typeof o.cssVar?o.cssVar:{}),{key:"object"==typeof o.cssVar&&(null===(c=o.cssVar)||void 0===c?void 0:c.key)||s});return Object.assign(Object.assign(Object.assign({},i),o),{token:Object.assign(Object.assign({},i.token),o.token),components:l,cssVar:u})}),[o,i],((e,t)=>e.some(((e,n)=>{const r=t[n];return!(0,z.A)(e,r,!0)}))))}(I,T.theme,{prefixCls:Be("")});const Ke={csp:Fe,autoInsertSpaceInButton:o,alert:s,anchor:v,locale:h||O,direction:S,space:x,virtual:C,popupMatchSelectWidth:null!=E?E:k,popupOverflow:M,getPrefixCls:Be,iconPrefixCls:We,theme:Xe,segmented:j,statistic:_,spin:X,calendar:K,carousel:G,cascader:q,collapse:Y,typography:V,checkbox:U,descriptions:Q,divider:Z,drawer:J,skeleton:ee,steps:te,image:ne,input:pe,textArea:ve,layout:re,list:oe,mentions:ie,modal:ae,progress:ce,result:le,slider:se,breadcrumb:ue,menu:de,pagination:fe,empty:me,badge:he,radio:ge,rate:be,switch:ye,transfer:Ae,avatar:we,message:Se,tag:xe,table:Ce,card:ke,tabs:Ee,timeline:Me,timePicker:Oe,upload:$e,notification:Te,tree:Re,colorPicker:Pe,datePicker:ze,rangePicker:Ie,flex:Ne,wave:Le,dropdown:je,warning:_e,tour:He,floatButtonGroup:De},Ge=Object.assign({},T);Object.keys(Ke).forEach((e=>{void 0!==Ke[e]&&(Ge[e]=Ke[e])})),F.forEach((t=>{const n=e[t];n&&(Ge[t]=n)}));const qe=(0,c.A)((()=>Ge),Ge,((e,t)=>{const n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((n=>e[n]!==t[n]))})),Ye=r.useMemo((()=>({prefixCls:We,csp:Fe})),[We,Fe]);let Ve=r.createElement(r.Fragment,null,r.createElement(D,{dropdownMatchSelectWidth:k}),t);const Ue=r.useMemo((()=>{var e,t,n,r;return(0,l.h)((null===(e=p.A.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=qe.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=qe.form)||void 0===r?void 0:r.validateMessages)||{},(null==m?void 0:m.validateMessages)||{})}),[qe,null==m?void 0:m.validateMessages]);Object.keys(Ue).length>0&&(Ve=r.createElement(f.Provider,{value:Ue},Ve)),h&&(Ve=r.createElement(b,{locale:h,_ANT_MARK__:"internalMark"},Ve)),(We||Fe)&&(Ve=r.createElement(a.A.Provider,{value:Ye},Ve)),g&&(Ve=r.createElement(R.c,{size:g},Ve)),Ve=r.createElement(H,null,Ve);const Qe=r.useMemo((()=>{const e=Xe||{},{algorithm:t,token:n,components:r,cssVar:o}=e,a=W(e,["algorithm","token","components","cssVar"]),c=t&&(!Array.isArray(t)||t.length>0)?(0,i.an)(t):y.zQ,l={};Object.entries(r||{}).forEach((e=>{let[t,n]=e;const r=Object.assign({},n);"algorithm"in r&&(!0===r.algorithm?r.theme=c:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=(0,i.an)(r.algorithm)),delete r.algorithm),l[t]=r}));const s=Object.assign(Object.assign({},A.A),n);return Object.assign(Object.assign({},a),{theme:c,token:s,components:l,override:Object.assign({override:s},l),cssVar:o})}),[Xe]);return I&&(Ve=r.createElement(y.vG.Provider,{value:Qe},Ve)),qe.warning&&(Ve=r.createElement(u.Provider,{value:qe.warning},Ve)),void 0!==N&&(Ve=r.createElement($,{disabled:N},Ve)),r.createElement(w.QO.Provider,{value:qe},Ve)},U=e=>{const t=r.useContext(w.QO),n=r.useContext(g);return r.createElement(V,Object.assign({parentContext:t,legacyLocale:n},e))};U.ConfigContext=w.QO,U.SizeContext=R.A,U.config=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:o}=e;void 0!==t&&(X=t),void 0!==n&&(K=n),"holderRender"in e&&(q=o),r&&(!function(e){return Object.keys(e).some((e=>e.endsWith("Color")))}(r)?G=r:M(Y(),r))},U.useConfig=P,Object.defineProperty(U,"SizeContext",{get:()=>R.A});const Q=U},3501:(e,t,n)=>{"use strict";n.d(t,{A:()=>Mt});var r=n(6540),o=n(8168);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};var a=n(6653),c=function(e,t){return r.createElement(a.A,(0,o.A)({},e,{ref:t,icon:i}))};const l=r.forwardRef(c);var s=n(6942),u=n.n(s),d=n(9379),f=n(4467),p=n(641),v=n(2284),m=n(45);function h(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}var g=n(2533),b=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],y=r.createContext(null),A=0;function w(e){var t=e.src,n=e.isCustomPlaceholder,o=e.fallback,i=(0,r.useState)(n?"loading":"normal"),a=(0,p.A)(i,2),c=a[0],l=a[1],s=(0,r.useRef)(!1),u="error"===c;(0,r.useEffect)((function(){var e=!0;return function(e){return new Promise((function(t){var n=document.createElement("img");n.onerror=function(){return t(!1)},n.onload=function(){return t(!0)},n.src=e}))}(t).then((function(t){!t&&e&&l("error")})),function(){e=!1}}),[t]),(0,r.useEffect)((function(){n&&!s.current?l("loading"):u&&l("normal")}),[t]);var d=function(){l("normal")};return[function(e){s.current=!1,"loading"===c&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(s.current=!0,d())},u&&o?{src:o}:{onLoad:d,src:t},c]}var S=n(5470),x=r.createContext({}),C=n(4808),k=n(6855),E=n(6928),M="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),O="aria-",$="data-";function T(e,t){return 0===e.indexOf(t)}function R(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:(0,d.A)({},n);var r={};return Object.keys(e).forEach((function(n){(t.aria&&("role"===n||T(n,O))||t.data&&T(n,$)||t.attr&&M.includes(n))&&(r[n]=e[n])})),r}function P(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function z(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}var I=n(8542),N=n(8719);const L=r.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate}));var j={width:0,height:0,overflow:"hidden",outline:"none"},_={outline:"none"},H=r.forwardRef((function(e,t){var n=e.prefixCls,i=e.className,a=e.style,c=e.title,l=e.ariaId,s=e.footer,f=e.closable,p=e.closeIcon,m=e.onClose,h=e.children,g=e.bodyStyle,b=e.bodyProps,y=e.modalRender,A=e.onMouseDown,w=e.onMouseUp,S=e.holderRef,C=e.visible,k=e.forceRender,E=e.width,M=e.height,O=e.classNames,$=e.styles,T=r.useContext(x).panel,P=(0,N.xK)(S,T),z=(0,r.useRef)(),I=(0,r.useRef)(),H=(0,r.useRef)();r.useImperativeHandle(t,(function(){return{focus:function(){var e;null===(e=H.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===I.current?z.current.focus():e||t!==z.current||I.current.focus()}}}));var D,B,W={};void 0!==E&&(W.width=E),void 0!==M&&(W.height=M),s&&(D=r.createElement("div",{className:u()("".concat(n,"-footer"),null==O?void 0:O.footer),style:(0,d.A)({},null==$?void 0:$.footer)},s)),c&&(B=r.createElement("div",{className:u()("".concat(n,"-header"),null==O?void 0:O.header),style:(0,d.A)({},null==$?void 0:$.header)},r.createElement("div",{className:"".concat(n,"-title"),id:l},c)));var F,X=(0,r.useMemo)((function(){return"object"===(0,v.A)(f)&&null!==f?f:f?{closeIcon:null!=p?p:r.createElement("span",{className:"".concat(n,"-close-x")})}:{}}),[f,p]),K=R(X,!0);f&&(F=r.createElement("button",(0,o.A)({type:"button",onClick:m,"aria-label":"Close"},K,{className:"".concat(n,"-close")}),X.closeIcon));var G=r.createElement("div",{className:u()("".concat(n,"-content"),null==O?void 0:O.content),style:null==$?void 0:$.content},F,B,r.createElement("div",(0,o.A)({className:u()("".concat(n,"-body"),null==O?void 0:O.body),style:(0,d.A)((0,d.A)({},g),null==$?void 0:$.body)},b),h),D);return r.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":c?l:null,"aria-modal":"true",ref:P,style:(0,d.A)((0,d.A)({},a),W),className:u()(n,i),onMouseDown:A,onMouseUp:w},r.createElement("div",{tabIndex:0,ref:z,style:j,"aria-hidden":"true"}),r.createElement("div",{ref:H,tabIndex:-1,style:_},r.createElement(L,{shouldUpdate:C||k},y?y(G):G)),r.createElement("div",{tabIndex:0,ref:I,style:j,"aria-hidden":"true"}))}));const D=H;var B=r.forwardRef((function(e,t){var n=e.prefixCls,i=e.title,a=e.style,c=e.className,l=e.visible,s=e.forceRender,f=e.destroyOnClose,v=e.motionName,m=e.ariaId,h=e.onVisibleChanged,g=e.mousePosition,b=(0,r.useRef)(),y=r.useState(),A=(0,p.A)(y,2),w=A[0],S=A[1],x={};function C(){var e,t,n,r,o,i=(e=b.current,t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow,n.left+=z(o),n.top+=z(o,!0),n);S(g?"".concat(g.x-i.left,"px ").concat(g.y-i.top,"px"):"")}return w&&(x.transformOrigin=w),r.createElement(I.Ay,{visible:l,onVisibleChanged:h,onAppearPrepare:C,onEnterPrepare:C,forceRender:s,motionName:v,removeOnLeave:f,ref:b},(function(l,s){var f=l.className,p=l.style;return r.createElement(D,(0,o.A)({},e,{ref:t,title:i,ariaId:m,prefixCls:n,holderRef:s,style:(0,d.A)((0,d.A)((0,d.A)({},p),a),x),className:u()(c,f)}))}))}));B.displayName="Content";const W=B;function F(e){var t=e.prefixCls,n=e.style,i=e.visible,a=e.maskProps,c=e.motionName,l=e.className;return r.createElement(I.Ay,{key:"mask",visible:i,motionName:c,leavedClassName:"".concat(t,"-mask-hidden")},(function(e,i){var c=e.className,s=e.style;return r.createElement("div",(0,o.A)({ref:i,style:(0,d.A)((0,d.A)({},s),n),className:u()("".concat(t,"-mask"),c,l)},a))}))}var X=n(8210);function K(e){var t=e.prefixCls,n=void 0===t?"rc-dialog":t,i=e.zIndex,a=e.visible,c=void 0!==a&&a,l=e.keyboard,s=void 0===l||l,f=e.focusTriggerAfterClose,v=void 0===f||f,m=e.wrapStyle,h=e.wrapClassName,g=e.wrapProps,b=e.onClose,y=e.afterOpenChange,A=e.afterClose,w=e.transitionName,S=e.animation,x=e.closable,M=void 0===x||x,O=e.mask,$=void 0===O||O,T=e.maskTransitionName,z=e.maskAnimation,I=e.maskClosable,N=void 0===I||I,L=e.maskStyle,j=e.maskProps,_=e.rootClassName,H=e.classNames,D=e.styles;var B=(0,r.useRef)(),X=(0,r.useRef)(),K=(0,r.useRef)(),G=r.useState(c),q=(0,p.A)(G,2),Y=q[0],V=q[1],U=(0,k.A)();function Q(e){null==b||b(e)}var Z=(0,r.useRef)(!1),J=(0,r.useRef)(),ee=null;return N&&(ee=function(e){Z.current?Z.current=!1:X.current===e.target&&Q(e)}),(0,r.useEffect)((function(){c&&(V(!0),(0,C.A)(X.current,document.activeElement)||(B.current=document.activeElement))}),[c]),(0,r.useEffect)((function(){return function(){clearTimeout(J.current)}}),[]),r.createElement("div",(0,o.A)({className:u()("".concat(n,"-root"),_)},R(e,{data:!0})),r.createElement(F,{prefixCls:n,visible:$&&c,motionName:P(n,T,z),style:(0,d.A)((0,d.A)({zIndex:i},L),null==D?void 0:D.mask),maskProps:j,className:null==H?void 0:H.mask}),r.createElement("div",(0,o.A)({tabIndex:-1,onKeyDown:function(e){if(s&&e.keyCode===E.A.ESC)return e.stopPropagation(),void Q(e);c&&e.keyCode===E.A.TAB&&K.current.changeActive(!e.shiftKey)},className:u()("".concat(n,"-wrap"),h,null==H?void 0:H.wrapper),ref:X,onClick:ee,style:(0,d.A)((0,d.A)((0,d.A)({zIndex:i},m),null==D?void 0:D.wrapper),{},{display:Y?null:"none"})},g),r.createElement(W,(0,o.A)({},e,{onMouseDown:function(){clearTimeout(J.current),Z.current=!0},onMouseUp:function(){J.current=setTimeout((function(){Z.current=!1}))},ref:K,closable:M,ariaId:U,prefixCls:n,visible:c&&Y,onClose:Q,onVisibleChanged:function(e){if(e)(0,C.A)(X.current,document.activeElement)||null===(t=K.current)||void 0===t||t.focus();else{if(V(!1),$&&B.current&&v){try{B.current.focus({preventScroll:!0})}catch(n){}B.current=null}Y&&(null==A||A())}var t;null==y||y(e)},motionName:P(n,w,S)}))))}var G=function(e){var t=e.visible,n=e.getContainer,i=e.forceRender,a=e.destroyOnClose,c=void 0!==a&&a,l=e.afterClose,s=e.panelRef,u=r.useState(t),d=(0,p.A)(u,2),f=d[0],v=d[1],m=r.useMemo((function(){return{panel:s}}),[s]);return r.useEffect((function(){t&&v(!0)}),[t]),i||!c||f?r.createElement(x.Provider,{value:m},r.createElement(S.A,{open:t||i||f,autoDestroy:!1,getContainer:n,autoLock:t||f},r.createElement(K,(0,o.A)({},e,{destroyOnClose:c,afterClose:function(){null==l||l(),v(!1)}})))):null};G.displayName="Dialog";const q=G;var Y=n(961);function V(e,t,n,r){var o=Y.unstable_batchedUpdates?function(e){Y.unstable_batchedUpdates(n,e)}:n;return null!=e&&e.addEventListener&&e.addEventListener(t,o,r),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,o,r)}}}var U=n(3210),Q=n(5371),Z={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function J(e,t,n,r){var o=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,f.A)({},e,i);if(t<0&&or)return(0,f.A)({},e,t<0?i:-i);return{}}function ee(e,t,n,r){var o=h(),i=o.width,a=o.height,c=null;return e<=i&&t<=a?c={x:0,y:0}:(e>i||t>a)&&(c=(0,d.A)((0,d.A)({},J("x",n,e,i)),J("y",r,t,a))),c}function te(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.hypot(n,r)}function ne(e,t,n,o,i,a,c){var l=i.rotate,s=i.scale,u=i.x,f=i.y,v=(0,r.useState)(!1),m=(0,p.A)(v,2),h=m[0],g=m[1],b=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),y=function(e){b.current=(0,d.A)((0,d.A)({},b.current),e)};return(0,r.useEffect)((function(){var e;return n&&t&&(e=V(window,"touchmove",(function(e){return e.preventDefault()}),{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}}),[n,t]),{isTouching:h,onTouchStart:function(e){if(t){e.stopPropagation(),g(!0);var n=e.touches,r=void 0===n?[]:n;r.length>1?y({point1:{x:r[0].clientX,y:r[0].clientY},point2:{x:r[1].clientX,y:r[1].clientY},eventType:"touchZoom"}):y({point1:{x:r[0].clientX-u,y:r[0].clientY-f},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=b.current,o=r.point1,i=r.point2,l=r.eventType;if(n.length>1&&"touchZoom"===l){var s={x:n[0].clientX,y:n[0].clientY},u={x:n[1].clientX,y:n[1].clientY},d=function(e,t,n,r){var o=te(e,n),i=te(t,r);if(0===o&&0===i)return[e.x,e.y];var a=o/(o+i);return[e.x+a*(t.x-e.x),e.y+a*(t.y-e.y)]}(o,i,s,u),f=(0,p.A)(d,2),v=f[0],m=f[1],h=te(s,u)/te(o,i);c(h,"touchZoom",v,m,!0),y({point1:s,point2:u,eventType:"touchZoom"})}else"move"===l&&(a({x:n[0].clientX-o.x,y:n[0].clientY-o.y},"move"),y({eventType:"move"}))},onTouchEnd:function(){if(n){if(h&&g(!1),y({eventType:"none"}),o>s)return a({x:0,y:0,scale:o},"touchZoom");var t=e.current.offsetWidth*s,r=e.current.offsetHeight*s,i=e.current.getBoundingClientRect(),c=i.left,u=i.top,f=l%180!=0,p=ee(f?r:t,f?t:r,c,u);p&&a((0,d.A)({},p),"dragRebound")}}}}const re=function(e){var t=e.visible,n=e.maskTransitionName,o=e.getContainer,i=e.prefixCls,a=e.rootClassName,c=e.icons,l=e.countRender,s=e.showSwitch,p=e.showProgress,v=e.current,m=e.transform,h=e.count,g=e.scale,b=e.minScale,A=e.maxScale,w=e.closeIcon,x=e.onSwitchLeft,C=e.onSwitchRight,k=e.onClose,M=e.onZoomIn,O=e.onZoomOut,$=e.onRotateRight,T=e.onRotateLeft,R=e.onFlipX,P=e.onFlipY,z=e.toolbarRender,N=e.zIndex,L=(0,r.useContext)(y),j=c.rotateLeft,_=c.rotateRight,H=c.zoomIn,D=c.zoomOut,B=c.close,W=c.left,F=c.right,X=c.flipX,K=c.flipY,G="".concat(i,"-operations-operation");r.useEffect((function(){var e=function(e){e.keyCode===E.A.ESC&&k()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[t]);var q=[{icon:K,onClick:P,type:"flipY"},{icon:X,onClick:R,type:"flipX"},{icon:j,onClick:T,type:"rotateLeft"},{icon:_,onClick:$,type:"rotateRight"},{icon:D,onClick:O,type:"zoomOut",disabled:g<=b},{icon:H,onClick:M,type:"zoomIn",disabled:g===A}].map((function(e){var t,n=e.icon,o=e.onClick,a=e.type,c=e.disabled;return r.createElement("div",{className:u()(G,(t={},(0,f.A)(t,"".concat(i,"-operations-operation-").concat(a),!0),(0,f.A)(t,"".concat(i,"-operations-operation-disabled"),!!c),t)),onClick:o,key:a},n)})),Y=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(I.Ay,{visible:t,motionName:n},(function(e){var t=e.className,n=e.style;return r.createElement(S.A,{open:!0,getContainer:null!=o?o:document.body},r.createElement("div",{className:u()("".concat(i,"-operations-wrapper"),t,a),style:(0,d.A)((0,d.A)({},n),{},{zIndex:N})},null===w?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:k},w||B),s&&r.createElement(r.Fragment,null,r.createElement("div",{className:u()("".concat(i,"-switch-left"),(0,f.A)({},"".concat(i,"-switch-left-disabled"),0===v)),onClick:x},W),r.createElement("div",{className:u()("".concat(i,"-switch-right"),(0,f.A)({},"".concat(i,"-switch-right-disabled"),v===h-1)),onClick:C},F)),r.createElement("div",{className:"".concat(i,"-footer")},p&&r.createElement("div",{className:"".concat(i,"-progress")},l?l(v+1,h):"".concat(v+1," / ").concat(h)),z?z(Y,(0,d.A)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:P,onFlipX:R,onRotateLeft:T,onRotateRight:$,onZoomOut:O,onZoomIn:M},transform:m},L?{current:v,total:h}:{})):Y)))}))};var oe=["fallback","src","imgRef"],ie=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],ae=function(e){var t=e.fallback,n=e.src,i=e.imgRef,a=(0,m.A)(e,oe),c=w({src:n,fallback:t}),l=(0,p.A)(c,2),s=l[0],u=l[1];return r.createElement("img",(0,o.A)({ref:function(e){i.current=e,s(e)}},a,u))};const ce=function(e){var t=e.prefixCls,n=e.src,i=e.alt,a=e.fallback,c=e.movable,l=void 0===c||c,s=e.onClose,v=e.visible,g=e.icons,b=void 0===g?{}:g,A=e.rootClassName,w=e.closeIcon,S=e.getContainer,x=e.current,C=void 0===x?0:x,k=e.count,M=void 0===k?1:k,O=e.countRender,$=e.scaleStep,T=void 0===$?.5:$,R=e.minScale,P=void 0===R?1:R,z=e.maxScale,I=void 0===z?50:z,N=e.transitionName,L=void 0===N?"zoom":N,j=e.maskTransitionName,_=void 0===j?"fade":j,H=e.imageRender,D=e.imgCommonProps,B=e.toolbarRender,W=e.onTransform,F=e.onChange,K=(0,m.A)(e,ie),G=(0,r.useRef)(),Y=(0,r.useContext)(y),J=Y&&M>1,te=Y&&M>=1,oe=(0,r.useState)(!0),ce=(0,p.A)(oe,2),le=ce[0],se=ce[1],ue=function(e,t,n,o){var i=(0,r.useRef)(null),a=(0,r.useRef)([]),c=(0,r.useState)(Z),l=(0,p.A)(c,2),s=l[0],u=l[1],f=function(e,t){null===i.current&&(a.current=[],i.current=(0,Q.A)((function(){u((function(e){var n=e;return a.current.forEach((function(e){n=(0,d.A)((0,d.A)({},n),e)})),i.current=null,null==o||o({transform:n,action:t}),n}))}))),a.current.push((0,d.A)((0,d.A)({},s),e))};return{transform:s,resetTransform:function(e){u(Z),o&&!(0,U.A)(Z,s)&&o({transform:Z,action:e})},updateTransform:f,dispatchZoomChange:function(r,o,i,a,c){var l=e.current,u=l.width,d=l.height,p=l.offsetWidth,v=l.offsetHeight,m=l.offsetLeft,g=l.offsetTop,b=r,y=s.scale*r;y>n?(y=n,b=n/s.scale):y0&&(r=1/r),c(r,"wheel",e.clientX,e.clientY)}}}}(G,l,v,T,de,pe,ve),he=me.isMoving,ge=me.onMouseDown,be=me.onWheel,ye=ne(G,l,v,P,de,pe,ve),Ae=ye.isTouching,we=ye.onTouchStart,Se=ye.onTouchMove,xe=ye.onTouchEnd,Ce=de.rotate,ke=de.scale,Ee=u()((0,f.A)({},"".concat(t,"-moving"),he));(0,r.useEffect)((function(){le||se(!0)}),[le]);var Me=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),C>0&&(se(!1),fe("prev"),null==F||F(C-1,C))},Oe=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),C1&&void 0!==arguments[1]&&arguments[1];const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[(0,Qe.b)(r,Ze,Je,e.motionDurationMid,t),{[`\n ${o}${r}-enter,\n ${o}${r}-appear\n `]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},tt=new Ye.Mo("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),nt=new Ye.Mo("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),rt=new Ye.Mo("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),ot=new Ye.Mo("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),it=new Ye.Mo("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),at=new Ye.Mo("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),ct={zoom:{inKeyframes:tt,outKeyframes:nt},"zoom-big":{inKeyframes:rt,outKeyframes:ot},"zoom-big-fast":{inKeyframes:rt,outKeyframes:ot},"zoom-left":{inKeyframes:new Ye.Mo("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),outKeyframes:new Ye.Mo("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}})},"zoom-right":{inKeyframes:new Ye.Mo("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),outKeyframes:new Ye.Mo("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}})},"zoom-up":{inKeyframes:it,outKeyframes:at},"zoom-down":{inKeyframes:new Ye.Mo("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),outKeyframes:new Ye.Mo("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}})}},lt=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=ct[t];return[(0,Qe.b)(r,o,i,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};var st=n(336),ut=n(3442);function dt(e){return{position:e,inset:0}}const ft=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},dt("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},dt("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:et(e)}]},pt=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${(0,Ye.zA)(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},(0,Ue.dF)(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${(0,Ye.zA)(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${(0,Ye.zA)(e.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},(0,Ue.K8)(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${(0,Ye.zA)(e.borderRadiusLG)} ${(0,Ye.zA)(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,\n ${t}-body,\n ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},vt=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},mt=((0,ut.OF)("Modal",(e=>{const t=(e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return(0,st.h1)(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})})(e);return[pt(t),vt(t),ft(t),lt(t,"zoom")]}),(e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${(0,Ye.zA)(e.paddingMD)} ${(0,Ye.zA)(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${(0,Ye.zA)(e.padding)} ${(0,Ye.zA)(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${(0,Ye.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${(0,Ye.zA)(e.paddingXS)} ${(0,Ye.zA)(e.padding)}`:0,footerBorderTop:e.wireframe?`${(0,Ye.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${(0,Ye.zA)(e.borderRadiusLG)} ${(0,Ye.zA)(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${(0,Ye.zA)(2*e.padding)} ${(0,Ye.zA)(2*e.padding)} ${(0,Ye.zA)(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM})),{unitless:{titleLineHeight:!0}}),e=>({position:e||"absolute",inset:0})),ht=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:o,prefixCls:i,colorTextLightSolid:a}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:a,background:new Ve.q("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},Ue.L9),{padding:`0 ${(0,Ye.zA)(r)}`,[t]:{marginInlineEnd:o,svg:{verticalAlign:"baseline"}}})}},gt=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:o,margin:i,paddingLG:a,previewOperationColorDisabled:c,previewOperationHoverColor:l,motionDurationSlow:s,iconCls:u,colorTextLightSolid:d}=e,f=new Ve.q(n).setAlpha(.1),p=f.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:o,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:o,right:{_skip_check_:!0,value:o},display:"flex",color:d,backgroundColor:f.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${s}`,"&:hover":{backgroundColor:p.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,Ye.zA)(a)}`,backgroundColor:f.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${s}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:c,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},bt=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:o,zIndexPopup:i,motionDurationSlow:a}=e,c=new Ve.q(t).setAlpha(.1),l=c.clone().setAlpha(.2);return{[`${o}-switch-left, ${o}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal({unit:!1}),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:c.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${a}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${o}-switch-left`]:{insetInlineStart:e.marginSM},[`${o}-switch-right`]:{insetInlineEnd:e.marginSM}}},yt=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:o}=e;return[{[`${o}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},mt()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},mt()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${o}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${o}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal({unit:!1})},"&":[gt(e),bt(e)]}]},At=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},ht(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},mt())}}},wt=e=>{const{previewCls:t}=e;return{[`${t}-root`]:lt(e,"zoom"),"&":et(e,!0)}},St=(0,ut.OF)("Image",(e=>{const t=`${e.componentCls}-preview`,n=(0,st.h1)(e,{previewCls:t,modalMaskBg:new Ve.q("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[At(n),yt(n),ft((0,st.h1)(n,{componentCls:t})),wt(n)]}),(e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new Ve.q(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Ve.q(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Ve.q(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})));var xt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{var t;const{prefixCls:n,preview:o,className:i,rootClassName:a,style:c}=e,s=kt(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:f=ke.A,getPopupContainer:p,image:v}=r.useContext(xe.QO),m=d("image",n),h=d(),g=f.Image||ke.A.Image,b=(0,Ce.A)(m),[y,A,w]=St(m,b),S=u()(a,A,w,b),x=u()(i,A,null==v?void 0:v.className),[C]=we("ImagePreview","object"==typeof o?o.zIndex:void 0),k=r.useMemo((()=>{var e;if(!1===o)return o;const t="object"==typeof o?o:{},{getContainer:n,closeIcon:i}=t,a=kt(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${m}-mask-info`},r.createElement(l,null),null==g?void 0:g.preview),icons:Ct},a),{getContainer:null!=n?n:p,transitionName:(0,Se.b)(h,"zoom",t.transitionName),maskTransitionName:(0,Se.b)(h,"fade",t.maskTransitionName),zIndex:C,closeIcon:null!=i?i:null===(e=null==v?void 0:v.preview)||void 0===e?void 0:e.closeIcon})}),[o,g,null===(t=null==v?void 0:v.preview)||void 0===t?void 0:t.closeIcon]),E=Object.assign(Object.assign({},null==v?void 0:v.style),c);return y(r.createElement(me,Object.assign({prefixCls:m,preview:k,rootClassName:S,className:x,style:E},s)))};Et.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,o=xt(e,["previewPrefixCls","preview"]);const{getPrefixCls:i}=r.useContext(xe.QO),a=i("image",t),c=`${a}-preview`,l=i(),s=(0,Ce.A)(a),[d,f,p]=St(a,s),[v]=we("ImagePreview","object"==typeof n?n.zIndex:void 0),m=r.useMemo((()=>{var e;if(!1===n)return n;const t="object"==typeof n?n:{},r=u()(f,p,s,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,Se.b)(l,"zoom",t.transitionName),maskTransitionName:(0,Se.b)(l,"fade",t.maskTransitionName),rootClassName:r,zIndex:v})}),[n]);return d(r.createElement(me.PreviewGroup,Object.assign({preview:m,previewPrefixCls:c,icons:Ct},o)))};const Mt=Et},2130:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});const r={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"};const o={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},i={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},a={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},o),timePickerLocale:Object.assign({},i)},c="${label} is not a valid ${type}",l={locale:"en",Pagination:r,DatePicker:a,TimePicker:i,Calendar:a,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:c,method:c,array:c,object:c,number:c,date:c,boolean:c,integer:c,float:c,regexp:c,email:c,url:c,hex:c},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty"}}},5905:(e,t,n)=>{"use strict";n.d(t,{K8:()=>d,L9:()=>o,Nk:()=>a,av:()=>l,dF:()=>i,t6:()=>c,vj:()=>s});var r=n(1466);const o={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},a=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),c=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),l=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),s=(e,t,n,r)=>{const o=`[class^="${t}"], [class*=" ${t}"]`,i=n?`.${n}`:o,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let c={};return!1!==r&&(c={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},c),a),{[o]:a})}},u=e=>({outline:`${(0,r.zA)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),d=e=>({"&:focus-visible":Object.assign({},u(e))})},4980:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});const r=e=>({animationDuration:e,animationFillMode:"both"}),o=e=>({animationDuration:e,animationFillMode:"both"}),i=function(e,t,n,i){const a=arguments.length>4&&void 0!==arguments[4]&&arguments[4]?"&":"";return{[`\n ${a}${e}-enter,\n ${a}${e}-appear\n `]:Object.assign(Object.assign({},r(i)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},o(i)),{animationPlayState:"paused"}),[`\n ${a}${e}-enter${e}-enter-active,\n ${a}${e}-appear${e}-appear-active\n `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}}},9806:(e,t,n)=>{"use strict";n.d(t,{sb:()=>l,vG:()=>s,zQ:()=>c});var r=n(6540),o=n(1466),i=n(5967),a=n(723);const c=(0,o.an)(i.A),l={token:a.A,override:{override:a.A},hashed:!0},s=r.createContext(l)},9522:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var r=n(1466),o=n(5967),i=n(723),a=n(318);const c=e=>{const t=(null==e?void 0:e.algorithm)?(0,r.an)(e.algorithm):(0,r.an)(o.A),n=Object.assign(Object.assign({},i.A),null==e?void 0:e.token);return(0,r.lO)(n,{override:null==e?void 0:e.token},t,a.A)};var l=n(6613),s=n(9806),u=n(8690),d=n(4488);const f=(e,t)=>{const n=null!=t?t:(0,o.A)(e),r=n.fontSizeSM,i=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),function(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}(null!=t?t:e)),(0,d.A)(r)),{controlHeight:i}),(0,u.A)(Object.assign(Object.assign({},n),{controlHeight:i})))};var p=n(2200),v=n(7484),m=n(4978);const h=(e,t)=>new m.q(e).setAlpha(t).toRgbString(),g=(e,t)=>new m.q(e).lighten(t).toHexString(),b=e=>{const t=(0,p.cM)(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},y=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:h(r,.85),colorTextSecondary:h(r,.65),colorTextTertiary:h(r,.45),colorTextQuaternary:h(r,.25),colorFill:h(r,.18),colorFillSecondary:h(r,.12),colorFillTertiary:h(r,.08),colorFillQuaternary:h(r,.04),colorBgElevated:g(n,12),colorBgContainer:g(n,8),colorBgLayout:g(n,0),colorBgSpotlight:g(n,26),colorBgBlur:h(r,.04),colorBorder:g(n,26),colorBorderSecondary:g(n,19)}},A=(e,t)=>{const n=Object.keys(i.r).map((t=>{const n=(0,p.cM)(e[t],{theme:"dark"});return new Array(10).fill(1).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>e=Object.assign(Object.assign({},e),t)),{}),r=null!=t?t:(0,o.A)(e);return Object.assign(Object.assign(Object.assign({},r),n),(0,v.A)(e,{generateColorPalettes:b,generateNeutralColorPalettes:y}))};const w={defaultConfig:s.sb,defaultSeed:s.sb.token,useToken:function(){const[e,t,n]=(0,l.Ay)();return{theme:e,token:t,hashId:n}},defaultAlgorithm:o.A,darkAlgorithm:A,compactAlgorithm:f,getDesignToken:c}},5967:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(2200),o=n(723),i=n(7484);const a=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}};var c=n(8690),l=n(4488);var s=n(4978);const u=(e,t)=>new s.q(e).setAlpha(t).toRgbString(),d=(e,t)=>new s.q(e).darken(t).toHexString(),f=e=>{const t=(0,r.cM)(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},p=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:u(r,.88),colorTextSecondary:u(r,.65),colorTextTertiary:u(r,.45),colorTextQuaternary:u(r,.25),colorFill:u(r,.15),colorFillSecondary:u(r,.06),colorFillTertiary:u(r,.04),colorFillQuaternary:u(r,.02),colorBgLayout:d(n,4),colorBgContainer:d(n,0),colorBgElevated:d(n,0),colorBgSpotlight:u(r,.85),colorBgBlur:"transparent",colorBorder:d(n,15),colorBorderSecondary:d(n,6)}};function v(e){const t=Object.keys(o.r).map((t=>{const n=(0,r.cM)(e[t]);return new Array(10).fill(1).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>e=Object.assign(Object.assign({},e),t)),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),(0,i.A)(e,{generateColorPalettes:f,generateNeutralColorPalettes:p})),(0,l.A)(e.fontSize)),function(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),(0,c.A)(e)),function(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:o+1},a(r))}(e))}},723:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,r:()=>r});const r={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},o=Object.assign(Object.assign({},r),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0})},7484:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(4978);function o(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:o}=t;const{colorSuccess:i,colorWarning:a,colorError:c,colorInfo:l,colorPrimary:s,colorBgBase:u,colorTextBase:d}=e,f=n(s),p=n(i),v=n(a),m=n(c),h=n(l),g=o(u,d),b=n(e.colorLink||e.colorInfo);return Object.assign(Object.assign({},g),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:v[1],colorWarningBgHover:v[2],colorWarningBorder:v[3],colorWarningBorderHover:v[4],colorWarningHover:v[4],colorWarning:v[6],colorWarningActive:v[7],colorWarningTextHover:v[8],colorWarningText:v[9],colorWarningTextActive:v[10],colorInfoBg:h[1],colorInfoBgHover:h[2],colorInfoBorder:h[3],colorInfoBorderHover:h[4],colorInfoHover:h[4],colorInfo:h[6],colorInfoActive:h[7],colorInfoTextHover:h[8],colorInfoText:h[9],colorInfoTextActive:h[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new r.q("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}},8690:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=e=>{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}}},4488:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=e=>{const t=function(e){const t=new Array(10).fill(null).map(((t,n)=>{const r=n-1,o=e*Math.pow(2.71828,r/5),i=n>1?Math.floor(o):Math.ceil(o);return 2*Math.floor(i/2)}));return t[1]=e,t.map((e=>{return{size:e,lineHeight:(t=e,(t+8)/t)};var t}))}(e),n=t.map((e=>e.size)),r=t.map((e=>e.lineHeight)),o=n[1],i=n[0],a=n[2],c=r[1],l=r[0],s=r[2];return{fontSizeSM:i,fontSize:o,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:c,lineHeightLG:s,lineHeightSM:l,fontHeight:Math.round(c*o),fontHeightLG:Math.round(s*a),fontHeightSM:Math.round(l*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}}},6613:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>v,Xe:()=>d,Is:()=>u});var r=n(6540),o=n(1466);const i="5.16.4";var a=n(9806),c=n(723),l=n(318),s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const r=n.getDerivativeToken(e),{override:o}=t,i=s(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=(0,l.A)(a),i&&Object.entries(i).forEach((e=>{let[t,n]=e;const{theme:r}=n,o=s(n,["theme"]);let i=o;r&&(i=p(Object.assign(Object.assign({},a),o),{override:o},r)),a[t]=i})),a};function v(){const{token:e,hashed:t,theme:n,override:s,cssVar:v}=r.useContext(a.vG),m=`${i}-${t||""}`,h=n||a.zQ,[g,b,y]=(0,o.hV)(h,[c.A,e],{salt:m,override:s,getComputedToken:p,formatToken:l.A,cssVar:v&&{prefix:v.prefix,key:v.key,unitless:u,ignore:d,preserve:f}});return[h,y,t?b:"",g,v]}},318:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(4978),o=n(723);function i(e){return e>=0&&e<=255}const a=function(e,t){const{r:n,g:o,b:a,a:c}=new r.q(e).toRgb();if(c<1)return e;const{r:l,g:s,b:u}=new r.q(t).toRgb();for(let d=.01;d<=1;d+=.01){const e=Math.round((n-l*(1-d))/d),t=Math.round((o-s*(1-d))/d),c=Math.round((a-u*(1-d))/d);if(i(e)&&i(t)&&i(c))return new r.q({r:e,g:t,b:c,a:Math.round(100*d)/100}).toRgbString()}return new r.q({r:n,g:o,b:a,a:1}).toRgbString()};var c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{delete i[e]}));const l=Object.assign(Object.assign({},n),i),s=1200,u=1600;if(!1===l.motion){const e="0s";l.motionDurationFast=e,l.motionDurationMid=e,l.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},l),{colorFillContent:l.colorFillSecondary,colorFillContentHover:l.colorFill,colorFillAlter:l.colorFillQuaternary,colorBgContainerDisabled:l.colorFillTertiary,colorBorderBg:l.colorBgContainer,colorSplit:a(l.colorBorderSecondary,l.colorBgContainer),colorTextPlaceholder:l.colorTextQuaternary,colorTextDisabled:l.colorTextQuaternary,colorTextHeading:l.colorText,colorTextLabel:l.colorTextSecondary,colorTextDescription:l.colorTextTertiary,colorTextLightSolid:l.colorWhite,colorHighlight:l.colorError,colorBgTextHover:l.colorFillSecondary,colorBgTextActive:l.colorFill,colorIcon:l.colorTextTertiary,colorIconHover:l.colorText,colorErrorOutline:a(l.colorErrorBg,l.colorBgContainer),colorWarningOutline:a(l.colorWarningBg,l.colorBgContainer),fontSizeIcon:l.fontSizeSM,lineWidthFocus:4*l.lineWidth,lineWidth:l.lineWidth,controlOutlineWidth:2*l.lineWidth,controlInteractiveSize:l.controlHeight/2,controlItemBgHover:l.colorFillTertiary,controlItemBgActive:l.colorPrimaryBg,controlItemBgActiveHover:l.colorPrimaryBgHover,controlItemBgActiveDisabled:l.colorFill,controlTmpOutline:l.colorFillQuaternary,controlOutline:a(l.colorPrimaryBg,l.colorBgContainer),lineType:l.lineType,borderRadius:l.borderRadius,borderRadiusXS:l.borderRadiusXS,borderRadiusSM:l.borderRadiusSM,borderRadiusLG:l.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:l.sizeXXS,paddingXS:l.sizeXS,paddingSM:l.sizeSM,padding:l.size,paddingMD:l.sizeMD,paddingLG:l.sizeLG,paddingXL:l.sizeXL,paddingContentHorizontalLG:l.sizeLG,paddingContentVerticalLG:l.sizeMS,paddingContentHorizontal:l.sizeMS,paddingContentVertical:l.sizeSM,paddingContentHorizontalSM:l.size,paddingContentVerticalSM:l.sizeXS,marginXXS:l.sizeXXS,marginXS:l.sizeXS,marginSM:l.sizeSM,margin:l.size,marginMD:l.sizeMD,marginLG:l.sizeLG,marginXL:l.sizeXL,marginXXL:l.sizeXXL,boxShadow:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:s,screenXLMin:s,screenXLMax:1599,screenXXL:u,screenXXLMin:u,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`\n 0 1px 2px -2px ${new r.q("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new r.q("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new r.q("rgba(0, 0, 0, 0.09)").toRgbString()}\n `,boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),i)}},3442:(e,t,n)=>{"use strict";n.d(t,{OF:()=>M});var r=n(6540),o=n(1466),i=(n(6956),n(2533),n(8719),n(1526),n(8210),n(2279)),a=n(5905),c=n(6613),l=n(3029),s=n(2901),u=n(3954),d=n(2176),f=n(6822);function p(e,t,n){return t=(0,u.A)(t),(0,f.A)(e,(0,d.A)()?Reflect.construct(t,n||[],(0,u.A)(e).constructor):t.apply(e,n))}var v=n(5501);const m=(0,s.A)((function e(){(0,l.A)(this,e)})),h="CALC_UNIT",g=new RegExp(h,"g");function b(e){return"number"==typeof e?`${e}${h}`:e}let y=function(e){function t(e){var n;return(0,l.A)(this,t),(n=p(this,t)).result="",e instanceof t?n.result=`(${e.result})`:"number"==typeof e?n.result=b(e):"string"==typeof e&&(n.result=e),n}return(0,v.A)(t,e),(0,s.A)(t,[{key:"add",value:function(e){return e instanceof t?this.result=`${this.result} + ${e.getResult()}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} + ${b(e)}`),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof t?this.result=`${this.result} - ${e.getResult()}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} - ${b(e)}`),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result=`(${this.result})`),e instanceof t?this.result=`${this.result} * ${e.getResult(!0)}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} * ${e}`),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result=`(${this.result})`),e instanceof t?this.result=`${this.result} / ${e.getResult(!0)}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} / ${e}`),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?`(${this.result})`:this.result}},{key:"equal",value:function(e){const{unit:t=!0}=e||{};return this.result=this.result.replace(g,t?"px":""),void 0!==this.lowPriority?`calc(${this.result})`:this.result}}])}(m),A=function(e){function t(e){var n;return(0,l.A)(this,t),(n=p(this,t)).result=0,e instanceof t?n.result=e.result:"number"==typeof e&&(n.result=e),n}return(0,v.A)(t,e),(0,s.A)(t,[{key:"add",value:function(e){return e instanceof t?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof t?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof t?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof t?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}])}(m);const w=e=>{const t="css"===e?y:A;return e=>new t(e)};var S=n(336),x=n(2366);const C=(e,t,n)=>{var r;return"function"==typeof n?n((0,S.h1)(t,null!==(r=t[e])&&void 0!==r?r:{})):null!=n?n:{}},k=(e,t,n,r)=>{const o=Object.assign({},t[e]);if(null==r?void 0:r.deprecatedTokens){const{deprecatedTokens:e}=r;e.forEach((e=>{let[t,n]=e;var r;((null==o?void 0:o[t])||(null==o?void 0:o[n]))&&(null!==(r=o[n])&&void 0!==r||(o[n]=null==o?void 0:o[t]))}))}const i=Object.assign(Object.assign({},n),o);return Object.keys(i).forEach((e=>{i[e]===t[e]&&delete i[e]})),i};function E(e,t,n){let l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const s=Array.isArray(e)?e:[e,e],[u]=s,d=s.join("-");return function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const[f,p,v,m,h]=(0,c.Ay)(),{getPrefixCls:g,iconPrefixCls:b,csp:y}=(0,r.useContext)(i.QO),A=g(),E=h?"css":"js",M=w(E),{max:O,min:$}=function(e){return"js"===e?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=new Array(e),n=0;n(0,o.zA)(e))).join(",")})`},min:function(){for(var e=arguments.length,t=new Array(e),n=0;n(0,o.zA)(e))).join(",")})`}}}(E),T={theme:f,token:m,hashId:v,nonce:()=>null==y?void 0:y.nonce,clientOnly:l.clientOnly,order:l.order||-999};(0,o.IV)(Object.assign(Object.assign({},T),{clientOnly:!1,path:["Shared",A]}),(()=>[{"&":(0,a.av)(m)}])),(0,x.A)(b,y);const R=(0,o.IV)(Object.assign(Object.assign({},T),{path:[d,e,b]}),(()=>{if(!1===l.injectStyle)return[];const{token:r,flush:i}=(0,S.Ay)(m),c=C(u,p,n),d=`.${e}`,f=k(u,p,c,{deprecatedTokens:l.deprecatedTokens});h&&Object.keys(c).forEach((e=>{c[e]=`var(${(0,o.Ki)(e,((e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`)(u,h.prefix))})`}));const g=(0,S.h1)(r,{componentCls:d,prefixCls:e,iconCls:`.${b}`,antCls:`.${A}`,calc:M,max:O,min:$},h?c:f),y=t(g,{hashId:v,prefixCls:e,rootPrefixCls:A,iconPrefixCls:b});return i(u,f),[!1===l.resetStyle?null:(0,a.vj)(g,e,s,l.resetFont),y]}));return[R,v]}}const M=(e,t,n,i)=>{const a=E(e,t,n,i),l=((e,t,n)=>{function i(t){return`${e}${t.slice(0,1).toUpperCase()}${t.slice(1)}`}const{unitless:a={},injectStyle:l=!0}=null!=n?n:{},s={[i("zIndexPopup")]:!0};Object.keys(a).forEach((e=>{s[i(e)]=a[e]}));const u=r=>{let{rootCls:a,cssVar:l}=r;const[,u]=(0,c.Ay)();return(0,o.RC)({path:[e],prefix:l.prefix,key:null==l?void 0:l.key,unitless:Object.assign(Object.assign({},c.Is),s),ignore:c.Xe,token:u,scope:a},(()=>{const r=C(e,u,t),o=k(e,u,r,{deprecatedTokens:null==n?void 0:n.deprecatedTokens});return Object.keys(r).forEach((e=>{o[i(e)]=o[e],delete o[e]})),o})),null};return t=>{const[,,,,n]=(0,c.Ay)();return[o=>l&&n?r.createElement(r.Fragment,null,r.createElement(u,{rootCls:t,cssVar:n,component:e}),o):o,null==n?void 0:n.key]}})(Array.isArray(e)?e[0]:e,n,i);return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const[,n]=a(e,t),[r,o]=l(t);return[r,n,o]}}},336:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>l,h1:()=>i});const r="undefined"!=typeof CSSINJS_STATISTIC;let o=!0;function i(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(e).forEach((t=>{Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:()=>e[t]})}))})),o=!0,i}const a={};function c(){}const l=e=>{let t,n=e,i=c;return r&&"undefined"!=typeof Proxy&&(t=new Set,n=new Proxy(e,{get:(e,n)=>(o&&t.add(n),e[n])}),i=(e,n)=>{var r;a[e]={global:Array.from(t),component:Object.assign(Object.assign({},null===(r=a[e])||void 0===r?void 0:r.component),n)}}),{token:n,keys:t,flush:i}}},2366:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(1466),o=n(5905),i=n(6613);const a=(e,t)=>{const[n,a]=(0,i.Ay)();return(0,r.IV)({theme:n,token:a,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce},(()=>[{[`.${e}`]:Object.assign(Object.assign({},(0,o.Nk)()),{[`.${e} .${e}-icon`]:{display:"block"}})}]))}},1441:(e,t,n)=>{var r=n(8028),o=function(e){var t="",n=Object.keys(e);return n.forEach((function(o,i){var a=e[o];(function(e){return/[height|width]$/.test(e)})(o=r(o))&&"number"==typeof a&&(a+="px"),t+=!0===a?o:!1===a?"not "+o:"("+o+": "+a+")",i{"use strict";n.d(t,{Kq:()=>m,Ay:()=>me});var r=n(4467),o=n(9379),i=n(641),a=n(2284),c=n(6942),l=n.n(c),s=n(4207),u=n(8719),d=n(6540),f=n(45),p=["children"],v=d.createContext({});function m(e){var t=e.children,n=(0,f.A)(e,p);return d.createElement(v.Provider,{value:n},t)}var h=n(3029),g=n(2901),b=n(5501),y=n(9426);const A=function(e){(0,b.A)(n,e);var t=(0,y.A)(n);function n(){return(0,h.A)(this,n),t.apply(this,arguments)}return(0,g.A)(n,[{key:"render",value:function(){return this.props.children}}]),n}(d.Component);var w=n(1233),S="none",x="appear",C="enter",k="leave",E="none",M="prepare",O="start",$="active",T="end",R="prepared",P=n(998);function z(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var I,N,L,j=(I=(0,P.A)(),N="undefined"!=typeof window?window:{},L={animationend:z("Animation","AnimationEnd"),transitionend:z("Transition","TransitionEnd")},I&&("AnimationEvent"in N||delete L.animationend.animation,"TransitionEvent"in N||delete L.transitionend.transition),L),_={};if((0,P.A)()){var H=document.createElement("div");_=H.style}var D={};function B(e){if(D[e])return D[e];var t=j[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,U.A)((function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)}));e.current=i},t]}(),s=(0,i.A)(l,2),u=s[0],f=s[1];var p=t?Z:Q;return V((function(){if(a!==E&&a!==T){var e=p.indexOf(a),t=p[e+1],r=n(a);r===J?c(t,!0):t&&u((function(e){function n(){e.isCanceled()||c(t,!0)}!0===r?n():Promise.resolve(r).then(n)}))}}),[e,a]),d.useEffect((function(){return function(){f()}}),[]),[function(){c(M,!0)},a]};const re=function(e){var t=e;"object"===(0,a.A)(e)&&(t=e.transitionSupport);var n=d.forwardRef((function(e,n){var a=e.visible,c=void 0===a||a,f=e.removeOnLeave,p=void 0===f||f,m=e.forceRender,h=e.children,g=e.motionName,b=e.leavedClassName,y=e.eventProps,E=function(e,n){return!(!e.motionName||!t||!1===n)}(e,d.useContext(v).motion),T=(0,d.useRef)(),P=(0,d.useRef)();var z=function(e,t,n,a){var c=a.motionEnter,l=void 0===c||c,s=a.motionAppear,u=void 0===s||s,f=a.motionLeave,p=void 0===f||f,v=a.motionDeadline,m=a.motionLeaveImmediately,h=a.onAppearPrepare,g=a.onEnterPrepare,b=a.onLeavePrepare,y=a.onAppearStart,A=a.onEnterStart,E=a.onLeaveStart,T=a.onAppearActive,P=a.onEnterActive,z=a.onLeaveActive,I=a.onAppearEnd,N=a.onEnterEnd,L=a.onLeaveEnd,j=a.onVisibleChanged,_=(0,w.A)(),H=(0,i.A)(_,2),D=H[0],B=H[1],W=(0,w.A)(S),F=(0,i.A)(W,2),X=F[0],K=F[1],G=(0,w.A)(null),q=(0,i.A)(G,2),U=q[0],Q=q[1],Z=(0,d.useRef)(!1),re=(0,d.useRef)(null);function oe(){return n()}var ie=(0,d.useRef)(!1);function ae(){K(S,!0),Q(null,!0)}function ce(e){var t=oe();if(!e||e.deadline||e.target===t){var n,r=ie.current;X===x&&r?n=null==I?void 0:I(t,e):X===C&&r?n=null==N?void 0:N(t,e):X===k&&r&&(n=null==L?void 0:L(t,e)),X!==S&&r&&!1!==n&&ae()}}var le=Y(ce),se=(0,i.A)(le,1)[0],ue=function(e){var t,n,o;switch(e){case x:return t={},(0,r.A)(t,M,h),(0,r.A)(t,O,y),(0,r.A)(t,$,T),t;case C:return n={},(0,r.A)(n,M,g),(0,r.A)(n,O,A),(0,r.A)(n,$,P),n;case k:return o={},(0,r.A)(o,M,b),(0,r.A)(o,O,E),(0,r.A)(o,$,z),o;default:return{}}},de=d.useMemo((function(){return ue(X)}),[X]),fe=ne(X,!e,(function(e){if(e===M){var t=de[M];return t?t(oe()):J}var n;return me in de&&Q((null===(n=de[me])||void 0===n?void 0:n.call(de,oe(),null))||null),me===$&&(se(oe()),v>0&&(clearTimeout(re.current),re.current=setTimeout((function(){ce({deadline:!0})}),v))),me===R&&ae(),ee})),pe=(0,i.A)(fe,2),ve=pe[0],me=pe[1],he=te(me);ie.current=he,V((function(){B(t);var n,r=Z.current;Z.current=!0,!r&&t&&u&&(n=x),r&&t&&l&&(n=C),(r&&!t&&p||!r&&m&&!t&&p)&&(n=k);var o=ue(n);n&&(e||o[M])?(K(n),ve()):K(S)}),[t]),(0,d.useEffect)((function(){(X===x&&!u||X===C&&!l||X===k&&!p)&&K(S)}),[u,l,p]),(0,d.useEffect)((function(){return function(){Z.current=!1,clearTimeout(re.current)}}),[]);var ge=d.useRef(!1);(0,d.useEffect)((function(){D&&(ge.current=!0),void 0!==D&&X===S&&((ge.current||D)&&(null==j||j(D)),ge.current=!0)}),[D,X]);var be=U;return de[M]&&me===O&&(be=(0,o.A)({transition:"none"},be)),[X,me,be,null!=D?D:t]}(E,c,(function(){try{return T.current instanceof HTMLElement?T.current:(0,s.A)(P.current)}catch(e){return null}}),e),I=(0,i.A)(z,4),N=I[0],L=I[1],j=I[2],_=I[3],H=d.useRef(_);_&&(H.current=!0);var D,B=d.useCallback((function(e){T.current=e,(0,u.Xf)(n,e)}),[n]),W=(0,o.A)((0,o.A)({},y),{},{visible:c});if(h)if(N===S)D=_?h((0,o.A)({},W),B):!p&&H.current&&b?h((0,o.A)((0,o.A)({},W),{},{className:b}),B):m||!p&&!b?h((0,o.A)((0,o.A)({},W),{},{style:{display:"none"}}),B):null;else{var F,X;L===M?X="prepare":te(L)?X="active":L===O&&(X="start");var K=q(g,"".concat(N,"-").concat(X));D=h((0,o.A)((0,o.A)({},W),{},{className:l()(q(g,N),(F={},(0,r.A)(F,K,K&&X),(0,r.A)(F,g,"string"==typeof g),F)),style:j}),B)}else D=null;d.isValidElement(D)&&(0,u.f3)(D)&&(D.ref||(D=d.cloneElement(D,{ref:B})));return d.createElement(A,{ref:P},D)}));return n.displayName="CSSMotion",n}(X);var oe=n(8168),ie=n(9417),ae="add",ce="keep",le="remove",se="removed";function ue(e){var t;return t=e&&"object"===(0,a.A)(e)&&"key"in e?e:{key:e},(0,o.A)((0,o.A)({},t),{},{key:String(t.key)})}function de(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(ue)}var fe=["component","children","onVisibleChanged","onAllRemoved"],pe=["status"],ve=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:re,n=function(e){(0,b.A)(i,e);var n=(0,y.A)(i);function i(){var e;(0,h.A)(this,i);for(var t=arguments.length,a=new Array(t),c=0;c0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,i=t.length,a=de(e),c=de(t);a.forEach((function(e){for(var t=!1,a=r;a1})).forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==le}))).forEach((function(t){t.key===e&&(t.status=ce)}))})),n}(r,i);return{keyEntities:a.filter((function(e){var t=r.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==se||e.status!==le}))}}}]),i}(d.Component);(0,r.A)(n,"defaultProps",{component:"div"})}(X);const me=re},998:(e,t,n)=>{"use strict";function r(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}n.d(t,{A:()=>r})},4808:(e,t,n)=>{"use strict";function r(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}n.d(t,{A:()=>r})},5089:(e,t,n)=>{"use strict";n.d(t,{BD:()=>h,m6:()=>m});var r=n(9379),o=n(998),i=n(4808),a="data-rc-order",c="data-rc-priority",l="rc-util-key",s=new Map;function u(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):l}function d(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function f(e){return Array.from((s.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.A)())return null;var n=t.csp,r=t.prepend,i=t.priority,l=void 0===i?0:i,s=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r),u="prependQueue"===s,p=document.createElement("style");p.setAttribute(a,s),u&&l&&p.setAttribute(c,"".concat(l)),null!=n&&n.nonce&&(p.nonce=null==n?void 0:n.nonce),p.innerHTML=e;var v=d(t),m=v.firstChild;if(r){if(u){var h=(t.styles||f(v)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(a)))return!1;var t=Number(e.getAttribute(c)||0);return l>=t}));if(h.length)return v.insertBefore(p,h[h.length-1].nextSibling),p}v.insertBefore(p,m)}else v.appendChild(p);return p}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=d(t);return(t.styles||f(n)).find((function(n){return n.getAttribute(u(t))===e}))}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=v(e,t);n&&d(t).removeChild(n)}function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=d(n),a=f(o),c=(0,r.A)((0,r.A)({},n),{},{styles:a});!function(e,t){var n=s.get(e);if(!n||!(0,i.A)(document,n)){var r=p("",t),o=r.parentNode;s.set(e,o),e.removeChild(r)}}(o,c);var l=v(t,c);if(l){var m,h,g;if(null!==(m=c.csp)&&void 0!==m&&m.nonce&&l.nonce!==(null===(h=c.csp)||void 0===h?void 0:h.nonce))l.nonce=null===(g=c.csp)||void 0===g?void 0:g.nonce;return l.innerHTML!==e&&(l.innerHTML=e),l}var b=p(e,c);return b.setAttribute(u(c),t),b}},4207:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,f:()=>i});var r=n(6540),o=n(961);function i(e){return e instanceof HTMLElement||e instanceof SVGElement}function a(e){return i(e)?e:e instanceof r.Component?o.findDOMNode(e):null}},2633:(e,t,n)=>{"use strict";function r(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function o(e){return function(e){return r(e)instanceof ShadowRoot}(e)?r(e):null}n.d(t,{j:()=>o})},6928:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const o=r},6956:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540);function o(e){var t=r.useRef();t.current=e;var n=r.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o{"use strict";var r;n.d(t,{A:()=>s});var o=n(641),i=n(9379),a=n(6540);var c=0;var l=(0,i.A)({},r||(r=n.t(a,2))).useId;const s=l?function(e){var t=l();return e||t}:function(e){var t=a.useState("ssr-id"),n=(0,o.A)(t,2),r=n[0],i=n[1];return a.useEffect((function(){var e=c;c+=1,i("rc_unique_".concat(e))}),[]),e||r}},981:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,o:()=>a});var r=n(6540),o=(0,n(998).A)()?r.useLayoutEffect:r.useEffect,i=function(e,t){var n=r.useRef(!0);o((function(){return e(n.current)}),t),o((function(){return n.current=!1,function(){n.current=!0}}),[])},a=function(e,t){i((function(t){if(!t)return e()}),t)};const c=i},8104:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540);function o(e,t,n){var o=r.useRef({});return"value"in o.current&&!n(o.current.condition,t)||(o.current.value=e(),o.current.condition=t),o.current.value}},2533:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(641),o=n(6956),i=n(981),a=n(1233);function c(e){return void 0!==e}function l(e,t){var n=t||{},l=n.defaultValue,s=n.value,u=n.onChange,d=n.postState,f=(0,a.A)((function(){return c(s)?s:c(l)?"function"==typeof l?l():l:"function"==typeof e?e():e})),p=(0,r.A)(f,2),v=p[0],m=p[1],h=void 0!==s?s:v,g=d?d(h):h,b=(0,o.A)(u),y=(0,a.A)([h]),A=(0,r.A)(y,2),w=A[0],S=A[1];return(0,i.o)((function(){var e=w[0];v!==e&&b(v,e)}),[w]),(0,i.o)((function(){c(s)||m(s)}),[s]),[g,(0,o.A)((function(e,t){m(e,t),S([h],t)}))]}},1233:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(641),o=n(6540);function i(e){var t=o.useRef(!1),n=o.useState(e),i=(0,r.A)(n,2),a=i[0],c=i[1];return o.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[a,function(e,n){n&&t.current||c(e)}]}},3210:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2284),o=n(8210);const i=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function e(t,a){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,l=i.has(t);if((0,o.Ay)(!l,"Warning: There may be circular references"),l)return!1;if(t===a)return!0;if(n&&c>1)return!1;i.add(t);var s=c+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var u=0;u{"use strict";n.d(t,{A:()=>o});var r=n(9379);function o(e,t){var n=(0,r.A)({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}},5371:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=function(e){return+setTimeout(e,16)},o=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(r=function(e){return window.requestAnimationFrame(e)},o=function(e){return window.cancelAnimationFrame(e)});var i=0,a=new Map;function c(e){a.delete(e)}var l=function(e){var t=i+=1;return function n(o){if(0===o)c(t),e();else{var i=r((function(){n(o-1)}));a.set(t,i)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),t};l.cancel=function(e){var t=a.get(e);return c(e),o(t)};const s=l},8719:(e,t,n)=>{"use strict";n.d(t,{K4:()=>c,Xf:()=>a,f3:()=>s,xK:()=>l});var r=n(2284),o=(n(6540),n(6351)),i=n(8104);function a(e,t){"function"==typeof e?e(t):"object"===(0,r.A)(e)&&e&&"current"in e&&(e.current=t)}function c(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";n.d(t,{h:()=>m});var r=n(2284),o=n(9379),i=n(8339),a=n(6369),c=n(3893),l=n(7800),s=n(6562);function u(e,t){for(var n=e,r=0;r3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!u(e,t.slice(0,-1))?e:d(e,t,n,r)}function p(e){return Array.isArray(e)?[]:{}}var v="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function m(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";n.d(t,{$e:()=>i,Ay:()=>s});var r={},o=[];function i(e,t){}function a(e,t){}function c(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function l(e,t){c(i,e,t)}l.preMessage=function(e){o.push(e)},l.resetWarned=function(){r={}},l.noteOnce=function(e,t){c(a,e,t)};const s=l},7787:(e,t)=>{"use strict";var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.server_context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case c:case a:case f:case p:return e;default:switch(e=e&&e.$$typeof){case u:case s:case d:case m:case v:case l:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.ForwardRef=d,t.isFragment=function(e){return g(e)===i},t.isMemo=function(e){return g(e)===v}},6351:(e,t,n)=>{"use strict";e.exports=n(7787)},3591:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;c.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),S="undefined"!=typeof WeakMap?new WeakMap:new r,x=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=s.getInstance(),r=new w(t,n,this);S.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){x.prototype[e]=function(){var t;return(t=S.get(this))[e].apply(t,arguments)}}));const C=void 0!==i.ResizeObserver?i.ResizeObserver:x},8028:e=>{e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},6942:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nr})},6369:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{A:()=>r})},9417:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:()=>r})},3029:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{A:()=>r})},2901:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(8406);function o(e,t){for(var n=0;n{"use strict";n.d(t,{A:()=>a});var r=n(3954),o=n(2176),i=n(6822);function a(e){var t=(0,o.A)();return function(){var n,o=(0,r.A)(e);if(t){var a=(0,r.A)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,i.A)(this,n)}}},4467:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(8406);function o(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},3954:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{A:()=>r})},5501:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(3662);function o(e,t){if("function"!=typeof t&&null!==t)throw new 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&&(0,r.A)(e,t)}},2176:(e,t,n)=>{"use strict";function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(r=function(){return!!e})()}n.d(t,{A:()=>r})},3893:(e,t,n)=>{"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{A:()=>r})},6562:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:()=>r})},9379:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(4467);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t{"use strict";n.d(t,{A:()=>o});var r=n(8587);function o(e,t){if(null==e)return{};var n,o,i=(0,r.A)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},6822:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2284),o=n(9417);function i(e,t){if(t&&("object"===(0,r.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.A)(e)}},641:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6369);var o=n(7800),i=n(6562);function a(e,t){return(0,r.A)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){s=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(e,t)||(0,o.A)(e,t)||(0,i.A)()}},8339:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(3145);var o=n(3893),i=n(7800);function a(e){return function(e){if(Array.isArray(e))return(0,r.A)(e)}(e)||(0,o.A)(e)||(0,i.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},8406:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2284);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.A)(t)?t:t+""}},2284:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},7800:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(3145);function o(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}},8453:(e,t,n)=>{"use strict";n.d(t,{R:()=>a,x:()=>c});var r=n(6540);const o={},i=r.createContext(o);function a(e){const t=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),r.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/b261517a.6db95967.js b/assets/js/b261517a.6db95967.js deleted file mode 100644 index c3d2f937..00000000 --- a/assets/js/b261517a.6db95967.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkcodec_wiki=self.webpackChunkcodec_wiki||[]).push([[1454],{1165:(e,t,s)=>{s.d(t,{Ck:()=>m,kS:()=>p});var i=s(4848),a=s(5293),o=s(6540),r=s(3517),n=s(3501),c=s(1412),l=s(9522),d=s(1303);const m=({imageData:e})=>(0,i.jsx)(r.A,{arrows:!0,children:e.map((e=>(0,i.jsx)(n.A,{src:e.src},e.src)))}),p=({tabMap:e})=>{const[t,s]=(0,o.useState)(Object.keys(e)[0]),{colorMode:r,setColorMode:n}=(0,a.G)();return(0,i.jsx)(c.Ay,{theme:{algorithm:"dark"===r?l.A.darkAlgorithm:l.A.defaultAlgorithm},children:(0,i.jsx)(d.A,{tabList:Object.entries(e).map((([e,t])=>({key:e,label:t.label}))),activeTabKey:t,onTabChange:e=>{s(e)},children:e[t].component})})}},3012:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>c,contentTitle:()=>r,default:()=>m,frontMatter:()=>o,metadata:()=>n,toc:()=>l});var i=s(4848),a=s(8453);s(1165);const o={title:"Observing SVT-AV1 v2.1.0's improvements: A New Deep Dive",description:"SVT-AV1 2.1.0 just released, how does it compare to the previous version?",slug:"svt-av1-second-deep-dive",authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043"}],tags:["video","compression","benchmarks"],image:"/img/svt-2.1.0-testing-blog-image.webp",hide_table_of_contents:!1},r="Introduction",n={permalink:"/blog/svt-av1-second-deep-dive",source:"@site/blog/2024-05-19-svt-av1-deep-dive2-v2-1-0.mdx",title:"Observing SVT-AV1 v2.1.0's improvements: A New Deep Dive",description:"SVT-AV1 2.1.0 just released, how does it compare to the previous version?",date:"2024-05-19T00:00:00.000Z",tags:[{label:"video",permalink:"/blog/tags/video"},{label:"compression",permalink:"/blog/tags/compression"},{label:"benchmarks",permalink:"/blog/tags/benchmarks"}],readingTime:38.77,hasTruncateMarker:!0,authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043",imageURL:"https://avatars.githubusercontent.com/u/93526043"}],frontMatter:{title:"Observing SVT-AV1 v2.1.0's improvements: A New Deep Dive",description:"SVT-AV1 2.1.0 just released, how does it compare to the previous version?",slug:"svt-av1-second-deep-dive",authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043",imageURL:"https://avatars.githubusercontent.com/u/93526043"}],tags:["video","compression","benchmarks"],image:"/img/svt-2.1.0-testing-blog-image.webp",hide_table_of_contents:!1},unlisted:!1,nextItem:{title:"Encoding Animation with SVT-AV1: A Deep Dive",permalink:"/blog/svt-av1-deep-dive"}},c={authorsImageUrls:[void 0]},l=[];function d(e){const t={p:"p",...(0,a.R)(),...e.components};return(0,i.jsx)(t.p,{children:"SVT-AV1, the most scalable AV1 encoder, has received a new update and one may wonder if the old presets recommendation still holds today. We will delve into that in this blog post, based on a series of speed and visual quality benchmarks with SSIMULACRA2 and XPSNR of SVT-AV1 2.1.0 on a corpus of varied animated clips."})}function m(e={}){const{wrapper:t}={...(0,a.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}}}]); \ No newline at end of file diff --git a/assets/js/b261517a.e1c706d6.js b/assets/js/b261517a.e1c706d6.js new file mode 100644 index 00000000..a7757fea --- /dev/null +++ b/assets/js/b261517a.e1c706d6.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcodec_wiki=self.webpackChunkcodec_wiki||[]).push([[1454],{1165:(e,t,s)=>{s.d(t,{Ck:()=>p,kS:()=>u});var i=s(4848),o=s(5293),r=s(6540),a=s(3517),n=s(943),c=s(1412),l=s(9522),d=s(1303),m=s(8633),h=s(363);const p=({imageData:e})=>{const t=({currentSlide:e,direction:t,slideCount:s,...o})=>"left"===t?(0,i.jsx)(m.A,{...o,style:{color:"#fff",fontSize:24,width:24,height:24,zIndex:1,left:10}}):(0,i.jsx)(h.A,{...o,style:{color:"#fff",fontSize:24,width:24,height:24,zIndex:1,right:10}});return(0,i.jsx)(a.A,{arrows:!0,prevArrow:(0,i.jsx)(t,{direction:"left"}),nextArrow:(0,i.jsx)(t,{direction:"right"}),children:e.map((e=>(0,i.jsx)(n.A,{src:e.src},e.src)))})},u=({tabMap:e})=>{const[t,s]=(0,r.useState)(Object.keys(e)[0]),{colorMode:a,setColorMode:n}=(0,o.G)();return(0,i.jsx)(c.Ay,{theme:{algorithm:"dark"===a?l.A.darkAlgorithm:l.A.defaultAlgorithm},children:(0,i.jsx)(d.A,{tabList:Object.entries(e).map((([e,t])=>({key:e,label:t.label}))),activeTabKey:t,onTabChange:e=>{s(e)},children:e[t].component})})}},3012:(e,t,s)=>{s.r(t),s.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>m,frontMatter:()=>r,metadata:()=>n,toc:()=>l});var i=s(4848),o=s(8453);s(1165);const r={title:"Observing SVT-AV1 v2.1.0's improvements: A New Deep Dive",description:"SVT-AV1 2.1.0 just released, how does it compare to the previous version?",slug:"svt-av1-second-deep-dive",authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043"}],tags:["video","compression","benchmarks"],image:"/img/svt-2.1.0-testing-blog-image.webp",hide_table_of_contents:!1},a="Introduction",n={permalink:"/blog/svt-av1-second-deep-dive",source:"@site/blog/2024-05-19-svt-av1-deep-dive2-v2-1-0.mdx",title:"Observing SVT-AV1 v2.1.0's improvements: A New Deep Dive",description:"SVT-AV1 2.1.0 just released, how does it compare to the previous version?",date:"2024-05-19T00:00:00.000Z",tags:[{label:"video",permalink:"/blog/tags/video"},{label:"compression",permalink:"/blog/tags/compression"},{label:"benchmarks",permalink:"/blog/tags/benchmarks"}],readingTime:38.77,hasTruncateMarker:!0,authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043",imageURL:"https://avatars.githubusercontent.com/u/93526043"}],frontMatter:{title:"Observing SVT-AV1 v2.1.0's improvements: A New Deep Dive",description:"SVT-AV1 2.1.0 just released, how does it compare to the previous version?",slug:"svt-av1-second-deep-dive",authors:[{name:"Trix",title:"Encoder",url:"https://github.com/trixoniisama/",image_url:"https://avatars.githubusercontent.com/u/93526043",imageURL:"https://avatars.githubusercontent.com/u/93526043"}],tags:["video","compression","benchmarks"],image:"/img/svt-2.1.0-testing-blog-image.webp",hide_table_of_contents:!1},unlisted:!1,nextItem:{title:"Encoding Animation with SVT-AV1: A Deep Dive",permalink:"/blog/svt-av1-deep-dive"}},c={authorsImageUrls:[void 0]},l=[];function d(e){const t={p:"p",...(0,o.R)(),...e.components};return(0,i.jsx)(t.p,{children:"SVT-AV1, the most scalable AV1 encoder, has received a new update and one may wonder if the old presets recommendation still holds today. We will delve into that in this blog post, based on a series of speed and visual quality benchmarks with SSIMULACRA2 and XPSNR of SVT-AV1 2.1.0 on a corpus of varied animated clips."})}function m(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}}}]); \ No newline at end of file diff --git a/assets/js/main.db90c5e9.js b/assets/js/main.c8460ac2.js similarity index 99% rename from assets/js/main.db90c5e9.js rename to assets/js/main.c8460ac2.js index ea3dffb9..49dfbb5f 100644 --- a/assets/js/main.db90c5e9.js +++ b/assets/js/main.c8460ac2.js @@ -1,2 +1,2 @@ -/*! For license information please see main.db90c5e9.js.LICENSE.txt */ -(self.webpackChunkcodec_wiki=self.webpackChunkcodec_wiki||[]).push([[8792],{5391:(e,t,n)=>{"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;to});const o=function(){for(var e,t,n=0,o="";n{"use strict";n.d(t,{A:()=>p});n(6540);var r=n(3259),o=n.n(r),a=n(4054);const i={"0092d9fd":[()=>n.e(9057).then(n.bind(n,7039)),"@site/docs/audio/FLAC.mdx",7039],"015d9d66":[()=>n.e(4598).then(n.bind(n,8861)),"@site/docs/metrics/PSNR.mdx",8861],"01a85c17":[()=>Promise.all([n.e(1869),n.e(8209)]).then(n.bind(n,9158)),"@theme/BlogTagsListPage",9158],"03af419f":[()=>Promise.all([n.e(1869),n.e(9305)]).then(n.bind(n,5702)),"@site/docs/encoders/VVenC.mdx",5702],"03e95fdf":[()=>n.e(3485).then(n.bind(n,7476)),"@site/docs/video/VP8.mdx",7476],"059e36ab":[()=>n.e(6838).then(n.bind(n,722)),"@site/docs/video/utvideo.mdx",722],"0630e3af":[()=>n.e(2041).then(n.t.bind(n,9752,19)),"@generated/docusaurus-plugin-content-blog/default/p/blog-tags-benchmarks-e1b.json",9752],"06ed4e86":[()=>n.e(8161).then(n.bind(n,511)),"@site/docs/audio/Dolby.mdx",511],"09a8bfdb":[()=>n.e(5579).then(n.bind(n,1689)),"@site/blog/2023-10-29-embedding-the-un-embeddable copy.mdx",1689],"09bc817a":[()=>n.e(1554).then(n.bind(n,2120)),"@site/docs/audio/Opus.mdx",2120],"0b185270":[()=>n.e(3482).then(n.bind(n,5754)),"@site/docs/FAQ.mdx",5754],"0c06159a":[()=>n.e(8258).then(n.bind(n,5420)),"@site/docs/data/tar.mdx",5420],"0e7f53a8":[()=>n.e(9954).then(n.bind(n,970)),"@site/docs/images/PNG.mdx",970],"112763a5":[()=>n.e(1779).then(n.bind(n,9503)),"@site/docs/terms-of-use.mdx",9503],"12b076f3":[()=>n.e(7222).then(n.bind(n,5340)),"@site/docs/data/zstd.mdx",5340],"12df3b9e":[()=>n.e(9993).then(n.bind(n,4154)),"@site/docs/images/QOI.mdx",4154],"138e0e15":[()=>n.e(4921).then(n.t.bind(n,1597,19)),"@generated/@easyops-cn/docusaurus-search-local/default/__plugin.json",1597],17896441:[()=>Promise.all([n.e(1869),n.e(8498),n.e(8401)]).then(n.bind(n,2447)),"@theme/DocItem",2447],"1a4e3797":[()=>Promise.all([n.e(1869),n.e(2138)]).then(n.bind(n,1283)),"@theme/SearchPage",1283],"1b67d0f3":[()=>n.e(842).then(n.bind(n,6825)),"@site/docs/data/gzip.mdx",6825],"1ca2b1db":[()=>n.e(7855).then(n.bind(n,6054)),"@site/docs/encoders_hw/mediacodec.mdx",6054],"1ec3ce74":[()=>Promise.all([n.e(1869),n.e(2142)]).then(n.bind(n,4187)),"@site/docs/encoders/rav1e.mdx",4187],"1f227c78":[()=>n.e(2761).then(n.bind(n,6015)),"@site/docs/filtering/detelecine.mdx",6015],"1f391b9e":[()=>Promise.all([n.e(1869),n.e(8498),n.e(6061)]).then(n.bind(n,7973)),"@theme/MDXPage",7973],"1fabe0bd":[()=>n.e(5562).then(n.bind(n,8942)),"@site/docs/colorimetry/intro.mdx",8942],"20d769d8":[()=>n.e(3121).then(n.bind(n,7114)),"@site/blog/2023-10-29-embedding-the-un-embeddable copy.mdx?truncated=true",7114],"229f7513":[()=>n.e(7146).then(n.bind(n,606)),"@site/docs/subtitles/webvtt.mdx",606],"25003e4f":[()=>n.e(2838).then(n.t.bind(n,4351,19)),"@generated/docusaurus-plugin-content-blog/default/p/blog-archive-80c.json",4351],"28bd9d7a":[()=>n.e(888).then(n.bind(n,3560)),"@site/docs/utilities/FFMetrics.mdx",3560],"299beccc":[()=>n.e(5479).then(n.bind(n,1882)),"@site/docs/data/7z.mdx",1882],"2d25ac87":[()=>n.e(5949).then(n.bind(n,1449)),"@site/docs/utilities/autocompressor.mdx",1449],"318608aa":[()=>Promise.all([n.e(1869),n.e(6003)]).then(n.bind(n,1306)),"@site/docs/encoders/vpxenc.mdx",1306],32987299:[()=>n.e(7754).then(n.bind(n,6820)),"@site/docs/filtering/vapoursynth.mdx",6820],"345ef4f9":[()=>n.e(6509).then(n.bind(n,7410)),"@site/docs/utilities/MKVToolNix.mdx",7410],"36994c47":[()=>n.e(9858).then(n.t.bind(n,5516,19)),"@generated/docusaurus-plugin-content-blog/default/__plugin.json",5516],"37c719d6":[()=>Promise.all([n.e(7225),n.e(1227)]).then(n.bind(n,9168)),"@site/blog/2024-05-19-svt-av1-deep-dive2-v2-1-0.mdx",9168],"3d6cf458":[()=>n.e(2614).then(n.bind(n,7075)),"@site/docs/video/VC-1.mdx",7075],"41756ce8":[()=>n.e(9616).then(n.t.bind(n,5205,19)),"@generated/docusaurus-plugin-content-blog/default/p/blog-tags-037.json",5205],"44e37655":[()=>Promise.all([n.e(1869),n.e(5958)]).then(n.bind(n,962)),"@site/docs/metrics/SSIMULACRA2.mdx",962],"45f4020c":[()=>n.e(4897).then(n.bind(n,1806)),"@site/docs/encoders_hw/videotoolbox.mdx",1806],"48b7ca01":[()=>Promise.all([n.e(7225),n.e(1347)]).then(n.bind(n,9350)),"@site/blog/2023-12-30-svt-av1-deep-dive.mdx?truncated=true",9350],"49b64d14":[()=>Promise.all([n.e(1869),n.e(5993)]).then(n.bind(n,7490)),"@site/docs/encoders/SVT-AV1.mdx",7490],"4c678320":[()=>n.e(9664).then(n.bind(n,2262)),"@site/src/pages/markdown-page.mdx",2262],"4d877b09":[()=>n.e(2150).then(n.bind(n,6780)),"@site/docs/encoders_hw/qsv.mdx",6780],"522a92e3":[()=>n.e(5220).then(n.bind(n,1542)),"@site/docs/encoders_hw/nvenc.mdx",1542],"53a3e6dc":[()=>n.e(6261).then(n.t.bind(n,922,19)),"@generated/docusaurus-plugin-content-blog/default/p/blog-c06.json",922],"54a9c2bb":[()=>n.e(561).then(n.bind(n,8490)),"@site/docs/utilities/YUView.mdx",8490],56786013:[()=>n.e(8741).then(n.bind(n,9449)),"@site/docs/images/JPEG.mdx",9449],"5b209502":[()=>n.e(4176).then(n.bind(n,4817)),"@site/docs/filtering/deinterlace.mdx",4817],"5c30ba71":[()=>n.e(3549).then(n.t.bind(n,9406,19)),"@generated/docusaurus-plugin-content-blog/default/p/blog-tags-compression-c1f.json",9406],"5d1a7e8b":[()=>n.e(5936).then(n.bind(n,5826)),"@site/docs/video-players.mdx",5826],"5db6705b":[()=>n.e(1624).then(n.bind(n,5529)),"@site/docs/utilities/nmkoder.mdx",5529],"5e069031":[()=>n.e(5968).then(n.bind(n,6398)),"@site/docs/introduction/prologue.mdx",6398],"5e1194df":[()=>n.e(4822).then(n.bind(n,7633)),"@site/docs/data/zpaq.mdx",7633],"5e95c892":[()=>n.e(9647).then(n.bind(n,7121)),"@theme/DocsRoot",7121],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,4784)),"@generated/docusaurus.config",4784],"5ec46d54":[()=>n.e(1481).then(n.bind(n,3844)),"@site/docs/video/ECM.mdx",3844],"5f74c797":[()=>Promise.all([n.e(1869),n.e(5745)]).then(n.bind(n,2316)),"@site/docs/utilities/av1an.mdx",2316],"60d0076e":[()=>n.e(7613).then(n.bind(n,1483)),"@site/docs/filtering/intro.mdx",1483],"632d0ef1":[()=>n.e(106).then(n.bind(n,9497)),"@site/docs/encoders/VTM.mdx",9497],"6549b2b5":[()=>n.e(4846).then(n.bind(n,2417)),"@site/blog/2023-07-21-site-optimization.mdx",2417],"6875c492":[()=>Promise.all([n.e(1869),n.e(8498),n.e(3242),n.e(4813)]).then(n.bind(n,3069)),"@theme/BlogTagsPostsPage",3069],"6bf0f114":[()=>n.e(881).then(n.bind(n,6020)),"@site/docs/data/zip.mdx",6020],"6c179ac5":[()=>n.e(4072).then(n.bind(n,4603)),"@site/docs/video/Theora.mdx",4603],"6d85920a":[()=>n.e(7800).then(n.bind(n,624)),"@site/docs/introduction/terminology.mdx",624],70006292:[()=>n.e(9987).then(n.bind(n,7978)),"@site/docs/encoders/x266.mdx",7978],"70de1c07":[()=>Promise.all([n.e(7225),n.e(544)]).then(n.bind(n,850)),"@site/blog/2023-12-30-svt-av1-deep-dive.mdx",850],"7385c97b":[()=>n.e(8415).then(n.bind(n,975)),"@site/docs/images/AVIF.mdx",975],"76096a15":[()=>n.e(8924).then(n.bind(n,9101)),"@site/docs/subtitles/SRT.mdx",9101],"7c110bd0":[()=>n.e(6877).then(n.t.bind(n,2614,19)),"@generated/docusaurus-plugin-content-docs/default/p/docs-b5f.json",2614],"7d09a242":[()=>Promise.all([n.e(1869),n.e(6692)]).then(n.bind(n,1991)),"@site/docs/encoders/aomenc.mdx",1991],"7eff0f1a":[()=>n.e(2515).then(n.bind(n,4802)),"@site/docs/video/AVC.mdx",4802],"7f76a12e":[()=>n.e(1502).then(n.bind(n,2225)),"@site/blog/2023-09-03-av1-for-dummies.mdx",2225],"7fa695a7":[()=>n.e(1363).then(n.bind(n,3041)),"@site/docs/images/GIF.mdx",3041],80447496:[()=>n.e(7715).then(n.bind(n,6477)),"@site/docs/video/VVC.mdx",6477],"80bfa96b":[()=>n.e(2901).then(n.bind(n,9553)),"@site/docs/resources.mdx",9553],"814f3328":[()=>n.e(7472).then(n.t.bind(n,5513,19)),"~blog/default/blog-post-list-prop-default.json",5513],81739261:[()=>n.e(4794).then(n.bind(n,8089)),"@site/docs/video/prores.mdx",8089],"83732ada":[()=>n.e(6840).then(n.bind(n,7860)),"@site/docs/video/HEVC.mdx",7860],"842a7beb":[()=>n.e(6866).then(n.bind(n,5227)),"@site/docs/utilities/rAV1ator.mdx",5227],"84e198a2":[()=>n.e(6711).then(n.bind(n,80)),"@site/docs/utilities/eac3to.mdx",80],"86ba2311":[()=>n.e(8141).then(n.bind(n,1577)),"@site/docs/video/VP9.mdx",1577],"8a894f7b":[()=>n.e(538).then(n.bind(n,9990)),"@site/docs/introduction/video-artifacts.mdx",9990],"8aacd032":[()=>n.e(2897).then(n.bind(n,9592)),"@site/docs/video/AV1.mdx",9592],"8bdabb45":[()=>n.e(7957).then(n.bind(n,6476)),"@site/docs/encoders/AVM.mdx",6476],"8eb2df80":[()=>Promise.all([n.e(1869),n.e(7796)]).then(n.bind(n,4582)),"@site/docs/utilities/rav1ator-cli.mdx",4582],"8f6f5e4c":[()=>n.e(8760).then(n.bind(n,9483)),"@site/docs/colorimetry/format.mdx",9483],"9060e84a":[()=>n.e(8320).then(n.bind(n,1705)),"@site/docs/encoders/HM.mdx",1705],"90aedb84":[()=>n.e(1691).then(n.bind(n,8909)),"@site/docs/introduction/psychovisual.mdx",8909],"915a111c":[()=>n.e(5889).then(n.bind(n,2622)),"@site/docs/filtering/dehalo.mdx",2622],"94782d2d":[()=>n.e(4597).then(n.bind(n,4039)),"@site/docs/colorimetry/range.mdx",4039],"998d107e":[()=>n.e(274).then(n.bind(n,1083)),"@site/docs/video/FFV1.mdx",1083],"99c26446":[()=>n.e(8026).then(n.bind(n,698)),"@site/docs/metrics/butteraugli.mdx",698],"9ba56b79":[()=>n.e(1288).then(n.bind(n,3578)),"@site/docs/encoders_hw/amf.mdx",3578],"9c171e5c":[()=>n.e(8773).then(n.bind(n,6854)),"@site/docs/metrics/SSIM.mdx",6854],"9cae5962":[()=>Promise.all([n.e(1869),n.e(71)]).then(n.bind(n,149)),"@site/docs/images/JXL.mdx",149],"9e4087bc":[()=>n.e(2711).then(n.bind(n,9331)),"@theme/BlogArchivePage",9331],"9efd8a4a":[()=>n.e(5415).then(n.bind(n,3885)),"@site/docs/images/WebP.mdx",3885],"9f640ee8":[()=>n.e(6810).then(n.bind(n,5811)),"@site/docs/encoders/Aurora1.mdx",5811],"9f709603":[()=>n.e(5341).then(n.bind(n,2925)),"@site/docs/filtering/deband.mdx",2925],a6aa9e1f:[()=>Promise.all([n.e(1869),n.e(8498),n.e(3242),n.e(7643)]).then(n.bind(n,5124)),"@theme/BlogListPage",5124],a7456010:[()=>n.e(1235).then(n.t.bind(n,8552,19)),"@generated/docusaurus-plugin-content-pages/default/__plugin.json",8552],a7bd4aaa:[()=>n.e(7098).then(n.bind(n,4532)),"@theme/DocVersionRoot",4532],a8f610c9:[()=>n.e(8599).then(n.bind(n,753)),"@site/docs/data/brotli.mdx",753],a94703ab:[()=>Promise.all([n.e(1869),n.e(9048)]).then(n.bind(n,2559)),"@theme/DocRoot",2559],aba21aa0:[()=>n.e(5742).then(n.t.bind(n,7093,19)),"@generated/docusaurus-plugin-content-docs/default/__plugin.json",7093],aba90f67:[()=>n.e(1387).then(n.t.bind(n,2074,19)),"@generated/docusaurus-plugin-content-blog/default/p/blog-tags-discord-ee6.json",2074],ac6a717f:[()=>n.e(7295).then(n.t.bind(n,5069,19)),"@generated/docusaurus-plugin-content-blog/default/p/blog-tags-video-835.json",5069],acecf23e:[()=>n.e(1903).then(n.t.bind(n,1912,19)),"~blog/default/blogMetadata-default.json",1912],afe5e22f:[()=>n.e(8117).then(n.bind(n,9765)),"@site/docs/encoders/x265.mdx",9765],b0535000:[()=>n.e(7238).then(n.bind(n,851)),"@site/blog/2023-07-21-site-optimization.mdx?truncated=true",851],b261517a:[()=>Promise.all([n.e(7225),n.e(1454)]).then(n.bind(n,3012)),"@site/blog/2024-05-19-svt-av1-deep-dive2-v2-1-0.mdx?truncated=true",3012],b4030b4d:[()=>Promise.all([n.e(1869),n.e(3408)]).then(n.bind(n,4557)),"@site/docs/utilities/Aviator.mdx",4557],b4bbde8e:[()=>n.e(7989).then(n.bind(n,7128)),"@site/docs/audio/AAC.mdx",7128],b59b8cf7:[()=>n.e(1271).then(n.bind(n,7592)),"@site/docs/audio/Vorbis.mdx",7592],b8af02bf:[()=>n.e(3222).then(n.bind(n,8348)),"@site/docs/images/JPEG2000.mdx",8348],bc32b9c5:[()=>n.e(786).then(n.bind(n,1839)),"@site/docs/metrics/XPSNR.mdx",1839],bd173b27:[()=>n.e(1651).then(n.bind(n,8647)),"@site/docs/data/xz.mdx",8647],be236901:[()=>n.e(6795).then(n.bind(n,5349)),"@site/docs/contribution-guide.mdx",5349],bf9d09b6:[()=>Promise.all([n.e(1869),n.e(8270)]).then(n.bind(n,9094)),"@site/docs/encoders/SVT-HEVC.mdx",9094],c224274c:[()=>n.e(3356).then(n.bind(n,4372)),"@site/docs/video/AVS3.mdx",4372],c4f5d8e4:[()=>Promise.all([n.e(1869),n.e(2634)]).then(n.bind(n,1459)),"@site/src/pages/index.js",1459],c7deb2e0:[()=>n.e(9551).then(n.bind(n,7868)),"@site/docs/audio/WavPack.mdx",7868],c92fe796:[()=>n.e(3034).then(n.bind(n,6264)),"@site/docs/utilities/ffmpeg.mdx",6264],c943a24a:[()=>n.e(5512).then(n.bind(n,4421)),"@site/docs/introduction/high-dynamic-range.mdx",4421],ccc49370:[()=>Promise.all([n.e(1869),n.e(8498),n.e(3242),n.e(3249)]).then(n.bind(n,3858)),"@theme/BlogPostPage",3858],cce09ffa:[()=>n.e(5556).then(n.bind(n,1939)),"@site/blog/2023-09-03-av1-for-dummies.mdx?truncated=true",1939],cd6cf5b7:[()=>n.e(5365).then(n.bind(n,4203)),"@site/docs/encoders/SVT-VP9.mdx",4203],ce98a713:[()=>n.e(6168).then(n.bind(n,8448)),"@site/docs/filtering/denoise.mdx",8448],cf7588c6:[()=>n.e(5971).then(n.bind(n,9520)),"@site/docs/encoders/x264.mdx",9520],d1becb09:[()=>n.e(8843).then(n.bind(n,7519)),"@site/docs/privacy-policy.mdx",7519],d5ab79da:[()=>n.e(8382).then(n.bind(n,9419)),"@site/docs/audio/MP3.mdx",9419],d5f89569:[()=>n.e(1401).then(n.bind(n,2348)),"@site/docs/encoders/Kvazaar.mdx",2348],d6535278:[()=>Promise.all([n.e(1869),n.e(6977)]).then(n.bind(n,3096)),"@site/docs/metrics/VMAF.mdx",3096],d96727fd:[()=>n.e(1500).then(n.bind(n,2301)),"@site/docs/colorimetry/matrix.mdx",2301],ddce1156:[()=>n.e(1408).then(n.bind(n,6019)),"@site/docs/utilities/mp4box.mdx",6019],e157395a:[()=>n.e(7967).then(n.bind(n,2238)),"@site/docs/images/HEIC.mdx",2238],e1a437f7:[()=>n.e(9381).then(n.bind(n,6309)),"@site/docs/data/bzip2.mdx",6309],e3b00369:[()=>n.e(921).then(n.bind(n,237)),"@site/docs/utilities/av1an-command-gen.mdx",237],e641ee58:[()=>n.e(5738).then(n.bind(n,3528)),"@site/docs/audio/Speex.mdx",3528],ea743fb4:[()=>n.e(9417).then(n.t.bind(n,4943,19)),"@generated/docusaurus-plugin-content-blog/default/p/blog-tags-image-bfd.json",4943],edaea366:[()=>n.e(7978).then(n.bind(n,1799)),"@site/docs/colorimetry/transfer.mdx",1799],ee513c31:[()=>Promise.all([n.e(1869),n.e(1137)]).then(n.bind(n,2154)),"@site/docs/utilities/dovi_tool.mdx",2154],ee8c27e3:[()=>n.e(9819).then(n.bind(n,7346)),"@site/docs/encoders/uvg266.mdx",7346],f4fea690:[()=>n.e(4924).then(n.bind(n,6387)),"@site/docs/encoders/JM.mdx",6387],f9208490:[()=>Promise.all([n.e(1869),n.e(3229)]).then(n.bind(n,1865)),"@site/docs/utilities/hdr10plus_tool.mdx",1865],fda0af90:[()=>n.e(5376).then(n.bind(n,4426)),"@site/docs/colorimetry/primaries.mdx",4426],fe210aea:[()=>n.e(96).then(n.t.bind(n,7748,19)),"@generated/docusaurus-plugin-content-blog/default/p/blog-tags-web-0e7.json",7748]};var s=n(4848);function l(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,s.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,s.jsx)("p",{children:String(t)}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,s.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,s.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var c=n(6921),u=n(3102);function d(e,t){if("*"===e)return o()({loading:l,loader:()=>n.e(2237).then(n.bind(n,2237)),modules:["@theme/NotFound"],webpack:()=>[2237],render(e,t){const n=e.default;return(0,s.jsx)(u.W,{value:{plugin:{name:"native",id:"default"}},children:(0,s.jsx)(n,{...t})})}});const r=a[`${e}-${t}`],d={},p=[],f=[],h=(0,c.A)(r);return Object.entries(h).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],p.push(r[1]),f.push(r[2]))})),o().Map({loading:l,loader:d,modules:p,webpack:()=>f,render(t,n){const o=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const a=r.default;if(!a)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof a&&"function"!=typeof a||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{a[e]=r[e]}));let i=o;const s=n.split(".");s.slice(0,-1).forEach((e=>{i=i[e]})),i[s[s.length-1]]=a}));const a=o.__comp;delete o.__comp;const i=o.__context;delete o.__context;const l=o.__props;return delete o.__props,(0,s.jsx)(u.W,{value:i,children:(0,s.jsx)(a,{...o,...l,...n})})}})}const p=[{path:"/blog",component:d("/blog","e7d"),exact:!0},{path:"/blog/archive",component:d("/blog/archive","245"),exact:!0},{path:"/blog/av1-encoding-for-dummies",component:d("/blog/av1-encoding-for-dummies","7e6"),exact:!0},{path:"/blog/embedding-the-un-embeddable",component:d("/blog/embedding-the-un-embeddable","ddb"),exact:!0},{path:"/blog/site-optimization",component:d("/blog/site-optimization","79f"),exact:!0},{path:"/blog/svt-av1-deep-dive",component:d("/blog/svt-av1-deep-dive","32d"),exact:!0},{path:"/blog/svt-av1-second-deep-dive",component:d("/blog/svt-av1-second-deep-dive","ca6"),exact:!0},{path:"/blog/tags",component:d("/blog/tags","4c4"),exact:!0},{path:"/blog/tags/benchmarks",component:d("/blog/tags/benchmarks","1d4"),exact:!0},{path:"/blog/tags/compression",component:d("/blog/tags/compression","ba9"),exact:!0},{path:"/blog/tags/discord",component:d("/blog/tags/discord","50a"),exact:!0},{path:"/blog/tags/image",component:d("/blog/tags/image","fb2"),exact:!0},{path:"/blog/tags/video",component:d("/blog/tags/video","915"),exact:!0},{path:"/blog/tags/web",component:d("/blog/tags/web","0f7"),exact:!0},{path:"/markdown-page",component:d("/markdown-page","53a"),exact:!0},{path:"/search",component:d("/search","822"),exact:!0},{path:"/docs",component:d("/docs","a0d"),routes:[{path:"/docs",component:d("/docs","24b"),routes:[{path:"/docs",component:d("/docs","79c"),routes:[{path:"/docs/audio/AAC",component:d("/docs/audio/AAC","cc0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/audio/Dolby",component:d("/docs/audio/Dolby","be7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/audio/FLAC",component:d("/docs/audio/FLAC","68a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/audio/MP3",component:d("/docs/audio/MP3","8b0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/audio/Opus",component:d("/docs/audio/Opus","ede"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/audio/Speex",component:d("/docs/audio/Speex","efd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/audio/Vorbis",component:d("/docs/audio/Vorbis","e65"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/audio/WavPack",component:d("/docs/audio/WavPack","faf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/colorimetry/format",component:d("/docs/colorimetry/format","f03"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/colorimetry/intro",component:d("/docs/colorimetry/intro","dc6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/colorimetry/matrix",component:d("/docs/colorimetry/matrix","56d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/colorimetry/primaries",component:d("/docs/colorimetry/primaries","0ce"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/colorimetry/range",component:d("/docs/colorimetry/range","be1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/colorimetry/transfer",component:d("/docs/colorimetry/transfer","0ec"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/contribution-guide",component:d("/docs/contribution-guide","a83"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/data/7z",component:d("/docs/data/7z","663"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/data/brotli",component:d("/docs/data/brotli","f1e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/data/bzip2",component:d("/docs/data/bzip2","aea"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/data/gzip",component:d("/docs/data/gzip","644"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/data/tar",component:d("/docs/data/tar","548"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/data/xz",component:d("/docs/data/xz","a88"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/data/zip",component:d("/docs/data/zip","2e5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/data/zpaq",component:d("/docs/data/zpaq","407"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/data/zstd",component:d("/docs/data/zstd","78a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders_hw/amf",component:d("/docs/encoders_hw/amf","504"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders_hw/mediacodec",component:d("/docs/encoders_hw/mediacodec","e64"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders_hw/nvenc",component:d("/docs/encoders_hw/nvenc","851"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders_hw/qsv",component:d("/docs/encoders_hw/qsv","ce1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders_hw/videotoolbox",component:d("/docs/encoders_hw/videotoolbox","426"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders/aomenc",component:d("/docs/encoders/aomenc","3c9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders/Aurora1",component:d("/docs/encoders/Aurora1","96b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders/AVM",component:d("/docs/encoders/AVM","1b8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders/HM",component:d("/docs/encoders/HM","09e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders/JM",component:d("/docs/encoders/JM","26a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders/Kvazaar",component:d("/docs/encoders/Kvazaar","723"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders/rav1e",component:d("/docs/encoders/rav1e","8de"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders/SVT-AV1",component:d("/docs/encoders/SVT-AV1","c47"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders/SVT-HEVC",component:d("/docs/encoders/SVT-HEVC","d5b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders/SVT-VP9",component:d("/docs/encoders/SVT-VP9","952"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders/uvg266",component:d("/docs/encoders/uvg266","d2d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders/vpxenc",component:d("/docs/encoders/vpxenc","9fa"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders/VTM",component:d("/docs/encoders/VTM","e57"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders/VVenC",component:d("/docs/encoders/VVenC","469"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders/x264",component:d("/docs/encoders/x264","26c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders/x265",component:d("/docs/encoders/x265","fb3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/encoders/x266",component:d("/docs/encoders/x266","74f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/FAQ",component:d("/docs/FAQ","5ed"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/filtering/deband",component:d("/docs/filtering/deband","2ca"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/filtering/dehalo",component:d("/docs/filtering/dehalo","c4e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/filtering/deinterlace",component:d("/docs/filtering/deinterlace","62f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/filtering/denoise",component:d("/docs/filtering/denoise","129"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/filtering/detelecine",component:d("/docs/filtering/detelecine","ee9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/filtering/intro",component:d("/docs/filtering/intro","ee2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/filtering/vapoursynth",component:d("/docs/filtering/vapoursynth","42f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/images/AVIF",component:d("/docs/images/AVIF","371"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/images/GIF",component:d("/docs/images/GIF","677"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/images/HEIC",component:d("/docs/images/HEIC","70b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/images/JPEG",component:d("/docs/images/JPEG","7f9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/images/JPEG2000",component:d("/docs/images/JPEG2000","3f4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/images/JXL",component:d("/docs/images/JXL","abb"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/images/PNG",component:d("/docs/images/PNG","9b0"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/images/QOI",component:d("/docs/images/QOI","c2e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/images/WebP",component:d("/docs/images/WebP","b27"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/introduction/high-dynamic-range",component:d("/docs/introduction/high-dynamic-range","7e1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/introduction/prologue",component:d("/docs/introduction/prologue","b4e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/introduction/psychovisual",component:d("/docs/introduction/psychovisual","539"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/introduction/terminology",component:d("/docs/introduction/terminology","041"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/introduction/video-artifacts",component:d("/docs/introduction/video-artifacts","0af"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/metrics/butteraugli",component:d("/docs/metrics/butteraugli","a60"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/metrics/PSNR",component:d("/docs/metrics/PSNR","1e4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/metrics/SSIM",component:d("/docs/metrics/SSIM","1ea"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/metrics/SSIMULACRA2",component:d("/docs/metrics/SSIMULACRA2","a14"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/metrics/VMAF",component:d("/docs/metrics/VMAF","62e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/metrics/XPSNR",component:d("/docs/metrics/XPSNR","646"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/privacy-policy",component:d("/docs/privacy-policy","923"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/resources",component:d("/docs/resources","0e5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/subtitles/SRT",component:d("/docs/subtitles/SRT","af2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/subtitles/webvtt",component:d("/docs/subtitles/webvtt","d8f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/terms-of-use",component:d("/docs/terms-of-use","70c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/utilities/autocompressor",component:d("/docs/utilities/autocompressor","43c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/utilities/av1an",component:d("/docs/utilities/av1an","53c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/utilities/av1an-command-gen",component:d("/docs/utilities/av1an-command-gen","f4e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/utilities/Aviator",component:d("/docs/utilities/Aviator","b18"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/utilities/dovi_tool",component:d("/docs/utilities/dovi_tool","6fd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/utilities/eac3to",component:d("/docs/utilities/eac3to","fde"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/utilities/FFMetrics",component:d("/docs/utilities/FFMetrics","bb5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/utilities/ffmpeg",component:d("/docs/utilities/ffmpeg","07b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/utilities/hdr10plus_tool",component:d("/docs/utilities/hdr10plus_tool","d8d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/utilities/MKVToolNix",component:d("/docs/utilities/MKVToolNix","2d7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/utilities/mp4box",component:d("/docs/utilities/mp4box","d04"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/utilities/nmkoder",component:d("/docs/utilities/nmkoder","a80"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/utilities/rAV1ator",component:d("/docs/utilities/rAV1ator","88b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/utilities/rav1ator-cli",component:d("/docs/utilities/rav1ator-cli","930"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/utilities/YUView",component:d("/docs/utilities/YUView","017"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/video-players",component:d("/docs/video-players","870"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/video/AV1",component:d("/docs/video/AV1","28f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/video/AVC",component:d("/docs/video/AVC","e47"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/video/AVS3",component:d("/docs/video/AVS3","42e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/video/ECM",component:d("/docs/video/ECM","568"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/video/FFV1",component:d("/docs/video/FFV1","ec1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/video/HEVC",component:d("/docs/video/HEVC","df9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/video/prores",component:d("/docs/video/prores","770"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/video/Theora",component:d("/docs/video/Theora","4cf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/video/utvideo",component:d("/docs/video/utvideo","9f1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/video/VC-1",component:d("/docs/video/VC-1","d82"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/video/VP8",component:d("/docs/video/VP8","88c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/video/VP9",component:d("/docs/video/VP9","dc7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/docs/video/VVC",component:d("/docs/video/VVC","1f7"),exact:!0,sidebar:"tutorialSidebar"}]}]}]},{path:"/",component:d("/","2e1"),exact:!0},{path:"*",component:d("*")}]},6125:(e,t,n)=>{"use strict";n.d(t,{o:()=>a,x:()=>i});var r=n(6540),o=n(4848);const a=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,o.jsx)(a.Provider,{value:n,children:t})}},8536:(e,t,n)=>{"use strict";var r=n(6540),o=n(5338),a=n(4625),i=n(545),s=n(8193);const l=[n(119),n(6134),n(6294),n(1043),n(8015)];var c=n(8328),u=n(6347),d=n(2831),p=n(4848);function f(e){let{children:t}=e;return(0,p.jsx)(p.Fragment,{children:t})}var h=n(5260),m=n(4586),g=n(6025),b=n(6342),y=n(1213),v=n(2131),x=n(4090),w=n(2967),k=n(440),S=n(1463);function _(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,m.A)(),r=(0,v.o)(),o=n[e].htmlLang,a=e=>e.replace("-","_");return(0,p.jsxs)(h.A,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,p.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,p.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,p.jsx)("meta",{property:"og:locale",content:a(o)}),Object.values(n).filter((e=>o!==e.htmlLang)).map((e=>(0,p.jsx)("meta",{property:"og:locale:alternate",content:a(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function E(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,m.A)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,m.A)(),{pathname:r}=(0,u.zy)();return e+(0,k.applyTrailingSlash)((0,g.A)(r),{trailingSlash:n,baseUrl:t})}(),o=t?`${n}${t}`:r;return(0,p.jsxs)(h.A,{children:[(0,p.jsx)("meta",{property:"og:url",content:o}),(0,p.jsx)("link",{rel:"canonical",href:o})]})}function C(){const{i18n:{currentLocale:e}}=(0,m.A)(),{metadata:t,image:n}=(0,b.p)();return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(h.A,{children:[(0,p.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,p.jsx)("body",{className:x.w})]}),n&&(0,p.jsx)(y.be,{image:n}),(0,p.jsx)(E,{}),(0,p.jsx)(_,{}),(0,p.jsx)(S.A,{tag:w.Cy,locale:e}),(0,p.jsx)(h.A,{children:t.map(((e,t)=>(0,p.jsx)("meta",{...e},t)))})]})}const A=new Map;var T=n(6125),P=n(6988),L=n(205);function N(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>o.forEach((e=>e?.()))}const O=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,L.A)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,o=t.hash===n.hash,a=t.search===n.search;if(r&&o&&!a)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),N("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function R(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.u)(c.A,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class j extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=s.A.canUseDOM?N("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=N("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),R(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,p.jsx)(O,{previousLocation:this.previousLocation,location:t,children:(0,p.jsx)(u.qh,{location:t,render:()=>e})})}}const I=j,F="__docusaurus-base-url-issue-banner-container",M="__docusaurus-base-url-issue-banner",z="__docusaurus-base-url-issue-banner-suggestion-container";function D(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${F}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n
\n

Your Docusaurus site did not load properly.

\n

A very common reason is a wrong site baseUrl configuration.

\n

Current configured baseUrl = ${e} ${"/"===e?" (default value)":""}

\n

We suggest trying baseUrl =

\n
\n`}(e)).replace(/{let{route:t}=e;return!0===t.exact})))return A.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return A.set(e.pathname,t),{...e,pathname:t}}((0,u.zy)());return(0,p.jsx)(I,{location:e,children:W})}function q(){return(0,p.jsx)(V.A,{children:(0,p.jsx)(P.l,{children:(0,p.jsxs)(T.x,{children:[(0,p.jsxs)(f,{children:[(0,p.jsx)(U,{}),(0,p.jsx)(C,{}),(0,p.jsx)($,{}),(0,p.jsx)(G,{})]}),(0,p.jsx)(Q,{})]})})})}var Y=n(4054);const K=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const o=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;o?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var Z=n(6921);const X=new Set,J=new Set,ee=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,te={prefetch:e=>{if(!(e=>!ee()&&!J.has(e)&&!X.has(e))(e))return!1;X.add(e);const t=(0,d.u)(c.A,e).flatMap((e=>{return t=e.route.path,Object.entries(Y).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,Z.A)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?K(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!ee()&&!J.has(e))(e)&&(J.add(e),R(e))},ne=Object.freeze(te),re=Boolean(!0);if(s.A.canUseDOM){window.docusaurus=ne;const e=document.getElementById("__docusaurus"),t=(0,p.jsx)(i.vd,{children:(0,p.jsx)(a.Kd,{children:(0,p.jsx)(q,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},s=()=>{if(window.docusaurusRoot)window.docusaurusRoot.render(t);else if(re)window.docusaurusRoot=o.hydrateRoot(e,t,{onRecoverableError:n});else{const r=o.createRoot(e,{onRecoverableError:n});r.render(t),window.docusaurusRoot=r}};R(window.location.pathname).then((()=>{(0,r.startTransition)(s)}))}},6988:(e,t,n)=>{"use strict";n.d(t,{o:()=>d,l:()=>p});var r=n(6540),o=n(4784);const a=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/docs","mainDocId":"introduction/prologue","docs":[{"id":"audio/AAC","path":"/docs/audio/AAC","sidebar":"tutorialSidebar"},{"id":"audio/Dolby","path":"/docs/audio/Dolby","sidebar":"tutorialSidebar"},{"id":"audio/FLAC","path":"/docs/audio/FLAC","sidebar":"tutorialSidebar"},{"id":"audio/MP3","path":"/docs/audio/MP3","sidebar":"tutorialSidebar"},{"id":"audio/Opus","path":"/docs/audio/Opus","sidebar":"tutorialSidebar"},{"id":"audio/Speex","path":"/docs/audio/Speex","sidebar":"tutorialSidebar"},{"id":"audio/Vorbis","path":"/docs/audio/Vorbis","sidebar":"tutorialSidebar"},{"id":"audio/WavPack","path":"/docs/audio/WavPack","sidebar":"tutorialSidebar"},{"id":"colorimetry/format","path":"/docs/colorimetry/format","sidebar":"tutorialSidebar"},{"id":"colorimetry/intro","path":"/docs/colorimetry/intro","sidebar":"tutorialSidebar"},{"id":"colorimetry/matrix","path":"/docs/colorimetry/matrix","sidebar":"tutorialSidebar"},{"id":"colorimetry/primaries","path":"/docs/colorimetry/primaries","sidebar":"tutorialSidebar"},{"id":"colorimetry/range","path":"/docs/colorimetry/range","sidebar":"tutorialSidebar"},{"id":"colorimetry/transfer","path":"/docs/colorimetry/transfer","sidebar":"tutorialSidebar"},{"id":"contribution-guide","path":"/docs/contribution-guide","sidebar":"tutorialSidebar"},{"id":"data/7z","path":"/docs/data/7z","sidebar":"tutorialSidebar"},{"id":"data/brotli","path":"/docs/data/brotli","sidebar":"tutorialSidebar"},{"id":"data/bzip2","path":"/docs/data/bzip2","sidebar":"tutorialSidebar"},{"id":"data/gzip","path":"/docs/data/gzip","sidebar":"tutorialSidebar"},{"id":"data/tar","path":"/docs/data/tar","sidebar":"tutorialSidebar"},{"id":"data/xz","path":"/docs/data/xz","sidebar":"tutorialSidebar"},{"id":"data/zip","path":"/docs/data/zip","sidebar":"tutorialSidebar"},{"id":"data/zpaq","path":"/docs/data/zpaq","sidebar":"tutorialSidebar"},{"id":"data/zstd","path":"/docs/data/zstd","sidebar":"tutorialSidebar"},{"id":"encoders_hw/amf","path":"/docs/encoders_hw/amf","sidebar":"tutorialSidebar"},{"id":"encoders_hw/mediacodec","path":"/docs/encoders_hw/mediacodec","sidebar":"tutorialSidebar"},{"id":"encoders_hw/nvenc","path":"/docs/encoders_hw/nvenc","sidebar":"tutorialSidebar"},{"id":"encoders_hw/qsv","path":"/docs/encoders_hw/qsv","sidebar":"tutorialSidebar"},{"id":"encoders_hw/videotoolbox","path":"/docs/encoders_hw/videotoolbox","sidebar":"tutorialSidebar"},{"id":"encoders/aomenc","path":"/docs/encoders/aomenc","sidebar":"tutorialSidebar"},{"id":"encoders/Aurora1","path":"/docs/encoders/Aurora1","sidebar":"tutorialSidebar"},{"id":"encoders/AVM","path":"/docs/encoders/AVM","sidebar":"tutorialSidebar"},{"id":"encoders/HM","path":"/docs/encoders/HM","sidebar":"tutorialSidebar"},{"id":"encoders/JM","path":"/docs/encoders/JM","sidebar":"tutorialSidebar"},{"id":"encoders/Kvazaar","path":"/docs/encoders/Kvazaar","sidebar":"tutorialSidebar"},{"id":"encoders/rav1e","path":"/docs/encoders/rav1e","sidebar":"tutorialSidebar"},{"id":"encoders/SVT-AV1","path":"/docs/encoders/SVT-AV1","sidebar":"tutorialSidebar"},{"id":"encoders/SVT-HEVC","path":"/docs/encoders/SVT-HEVC","sidebar":"tutorialSidebar"},{"id":"encoders/SVT-VP9","path":"/docs/encoders/SVT-VP9","sidebar":"tutorialSidebar"},{"id":"encoders/uvg266","path":"/docs/encoders/uvg266","sidebar":"tutorialSidebar"},{"id":"encoders/vpxenc","path":"/docs/encoders/vpxenc","sidebar":"tutorialSidebar"},{"id":"encoders/VTM","path":"/docs/encoders/VTM","sidebar":"tutorialSidebar"},{"id":"encoders/VVenC","path":"/docs/encoders/VVenC","sidebar":"tutorialSidebar"},{"id":"encoders/x264","path":"/docs/encoders/x264","sidebar":"tutorialSidebar"},{"id":"encoders/x265","path":"/docs/encoders/x265","sidebar":"tutorialSidebar"},{"id":"encoders/x266","path":"/docs/encoders/x266","sidebar":"tutorialSidebar"},{"id":"FAQ","path":"/docs/FAQ","sidebar":"tutorialSidebar"},{"id":"filtering/deband","path":"/docs/filtering/deband","sidebar":"tutorialSidebar"},{"id":"filtering/dehalo","path":"/docs/filtering/dehalo","sidebar":"tutorialSidebar"},{"id":"filtering/deinterlace","path":"/docs/filtering/deinterlace","sidebar":"tutorialSidebar"},{"id":"filtering/denoise","path":"/docs/filtering/denoise","sidebar":"tutorialSidebar"},{"id":"filtering/detelecine","path":"/docs/filtering/detelecine","sidebar":"tutorialSidebar"},{"id":"filtering/intro","path":"/docs/filtering/intro","sidebar":"tutorialSidebar"},{"id":"filtering/vapoursynth","path":"/docs/filtering/vapoursynth","sidebar":"tutorialSidebar"},{"id":"images/AVIF","path":"/docs/images/AVIF","sidebar":"tutorialSidebar"},{"id":"images/GIF","path":"/docs/images/GIF","sidebar":"tutorialSidebar"},{"id":"images/HEIC","path":"/docs/images/HEIC","sidebar":"tutorialSidebar"},{"id":"images/JPEG","path":"/docs/images/JPEG","sidebar":"tutorialSidebar"},{"id":"images/JPEG2000","path":"/docs/images/JPEG2000","sidebar":"tutorialSidebar"},{"id":"images/JXL","path":"/docs/images/JXL","sidebar":"tutorialSidebar"},{"id":"images/PNG","path":"/docs/images/PNG","sidebar":"tutorialSidebar"},{"id":"images/QOI","path":"/docs/images/QOI","sidebar":"tutorialSidebar"},{"id":"images/WebP","path":"/docs/images/WebP","sidebar":"tutorialSidebar"},{"id":"introduction/high-dynamic-range","path":"/docs/introduction/high-dynamic-range","sidebar":"tutorialSidebar"},{"id":"introduction/prologue","path":"/docs/introduction/prologue","sidebar":"tutorialSidebar"},{"id":"introduction/psychovisual","path":"/docs/introduction/psychovisual","sidebar":"tutorialSidebar"},{"id":"introduction/terminology","path":"/docs/introduction/terminology","sidebar":"tutorialSidebar"},{"id":"introduction/video-artifacts","path":"/docs/introduction/video-artifacts","sidebar":"tutorialSidebar"},{"id":"metrics/butteraugli","path":"/docs/metrics/butteraugli","sidebar":"tutorialSidebar"},{"id":"metrics/PSNR","path":"/docs/metrics/PSNR","sidebar":"tutorialSidebar"},{"id":"metrics/SSIM","path":"/docs/metrics/SSIM","sidebar":"tutorialSidebar"},{"id":"metrics/SSIMULACRA2","path":"/docs/metrics/SSIMULACRA2","sidebar":"tutorialSidebar"},{"id":"metrics/VMAF","path":"/docs/metrics/VMAF","sidebar":"tutorialSidebar"},{"id":"metrics/XPSNR","path":"/docs/metrics/XPSNR","sidebar":"tutorialSidebar"},{"id":"privacy-policy","path":"/docs/privacy-policy","sidebar":"tutorialSidebar"},{"id":"resources","path":"/docs/resources","sidebar":"tutorialSidebar"},{"id":"subtitles/SRT","path":"/docs/subtitles/SRT","sidebar":"tutorialSidebar"},{"id":"subtitles/webvtt","path":"/docs/subtitles/webvtt","sidebar":"tutorialSidebar"},{"id":"terms-of-use","path":"/docs/terms-of-use","sidebar":"tutorialSidebar"},{"id":"utilities/autocompressor","path":"/docs/utilities/autocompressor","sidebar":"tutorialSidebar"},{"id":"utilities/av1an","path":"/docs/utilities/av1an","sidebar":"tutorialSidebar"},{"id":"utilities/av1an-command-gen","path":"/docs/utilities/av1an-command-gen","sidebar":"tutorialSidebar"},{"id":"utilities/Aviator","path":"/docs/utilities/Aviator","sidebar":"tutorialSidebar"},{"id":"utilities/dovi_tool","path":"/docs/utilities/dovi_tool","sidebar":"tutorialSidebar"},{"id":"utilities/eac3to","path":"/docs/utilities/eac3to","sidebar":"tutorialSidebar"},{"id":"utilities/FFMetrics","path":"/docs/utilities/FFMetrics","sidebar":"tutorialSidebar"},{"id":"utilities/ffmpeg","path":"/docs/utilities/ffmpeg","sidebar":"tutorialSidebar"},{"id":"utilities/hdr10plus_tool","path":"/docs/utilities/hdr10plus_tool","sidebar":"tutorialSidebar"},{"id":"utilities/MKVToolNix","path":"/docs/utilities/MKVToolNix","sidebar":"tutorialSidebar"},{"id":"utilities/mp4box","path":"/docs/utilities/mp4box","sidebar":"tutorialSidebar"},{"id":"utilities/nmkoder","path":"/docs/utilities/nmkoder","sidebar":"tutorialSidebar"},{"id":"utilities/rAV1ator","path":"/docs/utilities/rAV1ator","sidebar":"tutorialSidebar"},{"id":"utilities/rav1ator-cli","path":"/docs/utilities/rav1ator-cli","sidebar":"tutorialSidebar"},{"id":"utilities/YUView","path":"/docs/utilities/YUView","sidebar":"tutorialSidebar"},{"id":"video-players","path":"/docs/video-players","sidebar":"tutorialSidebar"},{"id":"video/AV1","path":"/docs/video/AV1","sidebar":"tutorialSidebar"},{"id":"video/AVC","path":"/docs/video/AVC","sidebar":"tutorialSidebar"},{"id":"video/AVS3","path":"/docs/video/AVS3","sidebar":"tutorialSidebar"},{"id":"video/ECM","path":"/docs/video/ECM","sidebar":"tutorialSidebar"},{"id":"video/FFV1","path":"/docs/video/FFV1","sidebar":"tutorialSidebar"},{"id":"video/HEVC","path":"/docs/video/HEVC","sidebar":"tutorialSidebar"},{"id":"video/prores","path":"/docs/video/prores","sidebar":"tutorialSidebar"},{"id":"video/Theora","path":"/docs/video/Theora","sidebar":"tutorialSidebar"},{"id":"video/utvideo","path":"/docs/video/utvideo","sidebar":"tutorialSidebar"},{"id":"video/VC-1","path":"/docs/video/VC-1","sidebar":"tutorialSidebar"},{"id":"video/VP8","path":"/docs/video/VP8","sidebar":"tutorialSidebar"},{"id":"video/VP9","path":"/docs/video/VP9","sidebar":"tutorialSidebar"},{"id":"video/VVC","path":"/docs/video/VVC","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/docs/introduction/prologue","label":"introduction/prologue"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var s=n(2654);const l=JSON.parse('{"docusaurusVersion":"3.3.2","siteVersion":"0.1.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.3.2"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.3.2"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.3.2"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.3.2"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.3.2"},"docusaurus-plugin-image-zoom":{"type":"package","name":"plugin-image-zoom","version":"1.2.0"},"@easyops-cn/docusaurus-search-local":{"type":"package","name":"@easyops-cn/docusaurus-search-local","version":"0.40.1"}}}');var c=n(4848);const u={siteConfig:o.default,siteMetadata:l,globalData:a,i18n:i,codeTranslations:s},d=r.createContext(u);function p(e){let{children:t}=e;return(0,c.jsx)(d.Provider,{value:u,children:t})}},7489:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(6540),o=n(8193),a=n(5260),i=n(440),s=n(5476),l=n(3102),c=n(4848);function u(e){let{error:t,tryAgain:n}=e;return(0,c.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,c.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,c.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,c.jsx)(d,{error:t})]})}function d(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,c.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function p(e){let{children:t}=e;return(0,c.jsx)(l.W,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:t})}function f(e){let{error:t,tryAgain:n}=e;return(0,c.jsx)(p,{children:(0,c.jsxs)(m,{fallback:()=>(0,c.jsx)(u,{error:t,tryAgain:n}),children:[(0,c.jsx)(a.A,{children:(0,c.jsx)("title",{children:"Page Error"})}),(0,c.jsx)(s.A,{children:(0,c.jsx)(u,{error:t,tryAgain:n})})]})})}const h=e=>(0,c.jsx)(f,{...e});class m extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){o.A.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??h)(e)}return e??null}}},8193:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,o={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5260:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});n(6540);var r=n(545),o=n(4848);function a(e){return(0,o.jsx)(r.mg,{...e})}},8774:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(6540),o=n(4625),a=n(440),i=n(4586),s=n(6654),l=n(8193),c=n(3427),u=n(6025),d=n(4848);function p(e,t){let{isNavLink:n,to:p,href:f,activeClassName:h,isActive:m,"data-noBrokenLinkCheck":g,autoAddBaseUrl:b=!0,...y}=e;const{siteConfig:{trailingSlash:v,baseUrl:x}}=(0,i.A)(),{withBaseUrl:w}=(0,u.h)(),k=(0,c.A)(),S=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>S.current));const _=p||f;const E=(0,s.A)(_),C=_?.replace("pathname://","");let A=void 0!==C?(T=C,b&&(e=>e.startsWith("/"))(T)?w(T):T):void 0;var T;A&&E&&(A=(0,a.applyTrailingSlash)(A,{trailingSlash:v,baseUrl:x}));const P=(0,r.useRef)(!1),L=n?o.k2:o.N_,N=l.A.canUseIntersectionObserver,O=(0,r.useRef)(),R=()=>{P.current||null==A||(window.docusaurus.preload(A),P.current=!0)};(0,r.useEffect)((()=>(!N&&E&&null!=A&&window.docusaurus.prefetch(A),()=>{N&&O.current&&O.current.disconnect()})),[O,A,N,E]);const j=A?.startsWith("#")??!1,I=!y.target||"_self"===y.target,F=!A||!E||!I||j;return g||!j&&F||k.collectLink(A),y.id&&k.collectAnchor(y.id),F?(0,d.jsx)("a",{ref:S,href:A,..._&&!E&&{target:"_blank",rel:"noopener noreferrer"},...y}):(0,d.jsx)(L,{...y,onMouseEnter:R,onTouchStart:R,innerRef:e=>{S.current=e,N&&e&&E&&(O.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(O.current.unobserve(e),O.current.disconnect(),null!=A&&window.docusaurus.prefetch(A))}))})),O.current.observe(e))},to:A,...n&&{isActive:m,activeClassName:h}})}const f=r.forwardRef(p)},1312:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,T:()=>l});var r=n(6540),o=n(4848);function a(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(2654);function s(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function l(e,t){let{message:n,id:r}=e;return a(s({message:n,id:r}),t)}function c(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal children",t),new Error("The Docusaurus component only accept simple string values");const i=s({message:t,id:n});return(0,o.jsx)(o.Fragment,{children:a(i,r)})}},7065:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r="default"},6654:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>o,z:()=>r})},6025:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,h:()=>i});var r=n(6540),o=n(4586),a=n(6654);function i(){const{siteConfig:{baseUrl:e,url:t}}=(0,o.A)(),n=(0,r.useCallback)(((n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:o=!1,absolute:i=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,a.z)(n))return n;if(o)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const s=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+s:s}(t,e,n,r)),[t,e]);return{withBaseUrl:n}}function s(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},3427:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6540);n(4848);const o=r.createContext({collectAnchor:()=>{},collectLink:()=>{}}),a=()=>(0,r.useContext)(o);function i(){return a()}},4586:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6540),o=n(6988);function a(){return(0,r.useContext)(o.o)}},2303:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6540),o=n(6125);function a(){return(0,r.useContext)(o.o)}},205:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540);const o=n(8193).A.canUseDOM?r.useLayoutEffect:r.useEffect},6803:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6540),o=n(3102);function a(){const e=r.useContext(o.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}},6921:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function o(e){const t={};return function e(n,o){Object.entries(n).forEach((n=>{let[a,i]=n;const s=o?`${o}.${a}`:a;r(i)?e(i,s):t[s]=i}))}(e),t}},3102:(e,t,n)=>{"use strict";n.d(t,{W:()=>i,o:()=>a});var r=n(6540),o=n(4848);const a=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(a),s=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,o.jsx)(a.Provider,{value:s,children:t})}},4070:(e,t,n)=>{"use strict";n.d(t,{zK:()=>m,vT:()=>p,Gy:()=>u,HW:()=>g,ht:()=>d,r7:()=>h,jh:()=>f});var r=n(6347),o=n(4586),a=n(7065);function i(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,o.A)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}const s=e=>e.versions.find((e=>e.isLast));function l(e,t){const n=function(e,t){const n=s(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),o=n?.docs.find((e=>!!(0,r.B6)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:o,alternateDocVersions:o?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(o.id):{}}}const c={},u=()=>i("docusaurus-plugin-content-docs")??c,d=e=>{try{return function(e,t,n){void 0===t&&(t=a.W),void 0===n&&(n={});const r=i(e),o=r?.[t];if(!o&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return o}("docusaurus-plugin-content-docs",e,{failfast:!0})}catch(t){throw new Error("You are using a feature of the Docusaurus docs plugin, but this plugin does not seem to be enabled"+("Default"===e?"":` (pluginId=${e}`),{cause:t})}};function p(e){void 0===e&&(e={});const t=u(),{pathname:n}=(0,r.zy)();return function(e,t,n){void 0===n&&(n={});const o=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.B6)(t,{path:n.path,exact:!1,strict:!1})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return a}(t,n,e)}function f(e){return d(e).versions}function h(e){const t=d(e);return s(t)}function m(e){const t=d(e),{pathname:n}=(0,r.zy)();return l(t,n)}function g(e){const t=d(e),{pathname:n}=(0,r.zy)();return function(e,t){const n=s(e);return{latestDocSuggestion:l(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},6294:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(5947),o=n.n(r);o().configure({showSpinner:!1});const a={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{o().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){o().done()}}},6134:(e,t,n)=>{"use strict";n.r(t);var r=n(1765),o=n(4784);!function(e){const{themeConfig:{prism:t}}=o.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(9700),n(875)(`./prism-${e}`)})),delete globalThis.Prism}(r.My)},1107:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});n(6540);var r=n(4164),o=n(1312),a=n(6342),i=n(8774),s=n(3427);const l={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var c=n(4848);function u(e){let{as:t,id:n,...u}=e;const d=(0,s.A)(),{navbar:{hideOnScroll:p}}=(0,a.p)();if("h1"===t||!n)return(0,c.jsx)(t,{...u,id:void 0});d.collectAnchor(n);const f=(0,o.T)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof u.children?u.children:n});return(0,c.jsxs)(t,{...u,className:(0,r.A)("anchor",p?l.anchorWithHideOnScrollNavbar:l.anchorWithStickyNavbar,u.className),id:n,children:[u.children,(0,c.jsx)(i.A,{className:"hash-link",to:`#${n}`,"aria-label":f,title:f,children:"\u200b"})]})}},3186:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});n(6540);const r={iconExternalLink:"iconExternalLink_nPIU"};var o=n(4848);function a(e){let{width:t=13.5,height:n=13.5}=e;return(0,o.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,o.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},5476:(e,t,n)=>{"use strict";n.d(t,{A:()=>It});var r=n(6540),o=n(4164),a=n(7489),i=n(1213),s=n(6347),l=n(1312),c=n(5062),u=n(4848);const d="__docusaurus_skipToContent_fallback";function p(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function f(){const e=(0,r.useRef)(null),{action:t}=(0,s.W6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&p(t)}),[]);return(0,c.$)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&p(e.current)})),{containerRef:e,onClick:n}}const h=(0,l.T)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function m(e){const t=e.children??h,{containerRef:n,onClick:r}=f();return(0,u.jsx)("div",{ref:n,role:"region","aria-label":h,children:(0,u.jsx)("a",{...e,href:`#${d}`,onClick:r,children:t})})}var g=n(7559),b=n(4090);const y={skipToContent:"skipToContent_fXgn"};function v(){return(0,u.jsx)(m,{className:y.skipToContent})}var x=n(6342),w=n(5041);function k(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:o=1.2,className:a,...i}=e;return(0,u.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,u.jsx)("g",{stroke:r,strokeWidth:o,children:(0,u.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const S={closeButton:"closeButton_CVFx"};function _(e){return(0,u.jsx)("button",{type:"button","aria-label":(0,l.T)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,o.A)("clean-btn close",S.closeButton,e.className),children:(0,u.jsx)(k,{width:14,height:14,strokeWidth:3.1})})}const E={content:"content_knG7"};function C(e){const{announcementBar:t}=(0,x.p)(),{content:n}=t;return(0,u.jsx)("div",{...e,className:(0,o.A)(E.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const A={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function T(){const{announcementBar:e}=(0,x.p)(),{isActive:t,close:n}=(0,w.Mj)();if(!t)return null;const{backgroundColor:r,textColor:o,isCloseable:a}=e;return(0,u.jsxs)("div",{className:A.announcementBar,style:{backgroundColor:r,color:o},role:"banner",children:[a&&(0,u.jsx)("div",{className:A.announcementBarPlaceholder}),(0,u.jsx)(C,{className:A.announcementBarContent}),a&&(0,u.jsx)(_,{onClick:n,className:A.announcementBarClose})]})}var P=n(2069),L=n(3104);var N=n(9532),O=n(5600);const R=r.createContext(null);function j(e){let{children:t}=e;const n=function(){const e=(0,P.M)(),t=(0,O.YL)(),[n,o]=(0,r.useState)(!1),a=null!==t.component,i=(0,N.ZC)(a);return(0,r.useEffect)((()=>{a&&!i&&o(!0)}),[a,i]),(0,r.useEffect)((()=>{a?e.shown||o(!0):o(!1)}),[e.shown,a]),(0,r.useMemo)((()=>[n,o]),[n])}();return(0,u.jsx)(R.Provider,{value:n,children:t})}function I(e){if(e.component){const t=e.component;return(0,u.jsx)(t,{...e.props})}}function F(){const e=(0,r.useContext)(R);if(!e)throw new N.dV("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,o=(0,r.useCallback)((()=>n(!1)),[n]),a=(0,O.YL)();return(0,r.useMemo)((()=>({shown:t,hide:o,content:I(a)})),[o,a,t])}function M(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:a}=F();return(0,u.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,u.jsxs)("div",{className:(0,o.A)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":a}),children:[(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var z=n(5293),D=n(2303);function B(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function $(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}const U={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function V(e){let{className:t,buttonClassName:n,value:r,onChange:a}=e;const i=(0,D.A)(),s=(0,l.T)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,l.T)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,l.T)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,u.jsx)("div",{className:(0,o.A)(U.toggle,t),children:(0,u.jsxs)("button",{className:(0,o.A)("clean-btn",U.toggleButton,!i&&U.toggleButtonDisabled,n),type:"button",onClick:()=>a("dark"===r?"light":"dark"),disabled:!i,title:s,"aria-label":s,"aria-live":"polite",children:[(0,u.jsx)(B,{className:(0,o.A)(U.toggleIcon,U.lightToggleIcon)}),(0,u.jsx)($,{className:(0,o.A)(U.toggleIcon,U.darkToggleIcon)})]})})}const H=r.memo(V),Q={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function W(e){let{className:t}=e;const n=(0,x.p)().navbar.style,r=(0,x.p)().colorMode.disableSwitch,{colorMode:o,setColorMode:a}=(0,z.G)();return r?null:(0,u.jsx)(H,{className:t,buttonClassName:"dark"===n?Q.darkNavbarColorModeToggle:void 0,value:o,onChange:a})}var G=n(3465);function q(){return(0,u.jsx)(G.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Y(){const e=(0,P.M)();return(0,u.jsx)("button",{type:"button","aria-label":(0,l.T)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,u.jsx)(k,{color:"var(--ifm-color-emphasis-600)"})})}function K(){return(0,u.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,u.jsx)(q,{}),(0,u.jsx)(W,{className:"margin-right--md"}),(0,u.jsx)(Y,{})]})}var Z=n(8774),X=n(6025),J=n(6654);function ee(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var te=n(3186);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:o,label:a,html:i,isDropdownLink:s,prependBaseUrlToHref:l,...c}=e;const d=(0,X.A)(r),p=(0,X.A)(t),f=(0,X.A)(o,{forcePrependBaseUrl:!0}),h=a&&o&&!(0,J.A)(o),m=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,u.jsxs)(u.Fragment,{children:[a,h&&(0,u.jsx)(te.A,{...s&&{width:12,height:12}})]})};return o?(0,u.jsx)(Z.A,{href:l?f:o,...c,...m}):(0,u.jsx)(Z.A,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?ee(n,t.pathname):t.pathname.startsWith(p)},...c,...m})}function re(e){let{className:t,isDropdownItem:n=!1,...r}=e;const a=(0,u.jsx)(ne,{className:(0,o.A)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,u.jsx)("li",{children:a}):a}function oe(e){let{className:t,isDropdownItem:n,...r}=e;return(0,u.jsx)("li",{className:"menu__list-item",children:(0,u.jsx)(ne,{className:(0,o.A)("menu__link",t),...r})})}function ae(e){let{mobile:t=!1,position:n,...r}=e;const o=t?oe:re;return(0,u.jsx)(o,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var ie=n(1422),se=n(9169),le=n(4586);const ce={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_S0Fm"};function ue(e,t){return e.some((e=>function(e,t){return!!(0,se.ys)(e.to,t)||!!ee(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function de(e){let{items:t,position:n,className:a,onClick:i,...s}=e;const l=(0,r.useRef)(null),[c,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{l.current&&!l.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[l]),(0,u.jsxs)("div",{ref:l,className:(0,o.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":c}),children:[(0,u.jsx)(ne,{"aria-haspopup":"true","aria-expanded":c,role:"button",href:s.to?void 0:"#",className:(0,o.A)("navbar__link",a),...s,onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!c))},children:s.children??s.label}),(0,u.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(Ge,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function pe(e){let{items:t,className:n,position:a,onClick:i,...l}=e;const c=function(){const{siteConfig:{baseUrl:e}}=(0,le.A)(),{pathname:t}=(0,s.zy)();return t.replace(e,"/")}(),d=ue(t,c),{collapsed:p,toggleCollapsed:f,setCollapsed:h}=(0,ie.u)({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&h(!d)}),[c,d,h]),(0,u.jsxs)("li",{className:(0,o.A)("menu__list-item",{"menu__list-item--collapsed":p}),children:[(0,u.jsx)(ne,{role:"button",className:(0,o.A)(ce.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",n),...l,onClick:e=>{e.preventDefault(),f()},children:l.children??l.label}),(0,u.jsx)(ie.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:p,children:t.map(((e,t)=>(0,r.createElement)(Ge,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function fe(e){let{mobile:t=!1,...n}=e;const r=t?pe:de;return(0,u.jsx)(r,{...n})}var he=n(2131);function me(e){let{width:t=20,height:n=20,...r}=e;return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const ge="iconLanguage_nlXk";var be=n(1088),ye=n(5391),ve=n(5597),xe=n(4070),we=n(5891),ke=n(2384),Se=n(4471),_e=n(7674),Ee=n(6841),Ce=n(3810);const Ae='',Te='',Pe='',Le='',Ne='',Oe='',Re='',je={searchBar:"searchBar_RVTs",dropdownMenu:"dropdownMenu_qbY6",searchBarLeft:"searchBarLeft_MXDe",suggestion:"suggestion_fB_2",cursor:"cursor_eG29",hitTree:"hitTree_kk6K",hitIcon:"hitIcon_a7Zy",hitPath:"hitPath_ieM4",noResultsIcon:"noResultsIcon_EBY5",hitFooter:"hitFooter_E9YW",hitWrapper:"hitWrapper_sAK8",hitTitle:"hitTitle_vyVt",hitAction:"hitAction_NqkB",hideAction:"hideAction_vcyE",noResults:"noResults_l6Q3",searchBarContainer:"searchBarContainer_NW3z",searchBarLoadingRing:"searchBarLoadingRing_YnHq",searchClearButton:"searchClearButton_qk4g",searchIndexLoading:"searchIndexLoading_EJ1f",searchHintContainer:"searchHintContainer_Pkmr",searchHint:"searchHint_iIMx",focused:"focused_OWtg",input:"input_FOTf",hint:"hint_URu1",suggestions:"suggestions_X8XU",dataset:"dataset_QiCy",empty:"empty_eITn"};function Ie(e){let{document:t,type:n,page:r,metadata:o,tokens:a,isInterOfTree:i,isLastOfTree:s}=e;const l=0===n,c=1===n,u=[];i?u.push(Oe):s&&u.push(Re);const d=u.map((e=>`${e}`)),p=`${l?Ae:c?Te:Pe}`,f=[`${(0,Ce.C)(t.t,(0,_e.g)(o,"t"),a)}`];if(!i&&!s&&be.tb){const e=r?(r.b??[]).concat(r.t).concat(t.s&&t.s!==r.t?t.s:[]):t.b;f.push(`${(0,Se.$)(e??[])}`)}else l||f.push(`${(0,Ee.Z)(r.t||(t.u.startsWith("/docs/api-reference/")?"API Reference":""),a)}`);const h=`${Le}`;return[...d,p,``,...f,"",h].join("")}function Fe(){return`${Ne}${(0,l.T)({id:"theme.SearchBar.noResultsText",message:"No results"})}`}var Me=n(2849),ze=n(3385);async function De(){const e=await Promise.all([n.e(489),n.e(5741)]).then(n.t.bind(n,489,23)),t=e.default;return t.noConflict?t.noConflict():e.noConflict&&e.noConflict(),t}const Be="_highlight";const $e=function(e){let{handleSearchBarToggle:t}=e;const n=(0,D.A)(),{siteConfig:{baseUrl:o},i18n:{currentLocale:a}}=(0,le.A)(),i=(0,xe.vT)();let c=o;try{const{preferredVersion:e}=(0,ve.g1)(i?.pluginId??be.UB);e&&!e.isLast&&(c=e.path+"/")}catch(M){if(be.I$&&!(M instanceof N.dV))throw M}const d=(0,s.W6)(),p=(0,s.zy)(),f=(0,r.useRef)(null),h=(0,r.useRef)(new Map),m=(0,r.useRef)(!1),[g,b]=(0,r.useState)(!1),[y,v]=(0,r.useState)(!1),[x,w]=(0,r.useState)(""),k=(0,r.useRef)(null),S=(0,r.useRef)(""),[_,E]=(0,r.useState)("");(0,r.useEffect)((()=>{if(!Array.isArray(be.Hg))return;let e="";if(p.pathname.startsWith(c)){const t=p.pathname.substring(c.length);let n;for(const e of be.Hg){const r="string"==typeof e?e:e.path;if(t===r||t.startsWith(`${r}/`)){n=r;break}}n&&(e=n)}S.current!==e&&(h.current.delete(e),S.current=e),E(e)}),[p.pathname,c]);const C=!!be.O6&&Array.isArray(be.Hg)&&""===_,A=(0,r.useCallback)((async()=>{if(C||h.current.get(_))return;h.current.set(_,"loading"),k.current?.autocomplete.destroy(),b(!0);const[{wrappedIndexes:e,zhDictionary:t},n]=await Promise.all([(0,we.Z)(c,_),De()]);if(k.current=n(f.current,{hint:!1,autoselect:!0,openOnFocus:!0,cssClasses:{root:(0,ye.A)(je.searchBar,{[je.searchBarLeft]:"left"===be.ZG}),noPrefix:!0,dropdownMenu:je.dropdownMenu,input:je.input,hint:je.hint,suggestions:je.suggestions,suggestion:je.suggestion,cursor:je.cursor,dataset:je.dataset,empty:je.empty}},[{source:(0,ke.m)(e,t,be.AT),templates:{suggestion:Ie,empty:Fe,footer:e=>{let{query:t,isEmpty:n}=e;if(n&&(!_||!be.dz))return;const r=(e=>{let{query:t,isEmpty:n}=e;const r=document.createElement("a"),i=new URLSearchParams;let s;if(i.set("q",t),_){const e=_&&Array.isArray(be.Hg)?be.Hg.find((e=>"string"==typeof e?e===_:e.path===_)):_,t=e?(0,ze.p)(e,a).label:_;s=be.dz&&n?(0,l.T)({id:"theme.SearchBar.seeAllOutsideContext",message:"See results outside {context}"},{context:t}):(0,l.T)({id:"theme.SearchBar.searchInContext",message:"See all results in {context}"},{context:t})}else s=(0,l.T)({id:"theme.SearchBar.seeAll",message:"See all results"});if(!_||!Array.isArray(be.Hg)||be.dz&&n||i.set("ctx",_),c!==o){if(!c.startsWith(o))throw new Error(`Version url '${c}' does not start with base url '${o}', this is a bug of \`@easyops-cn/docusaurus-search-local\`, please report it.`);i.set("version",c.substring(o.length))}const u=`${o}search?${i.toString()}`;return r.href=u,r.textContent=s,r.addEventListener("click",(e=>{e.ctrlKey||e.metaKey||(e.preventDefault(),k.current?.autocomplete.close(),d.push(u))})),r})({query:t,isEmpty:n}),i=document.createElement("div");return i.className=je.hitFooter,i.appendChild(r),i}}}]).on("autocomplete:selected",(function(e,t){let{document:{u:n,h:r},tokens:o}=t;f.current?.blur();let a=n;if(be.CU&&o.length>0){const e=new URLSearchParams;for(const t of o)e.append(Be,t);a+=`?${e.toString()}`}r&&(a+=r),d.push(a)})).on("autocomplete:closed",(()=>{f.current?.blur()})),h.current.set(_,"done"),b(!1),m.current){const e=f.current;e.value&&k.current?.autocomplete.open(),e.focus()}}),[C,_,c,o,d]);(0,r.useEffect)((()=>{if(!be.CU)return;const e=n?new URLSearchParams(p.search).getAll(Be):[];setTimeout((()=>{const t=document.querySelector("article");if(!t)return;const n=new be.CU(t);n.unmark(),0!==e.length&&n.mark(e),w(e.join(" ")),k.current?.autocomplete.setVal(e.join(" "))}))}),[n,p.search,p.pathname]);const[T,P]=(0,r.useState)(!1),L=(0,r.useCallback)((()=>{m.current=!0,A(),P(!0),t?.(!0)}),[t,A]),O=(0,r.useCallback)((()=>{P(!1),t?.(!1)}),[t]),R=(0,r.useCallback)((()=>{A()}),[A]),j=(0,r.useCallback)((e=>{w(e.target.value),e.target.value&&v(!0)}),[]),I=!!n&&/mac/i.test(navigator.userAgentData?.platform??navigator.platform);(0,r.useEffect)((()=>{if(!be.WW)return;const e=e=>{!(I?e.metaKey:e.ctrlKey)||"k"!==e.key&&"K"!==e.key||(e.preventDefault(),f.current?.focus(),L())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[I,L]);const F=(0,r.useCallback)((()=>{const e=new URLSearchParams(p.search);e.delete(Be);const t=e.toString(),n=p.pathname+(""!=t?`?${t}`:"")+p.hash;n!=p.pathname+p.search+p.hash&&d.push(n),w(""),k.current?.autocomplete.setVal("")}),[p.pathname,p.search,p.hash,d]);return(0,u.jsxs)("div",{className:(0,ye.A)("navbar__search",je.searchBarContainer,{[je.searchIndexLoading]:g&&y,[je.focused]:T}),hidden:C,children:[(0,u.jsx)("input",{placeholder:(0,l.T)({id:"theme.SearchBar.label",message:"Search",description:"The ARIA label and placeholder for search button"}),"aria-label":"Search",className:"navbar__search-input",onMouseEnter:R,onFocus:L,onBlur:O,onChange:j,ref:f,value:x}),(0,u.jsx)(Me.A,{className:je.searchBarLoadingRing}),be.WW&&be.pk&&(""!==x?(0,u.jsx)("button",{className:je.searchClearButton,onClick:F,children:"\u2715"}):n&&(0,u.jsxs)("div",{className:je.searchHintContainer,children:[(0,u.jsx)("kbd",{className:je.searchHint,children:I?"\u2318":"ctrl"}),(0,u.jsx)("kbd",{className:je.searchHint,children:"K"})]}))]})},Ue={navbarSearchContainer:"navbarSearchContainer_Bca1"};function Ve(e){let{children:t,className:n}=e;return(0,u.jsx)("div",{className:(0,o.A)(n,Ue.navbarSearchContainer),children:t})}var He=n(4142);const Qe=e=>e.docs.find((t=>t.id===e.mainDocId));const We={default:ae,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:o="",...a}=e;const{i18n:{currentLocale:i,locales:c,localeConfigs:d}}=(0,le.A)(),p=(0,he.o)(),{search:f,hash:h}=(0,s.zy)(),m=[...n,...c.map((e=>{const n=`${`pathname://${p.createUrl({locale:e,fullyQualified:!1})}`}${f}${h}${o}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],g=t?(0,l.T)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,u.jsx)(fe,{...a,mobile:t,label:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(me,{className:ge}),g]}),items:m})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,u.jsx)(Ve,{className:n,children:(0,u.jsx)($e,{})})},dropdown:fe,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:a=!1}=e;const i=a?"li":"div";return(0,u.jsx)(i,{className:(0,o.A)({navbar__item:!r&&!a,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,xe.zK)(r),i=(0,He.QB)(t,r),s=a?.path===i?.path;return null===i||i.unlisted&&!s?null:(0,u.jsx)(ae,{exact:!0,...o,isActive:()=>s||!!a?.sidebar&&a.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...o}=e;const{activeDoc:a}=(0,xe.zK)(r),i=(0,He.fW)(t,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,u.jsx)(ae,{exact:!0,...o,isActive:()=>a?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...o}=e;const a=(0,He.Vd)(r)[0],i=t??a.label,s=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(a).path;return(0,u.jsx)(ae,{...o,label:i,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:o,dropdownItemsAfter:a,...i}=e;const{search:c,hash:d}=(0,s.zy)(),p=(0,xe.zK)(n),f=(0,xe.jh)(n),{savePreferredVersionName:h}=(0,ve.g1)(n),m=[...o,...f.map((e=>{const t=p.alternateDocVersions[e.name]??Qe(e);return{label:e.label,to:`${t.path}${c}${d}`,isActive:()=>e===p.activeVersion,onClick:()=>h(e.name)}})),...a],g=(0,He.Vd)(n)[0],b=t&&m.length>1?(0,l.T)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):g.label,y=t&&m.length>1?void 0:Qe(g).path;return m.length<=1?(0,u.jsx)(ae,{...i,mobile:t,label:b,to:y,isActive:r?()=>!1:void 0}):(0,u.jsx)(fe,{...i,mobile:t,label:b,to:y,items:m,isActive:r?()=>!1:void 0})}};function Ge(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),o=We[r];if(!o)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,u.jsx)(o,{...n})}function qe(){const e=(0,P.M)(),t=(0,x.p)().navbar.items;return(0,u.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(Ge,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function Ye(e){return(0,u.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,u.jsx)(l.A,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function Ke(){const e=0===(0,x.p)().navbar.items.length,t=F();return(0,u.jsxs)(u.Fragment,{children:[!e&&(0,u.jsx)(Ye,{onClick:()=>t.hide()}),t.content]})}function Ze(){const e=(0,P.M)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,u.jsx)(M,{header:(0,u.jsx)(K,{}),primaryMenu:(0,u.jsx)(qe,{}),secondaryMenu:(0,u.jsx)(Ke,{})}):null}const Xe={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Je(e){return(0,u.jsx)("div",{role:"presentation",...e,className:(0,o.A)("navbar-sidebar__backdrop",e.className)})}function et(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:a}}=(0,x.p)(),i=(0,P.M)(),{navbarRef:s,isNavbarVisible:d}=function(e){const[t,n]=(0,r.useState)(e),o=(0,r.useRef)(!1),a=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(a.current=e.getBoundingClientRect().height)}),[]);return(0,L.Mq)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i=s?n(!1):i+c{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return o.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,u.jsxs)("nav",{ref:s,"aria-label":(0,l.T)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,o.A)("navbar","navbar--fixed-top",n&&[Xe.navbarHideable,!d&&Xe.navbarHidden],{"navbar--dark":"dark"===a,"navbar--primary":"primary"===a,"navbar-sidebar--show":i.shown}),children:[t,(0,u.jsx)(Je,{onClick:i.toggle}),(0,u.jsx)(Ze,{})]})}var tt=n(440);const nt={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};function rt(e){return(0,u.jsx)("button",{type:"button",...e,children:(0,u.jsx)(l.A,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function ot(e){let{error:t}=e;const n=(0,tt.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,u.jsx)("p",{className:nt.errorBoundaryError,children:n})}class at extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const it="right";function st(e){let{width:t=30,height:n=30,className:r,...o}=e;return(0,u.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...o,children:(0,u.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function lt(){const{toggle:e,shown:t}=(0,P.M)();return(0,u.jsx)("button",{onClick:e,"aria-label":(0,l.T)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,u.jsx)(st,{})})}const ct={colorModeToggle:"colorModeToggle_DEke"};function ut(e){let{items:t}=e;return(0,u.jsx)(u.Fragment,{children:t.map(((e,t)=>(0,u.jsx)(at,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,u.jsx)(Ge,{...e})},t)))})}function dt(e){let{left:t,right:n}=e;return(0,u.jsxs)("div",{className:"navbar__inner",children:[(0,u.jsx)("div",{className:"navbar__items",children:t}),(0,u.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function pt(){const e=(0,P.M)(),t=(0,x.p)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??it)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),o=t.find((e=>"search"===e.type));return(0,u.jsx)(dt,{left:(0,u.jsxs)(u.Fragment,{children:[!e.disabled&&(0,u.jsx)(lt,{}),(0,u.jsx)(q,{}),(0,u.jsx)(ut,{items:n})]}),right:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(ut,{items:r}),(0,u.jsx)(W,{className:ct.colorModeToggle}),!o&&(0,u.jsx)(Ve,{children:(0,u.jsx)($e,{})})]})})}function ft(){return(0,u.jsx)(et,{children:(0,u.jsx)(pt,{})})}function ht(e){let{item:t}=e;const{to:n,href:r,label:o,prependBaseUrlToHref:a,...i}=t,s=(0,X.A)(n),l=(0,X.A)(r,{forcePrependBaseUrl:!0});return(0,u.jsxs)(Z.A,{className:"footer__link-item",...r?{href:a?l:r}:{to:s},...i,children:[o,r&&!(0,J.A)(r)&&(0,u.jsx)(te.A,{})]})}function mt(e){let{item:t}=e;return t.html?(0,u.jsx)("li",{className:"footer__item",dangerouslySetInnerHTML:{__html:t.html}}):(0,u.jsx)("li",{className:"footer__item",children:(0,u.jsx)(ht,{item:t})},t.href??t.to)}function gt(e){let{column:t}=e;return(0,u.jsxs)("div",{className:"col footer__col",children:[(0,u.jsx)("div",{className:"footer__title",children:t.title}),(0,u.jsx)("ul",{className:"footer__items clean-list",children:t.items.map(((e,t)=>(0,u.jsx)(mt,{item:e},t)))})]})}function bt(e){let{columns:t}=e;return(0,u.jsx)("div",{className:"row footer__links",children:t.map(((e,t)=>(0,u.jsx)(gt,{column:e},t)))})}function yt(){return(0,u.jsx)("span",{className:"footer__link-separator",children:"\xb7"})}function vt(e){let{item:t}=e;return t.html?(0,u.jsx)("span",{className:"footer__link-item",dangerouslySetInnerHTML:{__html:t.html}}):(0,u.jsx)(ht,{item:t})}function xt(e){let{links:t}=e;return(0,u.jsx)("div",{className:"footer__links text--center",children:(0,u.jsx)("div",{className:"footer__links",children:t.map(((e,n)=>(0,u.jsxs)(r.Fragment,{children:[(0,u.jsx)(vt,{item:e}),t.length!==n+1&&(0,u.jsx)(yt,{})]},n)))})})}function wt(e){let{links:t}=e;return function(e){return"title"in e[0]}(t)?(0,u.jsx)(bt,{columns:t}):(0,u.jsx)(xt,{links:t})}var kt=n(1122);const St={footerLogoLink:"footerLogoLink_BH7S"};function _t(e){let{logo:t}=e;const{withBaseUrl:n}=(0,X.h)(),r={light:n(t.src),dark:n(t.srcDark??t.src)};return(0,u.jsx)(kt.A,{className:(0,o.A)("footer__logo",t.className),alt:t.alt,sources:r,width:t.width,height:t.height,style:t.style})}function Et(e){let{logo:t}=e;return t.href?(0,u.jsx)(Z.A,{href:t.href,className:St.footerLogoLink,target:t.target,children:(0,u.jsx)(_t,{logo:t})}):(0,u.jsx)(_t,{logo:t})}function Ct(e){let{copyright:t}=e;return(0,u.jsx)("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}})}function At(e){let{style:t,links:n,logo:r,copyright:a}=e;return(0,u.jsx)("footer",{className:(0,o.A)("footer",{"footer--dark":"dark"===t}),children:(0,u.jsxs)("div",{className:"container container-fluid",children:[n,(r||a)&&(0,u.jsxs)("div",{className:"footer__bottom text--center",children:[r&&(0,u.jsx)("div",{className:"margin-bottom--sm",children:r}),a]})]})})}function Tt(){const{footer:e}=(0,x.p)();if(!e)return null;const{copyright:t,links:n,logo:r,style:o}=e;return(0,u.jsx)(At,{style:o,links:n&&n.length>0&&(0,u.jsx)(wt,{links:n}),logo:r&&(0,u.jsx)(Et,{logo:r}),copyright:t&&(0,u.jsx)(Ct,{copyright:t})})}const Pt=r.memo(Tt),Lt=(0,N.fM)([z.a,w.oq,L.Tv,ve.VQ,i.Jx,function(e){let{children:t}=e;return(0,u.jsx)(O.y_,{children:(0,u.jsx)(P.e,{children:(0,u.jsx)(j,{children:t})})})}]);function Nt(e){let{children:t}=e;return(0,u.jsx)(Lt,{children:t})}var Ot=n(1107);function Rt(e){let{error:t,tryAgain:n}=e;return(0,u.jsx)("main",{className:"container margin-vert--xl",children:(0,u.jsx)("div",{className:"row",children:(0,u.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,u.jsx)(Ot.A,{as:"h1",className:"hero__title",children:(0,u.jsx)(l.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,u.jsx)("div",{className:"margin-vert--lg",children:(0,u.jsx)(rt,{onClick:n,className:"button button--primary shadow--lw"})}),(0,u.jsx)("hr",{}),(0,u.jsx)("div",{className:"margin-vert--md",children:(0,u.jsx)(ot,{error:t})})]})})})}const jt={mainWrapper:"mainWrapper_z2l0"};function It(e){const{children:t,noFooter:n,wrapperClassName:r,title:s,description:l}=e;return(0,b.J)(),(0,u.jsxs)(Nt,{children:[(0,u.jsx)(i.be,{title:s,description:l}),(0,u.jsx)(v,{}),(0,u.jsx)(T,{}),(0,u.jsx)(ft,{}),(0,u.jsx)("div",{id:d,className:(0,o.A)(g.G.wrapper.main,jt.mainWrapper,r),children:(0,u.jsx)(a.A,{fallback:e=>(0,u.jsx)(Rt,{...e}),children:t})}),!n&&(0,u.jsx)(Pt,{})]})}},3465:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});n(6540);var r=n(8774),o=n(6025),a=n(4586),i=n(6342),s=n(1122),l=n(4848);function c(e){let{logo:t,alt:n,imageClassName:r}=e;const a={light:(0,o.A)(t.src),dark:(0,o.A)(t.srcDark||t.src)},i=(0,l.jsx)(s.A,{className:t.className,sources:a,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,l.jsx)("div",{className:r,children:i}):i}function u(e){const{siteConfig:{title:t}}=(0,a.A)(),{navbar:{title:n,logo:s}}=(0,i.p)(),{imageClassName:u,titleClassName:d,...p}=e,f=(0,o.A)(s?.href||"/"),h=n?"":t,m=s?.alt??h;return(0,l.jsxs)(r.A,{to:f,...p,...s?.target&&{target:s.target},children:[s&&(0,l.jsx)(c,{logo:s,alt:m,imageClassName:u}),null!=n&&(0,l.jsx)("b",{className:d,children:n})]})}},1463:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});n(6540);var r=n(5260),o=n(4848);function a(e){let{locale:t,version:n,tag:a}=e;const i=t;return(0,o.jsxs)(r.A,{children:[t&&(0,o.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,o.jsx)("meta",{name:"docusaurus_version",content:n}),a&&(0,o.jsx)("meta",{name:"docusaurus_tag",content:a}),i&&(0,o.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,o.jsx)("meta",{name:"docsearch:version",content:n}),a&&(0,o.jsx)("meta",{name:"docsearch:docusaurus_tag",content:a})]})}},1122:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(6540),o=n(4164),a=n(2303),i=n(5293);const s={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};var l=n(4848);function c(e){let{className:t,children:n}=e;const c=(0,a.A)(),{colorMode:u}=(0,i.G)();return(0,l.jsx)(l.Fragment,{children:(c?"dark"===u?["dark"]:["light"]:["light","dark"]).map((e=>{const a=n({theme:e,className:(0,o.A)(t,s.themedComponent,s[`themedComponent--${e}`])});return(0,l.jsx)(r.Fragment,{children:a},e)}))})}function u(e){const{sources:t,className:n,alt:r,...o}=e;return(0,l.jsx)(c,{className:n,children:e=>{let{theme:n,className:a}=e;return(0,l.jsx)("img",{src:t[n],alt:r,className:a,...o})}})}},1422:(e,t,n)=>{"use strict";n.d(t,{N:()=>b,u:()=>c});var r=n(6540),o=n(8193),a=n(205),i=n(3109),s=n(4848);const l="ease-in-out";function c(e){let{initialState:t}=e;const[n,o]=(0,r.useState)(t??!1),a=(0,r.useCallback)((()=>{o((e=>!e))}),[]);return{collapsed:n,setCollapsed:o,toggleCollapsed:a}}const u={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function p(e,t){const n=t?u:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function f(e){let{collapsibleRef:t,collapsed:n,animation:o}=e;const a=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=o?.duration??function(e){if((0,i.O)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${o?.easing??l}`,height:`${t}px`}}function s(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!a.current)return p(e,n),void(a.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(s(),requestAnimationFrame((()=>{e.style.height=u.height,e.style.overflow=u.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{s()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,o])}function h(e){if(!o.A.canUseDOM)return e?u:d}function m(e){let{as:t="div",collapsed:n,children:o,animation:a,onCollapseTransitionEnd:i,className:l,disableSSRStyle:c}=e;const u=(0,r.useRef)(null);return f({collapsibleRef:u,collapsed:n,animation:a}),(0,s.jsx)(t,{ref:u,style:c?void 0:h(n),onTransitionEnd:e=>{"height"===e.propertyName&&(p(u.current,n),i?.(n))},className:l,children:o})}function g(e){let{collapsed:t,...n}=e;const[o,i]=(0,r.useState)(!t),[l,c]=(0,r.useState)(t);return(0,a.A)((()=>{t||i(!0)}),[t]),(0,a.A)((()=>{o&&c(t)}),[o,t]),o?(0,s.jsx)(m,{...n,collapsed:l}):null}function b(e){let{lazy:t,...n}=e;const r=t?g:m;return(0,s.jsx)(r,{...n})}},5041:(e,t,n)=>{"use strict";n.d(t,{Mj:()=>m,oq:()=>h});var r=n(6540),o=n(2303),a=n(9466),i=n(9532),s=n(6342),l=n(4848);const c=(0,a.Wf)("docusaurus.announcement.dismiss"),u=(0,a.Wf)("docusaurus.announcement.id"),d=()=>"true"===c.get(),p=e=>c.set(String(e)),f=r.createContext(null);function h(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,s.p)(),t=(0,o.A)(),[n,a]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{a(d())}),[]);const i=(0,r.useCallback)((()=>{p(!0),a(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=u.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;u.set(t),r&&p(!1),!r&&d()||a(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,l.jsx)(f.Provider,{value:n,children:t})}function m(){const e=(0,r.useContext)(f);if(!e)throw new i.dV("AnnouncementBarProvider");return e}},5293:(e,t,n)=>{"use strict";n.d(t,{G:()=>b,a:()=>g});var r=n(6540),o=n(8193),a=n(9532),i=n(9466),s=n(6342),l=n(4848);const c=r.createContext(void 0),u="theme",d=(0,i.Wf)(u),p={light:"light",dark:"dark"},f=e=>e===p.dark?p.dark:p.light,h=e=>o.A.canUseDOM?f(document.documentElement.getAttribute("data-theme")):f(e),m=e=>{d.set(f(e))};function g(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.p)(),[o,a]=(0,r.useState)(h(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:o=!0}=r;t?(a(t),o&&m(t)):(a(n?window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",f(o))}),[o]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==u)return;const t=d.get();null!==t&&i(f(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const l=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||l.current?l.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:o,setColorMode:i,get isDarkTheme(){return o===p.dark},setLightTheme(){i(p.light)},setDarkTheme(){i(p.dark)}})),[o,i])}();return(0,l.jsx)(c.Provider,{value:n,children:t})}function b(){const e=(0,r.useContext)(c);if(null==e)throw new a.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},5597:(e,t,n)=>{"use strict";n.d(t,{VQ:()=>b,g1:()=>v});var r=n(6540),o=n(4070),a=n(7065),i=n(6342),s=n(4142),l=n(9532),c=n(9466),u=n(4848);const d=e=>`docs-preferred-version-${e}`,p={save:(e,t,n)=>{(0,c.Wf)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,c.Wf)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,c.Wf)(d(e),{persistence:t}).del()}},f=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const h=r.createContext(null);function m(){const e=(0,o.Gy)(),t=(0,i.p)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[a,s]=(0,r.useState)((()=>f(n)));(0,r.useEffect)((()=>{s(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function o(e){const t=p.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(p.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,o(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[a,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){p.save(e,t,n),s((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function g(e){let{children:t}=e;const n=m();return(0,u.jsx)(h.Provider,{value:n,children:t})}function b(e){let{children:t}=e;return s.C5?(0,u.jsx)(g,{children:t}):(0,u.jsx)(u.Fragment,{children:t})}function y(){const e=(0,r.useContext)(h);if(!e)throw new l.dV("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=a.W);const t=(0,o.ht)(e),[n,i]=y(),{preferredVersionName:s}=n[e];return{preferredVersion:t.versions.find((e=>e.name===s))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}},6588:(e,t,n)=>{"use strict";n.d(t,{V:()=>l,t:()=>c});var r=n(6540),o=n(9532),a=n(4848);const i=Symbol("EmptyContext"),s=r.createContext(i);function l(e){let{children:t,name:n,items:o}=e;const i=(0,r.useMemo)((()=>n&&o?{name:n,items:o}:null),[n,o]);return(0,a.jsx)(s.Provider,{value:i,children:t})}function c(){const e=(0,r.useContext)(s);if(e===i)throw new o.dV("DocsSidebarProvider");return e}},2252:(e,t,n)=>{"use strict";n.d(t,{n:()=>s,r:()=>l});var r=n(6540),o=n(9532),a=n(4848);const i=r.createContext(null);function s(e){let{children:t,version:n}=e;return(0,a.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(null===e)throw new o.dV("DocsVersionProvider");return e}},2069:(e,t,n)=>{"use strict";n.d(t,{M:()=>f,e:()=>p});var r=n(6540),o=n(5600),a=n(4581),i=n(7485),s=n(6342),l=n(9532),c=n(4848);const u=r.createContext(void 0);function d(){const e=function(){const e=(0,o.YL)(),{items:t}=(0,s.p)().navbar;return 0===t.length&&!e.component}(),t=(0,a.l)(),n=!e&&"mobile"===t,[l,c]=(0,r.useState)(!1);(0,i.$Z)((()=>{if(l)return c(!1),!1}));const u=(0,r.useCallback)((()=>{c((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&c(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:u,shown:l})),[e,n,u,l])}function p(e){let{children:t}=e;const n=d();return(0,c.jsx)(u.Provider,{value:n,children:t})}function f(){const e=r.useContext(u);if(void 0===e)throw new l.dV("NavbarMobileSidebarProvider");return e}},5600:(e,t,n)=>{"use strict";n.d(t,{GX:()=>c,YL:()=>l,y_:()=>s});var r=n(6540),o=n(9532),a=n(4848);const i=r.createContext(null);function s(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,a.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(!e)throw new o.dV("NavbarSecondaryMenuContentProvider");return e[0]}function c(e){let{component:t,props:n}=e;const a=(0,r.useContext)(i);if(!a)throw new o.dV("NavbarSecondaryMenuContentProvider");const[,s]=a,l=(0,o.Be)(n);return(0,r.useEffect)((()=>{s({component:t,props:l})}),[s,t,l]),(0,r.useEffect)((()=>()=>s({component:null,props:null})),[s]),null}},4090:(e,t,n)=>{"use strict";n.d(t,{w:()=>o,J:()=>a});var r=n(6540);const o="navigation-with-keyboard";function a(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(o),"mousedown"===e.type&&document.body.classList.remove(o)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(o),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},4581:(e,t,n)=>{"use strict";n.d(t,{l:()=>s});var r=n(6540),o=n(8193);const a={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function s(e){let{desktopBreakpoint:t=i}=void 0===e?{}:e;const[n,s]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){s(function(e){if(!o.A.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>e?a.desktop:a.mobile}(t))}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[t]),n}},7559:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{blogFooterTagsRow:"theme-blog-footer-tags-row",blogFooterEditMetaRow:"theme-blog-footer-edit-meta-row"},pages:{pageFooterEditMetaRow:"theme-pages-footer-edit-meta-row"}}},3109:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{O:()=>r})},4142:(e,t,n)=>{"use strict";n.d(t,{B5:()=>_,C5:()=>p,Nr:()=>f,OF:()=>x,QB:()=>S,Vd:()=>w,Y:()=>y,fW:()=>k,w8:()=>g});var r=n(6540),o=n(6347),a=n(2831),i=n(4070),s=n(5597),l=n(2252),c=n(6588),u=n(1682),d=n(9169);const p=!!i.Gy;function f(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=f(t);if(e)return e}}(e):void 0:e.href}const h=(e,t)=>void 0!==e&&(0,d.ys)(e,t),m=(e,t)=>e.some((e=>g(e,t)));function g(e,t){return"link"===e.type?h(e.href,t):"category"===e.type&&(h(e.href,t)||m(e.items,t))}function b(e,t){switch(e.type){case"category":return g(e,t)||e.items.some((e=>b(e,t)));case"link":return!e.unlisted||g(e,t);default:return!0}}function y(e,t){return(0,r.useMemo)((()=>e.filter((e=>b(e,t)))),[e,t])}function v(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const o=[];return function e(t){for(const a of t)if("category"===a.type&&((0,d.ys)(a.href,n)||e(a.items))||"link"===a.type&&(0,d.ys)(a.href,n)){return r&&"category"!==a.type||o.unshift(a),!0}return!1}(t),o}function x(){const e=(0,c.t)(),{pathname:t}=(0,o.zy)(),n=(0,i.vT)()?.pluginData.breadcrumbs;return!1!==n&&e?v({sidebarItems:e.items,pathname:t}):null}function w(e){const{activeVersion:t}=(0,i.zK)(e),{preferredVersion:n}=(0,s.g1)(e),o=(0,i.r7)(e);return(0,r.useMemo)((()=>(0,u.s)([t,n,o].filter(Boolean))),[t,n,o])}function k(e,t){const n=w(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function S(e,t){const n=w(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${(0,u.s)(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function _(e){let{route:t}=e;const n=(0,o.zy)(),r=(0,l.r)(),i=t.routes,s=i.find((e=>(0,o.B6)(n.pathname,e)));if(!s)return null;const c=s.sidebar,u=c?r.docsSidebars[c]:void 0;return{docElement:(0,a.v)(i),sidebarName:c,sidebarItems:u}}},7485:(e,t,n)=>{"use strict";n.d(t,{$Z:()=>i,aZ:()=>l});var r=n(6540),o=n(6347),a=n(9532);function i(e){!function(e){const t=(0,o.W6)(),n=(0,a._q)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}function s(e){const t=(0,o.W6)();return(0,r.useSyncExternalStore)(t.listen,(()=>e(t)),(()=>e(t)))}function l(e){return s((t=>null===e?null:new URLSearchParams(t.location.search).get(e)))}},1682:(e,t,n)=>{"use strict";function r(e,t){return void 0===t&&(t=(e,t)=>e===t),e.filter(((n,r)=>e.findIndex((e=>t(e,n)))!==r))}function o(e){return Array.from(new Set(e))}n.d(t,{X:()=>r,s:()=>o})},1213:(e,t,n)=>{"use strict";n.d(t,{e3:()=>p,be:()=>u,Jx:()=>f});var r=n(6540),o=n(4164),a=n(5260),i=n(6803),s=n(6025),l=n(4586);var c=n(4848);function u(e){let{title:t,description:n,keywords:r,image:o,children:i}=e;const u=function(e){const{siteConfig:t}=(0,l.A)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,s.h)(),p=o?d(o,{absolute:!0}):void 0;return(0,c.jsxs)(a.A,{children:[t&&(0,c.jsx)("title",{children:u}),t&&(0,c.jsx)("meta",{property:"og:title",content:u}),n&&(0,c.jsx)("meta",{name:"description",content:n}),n&&(0,c.jsx)("meta",{property:"og:description",content:n}),r&&(0,c.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),p&&(0,c.jsx)("meta",{property:"og:image",content:p}),p&&(0,c.jsx)("meta",{name:"twitter:image",content:p}),i]})}const d=r.createContext(void 0);function p(e){let{className:t,children:n}=e;const i=r.useContext(d),s=(0,o.A)(i,t);return(0,c.jsxs)(d.Provider,{value:s,children:[(0,c.jsx)(a.A,{children:(0,c.jsx)("html",{className:s})}),n]})}function f(e){let{children:t}=e;const n=(0,i.A)(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const a=`plugin-id-${n.plugin.id}`;return(0,c.jsx)(p,{className:(0,o.A)(r,a),children:t})}},9532:(e,t,n)=>{"use strict";n.d(t,{Be:()=>c,ZC:()=>s,_q:()=>i,dV:()=>l,fM:()=>u});var r=n(6540),o=n(205),a=n(4848);function i(e){const t=(0,r.useRef)(e);return(0,o.A)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function s(e){const t=(0,r.useRef)();return(0,o.A)((()=>{t.current=e})),t.current}class l extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function c(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function u(e){return t=>{let{children:n}=t;return(0,a.jsx)(a.Fragment,{children:e.reduceRight(((e,t)=>(0,a.jsx)(t,{children:e})),n)})}}},9169:(e,t,n)=>{"use strict";n.d(t,{Dt:()=>s,ys:()=>i});var r=n(6540),o=n(8328),a=n(4586);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function s(){const{baseUrl:e}=(0,a.A)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function o(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(o).flatMap((e=>e.routes??[])))}(n)}({routes:o.A,baseUrl:e})),[e])}},3104:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>f,Tv:()=>u,a_:()=>h,gk:()=>m});var r=n(6540),o=n(8193),a=n(2303),i=n(205),s=n(9532),l=n(4848);const c=r.createContext(void 0);function u(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,l.jsx)(c.Provider,{value:n,children:t})}function d(){const e=(0,r.useContext)(c);if(null==e)throw new s.dV("ScrollControllerProvider");return e}const p=()=>o.A.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function f(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=d(),o=(0,r.useRef)(p()),a=(0,s._q)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=p();a(e,o.current),o.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[a,n,...t])}function h(){const e=d(),t=function(){const e=(0,r.useRef)({elem:null,top:0}),t=(0,r.useCallback)((t=>{e.current={elem:t,top:t.getBoundingClientRect().top}}),[]),n=(0,r.useCallback)((()=>{const{current:{elem:t,top:n}}=e;if(!t)return{restored:!1};const r=t.getBoundingClientRect().top-n;return r&&window.scrollBy({left:0,top:r}),e.current={elem:null,top:0},{restored:0!==r}}),[]);return(0,r.useMemo)((()=>({save:t,restore:n})),[n,t])}(),n=(0,r.useRef)(void 0),o=(0,r.useCallback)((r=>{t.save(r),e.disableScrollEvents(),n.current=()=>{const{restored:r}=t.restore();if(n.current=void 0,r){const t=()=>{e.enableScrollEvents(),window.removeEventListener("scroll",t)};window.addEventListener("scroll",t)}else e.enableScrollEvents()}}),[e,t]);return(0,i.A)((()=>{queueMicrotask((()=>n.current?.()))})),{blockElementScrollPositionUntilNextRender:o}}function m(){const e=(0,r.useRef)(null),t=(0,a.A)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const o=document.documentElement.scrollTop;(n&&o>e||!n&&ot&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},2967:(e,t,n)=>{"use strict";n.d(t,{Cy:()=>r,tU:()=>o});n(4586);const r="default";function o(e,t){return`docs-${e}-${t}`}},9466:(e,t,n)=>{"use strict";n.d(t,{Dv:()=>u,Wf:()=>c});var r=n(6540);const o="localStorage";function a(e){let{key:t,oldValue:n,newValue:r,storage:o}=e;if(n===r)return;const a=document.createEvent("StorageEvent");a.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,o),window.dispatchEvent(a)}function i(e){if(void 0===e&&(e=o),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,s||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),s=!0),null}var t}let s=!1;const l={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function c(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(e);const n=i(t?.persistence);return null===n?l:{get:()=>{try{return n.getItem(e)}catch(t){return console.error(`Docusaurus storage error, can't get key=${e}`,t),null}},set:t=>{try{const r=n.getItem(e);n.setItem(e,t),a({key:e,oldValue:r,newValue:t,storage:n})}catch(r){console.error(`Docusaurus storage error, can't set ${e}=${t}`,r)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),a({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error(`Docusaurus storage error, can't delete key=${e}`,t)}},listen:t=>{try{const r=r=>{r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}catch(r){return console.error(`Docusaurus storage error, can't listen for changes of key=${e}`,r),()=>{}}}}}function u(e,t){const n=(0,r.useRef)((()=>null===e?l:c(e,t))).current(),o=(0,r.useCallback)((e=>"undefined"==typeof window?()=>{}:n.listen(e)),[n]);return[(0,r.useSyncExternalStore)(o,(()=>"undefined"==typeof window?null:n.get()),(()=>null)),n]}},2131:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(4586),o=n(6347),a=n(440);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:s}}=(0,r.A)(),{pathname:l}=(0,o.zy)(),c=(0,a.applyTrailingSlash)(l,{trailingSlash:n,baseUrl:e}),u=s===i?e:e.replace(`/${s}/`,"/"),d=c.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===i?`${u}`:`${u}${e}/`}(n)}${d}`}}}},5062:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(6540),o=n(6347),a=n(9532);function i(e){const t=(0,o.zy)(),n=(0,a.ZC)(t),i=(0,a._q)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6342:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var r=n(4586);function o(){return(0,r.A)().siteConfig.themeConfig}},2983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeTrailingSlash=t.addLeadingSlash=t.addTrailingSlash=void 0;const r=n(2566);function o(e){return e.endsWith("/")?e:`${e}/`}function a(e){return(0,r.removeSuffix)(e,"/")}t.addTrailingSlash=o,t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[i]=e.split(/[#?]/),s="/"===i||i===r?i:(l=i,n?o(l):a(l));var l;return e.replace(i,s)},t.addLeadingSlash=function(e){return(0,r.addPrefix)(e,"/")},t.removeTrailingSlash=a},253:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},440:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.removePrefix=t.addSuffix=t.removeSuffix=t.addPrefix=t.removeTrailingSlash=t.addLeadingSlash=t.addTrailingSlash=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var o=n(2983);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(o).default}}),Object.defineProperty(t,"addTrailingSlash",{enumerable:!0,get:function(){return o.addTrailingSlash}}),Object.defineProperty(t,"addLeadingSlash",{enumerable:!0,get:function(){return o.addLeadingSlash}}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return o.removeTrailingSlash}});var a=n(2566);Object.defineProperty(t,"addPrefix",{enumerable:!0,get:function(){return a.addPrefix}}),Object.defineProperty(t,"removeSuffix",{enumerable:!0,get:function(){return a.removeSuffix}}),Object.defineProperty(t,"addSuffix",{enumerable:!0,get:function(){return a.addSuffix}}),Object.defineProperty(t,"removePrefix",{enumerable:!0,get:function(){return a.removePrefix}});var i=n(253);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return i.getErrorCausalChain}})},2566:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removePrefix=t.addSuffix=t.removeSuffix=t.addPrefix=void 0,t.addPrefix=function(e,t){return e.startsWith(t)?e:`${t}${e}`},t.removeSuffix=function(e,t){return""===t?e:e.endsWith(t)?e.slice(0,-t.length):e},t.addSuffix=function(e,t){return e.endsWith(t)?e:`${e}${t}`},t.removePrefix=function(e,t){return e.startsWith(t)?e.slice(t.length):e}},2849:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});n(6540);var r=n(5391);const o={loadingRing:"loadingRing_RJI3","loading-ring":"loading-ring_FB5o"};var a=n(4848);function i(e){let{className:t}=e;return(0,a.jsxs)("div",{className:(0,r.A)(o.loadingRing,t),children:[(0,a.jsx)("div",{}),(0,a.jsx)("div",{}),(0,a.jsx)("div",{}),(0,a.jsx)("div",{})]})}},5891:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(8291),o=n.n(r),a=n(1088);const i=new Map;function s(e,t){const n=`${e}${t}`;let r=i.get(n);return r||(r=async function(e,t){{const n=`${e}${a.IH.replace("{dir}",t?`-${t.replace(/\//g,"-")}`:"")}`;if(new URL(n,location.origin).origin!==location.origin)throw new Error("Unexpected version url");const r=await(await fetch(n)).json(),i=r.map(((e,t)=>{let{documents:n,index:r}=e;return{type:t,documents:n,index:o().Index.load(r)}})),s=r.reduce(((e,t)=>{for(const n of t.index.invertedIndex)/\p{Unified_Ideograph}/u.test(n[0][0])&&e.add(n[0]);return e}),new Set);return{wrappedIndexes:i,zhDictionary:Array.from(s)}}return{wrappedIndexes:[],zhDictionary:[]}}(e,t),i.set(n,r)),r}},2384:(e,t,n)=>{"use strict";n.d(t,{m:()=>l});var r=n(8291),o=n.n(r);var a=n(1088);function i(e){return s(e).concat(s(e.filter((e=>{const t=e[e.length-1];return!t.trailing&&t.maybeTyping})),!0))}function s(e,t){return e.map((e=>({tokens:e.map((e=>e.value)),term:e.map((e=>({value:e.value,presence:o().Query.presence.REQUIRED,wildcard:(t?e.trailing||e.maybeTyping:e.trailing)?o().Query.wildcard.TRAILING:o().Query.wildcard.NONE})))})))}function l(e,t,n){return function(r,s){const l=function(e,t){if(1===t.length&&["ja","jp","th"].includes(t[0]))return o()[t[0]].tokenizer(e).map((e=>e.toString()));let n=/[^-\s]+/g;return t.includes("zh")&&(n=/\w+|\p{Unified_Ideograph}+/gu),e.toLowerCase().match(n)||[]}(r,a.BH);if(0===l.length)return void s([]);const c=function(e,t){const n=function(e,t){const n=[];return function e(r,o){if(0===r.length)return void n.push(o);const a=r[0];if(/\p{Unified_Ideograph}/u.test(a)){const n=function(e,t){const n=[];return function e(r,o){let a=0,i=!1;for(const s of t)if(r.substr(0,s.length)===s){const t={missed:o.missed,term:o.term.concat({value:s})};r.length>s.length?e(r.substr(s.length),t):n.push(t),i=!0}else for(let t=s.length-1;t>a;t-=1){const l=s.substr(0,t);if(r.substr(0,t)===l){a=t;const s={missed:o.missed,term:o.term.concat({value:l,trailing:!0})};r.length>t?e(r.substr(t),s):n.push(s),i=!0;break}}i||(r.length>0?e(r.substr(1),{missed:o.missed+1,term:o.term}):o.term.length>0&&n.push(o))}(e,{missed:0,term:[]}),n.sort(((e,t)=>{const n=e.missed>0?1:0,r=t.missed>0?1:0;return n!==r?n-r:e.term.length-t.term.length})).map((e=>e.term))}(a,t);for(const t of n){const n=o.concat(...t);e(r.slice(1),n)}}else{const t=o.concat({value:a});e(r.slice(1),t)}}(e,[]),n}(e,t);if(0===n.length)return[{tokens:e,term:e.map((e=>({value:e,presence:o().Query.presence.REQUIRED,wildcard:o().Query.wildcard.LEADING|o().Query.wildcard.TRAILING})))}];for(const o of n)o[o.length-1].maybeTyping=!0;const r=[];for(const i of a.BH)if("en"===i)a.sx||r.unshift(o().stopWordFilter);else{const e=o()[i];e.stopWordFilter&&r.unshift(e.stopWordFilter)}let s;if(r.length>0){const e=e=>r.reduce(((e,t)=>e.filter((e=>t(e.value)))),e);s=[];const t=[];for(const r of n){const n=e(r);s.push(n),n.length0&&t.push(n)}n.push(...t)}else s=n.slice();const l=[];for(const o of s)if(o.length>2)for(let e=o.length-1;e>=0;e-=1)l.push(o.slice(0,e).concat(o.slice(e+1)));return i(n).concat(i(l))}(l,t),u=[];e:for(const{term:t,tokens:o}of c)for(const{documents:r,index:a,type:i}of e)if(u.push(...a.query((e=>{for(const n of t)e.term(n.value,{wildcard:n.wildcard,presence:n.presence})})).slice(0,n).filter((e=>!u.some((t=>t.document.i.toString()===e.ref)))).slice(0,n-u.length).map((t=>{const n=r.find((e=>e.i.toString()===t.ref));return{document:n,type:i,page:0!==i&&e[0].documents.find((e=>e.i===n.p)),metadata:t.matchData.metadata,tokens:o,score:t.score}}))),u.length>=n)break e;!function(e){e.forEach(((e,t)=>{e.index=t})),e.sort(((t,n)=>{let r=t.type>0&&t.page?e.findIndex((e=>e.document===t.page)):t.index,o=n.type>0&&n.page?e.findIndex((e=>e.document===n.page)):n.index;return-1===r&&(r=t.index),-1===o&&(o=n.index),r===o?0===t.type?-1:0===n.type?1:t.index-n.index:r-o}))}(u),function(e){e.forEach(((t,n)=>{n>0&&t.page&&e.some((e=>e.document===t.page))&&(n{"use strict";function r(e){return e.join(" \u203a ")}n.d(t,{$:()=>r})},3103:(e,t,n)=>{"use strict";function r(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}n.d(t,{Z:()=>r})},7674:(e,t,n)=>{"use strict";function r(e,t){const n=[];for(const r of Object.values(e))r[t]&&n.push(...r[t].position);return n.sort(((e,t)=>e[0]-t[0]||t[1]-e[1]))}n.d(t,{g:()=>r})},6841:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(3103);function o(e,t,n){const a=[];for(const i of t){const n=e.toLowerCase().indexOf(i);if(n>=0){n>0&&a.push(o(e.substr(0,n),t)),a.push(`${(0,r.Z)(e.substr(n,i.length))}`);const s=n+i.length;s${(0,r.Z)(e)}`:(0,r.Z)(e):a.join("")}},3810:(e,t,n)=>{"use strict";n.d(t,{C:()=>l});var r=n(3103),o=n(6841);const a=/\w+|\p{Unified_Ideograph}/u;function i(e){const t=[];let n=0,r=e;for(;r.length>0;){const o=r.match(a);if(!o){t.push(r);break}o.index>0&&t.push(r.substring(0,o.index)),t.push(o[0]),n+=o.index+o[0].length,r=e.substring(n)}return t}var s=n(1088);function l(e,t,n,a){void 0===a&&(a=s.rG);const{chunkIndex:l,chunks:c}=function(e,t,n){const a=[];let s=0,l=0,c=-1;for(;sl){const t=i(e.substring(l,u)).map((e=>({html:(0,r.Z)(e),textLength:e.length})));for(const e of t)a.push(e)}-1===c&&(c=a.length),l=u+d,a.push({html:(0,o.Z)(e.substring(u,l),n,!0),textLength:d})}}if(l({html:(0,r.Z)(e),textLength:e.length})));for(const e of t)a.push(e)}return{chunkIndex:c,chunks:a}}(e,t,n),u=c.slice(0,l),d=c[l],p=[d.html],f=c.slice(l+1);let h=d.textLength,m=0,g=0,b=!1,y=!1;for(;h0){const e=u.pop();h+e.textLength<=a?(p.unshift(e.html),m+=e.textLength,h+=e.textLength):(b=!0,u.length=0)}else{if(!(f.length>0))break;{const e=f.shift();h+e.textLength<=a?(p.push(e.html),g+=e.textLength,h+=e.textLength):(y=!0,f.length=0)}}return(b||u.length>0)&&p.unshift("\u2026"),(y||f.length>0)&&p.push("\u2026"),p.join("")}},3385:(e,t,n)=>{"use strict";function r(e,t){if("string"==typeof e)return{label:e,path:e};{const{label:n,path:r}=e;return"string"==typeof n?{label:n,path:r}:Object.prototype.hasOwnProperty.call(n,t)?{label:n[t],path:r}:{label:r,path:r}}}n.d(t,{p:()=>r})},1088:(e,t,n)=>{"use strict";n.d(t,{CU:()=>a,UB:()=>f,tb:()=>c,O6:()=>g,I$:()=>h,BH:()=>r,sx:()=>o,ZG:()=>p,WW:()=>u,pk:()=>d,Hg:()=>m,IH:()=>i,rG:()=>l,AT:()=>s,dz:()=>b});n(8291);const r=["en"],o=!1,a=null,i="search-index{dir}.json",s=8,l=50,c=!1,u=!0,d=!0,p="right",f=void 0,h=!0,m=null,g=!1,b=!1},1513:(e,t,n)=>{"use strict";n.d(t,{zR:()=>x,TM:()=>C,yJ:()=>f,sC:()=>T,AO:()=>p});var r=n(8168);function o(e){return"/"===e.charAt(0)}function a(e,t){for(var n=t,r=n+1,o=e.length;r=0;p--){var f=i[p];"."===f?a(i,p):".."===f?(a(i,p),d++):d&&(a(i,p),d--)}if(!c)for(;d--;d)i.unshift("..");!c||""===i[0]||i[0]&&o(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var s=n(1561);function l(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function u(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function f(e,t,n,o){var a;"string"==typeof e?(a=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),a.state=t):(void 0===(a=(0,r.A)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(a.key=n),o?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=i(a.pathname,o.pathname)):a.pathname=o.pathname:a.pathname||(a.pathname="/"),a}function h(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):o(!0):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,o):n.push(o),d({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=f(e,t,m(),x.location);u.confirmTransitionTo(o,r,n,(function(e){e&&(x.entries[x.index]=o,d({action:r,location:o}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=x.index+e;return t>=0&&t{"use strict";var r=n(4363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=l(t),m=l(n),g=0;g{"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,a,i,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},4634:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},8291:(e,t,n)=>{var r,o;!function(){var a,i,s,l,c,u,d,p,f,h,m,g,b,y,v,x,w,k,S,_,E,C,A,T,P,L,N,O,R,j,I=function(e){var t=new I.Builder;return t.pipeline.add(I.trimmer,I.stopWordFilter,I.stemmer),t.searchPipeline.add(I.stemmer),e.call(t,t),t.build()};I.version="2.3.9",I.utils={},I.utils.warn=(a=this,function(e){a.console&&console.warn&&console.warn(e)}),I.utils.asString=function(e){return null==e?"":e.toString()},I.utils.clone=function(e){if(null==e)return e;for(var t=Object.create(null),n=Object.keys(e),r=0;r0){var l=I.utils.clone(t)||{};l.position=[i,s],l.index=o.length,o.push(new I.Token(n.slice(i,a),l))}i=a+1}}return o},I.tokenizer.separator=/[\s\-]+/,I.Pipeline=function(){this._stack=[]},I.Pipeline.registeredFunctions=Object.create(null),I.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&I.utils.warn("Overwriting existing registered function: "+t),e.label=t,I.Pipeline.registeredFunctions[e.label]=e},I.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||I.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},I.Pipeline.load=function(e){var t=new I.Pipeline;return e.forEach((function(e){var n=I.Pipeline.registeredFunctions[e];if(!n)throw new Error("Cannot load unregistered function: "+e);t.add(n)})),t},I.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach((function(e){I.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},I.Pipeline.prototype.after=function(e,t){I.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");n+=1,this._stack.splice(n,0,t)},I.Pipeline.prototype.before=function(e,t){I.Pipeline.warnIfFunctionNotRegistered(t);var n=this._stack.indexOf(e);if(-1==n)throw new Error("Cannot find existingFn");this._stack.splice(n,0,t)},I.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},I.Pipeline.prototype.run=function(e){for(var t=this._stack.length,n=0;n1&&(ae&&(n=o),a!=e);)r=n-t,o=t+Math.floor(r/2),a=this.elements[2*o];return a==e||a>e?2*o:as?c+=2:i==s&&(t+=n[l+1]*r[c+1],l+=2,c+=2);return t},I.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},I.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,n=0;t0){var a,i=o.str.charAt(0);i in o.node.edges?a=o.node.edges[i]:(a=new I.TokenSet,o.node.edges[i]=a),1==o.str.length&&(a.final=!0),r.push({node:a,editsRemaining:o.editsRemaining,str:o.str.slice(1)})}if(0!=o.editsRemaining){if("*"in o.node.edges)var s=o.node.edges["*"];else{s=new I.TokenSet;o.node.edges["*"]=s}if(0==o.str.length&&(s.final=!0),r.push({node:s,editsRemaining:o.editsRemaining-1,str:o.str}),o.str.length>1&&r.push({node:o.node,editsRemaining:o.editsRemaining-1,str:o.str.slice(1)}),1==o.str.length&&(o.node.final=!0),o.str.length>=1){if("*"in o.node.edges)var l=o.node.edges["*"];else{l=new I.TokenSet;o.node.edges["*"]=l}1==o.str.length&&(l.final=!0),r.push({node:l,editsRemaining:o.editsRemaining-1,str:o.str.slice(1)})}if(o.str.length>1){var c,u=o.str.charAt(0),d=o.str.charAt(1);d in o.node.edges?c=o.node.edges[d]:(c=new I.TokenSet,o.node.edges[d]=c),1==o.str.length&&(c.final=!0),r.push({node:c,editsRemaining:o.editsRemaining-1,str:u+o.str.slice(2)})}}}return n},I.TokenSet.fromString=function(e){for(var t=new I.TokenSet,n=t,r=0,o=e.length;r=e;t--){var n=this.uncheckedNodes[t],r=n.child.toString();r in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[r]:(n.child._str=r,this.minimizedNodes[r]=n.child),this.uncheckedNodes.pop()}},I.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},I.Index.prototype.search=function(e){return this.query((function(t){new I.QueryParser(e,t).parse()}))},I.Index.prototype.query=function(e){for(var t=new I.Query(this.fields),n=Object.create(null),r=Object.create(null),o=Object.create(null),a=Object.create(null),i=Object.create(null),s=0;s1?1:e},I.Builder.prototype.k1=function(e){this._k1=e},I.Builder.prototype.add=function(e,t){var n=e[this._ref],r=Object.keys(this._fields);this._documents[n]=t||{},this.documentCount+=1;for(var o=0;o=this.length)return I.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},I.QueryLexer.prototype.width=function(){return this.pos-this.start},I.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},I.QueryLexer.prototype.backup=function(){this.pos-=1},I.QueryLexer.prototype.acceptDigitRun=function(){var e,t;do{t=(e=this.next()).charCodeAt(0)}while(t>47&&t<58);e!=I.QueryLexer.EOS&&this.backup()},I.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(I.QueryLexer.TERM)),e.ignore(),e.more())return I.QueryLexer.lexText},I.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(I.QueryLexer.EDIT_DISTANCE),I.QueryLexer.lexText},I.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(I.QueryLexer.BOOST),I.QueryLexer.lexText},I.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(I.QueryLexer.TERM)},I.QueryLexer.termSeparator=I.tokenizer.separator,I.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==I.QueryLexer.EOS)return I.QueryLexer.lexEOS;if(92!=t.charCodeAt(0)){if(":"==t)return I.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(I.QueryLexer.TERM),I.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(I.QueryLexer.TERM),I.QueryLexer.lexBoost;if("+"==t&&1===e.width())return e.emit(I.QueryLexer.PRESENCE),I.QueryLexer.lexText;if("-"==t&&1===e.width())return e.emit(I.QueryLexer.PRESENCE),I.QueryLexer.lexText;if(t.match(I.QueryLexer.termSeparator))return I.QueryLexer.lexTerm}else e.escapeCharacter()}},I.QueryParser=function(e,t){this.lexer=new I.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},I.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=I.QueryParser.parseClause;e;)e=e(this);return this.query},I.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},I.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},I.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},I.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(null!=t)switch(t.type){case I.QueryLexer.PRESENCE:return I.QueryParser.parsePresence;case I.QueryLexer.FIELD:return I.QueryParser.parseField;case I.QueryLexer.TERM:return I.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(n+=" with value '"+t.str+"'"),new I.QueryParseError(n,t.start,t.end)}},I.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(null!=t){switch(t.str){case"-":e.currentClause.presence=I.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=I.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+t.str+"'";throw new I.QueryParseError(n,t.start,t.end)}var r=e.peekLexeme();if(null==r){n="expecting term or field, found nothing";throw new I.QueryParseError(n,t.start,t.end)}switch(r.type){case I.QueryLexer.FIELD:return I.QueryParser.parseField;case I.QueryLexer.TERM:return I.QueryParser.parseTerm;default:n="expecting term or field, found '"+r.type+"'";throw new I.QueryParseError(n,r.start,r.end)}}},I.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(null!=t){if(-1==e.query.allFields.indexOf(t.str)){var n=e.query.allFields.map((function(e){return"'"+e+"'"})).join(", "),r="unrecognised field '"+t.str+"', possible fields: "+n;throw new I.QueryParseError(r,t.start,t.end)}e.currentClause.fields=[t.str];var o=e.peekLexeme();if(null==o){r="expecting term, found nothing";throw new I.QueryParseError(r,t.start,t.end)}if(o.type===I.QueryLexer.TERM)return I.QueryParser.parseTerm;r="expecting term, found '"+o.type+"'";throw new I.QueryParseError(r,o.start,o.end)}},I.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(null!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(null!=n)switch(n.type){case I.QueryLexer.TERM:return e.nextClause(),I.QueryParser.parseTerm;case I.QueryLexer.FIELD:return e.nextClause(),I.QueryParser.parseField;case I.QueryLexer.EDIT_DISTANCE:return I.QueryParser.parseEditDistance;case I.QueryLexer.BOOST:return I.QueryParser.parseBoost;case I.QueryLexer.PRESENCE:return e.nextClause(),I.QueryParser.parsePresence;default:var r="Unexpected lexeme type '"+n.type+"'";throw new I.QueryParseError(r,n.start,n.end)}else e.nextClause()}},I.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var r="edit distance must be numeric";throw new I.QueryParseError(r,t.start,t.end)}e.currentClause.editDistance=n;var o=e.peekLexeme();if(null!=o)switch(o.type){case I.QueryLexer.TERM:return e.nextClause(),I.QueryParser.parseTerm;case I.QueryLexer.FIELD:return e.nextClause(),I.QueryParser.parseField;case I.QueryLexer.EDIT_DISTANCE:return I.QueryParser.parseEditDistance;case I.QueryLexer.BOOST:return I.QueryParser.parseBoost;case I.QueryLexer.PRESENCE:return e.nextClause(),I.QueryParser.parsePresence;default:r="Unexpected lexeme type '"+o.type+"'";throw new I.QueryParseError(r,o.start,o.end)}else e.nextClause()}},I.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(null!=t){var n=parseInt(t.str,10);if(isNaN(n)){var r="boost must be numeric";throw new I.QueryParseError(r,t.start,t.end)}e.currentClause.boost=n;var o=e.peekLexeme();if(null!=o)switch(o.type){case I.QueryLexer.TERM:return e.nextClause(),I.QueryParser.parseTerm;case I.QueryLexer.FIELD:return e.nextClause(),I.QueryParser.parseField;case I.QueryLexer.EDIT_DISTANCE:return I.QueryParser.parseEditDistance;case I.QueryLexer.BOOST:return I.QueryParser.parseBoost;case I.QueryLexer.PRESENCE:return e.nextClause(),I.QueryParser.parsePresence;default:r="Unexpected lexeme type '"+o.type+"'";throw new I.QueryParseError(r,o.start,o.end)}else e.nextClause()}},void 0===(o="function"==typeof(r=function(){return I})?r.call(t,n,t,e):r)||(e.exports=o)}()},119:(e,t,n)=>{"use strict";n.r(t)},1043:(e,t,n)=>{"use strict";n.r(t)},5947:function(e,t,n){var r,o;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function o(e,t,n){return en?n:e}function a(e){return 100*(-1+e)}function i(e,t,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+a(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+a(e)+"%,0)"}:{"margin-left":a(e)+"%"}).transition="all "+t+"ms "+n,o}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,r.minimum,1),n.status=1===e?null:e;var a=n.render(!t),c=a.querySelector(r.barSelector),u=r.speed,d=r.easing;return a.offsetWidth,s((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),l(c,i(e,u,d)),1===e?(l(a,{transition:"none",opacity:1}),a.offsetWidth,setTimeout((function(){l(a,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var o,i=t.querySelector(r.barSelector),s=e?"-100":a(n.status||0),c=document.querySelector(r.parent);return l(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&f(o),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,a=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+a)in n)return r;return t}function o(e){return e=n(e),t[e]||(t[e]=r(e))}function a(e,t,n){t=o(t),e.style[t]=n}return function(e,t){var n,r,o=arguments;if(2==o.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&a(e,n,r);else a(e,o[1],o[2])}}();function c(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=p(e),r=n+t;c(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=p(e);c(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},5302:(e,t,n)=>{var r=n(4634);e.exports=f,e.exports.parse=a,e.exports.compile=function(e,t){return s(a(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=p;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(e,t){for(var n,r=[],a=0,i=0,s="",u=t&&t.delimiter||"/";null!=(n=o.exec(e));){var d=n[0],p=n[1],f=n.index;if(s+=e.slice(i,f),i=f+d.length,p)s+=p[1];else{var h=e[i],m=n[2],g=n[3],b=n[4],y=n[5],v=n[6],x=n[7];s&&(r.push(s),s="");var w=null!=m&&null!=h&&h!==m,k="+"===v||"*"===v,S="?"===v||"*"===v,_=n[2]||u,E=b||y;r.push({name:g||a++,prefix:m||"",delimiter:_,optional:S,repeat:k,partial:w,asterisk:!!x,pattern:E?c(E):x?".*":"[^"+l(_)+"]+?"})}}return i{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(4784),o=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},r=window.Promise||function(e){function t(){}e(t,t)},a=function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{}).target,t=function(){var e={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},t=void 0,n=void 0;if(b.container)if(b.container instanceof Object)t=(e=o({},e,b.container)).width-e.left-e.right-2*b.margin,n=e.height-e.top-e.bottom-2*b.margin;else{var r=(i(b.container)?b.container:document.querySelector(b.container)).getBoundingClientRect(),a=r.width,l=r.height,c=r.left,u=r.top;e=o({},e,{width:a,height:l,left:c,top:u})}t=t||e.width-2*b.margin,n=n||e.height-2*b.margin;var d=y.zoomedHd||y.original,p=s(d)?t:d.naturalWidth||t,f=s(d)?n:d.naturalHeight||n,h=d.getBoundingClientRect(),m=h.top,g=h.left,v=h.width,x=h.height,w=Math.min(Math.max(v,p),t)/v,k=Math.min(Math.max(x,f),n)/x,S=Math.min(w,k),_="scale("+S+") translate3d("+((t-v)/2-g+b.margin+e.left)/S+"px, "+((n-x)/2-m+b.margin+e.top)/S+"px, 0)";y.zoomed.style.transform=_,y.zoomedHd&&(y.zoomedHd.style.transform=_)};return new r((function(n){if(e&&-1===f.indexOf(e))n(x);else{if(y.zoomed)n(x);else{if(e)y.original=e;else{if(!(f.length>0))return void n(x);var r=f;y.original=r[0]}if(y.original.dispatchEvent(c("medium-zoom:open",{detail:{zoom:x}})),g=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,m=!0,y.zoomed=function(e){var t=e.getBoundingClientRect(),n=t.top,r=t.left,o=t.width,a=t.height,i=e.cloneNode(),s=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,l=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return i.removeAttribute("id"),i.style.position="absolute",i.style.top=n+s+"px",i.style.left=r+l+"px",i.style.width=o+"px",i.style.height=a+"px",i.style.transform="",i}(y.original),document.body.appendChild(v),b.template){var o=i(b.template)?b.template:document.querySelector(b.template);y.template=document.createElement("div"),y.template.appendChild(o.content.cloneNode(!0)),document.body.appendChild(y.template)}if(y.original.parentElement&&"PICTURE"===y.original.parentElement.tagName&&y.original.currentSrc&&(y.zoomed.src=y.original.currentSrc),document.body.appendChild(y.zoomed),window.requestAnimationFrame((function(){document.body.classList.add("medium-zoom--opened")})),y.original.classList.add("medium-zoom-image--hidden"),y.zoomed.classList.add("medium-zoom-image--opened"),y.zoomed.addEventListener("click",d),y.zoomed.addEventListener("transitionend",(function e(){m=!1,y.zoomed.removeEventListener("transitionend",e),y.original.dispatchEvent(c("medium-zoom:opened",{detail:{zoom:x}})),n(x)})),y.original.getAttribute("data-zoom-src")){y.zoomedHd=y.zoomed.cloneNode(),y.zoomedHd.removeAttribute("srcset"),y.zoomedHd.removeAttribute("sizes"),y.zoomedHd.removeAttribute("loading"),y.zoomedHd.src=y.zoomed.getAttribute("data-zoom-src"),y.zoomedHd.onerror=function(){clearInterval(a),console.warn("Unable to reach the zoom image target "+y.zoomedHd.src),y.zoomedHd=null,t()};var a=setInterval((function(){y.zoomedHd.complete&&(clearInterval(a),y.zoomedHd.classList.add("medium-zoom-image--opened"),y.zoomedHd.addEventListener("click",d),document.body.appendChild(y.zoomedHd),t())}),10)}else if(y.original.hasAttribute("srcset")){y.zoomedHd=y.zoomed.cloneNode(),y.zoomedHd.removeAttribute("sizes"),y.zoomedHd.removeAttribute("loading");var s=y.zoomedHd.addEventListener("load",(function(){y.zoomedHd.removeEventListener("load",s),y.zoomedHd.classList.add("medium-zoom-image--opened"),y.zoomedHd.addEventListener("click",d),document.body.appendChild(y.zoomedHd),t()}))}else t()}}}))},d=function(){return new r((function(e){if(!m&&y.original){m=!0,document.body.classList.remove("medium-zoom--opened"),y.zoomed.style.transform="",y.zoomedHd&&(y.zoomedHd.style.transform=""),y.template&&(y.template.style.transition="opacity 150ms",y.template.style.opacity=0),y.original.dispatchEvent(c("medium-zoom:close",{detail:{zoom:x}})),y.zoomed.addEventListener("transitionend",(function t(){y.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(y.zoomed),y.zoomedHd&&document.body.removeChild(y.zoomedHd),document.body.removeChild(v),y.zoomed.classList.remove("medium-zoom-image--opened"),y.template&&document.body.removeChild(y.template),m=!1,y.zoomed.removeEventListener("transitionend",t),y.original.dispatchEvent(c("medium-zoom:closed",{detail:{zoom:x}})),y.original=null,y.zoomed=null,y.zoomedHd=null,y.template=null,e(x)}))}else e(x)}))},p=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).target;return y.original?d():u({target:e})},f=[],h=[],m=!1,g=0,b=n,y={original:null,zoomed:null,zoomedHd:null,template:null};"[object Object]"===Object.prototype.toString.call(t)?b=t:(t||"string"==typeof t)&&a(t);var v=function(e){var t=document.createElement("div");return t.classList.add("medium-zoom-overlay"),t.style.background=e,t}((b=o({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},b)).background);document.addEventListener("click",(function(e){var t=e.target;t!==v?-1!==f.indexOf(t)&&p({target:t}):d()})),document.addEventListener("keyup",(function(e){var t=e.key||e.keyCode;"Escape"!==t&&"Esc"!==t&&27!==t||d()})),document.addEventListener("scroll",(function(){if(!m&&y.original){var e=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(g-e)>b.scrollOffset&&setTimeout(d,150)}})),window.addEventListener("resize",d);var x={open:u,close:d,toggle:p,update:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e;if(e.background&&(v.style.background=e.background),e.container&&e.container instanceof Object&&(t.container=o({},b.container,e.container)),e.template){var n=i(e.template)?e.template:document.querySelector(e.template);t.template=n}return b=o({},b,t),f.forEach((function(e){e.dispatchEvent(c("medium-zoom:update",{detail:{zoom:x}}))})),x},clone:function(){return e(o({},b,arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}))},attach:a,detach:function(){for(var e=arguments.length,t=Array(e),n=0;n0?t.reduce((function(e,t){return[].concat(e,l(t))}),[]):f;return r.forEach((function(e){e.classList.remove("medium-zoom-image"),e.dispatchEvent(c("medium-zoom:detach",{detail:{zoom:x}}))})),f=f.filter((function(e){return-1===r.indexOf(e)})),x},on:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f.forEach((function(r){r.addEventListener("medium-zoom:"+e,t,n)})),h.push({type:"medium-zoom:"+e,listener:t,options:n}),x},off:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return f.forEach((function(r){r.removeEventListener("medium-zoom:"+e,t,n)})),h=h.filter((function(n){return!(n.type==="medium-zoom:"+e&&n.listener.toString()===t.toString())})),x},getOptions:function(){return b},getImages:function(){return f},getZoomedImage:function(){return y.original}};return x},{themeConfig:d}=r.default,p=function(){if("undefined"==typeof window)return null;const{zoomSelector:e=".markdown img"}=d,{imageZoom:{selector:t=e,options:n}={}}=d;return setTimeout((()=>{u(t,n)}),1e3),{onRouteUpdate({location:e,previousLocation:r}){e&&e.hash&&e.hash.length||r&&e.pathname!==r.pathname&&setTimeout((()=>{u(t,n)}),1e3)}}}()},7022:()=>{!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=r.variable[1].inside,i=0;i{!function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],o=[];/^\w+$/.test(n)||o.push(/\w+/.exec(n)[0]),"diff"===n&&o.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(Prism)},6976:()=>{!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:r.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:r.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:r.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism)},2514:()=>{Prism.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},Prism.languages.webmanifest=Prism.languages.json},5294:()=>{!function(e){var t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,n={"equation-command":{pattern:t,alias:"regex"}};e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}(Prism)},9700:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,o,a){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(o,(function(e){if("function"==typeof a&&!a(e))return e;for(var o,s=i.length;-1!==n.code.indexOf(o=t(r,s));)++s;return i[s]=e,o})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var o=0,a=Object.keys(n.tokenStack);!function i(s){for(var l=0;l=a.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=a[o],d=n.tokenStack[u],p="string"==typeof c?c:c.content,f=t(r,u),h=p.indexOf(f);if(h>-1){++o;var m=p.substring(0,h),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(h+f.length),y=[];m&&y.push.apply(y,i([m])),y.push(g),b&&y.push.apply(y,i([b])),"string"==typeof c?s.splice.apply(s,[l,1].concat(y)):c.content=y}}else c.content&&i(c.content)}return s}(n.tokens)}}}})}(Prism)},875:(e,t,n)=>{var r={"./prism-bash":7022,"./prism-diff":7839,"./prism-java":6976,"./prism-json":2514,"./prism-latex":5294};function o(e){var t=a(e);return n(t)}function a(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=a,e.exports=o,o.id=875},2694:(e,t,n)=>{"use strict";var r=n(6925);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2551:(e,t,n)=>{"use strict";var r=n(6540),o=n(9982);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n