reg-cli 0.18.0 → 0.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/report.js +2 -0
- package/package.json +3 -2
- package/report/ui/README.md +3 -3
- package/report/ui/dist/report.js +122 -2
- package/report/ui/dist/worker.js +1568 -1
- package/template/template.html +1 -1
package/report/ui/dist/report.js
CHANGED
|
@@ -1,2 +1,122 @@
|
|
|
1
|
-
|
|
2
|
-
(()=>{var e={"./node_modules/@babel/runtime/regenerator/index.js":(e,t,n)=>{e.exports=n("./node_modules/regenerator-runtime/runtime.js")},"./src/index.tsx":(e,t,n)=>{"use strict";var r=n("./node_modules/preact/compat/dist/compat.module.js"),i=n("./node_modules/react-hot-loader/dist/react-hot-loader.production.min.js");function o(e){var t=r.default.createContext(null);return{Provider:function(n){var i=e(n.initialState);return r.default.createElement(t.Provider,{value:i},n.children)},useContainer:function(){var e=r.default.useContext(t);if(null===e)throw new Error("Component must be wrapped with <Container.Provider>");return e}}}const a=(e,t,n)=>{const r=(e,n)=>t[e].replace(/\/$/,"")+"/"+n.replace(/^\//,"");return n.map((t=>({id:"".concat(e,"-").concat(t.encoded).replace(/[=?]/g,"-"),variant:e,name:t.raw,diff:r("diff",t.encoded).replace(/\.[^.]+$/,".png"),before:r("expected",t.encoded),after:r("actual",t.encoded)})))},s=e=>{const t=[];return e.forEach((e=>{const n=e.id,r=e.name,i=r.split("/");let o=t;i.forEach((e=>{const t=o.find((t=>t.name===e));if(null!=t)o=t.children;else{const t={id:n,path:r,name:e,children:[]};o.push(t),o=t.children}}))})),t},l=(0,r.createContext)(null);let c;!function(e){e.INIT_CALC="init",e.REQUEST_CALC="req_calc",e.RESULT_CALC="res_calc",e.REQUEST_FILTER="req_filter",e.RESULT_FILTER="res_filter"}(c||(c={}));const u=o((e=>{if(null==e)throw new Error("Unexpected error occurred");const t=(0,r.useContext)(l),[n,i]=(0,r.useState)(!1),o={diff:e.diffDir,expected:e.expectedDir,actual:e.actualDir},s=(0,r.useMemo)((()=>a("new",o,e.newItems)),[e.newItems]),u=(0,r.useMemo)((()=>a("passed",o,e.passedItems)),[e.passedItems]),d=(0,r.useMemo)((()=>a("changed",o,e.failedItems)),[e.failedItems]),f=(0,r.useMemo)((()=>a("deleted",o,e.deletedItems)),[e.deletedItems]),[p,h]=(0,r.useState)(s),[m,v]=(0,r.useState)(u),[g,y]=(0,r.useState)(d),[b,w]=(0,r.useState)(f),_=(0,r.useMemo)((()=>[...g,...p,...b,...m]),[p,m,g,b]);return(0,r.useEffect)((()=>{null!=t&&t.subscribe(c.RESULT_FILTER,(e=>{h(e.newItems),v(e.passedItems),y(e.failedItems),w(e.deletedItems)}))}),[t]),{newItems:p,passedItems:m,failedItems:g,deletedItems:b,allItems:_,filtering:n,filter:e=>{if(null==t)return;const n=e.trim();i(""!==n),t.requestFilter({input:n,newItems:s,passedItems:u,failedItems:d,deletedItems:f})}}}));var d=n("./node_modules/query-string/index.js");function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var p,h=p||(p={});h.Pop="POP",h.Push="PUSH",h.Replace="REPLACE";function m(e){e.preventDefault(),e.returnValue=""}function v(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}const g=function(e){function t(){var e=a.location,t=s.state||{};return[t.idx,{pathname:e.pathname,search:e.search,hash:e.hash,state:t.usr||null,key:t.key||"default"}]}function n(e){if("string"==typeof e)var t=e;else{t=e.pathname;var n=e.search;t=(void 0===t?"/":t)+(void 0===n?"":n)+(void 0===(e=e.hash)?"":e)}return t}function r(e,t){void 0===t&&(t=null);var n=f,r=d;if("string"==typeof e){var i={};if(e){var o=e.indexOf("#");0<=o&&(i.hash=e.substr(o),e=e.substr(0,o)),0<=(o=e.indexOf("?"))&&(i.search=e.substr(o),e=e.substr(0,o)),e&&(i.pathname=e)}e=i}return n({},r,{},e,{state:t,key:Math.random().toString(36).substr(2,8)})}function i(e){c=e,e=t(),u=e[0],d=e[1],h.call({action:c,location:d})}function o(e){s.go(e)}void 0===e&&(e={});var a=void 0===(e=e.window)?document.defaultView:e,s=a.history,l=null;a.addEventListener("popstate",(function(){if(l)g.call(l),l=null;else{var e=p.Pop,n=t(),r=n[0];if(n=n[1],g.length){if(null!=r){var a=u-r;a&&(l={action:e,location:n,retry:function(){o(-1*a)}},o(a))}}else i(e)}}));var c=p.Pop,u=(e=t())[0],d=e[1],h=v(),g=v();return null==u&&(u=0,s.replaceState(f({},s.state,{idx:u}),"")),{get action(){return c},get location(){return d},createHref:n,push:function e(t,o){var l=p.Push,c=r(t,o);if(!g.length||(g.call({action:l,location:c,retry:function(){e(t,o)}}),0)){var d=[{usr:c.state,key:c.key,idx:u+1},n(c)];c=d[0],d=d[1];try{s.pushState(c,"",d)}catch(e){a.location.assign(d)}i(l)}},replace:function e(t,o){var a=p.Replace,l=r(t,o);g.length&&(g.call({action:a,location:l,retry:function(){e(t,o)}}),1)||(l=[{usr:l.state,key:l.key,idx:u},n(l)],s.replaceState(l[0],"",l[1]),i(a))},go:o,back:function(){o(-1)},forward:function(){o(1)},listen:function(e){return h.push(e)},block:function(e){var t=g.push(e);return 1===g.length&&a.addEventListener("beforeunload",m),function(){t(),g.length||a.removeEventListener("beforeunload",m)}}}}(),y=(0,r.createContext)(g),b=({children:e})=>r.default.createElement(y.Provider,{value:g},e),w=()=>(0,r.useContext)(y),_={entity:null,matching:null,index:-1},E=o((()=>{const e=w(),t=(0,r.useContext)(l),{allItems:n}=u.useContainer(),i=(0,r.useRef)(0),[o,a]=(0,r.useState)(_),[s,f]=(0,r.useState)(!0),p=t=>{e.push({search:"?id=".concat(t)})};return(0,r.useEffect)((()=>{const{entity:e}=o;if(null==t||null==e||!1===s)return;const n=e=>{i.current===e.seq&&a({...o,matching:e.result})};return t.subscribe(c.RESULT_CALC,n),null==o.matching&&"changed"===e.variant&&(i.current=t.requestCalc({raw:e.name,actualSrc:e.after,expectedSrc:e.before})),()=>t.unsubscribe(c.RESULT_CALC,n)}),[s,t,o]),(0,r.useEffect)((()=>{const t=e=>{const t=d.parse(e.search,{decode:!1}).id;if("string"==typeof t&&""!==t){const e=n.findIndex((e=>e.id===t));e>-1&&a({entity:n[e],index:e,matching:null})}else a(_)};return t(e.location),e.listen((({location:e})=>{t(e)}))}),[e]),{current:o,markersEnabled:s,open:p,close:()=>{e.push({search:""})},next:()=>{o.index+1<n.length?p(n[o.index+1].id):p(n[0].id)},previous:()=>{o.index-1>=0?p(n[o.index-1].id):p(n[n.length-1].id)},toggleMarkers:()=>{const e=!s;f(e),e||null==o.matching||a((e=>({...e,matching:null})))}}})),x=o((()=>{const[e,t]=(0,r.useState)("");return(0,r.useEffect)((()=>{const e=setTimeout((()=>{t("")}),5e3);return()=>clearTimeout(e)}),[e]),{show:""!==e,message:e,notify:e=>t(e)}}));function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const k=r.default.createContext({hash:"#",consumed:!0,consume:()=>{}});class S{constructor(){C(this,"_",!1),C(this,"hash",location.hash)}consume(){this._=!0}get consumed(){return this._}}const O=({children:e})=>{const t=new S;return r.default.createElement(k.Provider,{value:t},e)},A=e=>{const[t,n]=(0,r.useState)((()=>window.matchMedia(e).matches));return(0,r.useEffect)((()=>{let t=!0;const r=window.matchMedia(e),i=()=>{t&&n(r.matches)};return r.addListener(i),n(r.matches),()=>{t=!1,r.removeListener(i)}}),[e]),t};var T=n("./node_modules/react-is/index.js"),L=n("./node_modules/shallowequal/index.js"),I=n.n(L);const N=function(e){function t(e,r,l,c,f){for(var p,h,m,v,w,E=0,x=0,C=0,k=0,S=0,N=0,M=m=p=0,D=0,j=0,z=0,F=0,H=l.length,B=H-1,U="",W="",V="",G="";D<H;){if(h=l.charCodeAt(D),D===B&&0!==x+k+C+E&&(0!==x&&(h=47===x?10:47),k=C=E=0,H++,B++),0===x+k+C+E){if(D===B&&(0<j&&(U=U.replace(d,"")),0<U.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:U+=l.charAt(D)}h=59}switch(h){case 123:for(p=(U=U.trim()).charCodeAt(0),m=1,F=++D;D<H;){switch(h=l.charCodeAt(D)){case 123:m++;break;case 125:m--;break;case 47:switch(h=l.charCodeAt(D+1)){case 42:case 47:e:{for(M=D+1;M<B;++M)switch(l.charCodeAt(M)){case 47:if(42===h&&42===l.charCodeAt(M-1)&&D+2!==M){D=M+1;break e}break;case 10:if(47===h){D=M+1;break e}}D=M}}break;case 91:h++;case 40:h++;case 34:case 39:for(;D++<B&&l.charCodeAt(D)!==h;);}if(0===m)break;D++}switch(m=l.substring(F,D),0===p&&(p=(U=U.replace(u,"").trim()).charCodeAt(0)),p){case 64:switch(0<j&&(U=U.replace(d,"")),h=U.charCodeAt(1)){case 100:case 109:case 115:case 45:j=r;break;default:j=I}if(F=(m=t(r,j,m,h,f+1)).length,0<R&&(w=s(3,m,j=n(I,U,z),r,A,O,F,h,f,c),U=j.join(""),void 0!==w&&0===(F=(m=w.trim()).length)&&(h=0,m="")),0<F)switch(h){case 115:U=U.replace(_,a);case 100:case 109:case 45:m=U+"{"+m+"}";break;case 107:m=(U=U.replace(g,"$1 $2"))+"{"+m+"}",m=1===L||2===L&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=U+m,112===c&&(W+=m,m="")}else m="";break;default:m=t(r,n(r,U,z),m,c,f+1)}V+=m,m=z=j=M=p=0,U="",h=l.charCodeAt(++D);break;case 125:case 59:if(1<(F=(U=(0<j?U.replace(d,""):U).trim()).length))switch(0===M&&(p=U.charCodeAt(0),45===p||96<p&&123>p)&&(F=(U=U.replace(" ",":")).length),0<R&&void 0!==(w=s(1,U,r,e,A,O,W.length,c,f,c))&&0===(F=(U=w.trim()).length)&&(U="\0\0"),p=U.charCodeAt(0),h=U.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){G+=U+l.charAt(D);break}default:58!==U.charCodeAt(F-1)&&(W+=i(U,p,h,U.charCodeAt(2)))}z=j=M=p=0,U="",h=l.charCodeAt(++D)}}switch(h){case 13:case 10:47===x?x=0:0===1+p&&107!==c&&0<U.length&&(j=1,U+="\0"),0<R*P&&s(0,U,r,e,A,O,W.length,c,f,c),O=1,A++;break;case 59:case 125:if(0===x+k+C+E){O++;break}default:switch(O++,v=l.charAt(D),h){case 9:case 32:if(0===k+E+x)switch(S){case 44:case 58:case 9:case 32:v="";break;default:32!==h&&(v=" ")}break;case 0:v="\\0";break;case 12:v="\\f";break;case 11:v="\\v";break;case 38:0===k+x+E&&(j=z=1,v="\f"+v);break;case 108:if(0===k+x+E+T&&0<M)switch(D-M){case 2:112===S&&58===l.charCodeAt(D-3)&&(T=S);case 8:111===N&&(T=N)}break;case 58:0===k+x+E&&(M=D);break;case 44:0===x+C+k+E&&(j=1,v+="\r");break;case 34:case 39:0===x&&(k=k===h?0:0===k?h:k);break;case 91:0===k+x+C&&E++;break;case 93:0===k+x+C&&E--;break;case 41:0===k+x+E&&C--;break;case 40:if(0===k+x+E){if(0===p)switch(2*S+3*N){case 533:break;default:p=1}C++}break;case 64:0===x+C+k+E+M+m&&(m=1);break;case 42:case 47:if(!(0<k+E+C))switch(x){case 0:switch(2*h+3*l.charCodeAt(D+1)){case 235:x=47;break;case 220:F=D,x=42}break;case 42:47===h&&42===S&&F+2!==D&&(33===l.charCodeAt(F+2)&&(W+=l.substring(F,D+1)),v="",x=0)}}0===x&&(U+=v)}N=S,S=h,D++}if(0<(F=W.length)){if(j=r,0<R&&void 0!==(w=s(2,W,j,e,A,O,F,c,f,c))&&0===(W=w).length)return G+W+V;if(W=j.join(",")+"{"+W+"}",0!=L*T){switch(2!==L||o(W,2)||(T=0),T){case 111:W=W.replace(b,":-moz-$1")+W;break;case 112:W=W.replace(y,"::-webkit-input-$1")+W.replace(y,"::-moz-$1")+W.replace(y,":-ms-input-$1")+W}T=0}}return G+W+V}function n(e,t,n){var i=t.trim().split(m);t=i;var o=i.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<o;++s)t[s]=r(e,t[s],n).trim();break;default:var l=s=0;for(t=[];s<o;++s)for(var c=0;c<a;++c)t[l++]=r(e[c]+" ",i[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(v,"$1"+e.trim());case 58:return e.trim()+t.replace(v,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(v,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function i(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===L||2===L&&o(l,1)?"-webkit-"+l+l:l}if(0===L||2===L&&!o(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(S,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return p.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(w,"tb");break;case 232:l=a.replace(w,"tb-rl");break;case 220:l=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(x,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(x,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?i(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),M(2!==t?r:r.replace(C,"$1"),n,t)}function a(e,t){var n=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(E," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,i,o,a,s,l,u){for(var d,f=0,p=t;f<R;++f)switch(d=N[f].call(c,e,p,n,r,i,o,a,s,l,u)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function l(e){return void 0!==(e=e.prefix)&&(M=null,e?"function"!=typeof e?L=1:(L=2,M=e):L=0),l}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<R){var i=s(-1,n,r,r,A,O,0,0,0,0);void 0!==i&&"string"==typeof i&&(n=i)}var o=t(I,r,n,0,0);return 0<R&&void 0!==(i=s(-2,o,r,r,A,O,o.length,0,0,0))&&(o=i),T=0,O=A=1,o}var u=/^\0+/g,d=/[\0\r\f]/g,f=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,v=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,_=/\(\s*(.*)\s*\)/g,E=/([\s\S]*?);/g,x=/-self|flex-/g,C=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,O=1,A=1,T=0,L=1,I=[],N=[],R=0,M=null,P=0;return c.use=function e(t){switch(t){case void 0:case null:R=N.length=0;break;default:if("function"==typeof t)N[R++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else P=0|!!t}return e},c.set=l,void 0!==e&&l(e),c},R={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var M=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const P=(D={},function(e){return void 0===D[e]&&(D[e]=(t=e,M.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91)),D[e];var t});var D,j=n("./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"),z=n.n(j);function F(){return(F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var H=function(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n},B=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,T.typeOf)(e)},U=Object.freeze([]),W=Object.freeze({});function V(e){return"function"==typeof e}function G(e){return e.displayName||e.name||"Component"}function Y(e){return e&&"string"==typeof e.styledComponentId}var $="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",X="undefined"!=typeof window&&"HTMLElement"in window,q=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),K={};function Z(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var Q=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)(i<<=1)<0&&Z(16,""+e);this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=0,l=t.length;s<l;s++)this.tag.insertRule(a,t[s])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+=this.tag.getRule(o)+"/*!sc*/\n";return t},e}(),J=new Map,ee=new Map,te=1,ne=function(e){if(J.has(e))return J.get(e);for(;ee.has(te);)te++;var t=te++;return J.set(e,t),ee.set(t,e),t},re=function(e){return ee.get(e)},ie=function(e,t){J.set(e,t),ee.set(t,e)},oe="style["+$+'][data-styled-version="5.2.1"]',ae=new RegExp("^"+$+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),se=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},le=function(e,t){for(var n=t.innerHTML.split("/*!sc*/\n"),r=[],i=0,o=n.length;i<o;i++){var a=n[i].trim();if(a){var s=a.match(ae);if(s){var l=0|parseInt(s[1],10),c=s[2];0!==l&&(ie(c,l),se(e,c,s[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},ce=function(){return n.nc},ue=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute($))return r}}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute($,"active"),r.setAttribute("data-styled-version","5.2.1");var a=ce();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},de=function(){function e(e){var t=this.element=ue(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}Z(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),fe=function(){function e(e){var t=this.element=ue(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),pe=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),he=X,me={isServer:!X,useCSSOMInjection:!q},ve=function(){function e(e,t,n){void 0===e&&(e=W),void 0===t&&(t={}),this.options=F({},me,{},e),this.gs=t,this.names=new Map(n),!this.options.isServer&&X&&he&&(he=!1,function(e){for(var t=document.querySelectorAll(oe),n=0,r=t.length;n<r;n++){var i=t[n];i&&"active"!==i.getAttribute($)&&(le(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this))}e.registerId=function(e){return ne(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(F({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,i=t.target,e=n?new pe(i):r?new de(i):new fe(i),new Q(e)));var e,t,n,r,i},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(ne(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(ne(e),n)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(ne(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=0;i<n;i++){var o=re(i);if(void 0!==o){var a=e.names.get(o),s=t.getGroup(i);if(void 0!==a&&0!==s.length){var l=$+".g"+i+'[id="'+o+'"]',c="";void 0!==a&&a.forEach((function(e){e.length>0&&(c+=e+",")})),r+=""+s+l+'{content:"'+c+'"}/*!sc*/\n'}}}return r}(this)},e}(),ge=/(a)(d)/gi,ye=function(e){return String.fromCharCode(e+(e>25?39:97))};function be(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=ye(t%52)+n;return(ye(t%52)+n).replace(ge,"$1-$2")}var we=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},_e=function(e){return we(5381,e)};function Ee(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(V(n)&&!Y(n))return!1}return!0}var xe=_e("5.2.1"),Ce=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Ee(e),this.componentId=t,this.baseHash=we(xe,t),this.baseStyle=n,ve.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,i=[];if(this.baseStyle&&i.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))i.push(this.staticRulesId);else{var o=Ue(this.rules,e,t,n).join(""),a=be(we(this.baseHash,o.length)>>>0);if(!t.hasNameForId(r,a)){var s=n(o,"."+a,void 0,r);t.insertRules(r,a,s)}i.push(a),this.staticRulesId=a}else{for(var l=this.rules.length,c=we(this.baseHash,n.hash),u="",d=0;d<l;d++){var f=this.rules[d];if("string"==typeof f)u+=f;else if(f){var p=Ue(f,e,t,n),h=Array.isArray(p)?p.join(""):p;c=we(c,h+d),u+=h}}if(u){var m=be(c>>>0);if(!t.hasNameForId(r,m)){var v=n(u,"."+m,void 0,r);t.insertRules(r,m,v)}i.push(m)}}return i.join(" ")},e}(),ke=/^\s*\/\/.*$/gm,Se=[":","[",".","#"];function Oe(e){var t,n,r,i,o=void 0===e?W:e,a=o.options,s=void 0===a?W:a,l=o.plugins,c=void 0===l?U:l,u=new N(s),d=[],f=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,o,a,s,l,c,u,d){switch(n){case 1:if(0===u&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(i[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}((function(e){d.push(e)})),p=function(e,r,o){return 0===r&&Se.includes(o[n.length])||o.match(i)?e:"."+t};function h(e,o,a,s){void 0===s&&(s="&");var l=e.replace(ke,""),c=o&&a?a+" "+o+" { "+l+" }":l;return t=s,n=o,r=new RegExp("\\"+n+"\\b","g"),i=new RegExp("(\\"+n+"\\b){2,}"),u(a||!o?"":o,c)}return u.use([].concat(c,[function(e,t,i){2===e&&i.length&&i[0].lastIndexOf(n)>0&&(i[0]=i[0].replace(r,p))},f,function(e){if(-2===e){var t=d;return d=[],t}}])),h.hash=c.length?c.reduce((function(e,t){return t.name||Z(15),we(e,t.name)}),5381).toString():"",h}var Ae=r.default.createContext(),Te=(Ae.Consumer,r.default.createContext()),Le=(Te.Consumer,new ve),Ie=Oe();function Ne(){return(0,r.useContext)(Ae)||Le}function Re(){return(0,r.useContext)(Te)||Ie}function Me(e){var t=(0,r.useState)(e.stylisPlugins),n=t[0],i=t[1],o=Ne(),a=(0,r.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),s=(0,r.useMemo)((function(){return Oe({options:{prefix:!e.disableVendorPrefixes},plugins:n})}),[e.disableVendorPrefixes,n]);return(0,r.useEffect)((function(){I()(n,e.stylisPlugins)||i(e.stylisPlugins)}),[e.stylisPlugins]),r.default.createElement(Ae.Provider,{value:a},r.default.createElement(Te.Provider,{value:s},e.children))}var Pe=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Ie);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.toString=function(){return Z(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=Ie),this.name+e.hash},e}(),De=/([A-Z])/,je=/([A-Z])/g,ze=/^ms-/,Fe=function(e){return"-"+e.toLowerCase()};function He(e){return De.test(e)?e.replace(je,Fe).replace(ze,"-ms-"):e}var Be=function(e){return null==e||!1===e||""===e};function Ue(e,t,n,r){if(Array.isArray(e)){for(var i,o=[],a=0,s=e.length;a<s;a+=1)""!==(i=Ue(e[a],t,n,r))&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}return Be(e)?"":Y(e)?"."+e.styledComponentId:V(e)?"function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!t?e:Ue(e(t),t,n,r):e instanceof Pe?n?(e.inject(n,r),e.getName(r)):e:B(e)?function e(t,n){var r,i,o=[];for(var a in t)t.hasOwnProperty(a)&&!Be(t[a])&&(B(t[a])?o.push.apply(o,e(t[a],a)):V(t[a])?o.push(He(a)+":",t[a],";"):o.push(He(a)+": "+(r=a,(null==(i=t[a])||"boolean"==typeof i||""===i?"":"number"!=typeof i||0===i||r in R?String(i).trim():i+"px")+";")));return n?[n+" {"].concat(o,["}"]):o}(e):e.toString();var l}function We(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return V(e)||B(e)?Ue(H(U,[e].concat(n))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:Ue(H(e,n))}new Set;var Ve=function(e,t,n){return void 0===n&&(n=W),e.theme!==n.theme&&e.theme||t||n.theme},Ge=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ye=/(^-|-$)/g;function $e(e){return e.replace(Ge,"-").replace(Ye,"")}var Xe=function(e){return be(_e(e)>>>0)};function qe(e){return"string"==typeof e&&!0}var Ke=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Ze=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function Qe(e,t,n){var r=e[n];Ke(t)&&Ke(r)?Je(r,t):e[n]=t}function Je(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];if(Ke(a))for(var s in a)Ze(s)&&Qe(e,a[s],s)}return e}var et=r.default.createContext();et.Consumer;var tt={};function nt(e,t,n){var i=Y(e),o=!qe(e),a=t.attrs,s=void 0===a?U:a,l=t.componentId,c=void 0===l?function(e,t){var n="string"!=typeof e?"sc":$e(e);tt[n]=(tt[n]||0)+1;var r=n+"-"+Xe("5.2.1"+n+tt[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):l,u=t.displayName,d=void 0===u?function(e){return qe(e)?"styled."+e:"Styled("+G(e)+")"}(e):u,f=t.displayName&&t.componentId?$e(t.displayName)+"-"+t.componentId:t.componentId||c,p=i&&e.attrs?Array.prototype.concat(e.attrs,s).filter(Boolean):s,h=t.shouldForwardProp;i&&e.shouldForwardProp&&(h=t.shouldForwardProp?function(n,r){return e.shouldForwardProp(n,r)&&t.shouldForwardProp(n,r)}:e.shouldForwardProp);var m,v=new Ce(n,f,i?e.componentStyle:void 0),g=v.isStatic&&0===s.length,y=function(e,t){return function(e,t,n,i){var o=e.attrs,a=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.shouldForwardProp,u=e.styledComponentId,d=e.target,f=function(e,t,n){void 0===e&&(e=W);var r=F({},t,{theme:e}),i={};return n.forEach((function(e){var t,n,o,a=e;for(t in V(a)&&(a=a(r)),a)r[t]=i[t]="className"===t?(n=i[t],o=a[t],n&&o?n+" "+o:n||o):a[t]})),[r,i]}(Ve(t,(0,r.useContext)(et),s)||W,t,o),p=f[0],h=f[1],m=function(e,t,n,r){var i=Ne(),o=Re();return t?e.generateAndInjectStyles(W,i,o):e.generateAndInjectStyles(n,i,o)}(a,i,p),v=n,g=h.$as||t.$as||h.as||t.as||d,y=qe(g),b=h!==t?F({},t,{},h):t,w={};for(var _ in b)"$"!==_[0]&&"as"!==_&&("forwardedAs"===_?w.as=b[_]:(c?c(_,P):!y||P(_))&&(w[_]=b[_]));return t.style&&h.style!==t.style&&(w.style=F({},t.style,{},h.style)),w.className=Array.prototype.concat(l,u,m!==u?m:null,t.className,h.className).filter(Boolean).join(" "),w.ref=v,(0,r.createElement)(g,w)}(m,e,t,g)};return y.displayName=d,(m=r.default.forwardRef(y)).attrs=p,m.componentStyle=v,m.displayName=d,m.shouldForwardProp=h,m.foldedComponentIds=i?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):U,m.styledComponentId=f,m.target=i?e.target:e,m.withComponent=function(e){var r=t.componentId,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(t,["componentId"]),o=r&&r+"-"+(qe(e)?e:$e(G(e)));return nt(e,F({},i,{attrs:p,componentId:o}),n)},Object.defineProperty(m,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=i?Je({},e.defaultProps,t):t}}),m.toString=function(){return"."+m.styledComponentId},o&&z()(m,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),m}var rt=function(e){return function e(t,n,r){if(void 0===r&&(r=W),!(0,T.isValidElementType)(n))return Z(1,String(n));var i=function(){return t(n,r,We.apply(void 0,arguments))};return i.withConfig=function(i){return e(t,n,F({},r,{},i))},i.attrs=function(i){return e(t,n,F({},r,{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)}))},i}(nt,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){rt[e]=rt(e)}));var it=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ee(e),ve.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,n,r){var i=r(Ue(this.rules,t,n,r).join(""),""),o=this.componentId+e;n.insertRules(o,o,i)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,n,r){e>2&&ve.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();!function(){var e=function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),n=ce();return"<style "+[n&&'nonce="'+n+'"',$+'="true"','data-styled-version="5.2.1"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?Z(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return Z(2);var n=((t={})[$]="",t["data-styled-version"]="5.2.1",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),i=ce();return i&&(n.nonce=i),[r.default.createElement("style",F({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new ve({isServer:!0}),this.sealed=!1}.prototype;e.collectStyles=function(e){return this.sealed?Z(2):r.default.createElement(Me,{sheet:this.instance},e)},e.interleaveWithNodeStream=function(e){return Z(3)}}();const ot=rt;let at;!function(e){e.BLACK="#000000",e.WHITE="#FFFFFF",e.BACKGROUND="#F7F8F8",e.BORDER="#D4DCDE",e.HOVER_WHITE="rgba(255, 255, 255, 0.3)",e.HOVER_BLACK="rgba(0, 0, 0, 0.1)",e.TEXT_BASE="#00303C",e.TEXT_SUB="#8DA3A9",e.TEXT_LINK="#2582C7",e.BRAND_PRIMARY="#FF4438",e.BRAND_SECONDARY="#00303C",e.BRAND_ACCENT="#7D96E9",e.SIGN_PASSED="#64DDC0",e.SIGN_NEW="#33A6E8",e.SIGN_CHANGED="#E5537C",e.SIGN_DELETED="#404D77"}(at||(at={}));const st="0 0 0 4px rgba(255, 68, 56, 0.4)";let lt,ct,ut,dt,ft;!function(e){e.LEVEL1="0px 2px 4px rgba(0, 0, 0, 0.1), 0px 2px 3px rgba(0, 0, 0, 0.12)",e.LEVEL2="0px 4px 14px rgba(0, 0, 0, 0.1), 0px 3px 3px rgba(0, 0, 0, 0.08)",e.LEVEL3="0px 8px 20px rgba(0, 0, 0, 0.12), 0px 2px 6px rgba(0, 0, 0, 0.06)"}(lt||(lt={})),function(e){e.SANS_SERIF='"Work Sans", sans-serif',e.MONOSPACE='"Roboto", monospace'}(ct||(ct={})),function(e){e.TITLE1="3.5rem",e.TITLE2="2.25rem",e.TITLE3="1.5rem",e.SUBTITLE1="1,125rem",e.SUBTITLE2="1rem",e.SUBTITLE3="0.875rem",e.BODY1="1rem",e.BODY2="0.875rem",e.BODY3="0.75rem",e.SUBHEAD="0.75rem",e.BUTTON1="0.75rem",e.BUTTON2="0.875rem"}(ut||(ut={})),function(e){e[e.X_SMALL=1.1]="X_SMALL",e[e.SMALL=1.2]="SMALL",e[e.MEDIUM=1.3]="MEDIUM",e[e.LARGE=1.5]="LARGE",e[e.X_LARGE=1.75]="X_LARGE"}(dt||(dt={})),function(e){e[e.X_SMALL=375]="X_SMALL",e[e.SMALL=599]="SMALL",e[e.MEDIUM=770]="MEDIUM",e[e.LARGE=1024]="LARGE",e[e.X_LARGE=1200]="X_LARGE"}(ft||(ft={}));const pt={TITLE1:We(["font-size:",";font-weight:bold;line-height:",";text-transform:uppercase;"],ut.TITLE1,dt.X_SMALL),TITLE2:We(["font-size:",";font-weight:bold;line-height:",";text-transform:uppercase;"],ut.TITLE2,dt.SMALL),TITLE3:We(["font-size:",";font-weight:bold;line-height:",";text-transform:uppercase;"],ut.TITLE3,dt.SMALL),SUBTITLE1:We(["font-size:",";font-weight:bold;line-height:",";text-transform:none;"],ut.SUBTITLE1,dt.MEDIUM),SUBTITLE2:We(["font-size:",";font-weight:bold;line-height:",";text-transform:none;"],ut.SUBTITLE2,dt.MEDIUM),SUBTITLE3:We(["font-size:",";font-weight:bold;line-height:",";text-transform:none;"],ut.SUBTITLE3,dt.MEDIUM),BODY1:We(["font-size:",";font-weight:normal;line-height:",";text-transform:none;"],ut.BODY1,dt.X_LARGE),BODY2:We(["font-size:",";font-weight:normal;line-height:",";text-transform:none;"],ut.BODY2,dt.X_LARGE),BODY3:We(["font-size:",";font-weight:normal;line-height:",";text-transform:none;"],ut.BODY3,dt.X_LARGE),SUBHEAD:We(["font-size:",";font-weight:bold;line-height:",";text-transform:uppercase;"],ut.SUBHEAD,dt.LARGE),BUTTON:We(["font-size:",";font-weight:bold;line-height:",";text-transform:none;@media (min-width:","px){font-size:",";}"],ut.BUTTON1,dt.LARGE,ft.X_SMALL,ut.BUTTON2)};let ht,mt,vt,gt;!function(e){e.STANDARD="cubic-bezier(0.4, 0.0, 0.2, 1)",e.BACK="cubic-bezier(0.175, 0.885, 0.32, 1.275)"}(ht||(ht={})),function(e){e[e.FADE_IN=150]="FADE_IN",e[e.FADE_OUT=75]="FADE_OUT",e[e.SLIDE_IN=180]="SLIDE_IN",e[e.SLIDE_OUT=160]="SLIDE_OUT",e[e.SMALL_IN=90]="SMALL_IN",e[e.SMALL_OUT=140]="SMALL_OUT",e[e.MEDIUM_IN=280]="MEDIUM_IN",e[e.MEDIUM_OUT=220]="MEDIUM_OUT",e[e.LARGE_IN=160]="LARGE_IN",e[e.LARGE_OUT=140]="LARGE_OUT"}(mt||(mt={})),function(e){e[e.SIDEBAR=100]="SIDEBAR",e[e.VIEWER=200]="VIEWER",e[e.NOTIFICATION=300]="NOTIFICATION",e[e.DIALOG=400]="DIALOG",e[e.MENU=500]="MENU"}(vt||(vt={})),function(e){e[e.HEADER_HEIGHT=60]="HEADER_HEIGHT",e[e.CARD_OUTER_HEIGHT=360]="CARD_OUTER_HEIGHT"}(gt||(gt={}));const yt=o((e=>{const t=u.useContainer(),n=(0,r.useMemo)((()=>s(t.newItems)),[t.newItems]),i=(0,r.useMemo)((()=>s(t.passedItems)),[t.passedItems]),o=(0,r.useMemo)((()=>s(t.failedItems)),[t.failedItems]),a=(0,r.useMemo)((()=>s(t.deletedItems)),[t.deletedItems]),l=A("(min-width: ".concat(ft.MEDIUM,"px)")),[c,d]=(0,r.useState)((()=>l));return(0,r.useEffect)((()=>{d(l)}),[l]),{isDesktop:l,isOpen:c,open:()=>d(!0),close:()=>d(!1),toggle:()=>d(!c),newItems:n,passedItems:i,failedItems:o,deletedItems:a,links:null!=e?e:[]}}));var bt,wt=(bt=function(e,t){return(bt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}bt(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),_t=function(){return(_t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},Et={top:{width:"100%",height:"10px",top:"-5px",left:"0px",cursor:"row-resize"},right:{width:"10px",height:"100%",top:"0px",right:"-5px",cursor:"col-resize"},bottom:{width:"100%",height:"10px",bottom:"-5px",left:"0px",cursor:"row-resize"},left:{width:"10px",height:"100%",top:"0px",left:"-5px",cursor:"col-resize"},topRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",top:"-10px",cursor:"ne-resize"},bottomRight:{width:"20px",height:"20px",position:"absolute",right:"-10px",bottom:"-10px",cursor:"se-resize"},bottomLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",bottom:"-10px",cursor:"sw-resize"},topLeft:{width:"20px",height:"20px",position:"absolute",left:"-10px",top:"-10px",cursor:"nw-resize"}},xt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseDown=function(e){t.props.onResizeStart(e,t.props.direction)},t.onTouchStart=function(e){t.props.onResizeStart(e,t.props.direction)},t}return wt(t,e),t.prototype.render=function(){return r.createElement("div",{className:this.props.className||"",style:_t(_t({position:"absolute",userSelect:"none"},Et[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},t}(r.PureComponent),Ct=n("./node_modules/fast-memoize/src/index.js"),kt=n.n(Ct),St=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ot=function(){return(Ot=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},At={width:"auto",height:"auto"},Tt=kt()((function(e,t,n){return Math.max(Math.min(e,n),t)})),Lt=kt()((function(e,t){return Math.round(e/t)*t})),It=kt()((function(e,t){return new RegExp(e,"i").test(t)})),Nt=function(e){return Boolean(e.touches&&e.touches.length)},Rt=kt()((function(e,t,n){void 0===n&&(n=0);var r=t.reduce((function(n,r,i){return Math.abs(r-e)<Math.abs(t[n]-e)?i:n}),0),i=Math.abs(t[r]-e);return 0===n||i<n?t[r]:e})),Mt=kt()((function(e,t){return e.substr(e.length-t.length,t.length)===t})),Pt=kt()((function(e){return"auto"===(e=e.toString())||Mt(e,"px")||Mt(e,"%")||Mt(e,"vh")||Mt(e,"vw")||Mt(e,"vmax")||Mt(e,"vmin")?e:e+"px"})),Dt=function(e,t,n,r){if(e&&"string"==typeof e){if(Mt(e,"px"))return Number(e.replace("px",""));if(Mt(e,"%"))return t*(Number(e.replace("%",""))/100);if(Mt(e,"vw"))return n*(Number(e.replace("vw",""))/100);if(Mt(e,"vh"))return r*(Number(e.replace("vh",""))/100)}return e},jt=kt()((function(e,t,n,r,i,o,a){return r=Dt(r,e.width,t,n),i=Dt(i,e.height,t,n),o=Dt(o,e.width,t,n),a=Dt(a,e.height,t,n),{maxWidth:void 0===r?void 0:Number(r),maxHeight:void 0===i?void 0:Number(i),minWidth:void 0===o?void 0:Number(o),minHeight:void 0===a?void 0:Number(a)}})),zt=["as","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],Ft="__resizable_base__",Ht=function(e){function t(t){var n=e.call(this,t)||this;return n.ratio=1,n.resizable=null,n.parentLeft=0,n.parentTop=0,n.resizableLeft=0,n.resizableRight=0,n.resizableTop=0,n.resizableBottom=0,n.targetLeft=0,n.targetTop=0,n.appendBase=function(){if(!n.resizable||!n.window)return null;var e=n.parentNode;if(!e)return null;var t=n.window.document.createElement("div");return t.style.width="100%",t.style.height="100%",t.style.position="absolute",t.style.transform="scale(0, 0)",t.style.left="0",t.style.flex="0",t.classList?t.classList.add(Ft):t.className+=Ft,e.appendChild(t),t},n.removeBase=function(e){var t=n.parentNode;t&&t.removeChild(e)},n.ref=function(e){e&&(n.resizable=e)},n.state={isResizing:!1,width:void 0===(n.propsSize&&n.propsSize.width)?"auto":n.propsSize&&n.propsSize.width,height:void 0===(n.propsSize&&n.propsSize.height)?"auto":n.propsSize&&n.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},n.onResizeStart=n.onResizeStart.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n}return St(t,e),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return this.resizable&&this.resizable.ownerDocument?this.resizable.ownerDocument.defaultView:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||At},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var e=0,t=0;if(this.resizable&&this.window){var n=this.resizable.offsetWidth,r=this.resizable.offsetHeight,i=this.resizable.style.position;"relative"!==i&&(this.resizable.style.position="relative"),e="auto"!==this.resizable.style.width?this.resizable.offsetWidth:n,t="auto"!==this.resizable.style.height?this.resizable.offsetHeight:r,this.resizable.style.position=i}return{width:e,height:t}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var e=this,t=this.props.size,n=function(t){if(void 0===e.state[t]||"auto"===e.state[t])return"auto";if(e.propsSize&&e.propsSize[t]&&Mt(e.propsSize[t].toString(),"%")){if(Mt(e.state[t].toString(),"%"))return e.state[t].toString();var n=e.getParentSize();return Number(e.state[t].toString().replace("px",""))/n[t]*100+"%"}return Pt(e.state[t])};return{width:t&&void 0!==t.width&&!this.state.isResizing?Pt(t.width):n("width"),height:t&&void 0!==t.height&&!this.state.isResizing?Pt(t.height):n("height")}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var e=this.appendBase();if(!e)return{width:0,height:0};var t=!1,n=this.parentNode.style.flexWrap;"wrap"!==n&&(t=!0,this.parentNode.style.flexWrap="wrap"),e.style.position="relative",e.style.minWidth="100%";var r={width:e.offsetWidth,height:e.offsetHeight};return t&&(this.parentNode.style.flexWrap=n),this.removeBase(e),r},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(this.resizable&&this.window){var e=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:"auto"!==e.flexBasis?e.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(e,t){var n=this.propsSize&&this.propsSize[t];return"auto"!==this.state[t]||this.state.original[t]!==e||void 0!==n&&"auto"!==n?e:"auto"},t.prototype.calculateNewMaxFromBoundary=function(e,t){var n,r,i=this.props.boundsByDirection,o=this.state.direction,a=i&&It("left",o),s=i&&It("top",o);if("parent"===this.props.bounds){var l=this.parentNode;l&&(n=a?this.resizableRight-this.parentLeft:l.offsetWidth+(this.parentLeft-this.resizableLeft),r=s?this.resizableBottom-this.parentTop:l.offsetHeight+(this.parentTop-this.resizableTop))}else"window"===this.props.bounds?this.window&&(n=a?this.resizableRight:this.window.innerWidth-this.resizableLeft,r=s?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(n=a?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),r=s?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return n&&Number.isFinite(n)&&(e=e&&e<n?e:n),r&&Number.isFinite(r)&&(t=t&&t<r?t:r),{maxWidth:e,maxHeight:t}},t.prototype.calculateNewSizeFromDirection=function(e,t){var n=this.props.scale||1,r=this.props.resizeRatio||1,i=this.state,o=i.direction,a=i.original,s=this.props,l=s.lockAspectRatio,c=s.lockAspectRatioExtraHeight,u=s.lockAspectRatioExtraWidth,d=a.width,f=a.height,p=c||0,h=u||0;return It("right",o)&&(d=a.width+(e-a.x)*r/n,l&&(f=(d-h)/this.ratio+p)),It("left",o)&&(d=a.width-(e-a.x)*r/n,l&&(f=(d-h)/this.ratio+p)),It("bottom",o)&&(f=a.height+(t-a.y)*r/n,l&&(d=(f-p)*this.ratio+h)),It("top",o)&&(f=a.height-(t-a.y)*r/n,l&&(d=(f-p)*this.ratio+h)),{newWidth:d,newHeight:f}},t.prototype.calculateNewSizeFromAspectRatio=function(e,t,n,r){var i=this.props,o=i.lockAspectRatio,a=i.lockAspectRatioExtraHeight,s=i.lockAspectRatioExtraWidth,l=void 0===r.width?10:r.width,c=void 0===n.width||n.width<0?e:n.width,u=void 0===r.height?10:r.height,d=void 0===n.height||n.height<0?t:n.height,f=a||0,p=s||0;if(o){var h=(u-f)*this.ratio+p,m=(d-f)*this.ratio+p,v=(l-p)/this.ratio+f,g=(c-p)/this.ratio+f,y=Math.max(l,h),b=Math.min(c,m),w=Math.max(u,v),_=Math.min(d,g);e=Tt(e,y,b),t=Tt(t,w,_)}else e=Tt(e,l,c),t=Tt(t,u,d);return{newWidth:e,newHeight:t}},t.prototype.setBoundingClientRect=function(){if("parent"===this.props.bounds){var e=this.parentNode;if(e){var t=e.getBoundingClientRect();this.parentLeft=t.left,this.parentTop=t.top}}if(this.props.bounds&&"string"!=typeof this.props.bounds){var n=this.props.bounds.getBoundingClientRect();this.targetLeft=n.left,this.targetTop=n.top}if(this.resizable){var r=this.resizable.getBoundingClientRect(),i=r.left,o=r.top,a=r.right,s=r.bottom;this.resizableLeft=i,this.resizableRight=a,this.resizableTop=o,this.resizableBottom=s}},t.prototype.onResizeStart=function(e,t){if(this.resizable&&this.window){var n,r=0,i=0;if(e.nativeEvent&&function(e){return Boolean((e.clientX||0===e.clientX)&&(e.clientY||0===e.clientY))}(e.nativeEvent)){if(r=e.nativeEvent.clientX,i=e.nativeEvent.clientY,3===e.nativeEvent.which)return}else e.nativeEvent&&Nt(e.nativeEvent)&&(r=e.nativeEvent.touches[0].clientX,i=e.nativeEvent.touches[0].clientY);if(this.props.onResizeStart&&this.resizable&&!1===this.props.onResizeStart(e,t,this.resizable))return;this.props.size&&(void 0!==this.props.size.height&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),void 0!==this.props.size.width&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio="number"==typeof this.props.lockAspectRatio?this.props.lockAspectRatio:this.size.width/this.size.height;var o=this.window.getComputedStyle(this.resizable);if("auto"!==o.flexBasis){var a=this.parentNode;if(a){var s=this.window.getComputedStyle(a).flexDirection;this.flexDir=s.startsWith("row")?"row":"column",n=o.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var l={original:{x:r,y:i,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:Ot(Ot({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(e.target).cursor||"auto"}),direction:t,flexBasis:n};this.setState(l)}},t.prototype.onMouseMove=function(e){if(this.state.isResizing&&this.resizable&&this.window){if(this.window.TouchEvent&&Nt(e))try{e.preventDefault(),e.stopPropagation()}catch(e){}var t=this.props,n=t.maxWidth,r=t.maxHeight,i=t.minWidth,o=t.minHeight,a=Nt(e)?e.touches[0].clientX:e.clientX,s=Nt(e)?e.touches[0].clientY:e.clientY,l=this.state,c=l.direction,u=l.original,d=l.width,f=l.height,p=this.getParentSize(),h=jt(p,this.window.innerWidth,this.window.innerHeight,n,r,i,o);n=h.maxWidth,r=h.maxHeight,i=h.minWidth,o=h.minHeight;var m=this.calculateNewSizeFromDirection(a,s),v=m.newHeight,g=m.newWidth,y=this.calculateNewMaxFromBoundary(n,r),b=this.calculateNewSizeFromAspectRatio(g,v,{width:y.maxWidth,height:y.maxHeight},{width:i,height:o});if(g=b.newWidth,v=b.newHeight,this.props.grid){var w=Lt(g,this.props.grid[0]),_=Lt(v,this.props.grid[1]),E=this.props.snapGap||0;g=0===E||Math.abs(w-g)<=E?w:g,v=0===E||Math.abs(_-v)<=E?_:v}this.props.snap&&this.props.snap.x&&(g=Rt(g,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(v=Rt(v,this.props.snap.y,this.props.snapGap));var x={width:g-u.width,height:v-u.height};d&&"string"==typeof d&&(Mt(d,"%")?g=g/p.width*100+"%":Mt(d,"vw")?g=g/this.window.innerWidth*100+"vw":Mt(d,"vh")&&(g=g/this.window.innerHeight*100+"vh")),f&&"string"==typeof f&&(Mt(f,"%")?v=v/p.height*100+"%":Mt(f,"vw")?v=v/this.window.innerWidth*100+"vw":Mt(f,"vh")&&(v=v/this.window.innerHeight*100+"vh"));var C={width:this.createSizeForCssProperty(g,"width"),height:this.createSizeForCssProperty(v,"height")};"row"===this.flexDir?C.flexBasis=C.width:"column"===this.flexDir&&(C.flexBasis=C.height),this.setState(C),this.props.onResize&&this.props.onResize(e,c,this.resizable,x)}},t.prototype.onMouseUp=function(e){var t=this.state,n=t.isResizing,r=t.direction,i=t.original;if(n&&this.resizable){var o={width:this.size.width-i.width,height:this.size.height-i.height};this.props.onResizeStop&&this.props.onResizeStop(e,r,this.resizable,o),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:Ot(Ot({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(e){this.setState({width:e.width,height:e.height})},t.prototype.renderResizer=function(){var e=this,t=this.props,n=t.enable,i=t.handleStyles,o=t.handleClasses,a=t.handleWrapperStyle,s=t.handleWrapperClass,l=t.handleComponent;if(!n)return null;var c=Object.keys(n).map((function(t){return!1!==n[t]?r.createElement(xt,{key:t,direction:t,onResizeStart:e.onResizeStart,replaceStyles:i&&i[t],className:o&&o[t]},l&&l[t]?l[t]:null):null}));return r.createElement("div",{className:s,style:a},c)},t.prototype.render=function(){var e=this,t=Object.keys(this.props).reduce((function(t,n){return-1!==zt.indexOf(n)||(t[n]=e.props[n]),t}),{}),n=Ot(Ot(Ot({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(n.flexBasis=this.state.flexBasis);var i=this.props.as||"div";return r.createElement(i,Ot({ref:this.ref,style:n,className:this.props.className},t),this.state.isResizing&&r.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(r.PureComponent);function Bt(){return(Bt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ut(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function Wt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Vt(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}n("./node_modules/prop-types/index.js");const Gt=r.default.createContext(null);var Yt="unmounted",$t="exited",Xt="entering",qt="entered",Kt="exiting",Zt=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=$t,r.appearStatus=Xt):i=qt:i=t.unmountOnExit||t.mountOnEnter?Yt:$t,r.state={status:i},r.nextCallback=null,r}Wt(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Yt?{status:$t}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Xt&&n!==qt&&(t=Xt):n!==Xt&&n!==qt||(t=Kt)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===Xt?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===$t&&this.setState({status:Yt})},n.performEnter=function(e){var t=this,n=this.props.enter,i=this.context?this.context.isMounting:e,o=this.props.nodeRef?[i]:[r.default.findDOMNode(this),i],a=o[0],s=o[1],l=this.getTimeouts(),c=i?l.appear:l.enter;e||n?(this.props.onEnter(a,s),this.safeSetState({status:Xt},(function(){t.props.onEntering(a,s),t.onTransitionEnd(c,(function(){t.safeSetState({status:qt},(function(){t.props.onEntered(a,s)}))}))}))):this.safeSetState({status:qt},(function(){t.props.onEntered(a)}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:r.default.findDOMNode(this);t?(this.props.onExit(i),this.safeSetState({status:Kt},(function(){e.props.onExiting(i),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:$t},(function(){e.props.onExited(i)}))}))}))):this.safeSetState({status:$t},(function(){e.props.onExited(i)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:r.default.findDOMNode(this),i=null==e&&!this.props.addEndListener;if(n&&!i){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],s=o[1];this.props.addEndListener(a,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Yt)return null;var t=this.props,n=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Ut(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return r.default.createElement(Gt.Provider,{value:null},"function"==typeof n?n(e,i):r.default.cloneElement(r.default.Children.only(n),i))},t}(r.default.Component);function Qt(){}Zt.contextType=Gt,Zt.propTypes={},Zt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Qt,onEntering:Qt,onEntered:Qt,onExit:Qt,onExiting:Qt,onExited:Qt},Zt.UNMOUNTED=Yt,Zt.EXITED=$t,Zt.ENTERING=Xt,Zt.ENTERED=qt,Zt.EXITING=Kt;const Jt=Zt;var en=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=Vt(n.className,r):n.setAttribute("class",Vt(n.className&&n.className.baseVal||"",r)));var n,r}))},tn=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1];t.removeClasses(i,"exit"),t.addClass(i,o?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.addClass(i,o,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.removeClasses(i,o),t.addClass(i,o,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,i=r?(r&&n?n+"-":"")+e:n[e];return{baseClassName:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}Wt(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],i=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&i&&(r+=" "+i),"active"===n&&e&&e.scrollTop,r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,o=n.done;this.appliedClasses[t]={},r&&en(e,r),i&&en(e,i),o&&en(e,o)},n.render=function(){var e=this.props,t=(e.classNames,Ut(e,["classNames"]));return r.default.createElement(Jt,Bt({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(r.default.Component);tn.defaultProps={classNames:""},tn.propTypes={};const nn=tn;function rn(){return(rn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const on=({fill:e,...t})=>r.default.createElement("svg",rn({width:24,height:24,viewBox:"0 0 24 24",fill:"none"},t),r.default.createElement("path",{d:"M19.6258 19.0443L14.788 13.7052C15.878 12.5515 16.4771 11.043 16.4771 9.44141C16.4771 7.79206 15.8422 6.2407 14.6887 5.07472C13.5352 3.90873 12.0024 3.26562 10.3719 3.26562C8.74144 3.26562 7.20781 3.90791 6.05515 5.07472C4.90249 6.24153 4.26674 7.79206 4.26674 9.44141C4.26674 11.0908 4.90168 12.6421 6.05515 13.8081C7.20863 14.9741 8.74144 15.6172 10.3719 15.6172C11.7769 15.6172 13.1087 15.1404 14.1881 14.2626L19.0258 19.601C19.1064 19.6899 19.2155 19.7344 19.3262 19.7344C19.4247 19.7344 19.5232 19.699 19.6014 19.6265C19.7674 19.4725 19.778 19.2123 19.6266 19.0452L19.6258 19.0443ZM5.07995 9.44141C5.07995 6.49021 7.45365 4.08906 10.3711 4.08906C13.2886 4.08906 15.6623 6.49021 15.6623 9.44141C15.6623 12.3926 13.2886 14.7937 10.3711 14.7937C7.45365 14.7937 5.07995 12.3926 5.07995 9.44141Z",fill:e}),r.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.8206 18.8629L19.8245 18.8672C20.0731 19.1417 20.0561 19.5677 19.783 19.8209C19.6535 19.941 19.4892 20 19.3261 20C19.1427 20 18.9608 19.9257 18.8278 19.779L14.1567 14.6245C13.0672 15.4412 11.753 15.8828 10.3719 15.8828C8.6692 15.8828 7.0682 15.2106 5.86514 13.9945C4.66203 12.7784 4 11.1599 4 9.44141C4 7.72282 4.66294 6.10524 5.86501 4.88841C7.0674 3.67126 8.66934 3 10.3719 3C12.0745 3 13.6755 3.67217 14.8786 4.88828C16.0817 6.10444 16.7437 7.72296 16.7437 9.44141C16.7437 11.0273 16.1795 12.5276 15.1475 13.7055L19.8198 18.862L19.8206 18.8629ZM19.6257 19.0443L14.788 13.7052C15.8779 12.5515 16.4771 11.043 16.4771 9.44141C16.4771 7.79206 15.8421 6.2407 14.6886 5.07472C13.5352 3.90873 12.0024 3.26562 10.3719 3.26562C8.74137 3.26562 7.20774 3.90791 6.05508 5.07472C4.90242 6.24153 4.26667 7.79206 4.26667 9.44141C4.26667 11.0908 4.90161 12.6421 6.05508 13.8081C7.20856 14.9741 8.74137 15.6172 10.3719 15.6172C11.7769 15.6172 13.1086 15.1404 14.188 14.2626L19.0258 19.601C19.1064 19.6899 19.2154 19.7344 19.3261 19.7344C19.4246 19.7344 19.5231 19.699 19.6013 19.6265C19.7673 19.4725 19.7779 19.2123 19.6265 19.0452L19.6257 19.0443ZM10.371 4.35469C7.60471 4.35469 5.34655 6.63303 5.34655 9.44141C5.34655 12.2498 7.60471 14.5281 10.371 14.5281C13.1374 14.5281 15.3955 12.2498 15.3955 9.44141C15.3955 6.63303 13.1374 4.35469 10.371 4.35469ZM10.371 4.08906C7.45358 4.08906 5.07988 6.49021 5.07988 9.44141C5.07988 12.3926 7.45358 14.7937 10.371 14.7937C13.2885 14.7937 15.6622 12.3926 15.6622 9.44141C15.6622 6.49021 13.2885 4.08906 10.371 4.08906Z",fill:e}));function an(){return(an=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const sn=ot.div.withConfig({displayName:"SearchBox__Wrapper",componentId:"sc-1n8xenx-0"})(["position:relative;"]),ln=ot.span.withConfig({displayName:"SearchBox__Icon",componentId:"sc-1n8xenx-1"})(["position:absolute;top:50%;left:","px;display:block;transform:translateY(-50%);line-height:0;"],16),cn=ot.input.withConfig({displayName:"SearchBox__TextField",componentId:"sc-1n8xenx-2"})(["position:relative;display:block;width:100%;height:60px;padding:","px ","px ","px ","px;border:none;border-bottom:1px solid ",";border-radius:0;background:transparent;font-size:inherit;font-family:inherit;transition:border ","ms ",";&:focus{outline:none;}&:focus-visible{border-bottom-color:",";}"],8,8,8,56,at.BORDER,mt.SMALL_OUT,ht.STANDARD,at.BRAND_PRIMARY),un=({inputRef:e,children:t,...n})=>r.default.createElement(sn,null,r.default.createElement(ln,{"aria-hidden":"true"},r.default.createElement(on,{fill:at.TEXT_SUB})),r.default.createElement(cn,an({ref:e,type:"text"},n))),dn=ot.span.withConfig({displayName:"Spacer__Wrapper",componentId:"sc-1yjtitn-0"})(["display:block;"]),fn={margin:"marginTop",padding:"paddingTop"},pn=({variant:e,x:t})=>r.default.createElement(dn,{style:{[fn[e]]:8*t}});function hn(){return(hn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const mn=/^https?:\/\//,vn=/^#/,gn=(0,r.forwardRef)((({href:e,target:t,rel:n,children:i,onClick:o,...a},s)=>{const l=w(),c=(0,r.useCallback)((n=>{null!=o&&o(n),null==e||t||0!==n.button||(e=>e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented)(n)||vn.test(e)||mn.test(e)||(n.preventDefault(),l.push(e))}),[l,e,t,o]);return r.default.createElement("a",hn({},a,{ref:s,rel:"_blank"===t&&null==n?"noopener noreferrer":n,href:e,target:t,onClick:c}),i)}));function yn(){return(yn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}gn.displayName="Link";const bn=ot("button").withConfig({displayName:"BaseButton__Wrapper",componentId:"sc-1y900m3-0"})(["margin:0;padding:0;text-decoration:none;font-family:inherit;line-height:inherit;letter-spacing:inherit;transition-property:color,background,border,opacity;transition-duration:","ms;transition-timing-function:",";cursor:pointer;&:focus{outline:none;}&:focus-visible{box-shadow:",";}&:disabled{cursor:default;pointer-events:none;}"],mt.SMALL_OUT,ht.STANDARD,st),wn=(0,r.forwardRef)((({type:e,href:t,children:n,...i},o)=>{const a=null!=t,s=a?{href:t,...i}:{type:e,...i};return r.default.createElement(bn,yn({},s,{ref:o,as:a?gn:"button"}),n)}));wn.defaultProps={type:"button"};const _n=We(["display:block;white-space:nowrap;"]),En=ot.span.withConfig({displayName:"Ellipsis",componentId:"sc-1rvzs58-0"})(["overflow:hidden;text-overflow:ellipsis;",";"],(({line:e})=>null==e||1===e?_n:(e=>We(["display:-webkit-box;-webkit-line-clamp:",";-webkit-box-orient:vertical;"],e))(e)));function xn(){return(xn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}En.defaultProps={line:1};const Cn=ot(wn).withConfig({displayName:"Item__LinkButton",componentId:"sc-1k9zgwv-0"})(["",";display:flex;align-items:center;width:100%;height:44px;padding-left:","px;padding-right:","px;color:",";text-align:left;&:hover{background-color:",";}"],pt.BODY2,(({depth:e})=>16+16*e),16,at.TEXT_BASE,at.HOVER_BLACK),kn=({depth:e,href:t,children:n,...i})=>r.default.createElement("li",null,r.default.createElement(Cn,xn({depth:e,href:t},i),r.default.createElement(En,null,n)));function Sn(){return(Sn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function On(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}kn.defaultProps={depth:0};const An=ot("div").withConfig({displayName:"Collapse__Wrapper",componentId:"sc-65jd7-0"})(["transition-property:height;transition-timing-function:",";&[aria-hidden='true']:not(.collapse-exit){display:none;}&.collapse-enter{overflow:hidden;height:0;transition-duration:","ms;}&.collapse-exit{overflow:auto;height:auto;transition-duration:","ms;}&.collapse-exit-active{height:0;overflow:hidden;}& > div{display:flex;}& > div > div{flex-basis:100%;width:100%;}"],ht.STANDARD,(({duration:e})=>e.enter),(({duration:e})=>e.exit));class Tn extends r.default.Component{constructor(...e){super(...e),On(this,"bodyRef",r.default.createRef()),On(this,"handleEnter",(e=>{this.applyPreAnimationStyles(e)})),On(this,"handleEntered",(e=>{this.clearInlineStyles(e)})),On(this,"handleExit",(e=>{this.applyPreAnimationStyles(e)})),On(this,"handleExiting",(e=>{this.clearInlineStyles(e)}))}render(){const{open:e,duration:t,children:n,...i}=this.props;return r.default.createElement(nn,{classNames:"collapse",in:e,timeout:t,onEnter:this.handleEnter,onEntered:this.handleEntered,onExit:this.handleExit,onExiting:this.handleExiting},r.default.createElement(An,Sn({},i,{duration:t,"aria-hidden":e?"false":"true"}),r.default.createElement("div",{ref:this.bodyRef},r.default.createElement("div",null,n))))}applyPreAnimationStyles(e){const{current:t}=this.bodyRef;e.style.height="".concat(null!=t?t.clientHeight:0,"px"),e.style.overflow="hidden"}clearInlineStyles(e){e.style.height="",e.style.overflow=""}}function Ln(){return(Ln=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const In=({fill:e,...t})=>r.default.createElement("svg",Ln({width:24,height:24,viewBox:"0 0 24 24",fill:"none"},t),r.default.createElement("path",{d:"M17.2977 14.2869C17.6855 13.8991 17.6855 13.2702 17.2977 12.8823L12.7076 8.29231C12.5123 8.09697 12.2557 7.99998 11.9997 8.00142C11.7437 7.99998 11.4876 8.09697 11.2923 8.29231L6.70224 12.8823C6.31442 13.2702 6.31442 13.8991 6.70224 14.2869C7.09018 14.6748 7.71896 14.6748 8.1069 14.2869L12 10.3938L15.893 14.2869C16.281 14.6748 16.9098 14.6748 17.2977 14.2869Z",fill:e}));function Nn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Rn=ot(wn).withConfig({displayName:"Expandable__Button",componentId:"sc-1n7i7mt-0"})(["",";display:flex;justify-content:space-between;align-items:center;width:100%;height:44px;padding-left:","px;padding-right:","px;background:transparent;border:0;color:",";text-align:left;&:hover{background-color:",";}"],(({large:e})=>e?pt.SUBTITLE2:pt.SUBTITLE3),(({depth:e})=>16+16*e),16,at.TEXT_BASE,at.HOVER_BLACK),Mn=ot("span").withConfig({displayName:"Expandable__ArrowIcon",componentId:"sc-1n7i7mt-1"})(["margin-right:","px;line-height:0;transition:transform ","ms ",";transform:rotate(",");"],8,mt.SMALL_IN,ht.STANDARD,(({open:e})=>e?"0deg":"-180deg")),Pn=ot.span.withConfig({displayName:"Expandable__Label",componentId:"sc-1n7i7mt-2"})(["display:block;flex:1 1 auto;overflow:hidden;"]),Dn=ot.span.withConfig({displayName:"Expandable__Meta",componentId:"sc-1n7i7mt-3"})(["",";margin-left:","px;color:",";white-space:nowrap;"],pt.SUBHEAD,8,at.TEXT_SUB),jn=ot.span.withConfig({displayName:"Expandable__Icon",componentId:"sc-1n7i7mt-4"})(["margin-left:","px;line-height:0;"],8),zn=ot.ul.withConfig({displayName:"Expandable__InnerList",componentId:"sc-1n7i7mt-5"})(["margin:0;padding:0;list-style:none;"]);class Fn extends r.default.Component{constructor(...e){super(...e),Nn(this,"state",{open:!0===this.props.defaultOpen}),Nn(this,"handleClick",(e=>{e.preventDefault(),null==this.props.open&&this.setState({open:!this.state.open}),null!=this.props.onChange&&this.props.onChange(!this.props.open)}))}static getDerivedStateFromProps(e,t){return null!=e.open&&e.open!==t.open?{open:e.open}:null}render(){const{large:e,depth:t,label:n,meta:i,icon:o,children:a}=this.props,{open:s}=this.state;return r.default.createElement("li",null,r.default.createElement(Rn,{large:e,depth:t,onClick:this.handleClick},r.default.createElement(Mn,{open:s},r.default.createElement(In,{fill:at.TEXT_SUB})),r.default.createElement(Pn,null,r.default.createElement(En,null,n)),i&&r.default.createElement(Dn,null,i),o&&r.default.createElement(jn,null,o)),r.default.createElement(Tn,{open:s,duration:{enter:mt.SLIDE_IN,exit:mt.SLIDE_OUT}},r.default.createElement(zn,null,a)))}}Nn(Fn,"defaultProps",{large:!1,depth:0});const Hn=ot.div.withConfig({displayName:"List__Wrapper",componentId:"sc-1f6g42s-0"})(["& > ul{margin:0;padding:0;list-style:none;}"]),Bn=ot.div.withConfig({displayName:"List__Header",componentId:"sc-1f6g42s-1"})(["",";margin-bottom:","px;padding:0 ","px;color:",";"],pt.SUBHEAD,4,16,at.TEXT_SUB),Un=({header:e,children:t,...n})=>r.default.createElement(Hn,n,null==e?null:r.default.createElement(Bn,null,e),r.default.createElement("ul",null,t));function Wn(){return(Wn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}Un.Item=kn,Un.Expandable=Fn;const Vn=e=>{const[t,n]=(0,r.useState)(e),i=(0,r.useRef)(t);return(0,r.useEffect)((()=>{e?(i.current=t,n(!0)):n(i.current)}),[e]),[t,n]},Gn=({forceOpen:e,label:t,depth:n,item:i})=>{const[o,a]=Vn(e);return i.children.length>0?r.default.createElement(Un.Expandable,{key:"".concat(t).concat(i.name),open:o,depth:n,label:i.name,onChange:a},r.default.createElement(Yn,{forceOpen:e,label:t,depth:n+1,items:i.children})):r.default.createElement(Un.Item,{key:i.id,depth:n+1,href:"#".concat(i.id),title:i.path},i.name)},Yn=({items:e,...t})=>r.default.createElement(r.default.Fragment,null,e.map((e=>r.default.createElement(Gn,Wn({key:e.id},t,{item:e}))))),$n=({forceOpen:e,label:t,icon:n,items:i,size:o})=>{const[a,s]=Vn(e);return i.length<1?null:r.default.createElement(Un.Expandable,{large:!0,open:a,label:t,meta:"".concat(o," items"),icon:n,onChange:s},r.default.createElement(Yn,{forceOpen:e,label:t,depth:1,items:i}))};function Xn(){return(Xn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const qn=({fill:e,...t})=>r.default.createElement("svg",Xn({width:24,height:24,viewBox:"0 0 24 24",fill:"none"},t),r.default.createElement("path",{d:"M3 19H21L12 3L3 19ZM12.8182 16.4737H11.1818V14.7895H12.8182V16.4737ZM12.8182 13.1053H11.1818V9.73684H12.8182V13.1053Z",fill:e}));function Kn(){return(Kn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const Zn=({fill:e,...t})=>r.default.createElement("svg",Kn({width:24,height:24,viewBox:"0 0 24 24",fill:"none"},t),r.default.createElement("path",{d:"M20 18.2222V5.77778C20 4.8 19.2 4 18.2222 4H5.77778C4.8 4 4 4.8 4 5.77778V18.2222C4 19.2 4.8 20 5.77778 20H18.2222C19.2 20 20 19.2 20 18.2222ZM8.88889 13.3333L11.1111 16.0089L14.2222 12L18.2222 17.3333H5.77778L8.88889 13.3333Z",fill:e}));function Qn(){return(Qn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const Jn=({fill:e,...t})=>r.default.createElement("svg",Qn({width:24,height:24,viewBox:"0 0 24 24",fill:"none"},t),r.default.createElement("path",{d:"M6 19C6 20.1 6.9 21 8 21H16C17.1 21 18 20.1 18 19V9C18 7.9 17.1 7 16 7H8C6.9 7 6 7.9 6 9V19ZM18 4H15.5L14.79 3.29C14.61 3.11 14.35 3 14.09 3H9.91C9.65 3 9.39 3.11 9.21 3.29L8.5 4H6C5.45 4 5 4.45 5 5C5 5.55 5.45 6 6 6H18C18.55 6 19 5.55 19 5C19 4.45 18.55 4 18 4Z",fill:e}));function er(){return(er=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const tr=({fill:e,...t})=>r.default.createElement("svg",er({width:24,height:24,viewBox:"0 0 24 24",fill:"none"},t),r.default.createElement("path",{d:"M4.35284 11.5109C3.8824 11.9926 3.88237 12.7737 4.35284 13.2554L8.63356 17.6387C9.10404 18.1204 9.86685 18.1204 10.3373 17.6387L19.6472 8.10582C20.1176 7.62412 20.1176 6.84303 19.6472 6.36129C19.1767 5.87955 18.4139 5.87959 17.9434 6.36129L9.48542 15.0219L6.05656 11.5109C5.58609 11.0292 4.82328 11.0292 4.35284 11.5109Z",fill:e}));function nr(){return(nr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const rr=ot.span.withConfig({displayName:"Logo__Wrapper",componentId:"oh7t00-0"})(["display:inline-block;font-size:0;vertical-align:bottom;"]),ir=({size:e,...t})=>r.default.createElement(rr,null,r.default.createElement("svg",nr({width:e,height:e,viewBox:"0 0 24 24",fill:"none","aria-label":"REG-SUIT"},t),r.default.createElement("path",{d:"M8.61739 13.0679L8.6321 13.0421H8.60268L8.61739 13.0679Z",fill:"#FF4438"}),r.default.createElement("path",{d:"M1 13.0421L4.81606 19.6519L5.23897 18.92L1.84461 13.0421H1Z",fill:"#FF4438"}),r.default.createElement("path",{d:"M6.08353 17.4564L3.535 13.0421H2.68917L5.66062 18.1882L6.08353 17.4564Z",fill:"#FF4438"}),r.default.createElement("path",{d:"M6.92829 15.9939L5.22437 13.0421H4.37976L6.50537 16.7258L6.92829 15.9939Z",fill:"#FF4438"}),r.default.createElement("path",{d:"M7.77292 14.5303L6.9136 13.0421H6.06899L7.35 15.2621L7.77292 14.5303Z",fill:"#FF4438"}),r.default.createElement("path",{d:"M8.61742 13.0679L8.60271 13.0421H7.7581L8.1945 13.7997L8.61742 13.0679Z",fill:"#FF4438"}),r.default.createElement("path",{d:"M15.3633 3L5.54797 20H13.5086L23.3239 3H15.3633Z",fill:"#FF4438"})));ir.defaultProps={size:24};const or=ot(wn).withConfig({displayName:"PoweredBy__Button",componentId:"unyfpd-0"})(["display:flex;align-items:center;padding:","px ","px;min-width:280px;background:transparent;&:hover{background-color:",";}"],24,16,at.HOVER_BLACK),ar=ot.span.withConfig({displayName:"PoweredBy__Icon",componentId:"unyfpd-1"})(["margin-right:","px;"],8),sr=ot.span.withConfig({displayName:"PoweredBy__Text",componentId:"unyfpd-2"})(["& h3{",";margin:0;color:",";}& p{",";margin:0;color:",";}"],pt.SUBTITLE3,at.TEXT_BASE,pt.BODY3,at.TEXT_SUB),lr=()=>r.default.createElement("aside",null,r.default.createElement(or,{href:"https://github.com/reg-viz"},r.default.createElement(ar,null,r.default.createElement(ir,{size:32})),r.default.createElement(sr,null,r.default.createElement("h3",null,"Powered by reg-viz"),r.default.createElement("p",null,"https://github.com/reg-viz")))),cr=ot(wn).withConfig({displayName:"Toggle__Wrapper",componentId:"g98uhl-0"})(["position:relative;display:block;width:44px;height:44px;border:none;border-radius:4px;background:transparent;& > span{position:absolute;top:50%;left:50%;display:block;margin-left:-19px;height:4px;border-radius:4px;background:",";transition:all ","ms ",";}& > span:nth-child(1){margin-top:-13px;width:",";transform:",";will-change:width;}& > span:nth-child(2){margin-top:-2.5px;width:38px;transform:",";}& > span:nth-child(3){margin-top:10px;width:22px;transform:",";opacity:",";}"],at.TEXT_BASE,mt.MEDIUM_OUT,ht.STANDARD,(({open:e})=>e?"38px":"30px"),(({open:e})=>e?"rotate(225deg) translate(-7px, -8px)":void 0),(({open:e})=>e?"rotate(135deg)":void 0),(({open:e})=>e?"rotate(45deg) translate(-4px, -6px)":void 0),(({open:e})=>e?"0":"1")),ur=({open:e,onClick:t})=>{const n=(0,r.useCallback)((e=>{e.preventDefault(),t()}),[t]);return r.default.createElement(cr,{open:e,"aria-label":e?"Close sidebar":"Open sidebar","aria-controls":"sidebar",onClick:n},r.default.createElement("span",null),r.default.createElement("span",null),r.default.createElement("span",null))};var dr=n("./node_modules/mousetrap/mousetrap.js"),fr=n.n(dr);fr().prototype.stopCallback=(e,t)=>{if("ignore"===t.dataset.mousetrap)return!1;const n=t.tagName.toLowerCase();return"input"===n||"select"===n||"textarea"===n};const pr=(e,t,n,i=[])=>{const o=(0,r.useCallback)(n,[t,...i]);(0,r.useEffect)((()=>{const n=null!=t?fr()(t).bind(e,o):fr().bind(e,o);return()=>{n.unbind(e)}}),[o])},hr=[...["button","keygen","select","textarea"].map((e=>"".concat(e,":not(:disabled)"))),'input:not(:disabled):not([type="hidden"]):not([type="file"])',"details > summary",'a[href]:not([rel="ignore"])',"area[href]",'[tabindex]:not([disabled]):not([tabindex=""])',"[contenteditable]","iframe","audio","video"].join(","),mr=e=>{const{childNodes:t}=e;let n=[];for(let e=0;e<t.length;e+=1){const r=t[e];r instanceof HTMLElement&&(r.matches(hr)?n.push(r):n=[...n,...mr(r)])}return n},vr=e=>{const{childNodes:t}=e;for(let e=0;e<t.length;e+=1){const n=t[e];if(!(n instanceof HTMLElement))continue;if(n.matches(hr))return n;const r=vr(n);if(null!=r)return r}return null},gr=e=>null!=e&&(e.focus(),document.activeElement!==e&&(e.setAttribute("tabindex","0"),e.focus()),document.activeElement===e),yr=(e,t)=>{if(null==e)return!1;const n=mr(e);if(n.length<1)return!1;const r=n.findIndex((e=>e===document.activeElement));return r<0?gr(n[r]):t(n,r)},br=ot.div.withConfig({displayName:"SidebarInner__Inner",componentId:"st6fq1-0"})(["position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;overflow-x:visible;overflow-y:auto;-webkit-overflow-scrolling:touch;.sidebar-exit-done &{display:none;}"]),wr=ot.div.withConfig({displayName:"SidebarInner__ToggleWrapper",componentId:"st6fq1-1"})(["position:absolute;top:","px;left:calc(100% + ","px);"],16,16),_r=({scrollerRef:e,inputRef:t,listRef:n})=>{const i=u.useContainer(),o=yt.useContainer(),a=e||(0,r.createRef)(),s=(0,r.useCallback)((e=>{i.filter(e.target.value)}),[i]);return pr(["up","k"],a.current,(e=>{var t;e.preventDefault(),e.stopPropagation(),t=a.current,yr(t,((e,t)=>e.splice(0,t).reverse().some(gr)))})),pr(["down","j"],a.current,(e=>{var t;e.preventDefault(),e.stopPropagation(),t=a.current,yr(t,((e,t)=>e.splice(t+1).some(gr)))})),r.default.createElement(r.default.Fragment,null,r.default.createElement(br,{ref:a,id:"sidebar"},r.default.createElement(un,{inputRef:t,placeholder:"Filter by file name",onChange:s}),r.default.createElement(pn,{variant:"margin",x:3}),r.default.createElement("div",{ref:n},r.default.createElement(Un,{header:"SUMMARY"},r.default.createElement($n,{forceOpen:i.filtering,label:"CHANGED",icon:r.default.createElement(qn,{fill:at.SIGN_CHANGED}),items:o.failedItems,size:i.failedItems.length}),r.default.createElement($n,{forceOpen:i.filtering,label:"NEW",icon:r.default.createElement(Zn,{fill:at.SIGN_NEW}),items:o.newItems,size:i.newItems.length}),r.default.createElement($n,{forceOpen:i.filtering,label:"DELETED",icon:r.default.createElement(Jn,{fill:at.SIGN_DELETED}),items:o.deletedItems,size:i.deletedItems.length}),r.default.createElement($n,{forceOpen:i.filtering,label:"PASSED",icon:r.default.createElement(tr,{fill:at.SIGN_PASSED}),items:o.passedItems,size:i.passedItems.length}))),r.default.createElement(pn,{variant:"margin",x:3}),o.links.length>0&&r.default.createElement(Un,{header:"LINKS"},o.links.map((({label:e,href:t})=>r.default.createElement(Un.Item,{key:e,href:t},e)))),r.default.createElement(pn,{variant:"margin",x:3}),r.default.createElement(lr,null)),r.default.createElement(wr,null,r.default.createElement(ur,{open:o.isOpen,onClick:o.toggle})))},Er=ot.span.withConfig({displayName:"Desktop__Handle",componentId:"sc-1t0hzho-0"})(["position:absolute;top:50%;right:calc(","px + 5px);width:4px;height:32px;background:",";border-radius:4px;transform:translate(1px) scale(0.8);transition:transform ","ms ",";"],4,at.BORDER,mt.SLIDE_IN,ht.BACK),xr=ot(Ht).withConfig({displayName:"Desktop__Wrapper",componentId:"sc-1t0hzho-1"})(["position:sticky !important;top:0;bottom:0;left:0;z-index:",";background:",";border-right:1px solid ",";transition-property:min-width,width;transition-timing-function:",";will-change:min-width;&.sidebar-enter{transition-duration:","ms;}&.sidebar-enter-active,&.sidebar-enter-done{min-width:280px !important;transform:translate(0,0);}&.sidebar-exit{min-width:0 !important;width:0 !important;transition-duration:","ms;}&.sidebar-exit-done{min-width:0 !important;width:0 !important;}& .handle-right{z-index:10;&:hover ",",&:active ","{transform:translate(0) scale(1);}}"],vt.SIDEBAR,at.BACKGROUND,at.BORDER,ht.STANDARD,mt.SLIDE_IN,mt.SLIDE_OUT,Er,Er),Cr=e=>{const t=yt.useContainer();return r.default.createElement(nn,{classNames:"sidebar",in:t.isOpen,appear:!0,timeout:{enter:mt.SLIDE_IN,exit:mt.SLIDE_OUT}},r.default.createElement(xr,{enable:{top:!1,topRight:!1,topLeft:!1,right:t.isOpen,bottom:!1,bottomRight:!1,bottomLeft:!1,left:!1},defaultSize:{width:300,height:"100vh"},maxWidth:"90%",minWidth:280,minHeight:"100vh",maxHeight:"100vh",handleComponent:{right:r.default.createElement(Er,null)},handleClasses:{top:"handle-top",right:"handle-right",bottom:"handle-bottom",left:"handle-left",topRight:"handle-top-right",topLeft:"handle-top-left",bottomRight:"handle-bottom-right",bottomLeft:"handle-bottom-left"}},r.default.createElement(_r,e)))};var kr,Sr=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],Or=Sr.join(","),Ar="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Tr=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:"AUDIO"!==e.nodeName&&"VIDEO"!==e.nodeName&&"DETAILS"!==e.nodeName||null!==e.getAttribute("tabindex")?e.tabIndex:0:t},Lr=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},Ir=function(e){return"INPUT"===e.tagName},Nr=function(e){return!(e.disabled||function(e){return Ir(e)&&"hidden"===e.type}(e)||function(e){if("hidden"===getComputedStyle(e).visibility)return!0;var t=Ar.call(e,"details>summary:first-of-type")?e.parentElement:e;if(Ar.call(t,"details:not([open]) *"))return!0;for(;e;){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(e))},Rr=function(e){return!(!Nr(e)||function(e){return function(e){return Ir(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||e.ownerDocument,r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!i||i===e}(e)}(e)||Tr(e)<0)},Mr=Sr.concat("iframe").join(","),Pr=function(e){if(!e)throw new Error("No node provided");return!1!==Ar.call(e,Mr)&&Nr(e)};function Dr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jr(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}var zr,Fr=(zr=[],{activateTrap:function(e){if(zr.length>0){var t=zr[zr.length-1];t!==e&&t.pause()}var n=zr.indexOf(e);-1===n||zr.splice(n,1),zr.push(e)},deactivateTrap:function(e){var t=zr.indexOf(e);-1!==t&&zr.splice(t,1),zr.length>0&&zr[zr.length-1].unpause()}}),Hr=function(e){return setTimeout(e,0)},Br=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},Ur=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},Wr=function(e,t){var n,r=document,i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jr(Object(n),!0).forEach((function(t){Dr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),o={containers:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1},a=function(e){return o.containers.some((function(t){return t.contains(e)}))},s=function(e){var t=i[e];if(!t)return null;var n=t;if("string"==typeof t&&!(n=r.querySelector(t)))throw new Error("`".concat(e,"` refers to no known node"));if("function"==typeof t&&!(n=t()))throw new Error("`".concat(e,"` did not return a node"));return n},l=function(){var e;if(null!==s("initialFocus"))e=s("initialFocus");else if(a(r.activeElement))e=r.activeElement;else{var t=o.tabbableGroups[0];e=t&&t.firstTabbableNode||s("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},c=function(){if(o.tabbableGroups=o.containers.map((function(e){var t,n,r,i,o,a,s,l=(n=[],r=[],(i=e,o=(t=t||{}).includeContainer,a=Rr,s=Array.prototype.slice.apply(i.querySelectorAll(Or)),o&&Ar.call(i,Or)&&s.unshift(i),s.filter(a)).forEach((function(e,t){var i=Tr(e);0===i?n.push(e):r.push({documentOrder:t,tabIndex:i,node:e})})),r.sort(Lr).map((function(e){return e.node})).concat(n));if(l.length>0)return{container:e,firstTabbableNode:l[0],lastTabbableNode:l[l.length-1]}})).filter((function(e){return!!e})),o.tabbableGroups.length<=0&&!s("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},u=function e(t){t!==r.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!i.preventScroll}),o.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(l()))},d=function(e){a(e.target)||(Ur(i.clickOutsideDeactivates,e)?n.deactivate({returnFocus:i.returnFocusOnDeactivate&&!Pr(e.target)}):Ur(i.allowOutsideClick,e)||e.preventDefault())},f=function(e){var t=a(e.target);t||e.target instanceof Document?t&&(o.mostRecentlyFocusedNode=e.target):(e.stopImmediatePropagation(),u(o.mostRecentlyFocusedNode||l()))},p=function(e){if(!1!==i.escapeDeactivates&&function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){c();var t=null;if(o.tabbableGroups.length>0)if(Br(o.tabbableGroups,(function(t){return t.container.contains(e.target)}))<0)t=e.shiftKey?o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:o.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var n=Br(o.tabbableGroups,(function(t){var n=t.firstTabbableNode;return e.target===n}));if(n>=0){var r=0===n?o.tabbableGroups.length-1:n-1;t=o.tabbableGroups[r].lastTabbableNode}}else{var i=Br(o.tabbableGroups,(function(t){var n=t.lastTabbableNode;return e.target===n}));if(i>=0){var a=i===o.tabbableGroups.length-1?0:i+1;t=o.tabbableGroups[a].firstTabbableNode}}else t=s("fallbackFocus");t&&(e.preventDefault(),u(t))}(e)},h=function(e){Ur(i.clickOutsideDeactivates,e)||a(e.target)||Ur(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},m=function(){if(o.active)return Fr.activateTrap(n),kr=i.delayInitialFocus?Hr((function(){u(l())})):u(l()),r.addEventListener("focusin",f,!0),r.addEventListener("mousedown",d,{capture:!0,passive:!1}),r.addEventListener("touchstart",d,{capture:!0,passive:!1}),r.addEventListener("click",h,{capture:!0,passive:!1}),r.addEventListener("keydown",p,{capture:!0,passive:!1}),n},v=function(){if(o.active)return r.removeEventListener("focusin",f,!0),r.removeEventListener("mousedown",d,!0),r.removeEventListener("touchstart",d,!0),r.removeEventListener("click",h,!0),r.removeEventListener("keydown",p,!0),n};return(n={activate:function(e){if(o.active)return this;c(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=r.activeElement;var t=e&&e.onActivate?e.onActivate:i.onActivate;return t&&t(),m(),this},deactivate:function(e){if(!o.active)return this;clearTimeout(kr),v(),o.active=!1,o.paused=!1,Fr.deactivateTrap(n);var t=e&&void 0!==e.onDeactivate?e.onDeactivate:i.onDeactivate;return t&&t(),(e&&void 0!==e.returnFocus?e.returnFocus:i.returnFocusOnDeactivate)&&Hr((function(){var e;u((e=o.nodeFocusedBeforeActivation,s("setReturnFocus")||e))})),this},pause:function(){return o.paused||!o.active||(o.paused=!0,v()),this},unpause:function(){return o.paused&&o.active?(o.paused=!1,c(),m(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return o.containers=t.map((function(e){return"string"==typeof e?r.querySelector(e):e})),o.active&&c(),this}}).updateContainerElements(e),n},Vr=!1;if("undefined"!=typeof window){var Gr={get passive(){Vr=!0}};window.addEventListener("testPassive",null,Gr),window.removeEventListener("testPassive",null,Gr)}var Yr="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),$r=[],Xr=!1,qr=-1,Kr=void 0,Zr=void 0,Qr=function(e){return $r.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},Jr=function(e){var t=e||window.event;return!!Qr(t.target)||t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1)},ei=function(){void 0!==Zr&&(document.body.style.paddingRight=Zr,Zr=void 0),void 0!==Kr&&(document.body.style.overflow=Kr,Kr=void 0)},ti=function(e,t){if(e){if(!$r.some((function(t){return t.targetElement===e}))){var n={targetElement:e,options:t||{}};$r=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}($r),[n]),Yr?(e.ontouchstart=function(e){1===e.targetTouches.length&&(qr=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var n=e.targetTouches[0].clientY-qr;!Qr(e.target)&&(t&&0===t.scrollTop&&n>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?Jr(e):e.stopPropagation())}(t,e)},Xr||(document.addEventListener("touchmove",Jr,Vr?{passive:!1}:void 0),Xr=!0)):function(e){if(void 0===Zr){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(Zr=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===Kr&&(Kr=document.body.style.overflow,document.body.style.overflow="hidden")}(t)}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},ni=function(){Yr?($r.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),Xr&&(document.removeEventListener("touchmove",Jr,Vr?{passive:!1}:void 0),Xr=!1),qr=-1):ei(),$r=[]},ri=function(e){e?($r=$r.filter((function(t){return t.targetElement!==e})),Yr?(e.ontouchstart=null,e.ontouchmove=null,Xr&&0===$r.length&&(document.removeEventListener("touchmove",Jr,Vr?{passive:!1}:void 0),Xr=!1)):$r.length||ei()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")};function ii(){return(ii=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const oi=ot.div.withConfig({displayName:"Mobile__Inner",componentId:"sc-1v0ofj3-0"})(["position:fixed;top:0;right:0;bottom:0;left:0;z-index:",";width:calc(100% - 44px - ","px);background:",";transition-property:box-shadow,transform;transition-timing-function:",";transform:translateX(-100%);.sidebar-enter &{transition-duration:","ms;transform:translateX(-100%);}.sidebar-enter-active &,.sidebar-enter-done &{box-shadow:",";transform:translateX(0);}.sidebar-exit &{transform:translateX(0);transition-duration:","ms;}.sidebar-exit-active &,.sidebar-exit-done &{transform:translateX(-100%);}"],vt.SIDEBAR,32,at.BACKGROUND,ht.STANDARD,mt.SLIDE_IN,lt.LEVEL2,mt.SLIDE_OUT),ai=ot.button.withConfig({displayName:"Mobile__Backdrop",componentId:"sc-1v0ofj3-1"})(["position:fixed;top:0;right:0;bottom:0;left:0;z-index:",";display:none;margin:0;padding:0;width:100%;height:100%;border:none;background:rgba(0,0,0,0.2);will-change:opacity;transition-timing-function:",";transition-property:opacity;.sidebar-enter &{display:block;opacity:0;transition-duration:","ms;}.sidebar-enter-active &,.sidebar-enter-done &{display:block;opacity:1;}.sidebar-exit &{display:block;opacity:1;transition-duration:","ms;}.sidebar-exit-active &{display:block;opacity:0;}.sidebar-exit-done &{display:none;}"],vt.SIDEBAR-1,ht.STANDARD,mt.SLIDE_IN,mt.SLIDE_OUT),si=e=>{const t=yt.useContainer(),n=(0,r.useRef)(null),i=(0,r.useRef)(null),o=(0,r.useRef)(null),a=(0,r.useCallback)((e=>{e.preventDefault(),t.close()}),[t]);return(0,r.useEffect)((()=>{const{current:e}=i;if(null!=e)return n.current=Wr(e,{}),()=>{ni(),null!=n.current&&n.current.deactivate()}}),[]),(0,r.useEffect)((()=>{const{current:e}=o,{current:r}=n;null!=e&&null!=r&&(t.isOpen?(r.activate(),ti(e)):(r.deactivate(),ri(e)))}),[t.isOpen]),pr("esc",i.current,(()=>{t.isOpen&&t.close()}),[t.isOpen]),r.default.createElement(nn,{classNames:"sidebar",in:t.isOpen,appear:!0,timeout:{enter:mt.SLIDE_IN,exit:mt.SLIDE_OUT}},r.default.createElement("div",{ref:i},r.default.createElement(oi,null,r.default.createElement(_r,ii({},e,{scrollerRef:o}))),r.default.createElement(ai,{onClick:a})))},li=e=>yt.useContainer().isDesktop?r.default.createElement(Cr,e):r.default.createElement(si,e);function ci(){const e=(t=["\n *,\n *::before,\n *::after {\n box-sizing: inherit;\n }\n\n :root {\n box-sizing: border-box;\n background: ",";\n color: ",";\n -webkit-text-size-adjust: 100%;\n -ms-text-size-adjust: 100%;\n font-family: ",";\n line-height: ",";\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n :focus-visible {\n outline: 3px solid rgba(51, 166, 232, 0.4);\n outline-offset: 1px;\n }\n\n body {\n min-width: 320px;\n margin: 0;\n padding: 0;\n }\n\n body,\n #app {\n min-height: 100vh;\n }\n\n h1 {\n ",";\n margin: 124px 0 ","px;\n\n & + h2 {\n margin-top: ","px;\n }\n }\n\n h2 {\n ",";\n margin: ","px 0 ","px;\n }\n"],n||(n=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}})));var t,n;return ci=function(){return e},e}const ui=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var o=We.apply(void 0,[e].concat(n)),a="sc-global-"+Xe(JSON.stringify(o)),s=new it(o,a);function l(e){var t=Ne(),n=Re(),i=(0,r.useContext)(et),o=(0,r.useRef)(t.allocateGSInstance(a)).current;return(0,r.useLayoutEffect)((function(){return c(o,e,t,i,n),function(){return s.removeStyles(o,t)}}),[o,e,t,i,n]),null}function c(e,t,n,r,i){if(s.isStatic)s.renderStyles(e,K,n,i);else{var o=F({},t,{theme:Ve(t,r,l.defaultProps)});s.renderStyles(e,o,n,i)}}return r.default.memo(l)}(ci(),at.BACKGROUND,at.TEXT_BASE,ct.SANS_SERIF,dt.LARGE,pt.TITLE1,24,64,pt.TITLE2,96,24),di=ot.div.withConfig({displayName:"Container__Wrapper",componentId:"sc-1wp70hu-0"})(["padding-right:","px;padding-left:","px;@media (min-width:","px){padding-right:","px;padding-left:","px;}"],24,24,ft.MEDIUM,40,40),fi=({children:e,...t})=>r.default.createElement(di,t,e);function pi(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function hi(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}(function(){(console.warn||console.log).apply(console,arguments)}).bind("[clipboard-polyfill]");var mi,vi,gi,yi,bi="undefined"==typeof navigator?void 0:navigator,wi=null==bi?void 0:bi.clipboard,_i=(null===(mi=null==wi?void 0:wi.read)||void 0===mi||mi.bind(wi),null===(vi=null==wi?void 0:wi.readText)||void 0===vi||vi.bind(wi),null===(gi=null==wi?void 0:wi.write)||void 0===gi||gi.bind(wi),null===(yi=null==wi?void 0:wi.writeText)||void 0===yi?void 0:yi.bind(wi)),Ei="undefined"==typeof window?void 0:window,xi=(null==Ei||Ei.ClipboardItem,Ei);var Ci=function(){this.success=!1};function ki(e,t,n){for(var r in e.success=!0,t){var i=t[r],o=n.clipboardData;o.setData(r,i),"text/plain"===r&&o.getData(r)!==i&&(e.success=!1)}n.preventDefault()}function Si(e){var t=new Ci,n=ki.bind(this,t,e);document.addEventListener("copy",n);try{document.execCommand("copy")}finally{document.removeEventListener("copy",n)}return t.success}function Oi(e,t){Ai(e);var n=Si(t);return Ti(),n}function Ai(e){var t=document.getSelection();if(t){var n=document.createRange();n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n)}}function Ti(){var e=document.getSelection();e&&e.removeAllRanges()}function Li(e){return pi(this,void 0,void 0,(function(){var t;return hi(this,(function(n){if(t="text/plain"in e,"undefined"==typeof ClipboardEvent&&void 0!==xi.clipboardData&&void 0!==xi.clipboardData.setData){if(!t)throw new Error("No `text/plain` value was specified.");if(r=e["text/plain"],xi.clipboardData.setData("Text",r))return[2,!0];throw new Error("Copying failed, possibly because the user rejected it.")}var r;return Si(e)||navigator.userAgent.indexOf("Edge")>-1||Oi(document.body,e)||function(e){var t=document.createElement("div");t.setAttribute("style","-webkit-user-select: text !important"),t.textContent="temporary element",document.body.appendChild(t);var n=Oi(t,e);return document.body.removeChild(t),n}(e)||function(e){var t=document.createElement("div");t.setAttribute("style","-webkit-user-select: text !important");var n=t;t.attachShadow&&(n=t.attachShadow({mode:"open"}));var r=document.createElement("span");r.innerText=e,n.appendChild(r),document.body.appendChild(t),Ai(r);var i=document.execCommand("copy");return Ti(),document.body.removeChild(t),i}(e["text/plain"])?[2,!0]:[2,!1]}))}))}function Ii(e){return pi(this,void 0,void 0,(function(){return hi(this,(function(t){if(_i)return[2,_i(e)];if(!Li(function(e){var t={};return t["text/plain"]=e,t}(e)))throw new Error("writeText() failed");return[2]}))}))}var Ni=n("./node_modules/use-intersection/lib/index.js"),Ri=n("./node_modules/stylis/stylis.js");function Mi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Di(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ji(){return(ji=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function zi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Di(e,t,n[t])}))}return e}function Fi(e){return(Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Hi(e,t){return(Hi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Bi(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var Ui="react-md-spinner",Wi="__react-md-spinner-animation__",Vi=new(n.n(Ri)())({global:!1,cascade:!0,keyframe:!0,prefix:!0,compress:!1}),Gi={ROOT_ROTATE:"".concat(Wi,"root-rotate"),FILL_UNFILL_ROTATE:"".concat(Wi,"fill-unfill-rotate"),LAYER_1_FADE_IN_OUT:"".concat(Wi,"layer-1-fade-in-out"),LAYER_2_FADE_IN_OUT:"".concat(Wi,"layer-2-fade-in-out"),LAYER_3_FADE_IN_OUT:"".concat(Wi,"layer-3-fade-in-out"),LAYER_4_FADE_IN_OUT:"".concat(Wi,"layer-4-fade-in-out"),LEFT_SPIN:"".concat(Wi,"left-spin"),RIGHT_SPIN:"".concat(Wi,"right-spin")},Yi=Vi("","\n@keyframes ".concat(Gi.ROOT_ROTATE," {\n to { transform: rotate(360deg); }\n}\n\n@keyframes ").concat(Gi.FILL_UNFILL_ROTATE," {\n 12.5% { transform: rotate(135deg) }\n 25% { transform: rotate(270deg) }\n 37.5% { transform: rotate(405deg) }\n 50% { transform: rotate(540deg) }\n 62.5% { transform: rotate(675deg) }\n 75% { transform: rotate(810deg) }\n 87.5% { transform: rotate(945deg) }\n 100% { transform: rotate(1080deg) }\n}\n\n@keyframes ").concat(Gi.LAYER_1_FADE_IN_OUT," {\n 0% { opacity: 1 }\n 25% { opacity: 1 }\n 26% { opacity: 0 }\n 89% { opacity: 0 }\n 90% { opacity: 1 }\n 100% { opacity: 1 }\n}\n\n@keyframes ").concat(Gi.LAYER_2_FADE_IN_OUT," {\n 0% { opacity: 0 }\n 15% { opacity: 0 }\n 25% { opacity: 1 }\n 50% { opacity: 1 }\n 51% { opacity: 0 }\n 100% { opacity: 0 }\n}\n\n@keyframes ").concat(Gi.LAYER_3_FADE_IN_OUT," {\n 0% { opacity: 0 }\n 40% { opacity: 0 }\n 50% { opacity: 1 }\n 75% { opacity: 1 }\n 76% { opacity: 0 }\n 100% { opacity: 0 }\n}\n\n@keyframes ").concat(Gi.LAYER_4_FADE_IN_OUT," {\n 0% { opacity: 0 }\n 65% { opacity: 0 }\n 75% { opacity: 1 }\n 90% { opacity: 1 }\n 100% { opacity: 0 }\n}\n\n@keyframes ").concat(Gi.LEFT_SPIN," {\n 0% { transform: rotate(130deg) }\n 50% { transform: rotate(-5deg) }\n 100% { transform: rotate(130deg) }\n}\n\n@keyframes ").concat(Gi.RIGHT_SPIN," {\n 0% { transform: rotate(-130deg) }\n 50% { transform: rotate(5deg) }\n 100% { transform: rotate(-130deg) }\n}\n")),$i=function(e){function t(){return Mi(this,t),Bi(this,Fi(t).apply(this,arguments))}var n,i;return function(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}}),t&&Hi(e,t)}(t,e),n=t,(i=[{key:"componentDidMount",value:function(){var e,n;t.mountedInstanceCount<1&&(Ui,e=Yi,(n=document.createElement("style")).type="text/css",n.setAttribute("data-".concat("react-md-spinner"),""),n.innerHTML=e,document.head.appendChild(n)),t.mountedInstanceCount++}},{key:"componentWillUnmount",value:function(){var e;t.mountedInstanceCount=Math.max(0,t.mountedInstanceCount-1),t.mountedInstanceCount<1&&(Ui,null!=(e=document.querySelector("[data-".concat("react-md-spinner","]")))&&null!=e.parentNode&&e.parentNode.removeChild(e))}},{key:"render",value:function(){for(var e=this.props,t=(e.singleColor,e.size,e.borderSize,e.duration,e.color1,e.color2,e.color3,e.color4,function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["singleColor","size","borderSize","duration","color1","color2","color3","color4"])),n=function(e){var t=e.size,n=e.duration,r=e.borderSize||Math.max(1,Math.round(.107142*t)),i=function(e){var t=e.singleColor,n=e.color1,r=e.color2,i=e.color3,o=e.color4;return t?[t,t,t,t]:[n,r,i,o]}(e),o=360*n/306,a={display:"inline-block",position:"relative",width:t,height:t,verticalAlign:"middle",fontSize:"0",animation:"".concat(Gi.ROOT_ROTATE," ").concat(o,"ms linear infinite"),WebkitAnimation:"".concat(Gi.ROOT_ROTATE," ").concat(o,"ms linear infinite")},s=i.map((function(e,t){return{boxSizing:"border-box",display:"block",position:"absolute",width:"100%",height:"100%",borderColor:e,whiteSpace:"nowrap",opacity:1,animationName:"".concat(Gi.FILL_UNFILL_ROTATE,", ").concat(Gi["LAYER_".concat(t+1,"_FADE_IN_OUT")]),WebkitAnimationName:"".concat(Gi.FILL_UNFILL_ROTATE,", ").concat(Gi["LAYER_".concat(t+1,"_FADE_IN_OUT")]),animationDuration:"".concat(n*i.length,"ms"),WebkitAnimationDuration:"".concat(n*i.length,"ms"),animationTimingFunction:"cubic-bezier(.4, 0, .2, 1)",WebkitAnimationTimingFunction:"cubic-bezier(.4, 0, .2, 1)",animationIterationCount:"infinite",WebkitAnimationIterationCount:"infinite"}})),l={display:"inline-block",boxSizing:"border-box",position:"absolute",top:0,borderRadius:"50%"},c=zi({},l,{left:"45%",width:"10%",borderWidth:r,borderColor:"inherit",borderTopStyle:"solid"}),u=zi({},l,{bottom:0,width:"200%",borderWidth:r,borderStyle:"solid",animationDuration:"".concat(n,"ms"),WebkitAnimationDuration:"".concat(n,"ms"),animationTimingFunction:"cubic-bezier(.4, 0, .2, 1)",WebkitAnimationTimingFunction:"cubic-bezier(.4, 0, .2, 1)",animationIterationCount:"infinite",WebkitAnimationIterationCount:"infinite"}),d=zi({},u,{left:0,transform:"rotate(129deg)",WebkitTransform:"rotate(129deg)",animationName:Gi.LEFT_SPIN,WebkitAnimationName:Gi.LEFT_SPIN}),f=i.map((function(e){return zi({},d,{borderColor:"".concat(e," transparent transparent ").concat(e)})})),p=zi({},u,{left:"-100%",transform:"rotate(-129deg)",WebkitTransform:"rotate(-129deg)",animationName:Gi.RIGHT_SPIN,WebkitAnimationName:Gi.RIGHT_SPIN});return{rootStyle:a,layerStyles:s,layerAfterStyle:c,clipStyle:{display:"inline-block",boxSizing:"border-box",position:"relative",width:"50%",height:"100%",overflow:"hidden",borderColor:"inherit"},clip1AfterStyles:f,clip2AfterStyles:i.map((function(e){return zi({},p,{borderColor:"".concat(e," ").concat(e," transparent transparent")})}))}}(this.props),i=n.rootStyle,o=n.layerStyles,a=n.layerAfterStyle,s=n.clipStyle,l=n.clip1AfterStyles,c=n.clip2AfterStyles,u=[],d=0;d<4;d++)u.push(r.default.createElement("span",{key:d,style:o[d]},r.default.createElement("span",{style:s},r.default.createElement("span",{style:l[d]})),r.default.createElement("span",{style:s},r.default.createElement("span",{style:c[d]})),r.default.createElement("span",{style:a})));return r.default.createElement("span",ji({},t,{style:zi({},i,null!=t.style?t.style:{})}),u)}}])&&Pi(n.prototype,i),t}(r.default.PureComponent);Di($i,"defaultProps",{size:28,duration:1333,color1:"rgb(66, 165, 245)",color2:"rgb(239, 83, 80)",color3:"rgb(253, 216, 53)",color4:"rgb(76, 175, 80)"}),Di($i,"mountedInstanceCount",0);const Xi=$i;function qi(){return(qi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const Ki=({size:e,color:t,...n})=>r.default.createElement(Xi,qi({},n,{size:e,singleColor:t}));Ki.defaultProps={size:32,color:at.BRAND_PRIMARY};const Zi="loading"in HTMLImageElement.prototype;function Qi(){return(Qi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const Ji=new Set,eo=e=>{if(null!=e)return"number"==typeof e?"".concat(e,"px"):e},to=ot.span.withConfig({displayName:"Image__Wrapper",componentId:"sc-2r9kjq-0"})(["position:relative;display:flex;justify-content:center;align-items:center;"]),no=ot.span.withConfig({displayName:"Image__Loading",componentId:"sc-2r9kjq-1"})(["position:absolute;top:50%;left:50%;z-index:2;line-height:0;transform:translate(-50%,-50%);"]),ro=ot.img.withConfig({displayName:"Image__Img",componentId:"sc-2r9kjq-2"})(["position:relative;z-index:1;max-width:100%;width:",";height:",";vertical-align:bottom;object-fit:",";"],(({full:e})=>e?"100%":void 0),(({full:e})=>e?"100%":void 0),(({fit:e})=>e)),io=(0,r.forwardRef)((({src:e,width:t,height:n,fit:i,...o},a)=>{const s=(0,r.useRef)(null),[l,c]=(0,r.useState)(Ji.has(e));return(0,r.useEffect)((()=>{const{current:t}=s;if(l||null==t)return;const n=t.firstElementChild;return null!=n&&n instanceof HTMLImageElement?n.complete?c(!0):void(n.onload=()=>{null!=n&&c(!0),Ji.add(e)}):void 0}),[l,e]),r.default.createElement(to,{ref:s,style:{width:eo(t),height:eo(n)}},r.default.createElement(ro,Qi({ref:a,loading:"lazy",src:e,fit:i,full:null!=t&&null!=n},o)),!l&&r.default.createElement(no,null,r.default.createElement(Ki,{"aria-label":"Loading..."})))})),oo=(0,r.forwardRef)(((e,t)=>{const n=(0,r.useRef)(null),i=(0,Ni.useIntersection)(n,{rootMargin:"250px",once:!0});return r.default.createElement("span",{ref:n},i?r.default.createElement(io,Qi({ref:t},e)):null)})),ao=(0,r.forwardRef)((({lazy:e,...t},n)=>e&&!Zi?r.default.createElement(oo,Qi({ref:n},t)):r.default.createElement(io,Qi({ref:n},t))));function so(){return(so=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}ao.defaultProps={lazy:!1};const lo={light:{normal:"transparent",hover:at.HOVER_BLACK},dark:{normal:"transparent",hover:at.HOVER_WHITE}},co=ot(wn).withConfig({displayName:"IconButton__Wrapper",componentId:"p3ativ-0"})(["display:inline-flex;justify-content:center;align-items:center;width:","px;height:","px;margin:0;padding:0;border:none;border-radius:50%;background:",";font-size:0;line-height:0;&:hover{background-color:",";}"],40,40,(({normal:e})=>e),(({hover:e})=>e)),uo=(0,r.forwardRef)((({variant:e,children:t,...n},i)=>r.default.createElement(co,so({ref:i},lo[e],n),t)));function fo(){return(fo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}uo.defaultProps={variant:"light"};const po=({fill:e,...t})=>r.default.createElement("svg",fo({width:24,height:24,viewBox:"0 0 24 24",fill:"none"},t),r.default.createElement("circle",{cx:12,cy:5,r:2,fill:e}),r.default.createElement("circle",{cx:12,cy:12,r:2,fill:e}),r.default.createElement("circle",{cx:12,cy:19,r:2,fill:e}));function ho(){return(ho=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const mo={passed:{color:at.SIGN_PASSED,label:"Passed item",icon:r.default.createElement(tr,{width:18,height:18,fill:"#fff"})},new:{color:at.SIGN_NEW,label:"New item",icon:r.default.createElement(Zn,{width:18,height:18,fill:"#fff"})},changed:{color:at.SIGN_CHANGED,label:"Changed item",icon:r.default.createElement(qn,{width:18,height:18,fill:"#fff"})},deleted:{color:at.SIGN_DELETED,label:"Deleted item",icon:r.default.createElement(Jn,{width:18,height:18,fill:"#fff"})}},vo=ot("span").withConfig({displayName:"Sign__Wrapper",componentId:"sc-1tnvn1e-0"})(["display:inline-flex;justify-content:center;align-items:center;width:24px;height:24px;background:",";border-radius:50%;line-height:0;vertical-align:bottom;"],(({color:e})=>e)),go=({variant:e,...t})=>{const{color:n,label:i,icon:o}=mo[e];return r.default.createElement(vo,ho({},t,{"aria-label":i,color:n}),o)};var yo=n("./node_modules/keycode/index.js"),bo=n.n(yo),wo=n("./node_modules/debounce/index.js"),_o=n.n(wo);const Eo={el:null,count:0},xo=({children:e,onRendered:t})=>{const[n,i]=r.default.useState(!1);return r.default.useEffect((()=>(null==Eo.el&&(Eo.el=document.createElement("div"),Eo.el.classList.add("portal"),document.body.appendChild(Eo.el)),Eo.count++,i(!0),()=>{Eo.count--,Eo.count<=0&&null!=Eo.el&&(document.body.removeChild(Eo.el),Eo.count=0,Eo.el=null)})),[]),r.default.useEffect((()=>{n&&null!=t&&t()}),[n,t]),n&&null!=Eo.el?r.createPortal(e,Eo.el):null},Co=ot(wn).withConfig({displayName:"Item__Inner",componentId:"sc-124kf1o-0"})(["",";display:flex;align-items:center;position:relative;width:100%;padding:","px ","px;border:0;background:",";color:",";text-align:left;&:hover{background-color:",";}&:focus{z-index:2;}"],pt.BODY2,8,16,at.WHITE,at.TEXT_BASE,at.HOVER_BLACK);function ko(){return(ko=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function So(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Oo={"top-left":{origin:"bottom right",translate:"translateY(".concat(4,"px)"),scale:"scale(0.6, 0.7)"},top:{origin:"bottom center",translate:"translateY(".concat(4,"px)"),scale:"scale(0.6, 0.7)"},"top-right":{origin:"bottom left",translate:"translateY(".concat(4,"px)"),scale:"scale(0.6, 0.7)"},right:{origin:"center left",translate:"translateX(".concat(-4,"px)"),scale:"scale(0.6, 0.7)"},"bottom-right":{origin:"top left",translate:"translateY(".concat(-4,"px)"),scale:"scale(0.6, 0.7)"},bottom:{origin:"top center",translate:"translateY(".concat(-4,"px)"),scale:"scale(0.6, 0.7)"},"bottom-left":{origin:"top right",translate:"translateY(".concat(-4,"px)"),scale:"scale(0.6, 0.7)"},left:{origin:"center right",translate:"translateX(".concat(4,"px)"),scale:"scale(0.6, 0.7)"}},Ao=ot.div.withConfig({displayName:"Menu__Wrapper",componentId:"sc-1qshbnf-0"})(["position:absolute;z-index:",";transition-property:transform,opacity;transition-timing-function:",";transform-origin:",";&.menu-enter{transform:scale(0.98);opacity:0;}&.menu-enter-active{transition-duration:","ms;transform:scale(1);opacity:1;}&.menu-exit{opacity:1;}&.menu-exit-active{transition-duration:","ms;opacity:0;}"],vt.MENU,ht.STANDARD,(({placement:e})=>Oo[e].origin),mt.SMALL_IN,mt.SMALL_OUT),To=ot.div.withConfig({displayName:"Menu__Scale",componentId:"sc-1qshbnf-1"})(["min-width:200px;max-width:320px;padding:","px 0;border-radius:3px;background:",";box-shadow:",";transition-property:transform;transition-timing-function:",";transform-origin:",";.menu-enter &{transform:",";}.menu-enter-active &{transition-duration:","ms;transform:scale(1,1);}.menu-exit &{transform:scale(1,1);}.menu-exit-active &{transition-duration:","ms;transform:scale(0.99,0.97);}"],8,at.WHITE,lt.LEVEL2,ht.STANDARD,(({placement:e})=>Oo[e].origin),(({placement:e})=>Oo[e].scale),mt.MEDIUM_IN-mt.SMALL_IN,mt.MEDIUM_OUT-mt.SMALL_OUT),Lo=ot.div.withConfig({displayName:"Menu__Opacity",componentId:"sc-1qshbnf-2"})(["transition-property:transform,opacity;transition-timing-function:",";.menu-enter &{transform:",";opacity:0;}.menu-enter-active &{transition-duration:","ms;transition-delay:","ms;transform:translate(0,0);opacity:1;}.menu-exit &{opacity:1;}.menu-exit-active &{transition-duration:","ms;opacity:0;}"],ht.STANDARD,(({placement:e})=>Oo[e].translate),mt.MEDIUM_IN-mt.SMALL_IN,(mt.MEDIUM_IN-mt.SMALL_IN)/2,mt.MEDIUM_OUT-mt.SMALL_OUT),Io=ot.ul.withConfig({displayName:"Menu__List",componentId:"sc-1qshbnf-3"})(["margin:0;padding:0;list-style:none;"]),No=ot.button.withConfig({displayName:"Menu__Backdrop",componentId:"sc-1qshbnf-4"})(["display:block;position:fixed;z-index:",";top:0;left:0;width:100%;height:100%;border:none;background:transparent;"],vt.MENU-1);class Ro extends r.default.Component{constructor(...e){super(...e),So(this,"wrapper",r.default.createRef()),So(this,"focusIndex",0),So(this,"focusable",[]),So(this,"originalActiveElement",null),So(this,"handleRendered",(()=>{this.updateFocusable()})),So(this,"handleResize",_o()((()=>{this.updatePosition()}),192)),So(this,"handleKeydown",(e=>{if(!this.props.open)return;const t=()=>{e.preventDefault(),e.stopPropagation()};switch(bo()(e)){case"tab":case"esc":t(),this.requestClose();break;case"down":case"j":t(),this.nextFocus();break;case"up":case"k":t(),this.previousFocus()}})),So(this,"handleBackdropFocus",(e=>{e.preventDefault(),this.requestClose()})),So(this,"handleBackdropClick",(e=>{e.preventDefault(),this.requestClose()}))}componentDidUpdate(e){const{open:t,placement:n}=this.props,{open:r,placement:i}=e;n!==i&&this.updatePosition(),t!==r&&t&&null!=this.wrapper.current&&(this.originalActiveElement=document.activeElement,this.updatePosition(),this.updateFocusable(),this.watchResize(),this.focusTo(0)),t===r||t||(this.restoreOriginalFocus(),this.unwatchResize())}componentWillUnmount(){this.focusable=[],this.originalActiveElement=null}requestClose(){null!=this.props.onRequestClose&&this.props.onRequestClose()}updatePosition(){const{current:e}=this.wrapper,{anchor:t,placement:n}=this.props;if(null==e||null==t||null==n)return;const i=r.findDOMNode(t.current);if(null==i)return;const o=i.getBoundingClientRect();let a,s;switch(n){case"top-left":a=window.pageYOffset+o.bottom-e.clientHeight,s=o.left+i.clientWidth-e.clientWidth;break;case"top":a=window.pageYOffset+o.bottom-e.clientHeight,s=o.left+i.clientWidth/2-e.clientWidth/2;break;case"top-right":a=window.pageYOffset+o.bottom-e.clientHeight,s=o.left;break;case"right":a=window.pageYOffset+o.top+i.clientHeight/2-e.clientHeight/2,s=o.left;break;case"bottom-right":a=window.pageYOffset+o.top,s=o.left;break;case"bottom":a=window.pageYOffset+o.top,s=o.left+i.clientWidth/2-e.clientWidth/2;break;case"bottom-left":a=window.pageYOffset+o.top,s=o.left+i.clientWidth-e.clientWidth;break;case"left":a=window.pageYOffset+o.top+i.clientHeight/2-e.clientHeight/2,s=o.left+i.clientWidth-e.clientWidth;break;default:a=0,s=0}e.style.top="".concat(a,"px"),e.style.left="".concat(s,"px")}restoreOriginalFocus(){null!=this.originalActiveElement&&this.originalActiveElement.focus()}nextFocus(){const{length:e}=this.focusable,t=this.focusIndex+1;this.focusTo(t<e?t:0)}previousFocus(){const{length:e}=this.focusable,t=this.focusIndex-1;this.focusTo(t>-1?t:Math.max(0,e-1))}focusTo(e){this.focusIndex=e,gr(this.focusable[e])}updateFocusable(){const{current:e}=this.wrapper;null!=e&&(this.focusIndex=0,this.focusable=mr(e))}watchResize(){window.addEventListener("resize",this.handleResize,!1)}unwatchResize(){window.removeEventListener("resize",this.handleResize,!1)}render(){const{id:e,open:t,anchor:n,placement:i,children:o,onRequestClose:a,...s}=this.props,l=i;return r.default.createElement(xo,{onRendered:this.handleRendered},r.default.createElement("div",null,r.default.createElement(nn,{classNames:"menu",in:t,timeout:{enter:mt.MEDIUM_IN,exit:mt.MEDIUM_OUT},unmountOnExit:!0},r.default.createElement(Ao,ko({ref:this.wrapper},s,{id:e,placement:l,onKeyDown:this.handleKeydown}),r.default.createElement(To,{placement:l},r.default.createElement(Lo,{placement:l},r.default.createElement(Io,null,o))))),t&&r.default.createElement(No,{type:"button","aria-label":"Close menu","aria-controls":e,onFocus:this.handleBackdropFocus,onClick:this.handleBackdropClick})))}}So(Ro,"Item",(({children:e,...t})=>r.default.createElement("li",null,r.default.createElement(Co,t,r.default.createElement(En,null,e))))),So(Ro,"defaultProps",{placement:"bottom"});const Mo=ot.span.withConfig({displayName:"Transparent__Wrapper",componentId:"sc-5b2f61-0"})(["position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:block;width:100%;height:100%;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAySURBVHgB7dAxDgAwCAJA2nTk/y9lr35ABuPorYSQcH5CQVIV4aJpi8Zzl5PE+OIWjQDL+Qn2c7fZmAAAAABJRU5ErkJggg==');"]),Po=({...e})=>r.default.createElement(Mo,e),Do=ot.div.withConfig({displayName:"Card__Wrapper",componentId:"sc-1tipmun-0"})(["position:relative;"]),jo=ot(wn).withConfig({displayName:"Card__Inner",componentId:"sc-1tipmun-1"})(["display:block;width:100%;border:none;border-radius:6px;background:",";box-shadow:",";color:",";font-size:inherit;text-decoration:none;cursor:pointer;transition:box-shadow ","ms ",";&:hover{box-shadow:",";}&:focus{outline:none;}&:focus-visible{box-shadow:",";}"],at.WHITE,lt.LEVEL3,at.TEXT_BASE,mt.FADE_IN,ht.STANDARD,lt.LEVEL1,st),zo=ot.div.withConfig({displayName:"Card__CardSign",componentId:"sc-1tipmun-2"})(["position:absolute;top:","px;left:","px;z-index:10;"],8,8),Fo=ot.div.withConfig({displayName:"Card__CardImage",componentId:"sc-1tipmun-3"})(["position:relative;overflow:hidden;height:260px;border-radius:6px 6px 0 0;"]),Ho=ot.span.withConfig({displayName:"Card__CardImageInner",componentId:"sc-1tipmun-4"})(["position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;"]),Bo=ot.div.withConfig({displayName:"Card__CardText",componentId:"sc-1tipmun-5"})(["",";padding:","px;text-align:left;@media (min-width:","px){padding:","px;}"],pt.SUBTITLE3,16,ft.MEDIUM,24),Uo=ot.div.withConfig({displayName:"Card__CardMenu",componentId:"sc-1tipmun-6"})(["position:absolute;top:","px;right:","px;z-index:10;"],4,4),Wo=e=>{switch(e.variant){case"changed":return e.diff;case"new":case"passed":return e.after;case"deleted":return e.before}},Vo=({href:e,entity:t,menus:n,onCopy:i})=>{const o=r.default.useRef(null),[a,s]=r.default.useState(!1),l=(0,r.useCallback)((e=>{e.preventDefault(),e.stopPropagation(),s(!0)}),[]),c=(0,r.useCallback)((()=>{s(!1)}),[]),u=(0,r.useCallback)((()=>{s(!1)}),[]),d=(0,r.useCallback)((async e=>{e.preventDefault(),e.stopPropagation(),s(!1);const{origin:n,pathname:r}=window.location;await Ii("".concat(n).concat(r,"?id=").concat(t.id)),i()}),[t.id,i]);return r.default.createElement(Do,{id:t.id},r.default.createElement(jo,{href:e,onClick:u},r.default.createElement(zo,null,r.default.createElement(go,{variant:t.variant})),r.default.createElement(Fo,null,r.default.createElement(Ho,null,r.default.createElement(ao,{lazy:!0,src:Wo(t),width:"100%",height:"100%",fit:"scale-down"})),r.default.createElement(Po,null)),r.default.createElement(Bo,{title:t.name},r.default.createElement(En,{line:2},t.name))),r.default.createElement(Uo,null,r.default.createElement(uo,{ref:o,"aria-owns":"".concat(t.id,"-menu"),onClick:l},r.default.createElement(po,{fill:at.TEXT_BASE})),r.default.createElement(Ro,{id:"".concat(t.id,"-menu"),placement:"bottom-left",anchor:o,open:a,onRequestClose:c},r.default.createElement(Ro.Item,{href:e,onClick:u},"Open"),r.default.createElement(Ro.Item,{onClick:d},"Copy Link"),n.map((({label:e,href:t},n)=>r.default.createElement(Ro.Item,{key:n,href:t},e))))))};function Go(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class Yo extends r.default.Component{constructor(e){super(e),Go(this,"context",void 0),Go(this,"containerRef",r.default.createRef()),Go(this,"intersectionObserver",void 0),Go(this,"resizeObserver",void 0),Go(this,"gridProperties",void 0),Go(this,"previousContainerWidth",void 0),Go(this,"state",{isIntersecting:!1,offsetIndex:0,repeatLength:1,gridStyle:{padding:0,margin:0,listStyle:"none",display:"grid",position:"absolute",left:0,right:0,gap:-1,gridTemplateColumns:""},containerHeight:0,visibleItemsLength:20}),this.handleOnScroll=this.handleOnScroll.bind(this),this.handleOnHashChange=this.handleOnHashChange.bind(this),Array.isArray(e.gridOptions)?this.gridProperties=e.gridOptions.slice().reverse().map((({media:e,...t})=>({media:matchMedia(e),prop:t}))):this.gridProperties=[{media:matchMedia("all"),prop:e.gridOptions}]}componentDidMount(){const e=this.containerRef.current;if(e&&(this.intersectionObserver=new IntersectionObserver((e=>{if(1!==e.length)return;const t=e[0],{isIntersecting:n}=t;this.state.isIntersecting!==n&&this.setState({isIntersecting:n})}),{threshold:0}),this.intersectionObserver.observe(e),this.resizeObserver=new ResizeObserver((e=>{if(1!==e.length)return;const t=e[0],{contentRect:{width:n}}=t;this.previousContainerWidth!==n&&this.updateContainerState(n),this.previousContainerWidth=n})),this.resizeObserver.observe(e),document.addEventListener("scroll",this.handleOnScroll,{passive:!0}),window.addEventListener("hashchange",this.handleOnHashChange),this.previousContainerWidth=e.clientWidth,this.updateContainerState(e.clientWidth),!this.context.consumed)){const e=this.findOffsetIndexFromHash(this.context.hash);e&&(this.context.consume(),setTimeout((()=>this.scrollTo(e.offsetIndex))))}}componentDidUpdate(e){this.containerRef.current&&(this.props.items.length===e.items.length&&this.props.cellHeight===e.cellHeight||this.updateContainerState(this.containerRef.current.clientWidth))}componentWillUnmount(){document.removeEventListener("scroll",this.handleOnScroll),window.removeEventListener("hashchange",this.handleOnHashChange),this.intersectionObserver&&this.intersectionObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect()}get scrollingElement(){return document.scrollingElement}get rowHeightUnit(){const{cellHeight:e}=this.props,{gridStyle:{gap:t}}=this.state;return e+t}updateContainerState(e){const{cellHeight:t}=this.props,{gridStyle:n,repeatLength:r}=this.getGridDefinition(e),i=t+n.gap,o=this.props.items.length,a=Math.ceil(o/r)*i-n.gap,s=(2+~~(innerHeight/(this.props.cellHeight+n.gap))+1)*r;this.setState({containerHeight:a,repeatLength:r,visibleItemsLength:s,gridStyle:n}),requestAnimationFrame((()=>this.updateCurrentOffsetIndex()))}getGridDefinition(e){let t;if(this.gridProperties.some((({media:e,prop:n})=>(t=n,e.matches))),!t)throw new Error("No matched media");const{gap:n,minContentLength:r}=t,i=r&&~~((e+n)/(r+n))||1;var o;return{gridStyle:{padding:0,margin:0,listStyle:"none",display:"grid",position:"absolute",left:0,right:0,gap:(o=t).gap,gridTemplateColumns:o.minContentLength?"repeat(auto-fill, minmax(".concat(o.minContentLength,"px, 1fr))"):"repeat(1, 1fr)"},repeatLength:i,gap:n}}findOffsetIndexFromHash(e){const{itemKey:t}=this.props,n=e.slice(1),r=this.props.items.findIndex((e=>e[t]===n));if(-1!==r)return{offsetIndex:r}}handleOnHashChange({newURL:e}){const{hash:t}=new URL(e),n=this.findOffsetIndexFromHash(t);n&&this.scrollTo(n.offsetIndex)}handleOnScroll(){this.state.isIntersecting&&this.updateCurrentOffsetIndex()}scrollTo(e){const t=this.calculateClientOffsetTop(e),n=this.state.visibleItemsLength*this.rowHeightUnit*1,r=()=>{Math.abs(t-scrollY)<=n?this.updateCurrentOffsetIndex():requestAnimationFrame(r)};requestAnimationFrame(r),scroll({top:t})}updateCurrentOffsetIndex(){const e=this.containerRef.current;if(!e)return;const t=e.offsetTop,n=~~((this.scrollingElement.scrollTop-t)/this.rowHeightUnit)*this.state.repeatLength;n>=0&&this.state.offsetIndex!==n&&this.setState({offsetIndex:n})}sliceVisibleItems(){const{offsetIndex:e,visibleItemsLength:t}=this.state;return this.props.items.slice(e,t+e)}calculateInnerOffsetTop(e){const{repeatLength:t}=this.state;return~~(e/t)*this.rowHeightUnit}calculateClientOffsetTop(e){return this.containerRef.current?this.calculateInnerOffsetTop(e)+this.containerRef.current.offsetTop:0}render(){const{children:e,itemKey:t,cellHeight:n}=this.props,{containerHeight:i}=this.state,o=this.calculateInnerOffsetTop(this.state.offsetIndex),a={position:"relative",height:i},s={...this.state.gridStyle,top:o};return r.default.createElement("div",{ref:this.containerRef,style:a},r.default.createElement("ul",{style:s},this.sliceVisibleItems().map(((i,o)=>r.default.createElement("li",{key:i[t],style:{height:n}},e({item:i,index:o}))))))}}Go(Yo,"contextType",k);const $o={new:"NEW ITEMS",passed:"PASSED ITEMS",changed:"CHANGED ITEMS",deleted:"DELETED ITEMS"},Xo=[{media:"screen",gap:40,minContentLength:270},{media:"screen and (min-width: ".concat(ft.X_SMALL,"px)"),gap:40,minContentLength:300},{media:"screen and (min-width: ".concat(ft.SMALL,"px)"),gap:40,minContentLength:360},{media:"screen and (min-width: ".concat(ft.X_LARGE,"px)"),gap:40,minContentLength:540}],qo=({variant:e,entities:t})=>{const n=x.useContainer(),i=$o[e],o=(0,r.useCallback)((()=>{n.notify("Copied URL to clipboard")}),[n]);return t.length<1?null:r.default.createElement(r.default.Fragment,null,r.default.createElement("h2",{id:e},i),r.default.createElement(Yo,{items:t,itemKey:"id",cellHeight:gt.CARD_OUTER_HEIGHT,gridOptions:Xo},(({item:e})=>r.default.createElement(Vo,{href:"?id=".concat(e.id),entity:e,menus:[],onCopy:o}))))},Ko=()=>{const e=u.useContainer();return r.default.createElement(fi,null,r.default.createElement("h1",null,"REPORT DETAIL"),e.filtering&&0===e.allItems.length?r.default.createElement(r.default.Fragment,null,r.default.createElement("h2",null,"Not found"),r.default.createElement("p",null,"No items found that match the text entered.",r.default.createElement("br",null),"Try filtering with different keywords :)")):r.default.createElement(r.default.Fragment,null,r.default.createElement(qo,{variant:"changed",entities:e.failedItems}),r.default.createElement(qo,{variant:"new",entities:e.newItems}),r.default.createElement(qo,{variant:"deleted",entities:e.deletedItems}),r.default.createElement(qo,{variant:"passed",entities:e.passedItems})))},Zo=ot.footer.withConfig({displayName:"Footer__Wrapper",componentId:"sc-136pp87-0"})(["padding:","px 0 ","px;text-align:center;& p{",";margin:","px 0 0;}& a{color:",";text-decoration:none;&:hover{text-decoration:underline;}}"],144,120,pt.BODY2,16,at.TEXT_LINK),Qo=()=>r.default.createElement(Zo,null,r.default.createElement(fi,null,r.default.createElement(ir,{size:40}),r.default.createElement("p",null,"powered by ",r.default.createElement("a",{href:"https://github.com/reg-viz"},"reg-viz"))));function Jo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ea(e,t){var n=Object.create(null);return e&&r.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,r.isValidElement)(e)?t(e):e}(e)})),n}function ta(e,t,n){return null!=n[t]?n[t]:e.props[t]}function na(e,t,n){var i=ea(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var l in t){if(i[l])for(r=0;r<i[l].length;r++){var c=i[l][r];s[i[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(t,i);return Object.keys(o).forEach((function(a){var s=o[a];if((0,r.isValidElement)(s)){var l=a in t,c=a in i,u=t[a],d=(0,r.isValidElement)(u)&&!u.props.in;!c||l&&!d?c||!l||d?c&&l&&(0,r.isValidElement)(u)&&(o[a]=(0,r.cloneElement)(s,{onExited:n.bind(null,s),in:u.props.in,exit:ta(s,"exit",e),enter:ta(s,"enter",e)})):o[a]=(0,r.cloneElement)(s,{in:!1}):o[a]=(0,r.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:ta(s,"exit",e),enter:ta(s,"enter",e)})}})),o}var ra=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},ia=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(Jo(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}Wt(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,i,o=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,i=a,ea(n.children,(function(e){return(0,r.cloneElement)(e,{onExited:i.bind(null,e),in:!0,appear:ta(e,"appear",n),enter:ta(e,"enter",n),exit:ta(e,"exit",n)})}))):na(e,o,a),firstRender:!1}},n.handleExited=function(e,t){var n=ea(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Bt({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,i=Ut(e,["component","childFactory"]),o=this.state.contextValue,a=ra(this.state.children).map(n);return delete i.appear,delete i.enter,delete i.exit,null===t?r.default.createElement(Gt.Provider,{value:o},a):r.default.createElement(Gt.Provider,{value:o},r.default.createElement(t,i,a))},t}(r.default.Component);ia.propTypes={},ia.defaultProps={component:"div",childFactory:function(e){return e}};const oa=ia;function aa(){return(aa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const sa=({fill:e,...t})=>r.default.createElement("svg",aa({width:24,height:24,viewBox:"0 0 24 24",fill:"none"},t),r.default.createElement("path",{d:"M14.9974 6.99191C14.6095 6.6041 13.9807 6.6041 13.5928 6.99191L9.00278 11.582C8.80743 11.7773 8.71045 12.0339 8.71188 12.2899C8.71045 12.5459 8.80743 12.802 9.00278 12.9973L13.5928 17.5874C13.9807 17.9752 14.6095 17.9752 14.9974 17.5874C15.3853 17.1994 15.3853 16.5706 14.9974 16.1827L11.1043 12.2896L14.9974 8.39658C15.3853 8.00864 15.3853 7.37985 14.9974 6.99191Z",fill:e}));function la(){return(la=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const ca=({fill:e,...t})=>r.default.createElement("svg",la({width:24,height:24,viewBox:"0 0 24 24",fill:"none"},t),r.default.createElement("path",{d:"M9.00278 17.5874C9.39066 17.9752 10.0195 17.9752 10.4074 17.5874L14.9974 12.9973C15.1927 12.802 15.2897 12.5454 15.2883 12.2894C15.2897 12.0334 15.1927 11.7773 14.9974 11.582L10.4074 6.99191C10.0195 6.6041 9.39066 6.6041 9.00278 6.99191C8.6149 7.37985 8.6149 8.00864 9.00278 8.39658L12.8959 12.2896L9.00278 16.1827C8.6149 16.5706 8.6149 17.1994 9.00278 17.5874Z",fill:e}));function ua(){return(ua=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const da=({fill:e,...t})=>r.default.createElement("svg",ua({width:24,height:24,viewBox:"0 0 24 24",fill:"none"},t),r.default.createElement("path",{d:"M12.8068 12.0001L19.2592 5.54677C19.482 5.32388 19.482 4.96155 19.2592 4.73867C19.0363 4.51578 18.674 4.51578 18.4512 4.73867L11.9989 11.192L5.54652 4.73867C5.32367 4.51578 4.96139 4.51578 4.73854 4.73867C4.5157 4.96155 4.5157 5.32388 4.73854 5.54677L11.1909 12.0001L4.73854 18.4535C4.5157 18.6764 4.5157 19.0387 4.73854 19.2616C4.85054 19.3736 4.99682 19.4285 5.1431 19.4285C5.28938 19.4285 5.43566 19.3725 5.54766 19.2616L12 12.8082L18.4523 19.2616C18.5643 19.3736 18.7106 19.4285 18.8569 19.4285C19.0032 19.4285 19.1495 19.3725 19.2615 19.2616C19.4843 19.0387 19.4843 18.6764 19.2615 18.4535L12.8091 12.0001H12.8068Z",fill:e}),r.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.54766 19.2616C5.43566 19.3725 5.28938 19.4285 5.1431 19.4285C4.99682 19.4285 4.85054 19.3736 4.73855 19.2616C4.5157 19.0387 4.5157 18.6764 4.73855 18.4535L11.1909 12.0001L4.73855 5.54676C4.5157 5.32388 4.5157 4.96155 4.73855 4.73866C4.96139 4.51578 5.32367 4.51578 5.54652 4.73866L11.9989 11.192L18.4512 4.73866C18.674 4.51578 19.0363 4.51578 19.2592 4.73866C19.482 4.96155 19.482 5.32388 19.2592 5.54676L12.8068 12.0001H12.8091L19.2615 18.4535C19.4843 18.6764 19.4843 19.0387 19.2615 19.2616C19.1495 19.3725 19.0032 19.4285 18.8569 19.4285C18.7106 19.4285 18.5643 19.3736 18.4523 19.2616L12 12.8082L5.54766 19.2616ZM12 13.6165L5.94963 19.6678C5.72733 19.8879 5.43519 20 5.1431 20C4.85366 20 4.55944 19.8907 4.3345 19.6657C3.8885 19.2197 3.8885 18.4955 4.3345 18.0494L10.3828 12.0001L4.3345 5.95088C3.8885 5.50481 3.8885 4.78062 4.3345 4.33455C4.7805 3.88848 5.50457 3.88848 5.95056 4.33455L11.9989 10.3838L18.0472 4.33455C18.4931 3.88848 19.2172 3.88848 19.6632 4.33455C20.1092 4.78062 20.1092 5.50481 19.6632 5.95088L13.6161 11.999L19.6655 18.0494C20.1115 18.4955 20.1115 19.2197 19.6655 19.6657L19.6634 19.6678C19.4411 19.8879 19.149 20 18.8569 20C18.5675 20 18.2732 19.8907 18.0483 19.6657L12 13.6165Z",fill:e}));function fa(){return(fa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const pa=ot.span.withConfig({displayName:"Switch__Wrapper",componentId:"sc-12rhejb-0"})(["display:inline-flex;align-items:center;"]),ha=ot.span.withConfig({displayName:"Switch__Checkbox",componentId:"sc-12rhejb-1"})(["position:relative;& > input{position:absolute;top:-25%;left:-25%;width:150%;height:150%;z-index:2;margin:0;padding:0;opacity:0;cursor:pointer;}& > span{position:relative;z-index:1;display:block;width:42px;height:22px;border-radius:11px;background:",";transition:transform ","ms ",";&::before{position:absolute;top:1px;left:1px;width:20px;height:20px;border-radius:50%;background:",";box-shadow:",";transition:transform ","ms ",";content:'';}}& > input:checked + span{background:",";&::before{transform:translateX(20px);}}& > input:focus-visible + span{box-shadow:",";}"],at.BORDER,mt.SMALL_OUT,ht.STANDARD,at.WHITE,lt.LEVEL1,mt.SMALL_OUT,ht.STANDARD,at.BRAND_PRIMARY,st),ma=ot.span.withConfig({displayName:"Switch__Prepend",componentId:"sc-12rhejb-2"})(["",";margin-right:","px;text-align:right;"],pt.SUBTITLE3,8),va=ot.span.withConfig({displayName:"Switch__Append",componentId:"sc-12rhejb-3"})(["",";margin-left:","px;text-align:left;"],pt.SUBTITLE3,8),ga=({id:e,prepend:t,append:n,...i})=>{const o="".concat(e,"-prepend"),a="".concat(e,"-append"),s=[];return null!=t&&s.push(o),null!=n&&s.push(a),r.default.createElement(pa,null,t&&r.default.createElement(ma,{id:o},t),r.default.createElement(ha,null,r.default.createElement("input",fa({},i,{id:e,type:"checkbox","aria-describedby":s.join(" ")})),r.default.createElement("span",null)),n&&r.default.createElement(va,{id:a},n))},ya=ot.header.withConfig({displayName:"Header__Wrapper",componentId:"sc-1d9re4f-0"})(["display:grid;grid-template-columns:1fr auto;grid-gap:","px;height:","px;background:",";box-shadow:",";@media (min-width:","px){grid-template-columns:2fr 1fr 2fr;}"],8,gt.HEADER_HEIGHT,at.WHITE,lt.LEVEL1,ft.SMALL),ba=ot.div.withConfig({displayName:"Header__Left",componentId:"sc-1d9re4f-1"})(["align-self:center;overflow:hidden;padding-left:","px;"],16),wa=ot.div.withConfig({displayName:"Header__Center",componentId:"sc-1d9re4f-2"})(["display:none;@media (min-width:","px){",";display:block;align-self:center;text-align:center;}"],ft.SMALL,pt.BODY2),_a=ot.div.withConfig({displayName:"Header__Right",componentId:"sc-1d9re4f-3"})(["display:flex;flex-direction:row-reverse;justify-content:flex-start;align-items:center;align-self:center;padding-right:","px;text-align:right;"],16),Ea=ot.h2.withConfig({displayName:"Header__Title",componentId:"sc-1d9re4f-4"})(["",";display:flex;align-items:center;margin:0;"],pt.SUBTITLE2),xa=ot.span.withConfig({displayName:"Header__TitleSign",componentId:"sc-1d9re4f-5"})(["flex:0 0 auto;margin-left:","px;"],8),Ca=ot.span.withConfig({displayName:"Header__TitleText",componentId:"sc-1d9re4f-6"})(["display:block;flex:0 1 auto;overflow:hidden;margin-left:","px;"],8),ka=ot.div.withConfig({displayName:"Header__MarkersToggle",componentId:"sc-1d9re4f-7"})(["margin-right:","px;line-height:0;"],8),Sa=({variant:e,title:t,current:n,max:i,markersEnabled:o,onRequestClose:a,onMarkersToggle:s})=>{const l=A("(max-width: ".concat(ft.SMALL-1,"px)")),c=(0,r.useCallback)((e=>{e.preventDefault(),a()}),[a]),u=(0,r.useCallback)((e=>{s(e.currentTarget.checked)}),[s]);return r.default.createElement(ya,null,r.default.createElement(ba,null,r.default.createElement(Ea,{title:t},r.default.createElement(xa,null,r.default.createElement(go,{variant:e})),r.default.createElement(Ca,null,r.default.createElement(En,{line:2},t)))),r.default.createElement(wa,null,n," / ",i),r.default.createElement(_a,null,r.default.createElement(uo,{onClick:c},r.default.createElement(da,{fill:at.TEXT_SUB})),r.default.createElement(ka,null,r.default.createElement(ga,{id:"toggle-markers",prepend:l?null:"Markers",checked:o,onChange:u}))))};var Oa,Aa,Ta="out-in",La="in-out",Ia=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},Na=((Oa={})["out-in"]=function(e){var t=e.current,n=e.changeState;return r.default.cloneElement(t,{in:!1,onExited:Ia(t,"onExited",(function(){n(Xt,null)}))})},Oa[La]=function(e){var t=e.current,n=e.changeState,i=e.children;return[t,r.default.cloneElement(i,{in:!0,onEntered:Ia(i,"onEntered",(function(){n(Xt)}))})]},Oa),Ra=((Aa={})["out-in"]=function(e){var t=e.children,n=e.changeState;return r.default.cloneElement(t,{in:!0,onEntered:Ia(t,"onEntered",(function(){n(qt,r.default.cloneElement(t,{in:!0}))}))})},Aa[La]=function(e){var t=e.current,n=e.children,i=e.changeState;return[r.default.cloneElement(t,{in:!1,onExited:Ia(t,"onExited",(function(){i(qt,r.default.cloneElement(n,{in:!0}))}))}),r.default.cloneElement(n,{in:!0})]},Aa),Ma=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={status:qt,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}Wt(t,e);var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===Xt&&e.mode===La?{status:Xt}:!t.current||((n=t.current)===(i=e.children)||r.default.isValidElement(n)&&r.default.isValidElement(i)&&null!=n.key&&n.key===i.key)?{current:r.default.cloneElement(e.children,{in:!0})}:{status:Kt};var n,i},n.render=function(){var e,t=this.props,n=t.children,i=t.mode,o=this.state,a=o.status,s=o.current,l={children:n,current:s,changeState:this.changeState,status:a};switch(a){case Xt:e=Ra[i](l);break;case Kt:e=Na[i](l);break;case qt:e=s}return r.default.createElement(Gt.Provider,{value:{isMounting:!this.appeared}},e)},t}(r.default.Component);Ma.propTypes={},Ma.defaultProps={mode:Ta};const Pa=Ma;function Da(){return(Da=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const ja=ot(wn).withConfig({displayName:"ChoiceButton__Wrapper",componentId:"sc-1rs9z8-0"})(["",";position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:","px;padding:0 ","px;border:none;border-radius:","px;background:transparent;color:",";text-align:center;cursor:",";user-select:",";& > span{position:relative;z-index:1;}&::before{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;display:block;border-radius:","px;background:",";opacity:",";transition:all ","ms ",";transform:",";content:'';}&:hover{background-color:",";}@media (min-width:","px){padding:0 ","px;}"],pt.BUTTON,44,8,44,(({active:e})=>e?at.WHITE:at.TEXT_BASE),(({active:e})=>e?"default":"pointer"),(({active:e})=>e?"none":"auto"),44,at.BRAND_PRIMARY,(({active:e})=>e?"1":"0"),mt.SMALL_OUT,ht.BACK,(({active:e})=>e?"scale(1)":"scale(0.9)"),at.HOVER_BLACK,ft.SMALL,16),za=(0,r.forwardRef)((({active:e,children:t,...n},i)=>r.default.createElement(ja,Da({},n,{ref:i,active:e}),r.default.createElement("span",null,t))));function Fa(){return(Fa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}za.defaultProps={active:!1};const Ha=ot.ul.withConfig({displayName:"ChoiceGroup__List",componentId:"sc-1ukcpzz-0"})(["display:grid;grid-template-columns:repeat(auto-fit,minmax(48px,1fr));grid-gap:","px;margin:0;padding:","px;border-radius:26px;background:",";box-shadow:",";list-style:none;@media (min-width:","px){grid-template-columns:repeat(auto-fill,minmax(80px,1fr));}"],4,4,at.WHITE,lt.LEVEL2,ft.SMALL),Ba=ot.li.withConfig({displayName:"ChoiceGroup__ListItem",componentId:"sc-1ukcpzz-1"})([""]),Ua=(e,t)=>e.findIndex((e=>e.value===t)),Wa=({value:e,options:t,onChange:n,...i})=>{const o=(0,r.useRef)(null),a=(0,r.useRef)(!1),s=(0,r.useMemo)((()=>t.map((()=>(0,r.createRef)()))),[t]),l=r.default.useCallback((e=>{e.preventDefault(),e.stopPropagation();const{value:r}=e.currentTarget;n(r,Ua(t,r))}),[n,t]);return(0,r.useEffect)((()=>{if(!a.current)return;const n=Ua(t,e),r=s[n];null!=r&&null!=r.current&&r.current.focus(),a.current=!1}),[s,t,e]),pr(["right","l"],o.current,(r=>{r.stopPropagation();const i=Ua(t,e)+1;i>=t.length||(a.current=!0,n(t[i].value,i))}),[t,e,n]),pr(["left","h"],o.current,(r=>{r.stopPropagation();const i=Ua(t,e)-1;i<0||(a.current=!0,n(t[i].value,i))}),[t,e,n]),r.default.createElement(Ha,Fa({},i,{ref:o}),t.map(((t,n)=>r.default.createElement(Ba,{key:t.value},r.default.createElement(za,{ref:s[n],value:t.value,active:t.value===e,onClick:l},t.label)))))};function Va(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ga(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 Ya(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ga(Object(n),!0).forEach((function(t){Va(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ga(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xa(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function qa(e,t,n){return t&&Xa(e.prototype,t),n&&Xa(e,n),e}function Ka(e,t){return(Ka=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Za(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}}),t&&Ka(e,t)}function Qa(e){return(Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ja(e){return(Ja="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function es(e,t){return!t||"object"!==Ja(t)&&"function"!=typeof t?Jo(e):t}function ts(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Qa(e);if(t){var i=Qa(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return es(this,n)}}var ns={};function rs(e,t){}const is=function(e,t){!function(e,t,n){t||ns[n]||(e(!1,n),ns[n]=!0)}(rs,e,t)},os=function(e){var t,n,i=e.className,o=e.included,a=e.vertical,s=e.style,l=e.length,c=e.offset,u=e.reverse;l<0&&(u=!u,l=Math.abs(l),c=100-c);var d=a?(Va(t={},u?"top":"bottom","".concat(c,"%")),Va(t,u?"bottom":"top","auto"),Va(t,"height","".concat(l,"%")),t):(Va(n={},u?"right":"left","".concat(c,"%")),Va(n,u?"left":"right","auto"),Va(n,"width","".concat(l,"%")),n),f=Ya(Ya({},s),d);return o?r.default.createElement("div",{className:i,style:f}):null};function as(e,t){if(null==e)return{};var n,r,i=Ut(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ss(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ls(e,t){if(e){if("string"==typeof e)return ss(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)?ss(e,t):void 0}}function cs(e){return function(e){if(Array.isArray(e))return ss(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||ls(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.")}()}function us(e,t,n){return(us="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Qa(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function ds(e,t,n,i){var o=r.default.unstable_batchedUpdates?function(e){r.default.unstable_batchedUpdates(n,e)}:n;return e.addEventListener&&e.addEventListener(t,o,i),{remove:function(){e.removeEventListener&&e.removeEventListener(t,o)}}}var fs=n("./node_modules/classnames/index.js"),ps=n.n(fs);const hs=function(e){var t=e.prefixCls,n=e.vertical,i=e.reverse,o=e.marks,a=e.dots,s=e.step,l=e.included,c=e.lowerBound,u=e.upperBound,d=e.max,f=e.min,p=e.dotStyle,h=e.activeDotStyle,m=d-f,v=function(e,t,n,r,i,o){is(!n||r>0,"`Slider[step]` should be a positive number in order to make Slider[dots] work.");var a=Object.keys(t).map(parseFloat).sort((function(e,t){return e-t}));if(n&&r)for(var s=i;s<=o;s+=r)-1===a.indexOf(s)&&a.push(s);return a}(0,o,a,s,f,d).map((function(e){var o,a="".concat(Math.abs(e-f)/m*100,"%"),s=!l&&e===u||l&&e<=u&&e>=c,d=Ya(Ya({},p),{},Va({},n?i?"top":"bottom":i?"right":"left",a));s&&(d=Ya(Ya({},d),h));var v=ps()((Va(o={},"".concat(t,"-dot"),!0),Va(o,"".concat(t,"-dot-active"),s),Va(o,"".concat(t,"-dot-reverse"),i),o));return r.default.createElement("span",{className:v,style:d,key:e})}));return r.default.createElement("div",{className:"".concat(t,"-step")},v)},ms=function(e){var t=e.className,n=e.vertical,i=e.reverse,o=e.marks,a=e.included,s=e.upperBound,l=e.lowerBound,c=e.max,u=e.min,d=e.onClickLabel,f=Object.keys(o),p=c-u,h=f.map(parseFloat).sort((function(e,t){return e-t})).map((function(e){var c,f=o[e],h="object"===Ja(f)&&!r.default.isValidElement(f),m=h?f.label:f;if(!m&&0!==m)return null;var v=!a&&e===s||a&&e<=s&&e>=l,g=ps()((Va(c={},"".concat(t,"-text"),!0),Va(c,"".concat(t,"-text-active"),v),c)),y=Va({marginBottom:"-50%"},i?"top":"bottom","".concat((e-u)/p*100,"%")),b=Va({transform:"translateX(".concat(i?"50%":"-50%",")"),msTransform:"translateX(".concat(i?"50%":"-50%",")")},i?"right":"left","".concat((e-u)/p*100,"%")),w=n?y:b,_=h?Ya(Ya({},w),f.style):w;return r.default.createElement("span",{className:g,style:_,key:e,onMouseDown:function(t){return d(t,e)},onTouchStart:function(t){return d(t,e)}},m)}));return r.default.createElement("div",{className:t},h)};var vs=function(e){Za(n,e);var t=ts(n);function n(){var e;return $a(this,n),(e=t.apply(this,arguments)).state={clickFocused:!1},e.setHandleRef=function(t){e.handle=t},e.handleMouseUp=function(){document.activeElement===e.handle&&e.setClickFocus(!0)},e.handleMouseDown=function(t){t.preventDefault(),e.focus()},e.handleBlur=function(){e.setClickFocus(!1)},e.handleKeyDown=function(){e.setClickFocus(!1)},e}return qa(n,[{key:"componentDidMount",value:function(){this.onMouseUpListener=ds(document,"mouseup",this.handleMouseUp)}},{key:"componentWillUnmount",value:function(){this.onMouseUpListener&&this.onMouseUpListener.remove()}},{key:"setClickFocus",value:function(e){this.setState({clickFocused:e})}},{key:"clickFocus",value:function(){this.setClickFocus(!0),this.focus()}},{key:"focus",value:function(){this.handle.focus()}},{key:"blur",value:function(){this.handle.blur()}},{key:"render",value:function(){var e,t,n,i=this.props,o=i.prefixCls,a=i.vertical,s=i.reverse,l=i.offset,c=i.style,u=i.disabled,d=i.min,f=i.max,p=i.value,h=i.tabIndex,m=i.ariaLabel,v=i.ariaLabelledBy,g=i.ariaValueTextFormatter,y=as(i,["prefixCls","vertical","reverse","offset","style","disabled","min","max","value","tabIndex","ariaLabel","ariaLabelledBy","ariaValueTextFormatter"]),b=ps()(this.props.className,Va({},"".concat(o,"-handle-click-focused"),this.state.clickFocused)),w=a?(Va(e={},s?"top":"bottom","".concat(l,"%")),Va(e,s?"bottom":"top","auto"),Va(e,"transform",s?null:"translateY(+50%)"),e):(Va(t={},s?"right":"left","".concat(l,"%")),Va(t,s?"left":"right","auto"),Va(t,"transform","translateX(".concat(s?"+":"-","50%)")),t),_=Ya(Ya({},c),w),E=h||0;return(u||null===h)&&(E=null),g&&(n=g(p)),r.default.createElement("div",Bt({ref:this.setHandleRef,tabIndex:E},y,{className:b,style:_,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,role:"slider","aria-valuemin":d,"aria-valuemax":f,"aria-valuenow":p,"aria-disabled":!!u,"aria-label":m,"aria-labelledby":v,"aria-valuetext":n}))}}]),n}(r.default.Component),gs={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>=gs.F1&&t<=gs.F12)return!1;switch(t){case gs.ALT:case gs.CAPS_LOCK:case gs.CONTEXT_MENU:case gs.CTRL:case gs.DOWN:case gs.END:case gs.ESC:case gs.HOME:case gs.INSERT:case gs.LEFT:case gs.MAC_FF_META:case gs.META:case gs.NUMLOCK:case gs.NUM_CENTER:case gs.PAGE_DOWN:case gs.PAGE_UP:case gs.PAUSE:case gs.PRINT_SCREEN:case gs.RIGHT:case gs.SHIFT:case gs.UP:case gs.WIN_KEY:case gs.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=gs.ZERO&&e<=gs.NINE)return!0;if(e>=gs.NUM_ZERO&&e<=gs.NUM_MULTIPLY)return!0;if(e>=gs.A&&e<=gs.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case gs.SPACE:case gs.QUESTION_MARK:case gs.NUM_PLUS:case gs.NUM_MINUS:case gs.NUM_PERIOD:case gs.NUM_DIVISION:case gs.SEMICOLON:case gs.DASH:case gs.EQUALS:case gs.COMMA:case gs.PERIOD:case gs.SLASH:case gs.APOSTROPHE:case gs.SINGLE_QUOTE:case gs.OPEN_SQUARE_BRACKET:case gs.BACKSLASH:case gs.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const ys=gs;function bs(e,t){try{return Object.keys(t).some((function(n){return e.target===(0,r.findDOMNode)(t[n])}))}catch(e){return!1}}function ws(e,t){var n=t.min,r=t.max;return e<n||e>r}function _s(e){return e.touches.length>1||"touchend"===e.type.toLowerCase()&&e.touches.length>0}function Es(e,t){var n=t.marks,r=t.step,i=t.min,o=t.max,a=Object.keys(n).map(parseFloat);if(null!==r){var s=Math.pow(10,xs(r)),l=Math.floor((o*s-i*s)/(r*s)),c=Math.min((e-i)/r,l),u=Math.round(c)*r+i;a.push(u)}var d=a.map((function(t){return Math.abs(e-t)}));return a[d.indexOf(Math.min.apply(Math,cs(d)))]}function xs(e){var t=e.toString(),n=0;return t.indexOf(".")>=0&&(n=t.length-t.indexOf(".")-1),n}function Cs(e,t){return e?t.clientY:t.pageX}function ks(e,t){return e?t.touches[0].clientY:t.touches[0].pageX}function Ss(e,t){var n=t.getBoundingClientRect();return e?n.top+.5*n.height:window.pageXOffset+n.left+.5*n.width}function Os(e,t){var n=t.max,r=t.min;return e<=r?r:e>=n?n:e}function As(e,t){var n=t.step,r=isFinite(Es(e,t))?Es(e,t):0;return null===n?r:parseFloat(r.toFixed(xs(n)))}function Ts(e){e.stopPropagation(),e.preventDefault()}function Ls(e,t,n){var r="increase",i="decrease",o=r;switch(e.keyCode){case ys.UP:o=t&&n?i:r;break;case ys.RIGHT:o=!t&&n?i:r;break;case ys.DOWN:o=t&&n?r:i;break;case ys.LEFT:o=!t&&n?r:i;break;case ys.END:return function(e,t){return t.max};case ys.HOME:return function(e,t){return t.min};case ys.PAGE_UP:return function(e,t){return e+2*t.step};case ys.PAGE_DOWN:return function(e,t){return e-2*t.step};default:return}return function(e,t){return function(e,t,n){var r={increase:function(e,t){return e+t},decrease:function(e,t){return e-t}},i=r[e](Object.keys(n.marks).indexOf(JSON.stringify(t)),1),o=Object.keys(n.marks)[i];return n.step?r[e](t,n.step):Object.keys(n.marks).length&&n.marks[o]?n.marks[o]:t}(o,e,t)}}function Is(){}function Ns(e){var t;return(t=function(e){Za(n,e);var t=ts(n);function n(e){var r;$a(this,n),(r=t.call(this,e)).onDown=function(e,t){var n=t,i=r.props,o=i.draggableTrack,a=i.vertical,s=r.state.bounds,l=o&&r.positionGetValue&&r.positionGetValue(n)||[],c=bs(e,r.handlesRefs);if(r.dragTrack=o&&s.length>=2&&!c&&!l.map((function(e,t){var n=!!t||e>=s[t];return t===l.length-1?e<=s[t]:n})).some((function(e){return!e})),r.dragTrack)r.dragOffset=n,r.startBounds=cs(s);else{if(c){var u=Ss(a,e.target);r.dragOffset=n-u,n=u}else r.dragOffset=0;r.onStart(n)}},r.onMouseDown=function(e){if(0===e.button){r.removeDocumentEvents();var t=Cs(r.props.vertical,e);r.onDown(e,t),r.addDocumentMouseEvents()}},r.onTouchStart=function(e){if(!_s(e)){var t=ks(r.props.vertical,e);r.onDown(e,t),r.addDocumentTouchEvents(),Ts(e)}},r.onFocus=function(e){var t=r.props,n=t.onFocus,i=t.vertical;if(bs(e,r.handlesRefs)&&!r.dragTrack){var o=Ss(i,e.target);r.dragOffset=0,r.onStart(o),Ts(e),n&&n(e)}},r.onBlur=function(e){var t=r.props.onBlur;r.dragTrack||r.onEnd(),t&&t(e)},r.onMouseUp=function(){r.handlesRefs[r.prevMovedHandleIndex]&&r.handlesRefs[r.prevMovedHandleIndex].clickFocus()},r.onMouseMove=function(e){if(r.sliderRef){var t=Cs(r.props.vertical,e);r.onMove(e,t-r.dragOffset,r.dragTrack,r.startBounds)}else r.onEnd()},r.onTouchMove=function(e){if(!_s(e)&&r.sliderRef){var t=ks(r.props.vertical,e);r.onMove(e,t-r.dragOffset,r.dragTrack,r.startBounds)}else r.onEnd()},r.onKeyDown=function(e){r.sliderRef&&bs(e,r.handlesRefs)&&r.onKeyboard(e)},r.onClickMarkLabel=function(e,t){e.stopPropagation(),r.onChange({value:t}),r.setState({value:t},(function(){return r.onEnd(!0)}))},r.saveSlider=function(e){r.sliderRef=e};var i=e.step,o=e.max,a=e.min,s=!isFinite(o-a)||(o-a)%i==0;return is(!i||Math.floor(i)!==i||s,"Slider[max] - Slider[min] (".concat(o-a,") should be a multiple of Slider[step] (").concat(i,")")),r.handlesRefs={},r}return qa(n,[{key:"componentDidMount",value:function(){this.document=this.sliderRef&&this.sliderRef.ownerDocument;var e=this.props,t=e.autoFocus,n=e.disabled;t&&!n&&this.focus()}},{key:"componentWillUnmount",value:function(){us(Qa(n.prototype),"componentWillUnmount",this)&&us(Qa(n.prototype),"componentWillUnmount",this).call(this),this.removeDocumentEvents()}},{key:"getSliderStart",value:function(){var e=this.sliderRef,t=this.props,n=t.vertical,r=t.reverse,i=e.getBoundingClientRect();return n?r?i.bottom:i.top:window.pageXOffset+(r?i.right:i.left)}},{key:"getSliderLength",value:function(){var e=this.sliderRef;if(!e)return 0;var t=e.getBoundingClientRect();return this.props.vertical?t.height:t.width}},{key:"addDocumentTouchEvents",value:function(){this.onTouchMoveListener=ds(this.document,"touchmove",this.onTouchMove),this.onTouchUpListener=ds(this.document,"touchend",this.onEnd)}},{key:"addDocumentMouseEvents",value:function(){this.onMouseMoveListener=ds(this.document,"mousemove",this.onMouseMove),this.onMouseUpListener=ds(this.document,"mouseup",this.onEnd)}},{key:"removeDocumentEvents",value:function(){this.onTouchMoveListener&&this.onTouchMoveListener.remove(),this.onTouchUpListener&&this.onTouchUpListener.remove(),this.onMouseMoveListener&&this.onMouseMoveListener.remove(),this.onMouseUpListener&&this.onMouseUpListener.remove()}},{key:"focus",value:function(){var e;this.props.disabled||null===(e=this.handlesRefs[0])||void 0===e||e.focus()}},{key:"blur",value:function(){var e=this;this.props.disabled||Object.keys(this.handlesRefs).forEach((function(t){var n,r;null===(n=e.handlesRefs[t])||void 0===n||null===(r=n.blur)||void 0===r||r.call(n)}))}},{key:"calcValue",value:function(e){var t=this.props,n=t.vertical,r=t.min,i=t.max,o=Math.abs(Math.max(e,0)/this.getSliderLength());return n?(1-o)*(i-r)+r:o*(i-r)+r}},{key:"calcValueByPos",value:function(e){var t=(this.props.reverse?-1:1)*(e-this.getSliderStart());return this.trimAlignValue(this.calcValue(t))}},{key:"calcOffset",value:function(e){var t=this.props,n=t.min,r=(e-n)/(t.max-n);return Math.max(0,100*r)}},{key:"saveHandle",value:function(e,t){this.handlesRefs[e]=t}},{key:"render",value:function(){var e,t=this.props,i=t.prefixCls,o=t.className,a=t.marks,s=t.dots,l=t.step,c=t.included,u=t.disabled,d=t.vertical,f=t.reverse,p=t.min,h=t.max,m=t.children,v=t.maximumTrackStyle,g=t.style,y=t.railStyle,b=t.dotStyle,w=t.activeDotStyle,_=us(Qa(n.prototype),"render",this).call(this),E=_.tracks,x=_.handles,C=ps()(i,(Va(e={},"".concat(i,"-with-marks"),Object.keys(a).length),Va(e,"".concat(i,"-disabled"),u),Va(e,"".concat(i,"-vertical"),d),Va(e,o,o),e));return r.default.createElement("div",{ref:this.saveSlider,className:C,onTouchStart:u?Is:this.onTouchStart,onMouseDown:u?Is:this.onMouseDown,onMouseUp:u?Is:this.onMouseUp,onKeyDown:u?Is:this.onKeyDown,onFocus:u?Is:this.onFocus,onBlur:u?Is:this.onBlur,style:g},r.default.createElement("div",{className:"".concat(i,"-rail"),style:Ya(Ya({},v),y)}),E,r.default.createElement(hs,{prefixCls:i,vertical:d,reverse:f,marks:a,dots:s,step:l,included:c,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:h,min:p,dotStyle:b,activeDotStyle:w}),x,r.default.createElement(ms,{className:"".concat(i,"-mark"),onClickLabel:u?Is:this.onClickMarkLabel,vertical:d,marks:a,included:c,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:h,min:p,reverse:f}),m)}}]),n}(e)).displayName="ComponentEnhancer(".concat(e.displayName,")"),t.defaultProps=Ya(Ya({},e.defaultProps),{},{prefixCls:"rc-slider",className:"",min:0,max:100,step:1,marks:{},handle:function(e){var t=e.index,n=as(e,["index"]);return delete n.dragging,null===n.value?null:r.default.createElement(vs,Bt({},n,{key:t}))},onBeforeChange:Is,onChange:Is,onAfterChange:Is,included:!0,disabled:!1,dots:!1,vertical:!1,reverse:!1,trackStyle:[{}],handleStyle:[{}],railStyle:{},dotStyle:{},activeDotStyle:{}}),t}const Rs=Ns(function(e){Za(n,e);var t=ts(n);function n(e){var r;$a(this,n),(r=t.call(this,e)).positionGetValue=function(e){return[]},r.onEnd=function(e){var t=r.state.dragging;r.removeDocumentEvents(),(t||e)&&r.props.onAfterChange(r.getValue()),r.setState({dragging:!1})};var i=void 0!==e.defaultValue?e.defaultValue:e.min,o=void 0!==e.value?e.value:i;return r.state={value:r.trimAlignValue(o),dragging:!1},is(!("minimumTrackStyle"in e),"minimumTrackStyle will be deprecated, please use trackStyle instead."),is(!("maximumTrackStyle"in e),"maximumTrackStyle will be deprecated, please use railStyle instead."),r}return qa(n,[{key:"calcValueByPos",value:function(e){return 0}},{key:"calcOffset",value:function(e){return 0}},{key:"saveHandle",value:function(e,t){}},{key:"removeDocumentEvents",value:function(){}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.min,i=n.max,o=n.value,a=n.onChange;if("min"in this.props||"max"in this.props){var s=void 0!==o?o:t.value,l=this.trimAlignValue(s,this.props);l!==t.value&&(this.setState({value:l}),r===e.min&&i===e.max||!ws(s,this.props)||a(l))}}},{key:"onChange",value:function(e){var t=this.props,n=!("value"in t),r=e.value>this.props.max?Ya(Ya({},e),{},{value:this.props.max}):e;n&&this.setState(r);var i=r.value;t.onChange(i)}},{key:"onStart",value:function(e){this.setState({dragging:!0});var t=this.props,n=this.getValue();t.onBeforeChange(n);var r=this.calcValueByPos(e);this.startValue=r,this.startPosition=e,r!==n&&(this.prevMovedHandleIndex=0,this.onChange({value:r}))}},{key:"onMove",value:function(e,t){Ts(e);var n=this.state.value,r=this.calcValueByPos(t);r!==n&&this.onChange({value:r})}},{key:"onKeyboard",value:function(e){var t=this.props,n=t.reverse,r=Ls(e,t.vertical,n);if(r){Ts(e);var i=this.state.value,o=r(i,this.props),a=this.trimAlignValue(o);if(a===i)return;this.onChange({value:a}),this.props.onAfterChange(a),this.onEnd()}}},{key:"getValue",value:function(){return this.state.value}},{key:"getLowerBound",value:function(){var e=this.props.startPoint||this.props.min;return this.state.value>e?e:this.state.value}},{key:"getUpperBound",value:function(){return this.state.value<this.props.startPoint?this.props.startPoint:this.state.value}},{key:"trimAlignValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null===e)return null;var n=Ya(Ya({},this.props),t),r=Os(e,n);return As(r,n)}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,i=t.vertical,o=t.included,a=t.disabled,s=t.minimumTrackStyle,l=t.trackStyle,c=t.handleStyle,u=t.tabIndex,d=t.ariaLabelForHandle,f=t.ariaLabelledByForHandle,p=t.ariaValueTextFormatterForHandle,h=t.min,m=t.max,v=t.startPoint,g=t.reverse,y=t.handle,b=this.state,w=b.value,_=b.dragging,E=this.calcOffset(w),x=y({className:"".concat(n,"-handle"),prefixCls:n,vertical:i,offset:E,value:w,dragging:_,disabled:a,min:h,max:m,reverse:g,index:0,tabIndex:u,ariaLabel:d,ariaLabelledBy:f,ariaValueTextFormatter:p,style:c[0]||c,ref:function(t){return e.saveHandle(0,t)}}),C=void 0!==v?this.calcOffset(v):0,k=l[0]||l;return{tracks:r.default.createElement(os,{className:"".concat(n,"-track"),vertical:i,included:o,offset:C,reverse:g,length:E-C,style:Ya(Ya({},s),k)}),handles:x}}}]),n}(r.default.Component));var Ms=function(e){var t=e.value,n=e.handle,r=e.bounds,i=e.props,o=i.allowCross,a=i.pushable,s=Number(a),l=Os(t,i),c=l;return o||null==n||void 0===r||(n>0&&l<=r[n-1]+s&&(c=r[n-1]+s),n<r.length-1&&l>=r[n+1]-s&&(c=r[n+1]-s)),As(c,i)},Ps=function(e){Za(n,e);var t=ts(n);function n(e){var r;$a(this,n),(r=t.call(this,e)).positionGetValue=function(e){var t=r.getValue(),n=r.calcValueByPos(e),i=r.getClosestBound(n),o=r.getBoundNeedMoving(n,i);if(n===t[o])return null;var a=cs(t);return a[o]=n,a},r.onEnd=function(e){var t=r.state.handle;r.removeDocumentEvents(),t||(r.dragTrack=!1),(null!==t||e)&&r.props.onAfterChange(r.getValue()),r.setState({handle:null})};var i=e.count,o=e.min,a=e.max,s=Array.apply(void 0,cs(Array(i+1))).map((function(){return o})),l="defaultValue"in e?e.defaultValue:s,c=(void 0!==e.value?e.value:l).map((function(t,n){return Ms({value:t,handle:n,props:e})})),u=c[0]===a?0:c.length-1;return r.state={handle:null,recent:u,bounds:c},r}return qa(n,[{key:"calcValueByPos",value:function(e){return 0}},{key:"getSliderLength",value:function(){return 0}},{key:"calcOffset",value:function(e){return 0}},{key:"saveHandle",value:function(e,t){}},{key:"removeDocumentEvents",value:function(){}},{key:"componentDidUpdate",value:function(e,t){var n=this,r=this.props,i=r.onChange,o=r.value,a=r.min,s=r.max;if(("min"in this.props||"max"in this.props)&&(a!==e.min||s!==e.max)){var l=o||t.bounds;l.some((function(e){return ws(e,n.props)}))&&i(l.map((function(e){return Os(e,n.props)})))}}},{key:"onChange",value:function(e){var t=this.props;if("value"in t){var n={};["handle","recent"].forEach((function(t){void 0!==e[t]&&(n[t]=e[t])})),Object.keys(n).length&&this.setState(n)}else this.setState(e);var r=Ya(Ya({},this.state),e).bounds;t.onChange(r)}},{key:"onStart",value:function(e){var t=this.props,n=this.state,r=this.getValue();t.onBeforeChange(r);var i=this.calcValueByPos(e);this.startValue=i,this.startPosition=e;var o=this.getClosestBound(i);if(this.prevMovedHandleIndex=this.getBoundNeedMoving(i,o),this.setState({handle:this.prevMovedHandleIndex,recent:this.prevMovedHandleIndex}),i!==r[this.prevMovedHandleIndex]){var a=cs(n.bounds);a[this.prevMovedHandleIndex]=i,this.onChange({bounds:a})}}},{key:"onMove",value:function(e,t,n,r){Ts(e);var i=this.state,o=this.props,a=o.max||100,s=o.min||0;if(n){var l=o.vertical?-t:t;l=o.reverse?-l:l;var c=a-Math.max.apply(Math,cs(r)),u=s-Math.min.apply(Math,cs(r)),d=Math.min(Math.max(l/(this.getSliderLength()/100),u),c),f=r.map((function(e){return Math.floor(Math.max(Math.min(e+d,a),s))}));i.bounds.map((function(e,t){return e===f[t]})).some((function(e){return!e}))&&this.onChange({bounds:f})}else{var p=this.calcValueByPos(t);p!==i.bounds[i.handle]&&this.moveTo(p)}}},{key:"onKeyboard",value:function(e){var t=this.props,n=t.reverse,r=Ls(e,t.vertical,n);if(r){Ts(e);var i=this.state,o=this.props,a=i.bounds,s=i.handle,l=a[null===s?i.recent:s],c=r(l,o),u=Ms({value:c,handle:s,bounds:i.bounds,props:o});if(u===l)return;this.moveTo(u,!0)}}},{key:"getValue",value:function(){return this.state.bounds}},{key:"getClosestBound",value:function(e){for(var t=this.state.bounds,n=0,r=1;r<t.length-1;r+=1)e>=t[r]&&(n=r);return Math.abs(t[n+1]-e)<Math.abs(t[n]-e)&&(n+=1),n}},{key:"getBoundNeedMoving",value:function(e,t){var n=this.state,r=n.bounds,i=n.recent,o=t,a=r[t+1]===r[t];return a&&r[i]===r[t]&&(o=i),a&&e!==r[t+1]&&(o=e<r[t+1]?t:t+1),o}},{key:"getLowerBound",value:function(){return this.state.bounds[0]}},{key:"getUpperBound",value:function(){var e=this.state.bounds;return e[e.length-1]}},{key:"getPoints",value:function(){var e=this.props,t=e.marks,n=e.step,r=e.min,i=e.max,o=this.internalPointsCache;if(!o||o.marks!==t||o.step!==n){var a=Ya({},t);if(null!==n)for(var s=r;s<=i;s+=n)a[s]=s;var l=Object.keys(a).map(parseFloat);l.sort((function(e,t){return e-t})),this.internalPointsCache={marks:t,step:n,points:l}}return this.internalPointsCache.points}},{key:"moveTo",value:function(e,t){var n=this,r=this.state,i=this.props,o=cs(r.bounds),a=null===r.handle?r.recent:r.handle;o[a]=e;var s=a;!1!==i.pushable?this.pushSurroundingHandles(o,s):i.allowCross&&(o.sort((function(e,t){return e-t})),s=o.indexOf(e)),this.onChange({recent:s,handle:s,bounds:o}),t&&(this.props.onAfterChange(o),this.setState({},(function(){n.handlesRefs[s].focus()})),this.onEnd())}},{key:"pushSurroundingHandles",value:function(e,t){var n=e[t],r=this.props.pushable,i=Number(r),o=0;if(e[t+1]-n<i&&(o=1),n-e[t-1]<i&&(o=-1),0!==o){var a=t+o,s=o*(e[a]-n);this.pushHandle(e,a,o,i-s)||(e[t]=e[a]-o*i)}}},{key:"pushHandle",value:function(e,t,n,r){for(var i=e[t],o=e[t];n*(o-i)<r;){if(!this.pushHandleOnePoint(e,t,n))return e[t]=i,!1;o=e[t]}return!0}},{key:"pushHandleOnePoint",value:function(e,t,n){var r=this.getPoints(),i=r.indexOf(e[t])+n;if(i>=r.length||i<0)return!1;var o=t+n,a=r[i],s=this.props.pushable,l=Number(s),c=n*(e[o]-a);return!!this.pushHandle(e,o,n,l-c)&&(e[t]=a,!0)}},{key:"trimAlignValue",value:function(e){var t=this.state,n=t.handle,r=t.bounds;return Ms({value:e,handle:n,bounds:r,props:this.props})}},{key:"render",value:function(){var e=this,t=this.state,n=t.handle,i=t.bounds,o=this.props,a=o.prefixCls,s=o.vertical,l=o.included,c=o.disabled,u=o.min,d=o.max,f=o.reverse,p=o.handle,h=o.trackStyle,m=o.handleStyle,v=o.tabIndex,g=o.ariaLabelGroupForHandles,y=o.ariaLabelledByGroupForHandles,b=o.ariaValueTextFormatterGroupForHandles,w=i.map((function(t){return e.calcOffset(t)})),_="".concat(a,"-handle"),E=i.map((function(t,r){var i,o=v[r]||0;(c||null===v[r])&&(o=null);var l=n===r;return p({className:ps()((i={},Va(i,_,!0),Va(i,"".concat(_,"-").concat(r+1),!0),Va(i,"".concat(_,"-dragging"),l),i)),prefixCls:a,vertical:s,dragging:l,offset:w[r],value:t,index:r,tabIndex:o,min:u,max:d,reverse:f,disabled:c,style:m[r],ref:function(t){return e.saveHandle(r,t)},ariaLabel:g[r],ariaLabelledBy:y[r],ariaValueTextFormatter:b[r]})}));return{tracks:i.slice(0,-1).map((function(e,t){var n,i=t+1,o=ps()((Va(n={},"".concat(a,"-track"),!0),Va(n,"".concat(a,"-track-").concat(i),!0),n));return r.default.createElement(os,{className:o,vertical:s,reverse:f,included:l,offset:w[i-1],length:w[i]-w[i-1],style:h[t],key:i})})),handles:E}}}],[{key:"getDerivedStateFromProps",value:function(e,t){if(!("value"in e||"min"in e||"max"in e))return null;var n=e.value||t.bounds,r=n.map((function(n,r){return Ms({value:n,handle:r,bounds:t.bounds,props:e})}));if(t.bounds.length===r.length){if(r.every((function(e,n){return e===t.bounds[n]})))return null}else r=n.map((function(t,n){return Ms({value:t,handle:n,props:e})}));return Ya(Ya({},t),{},{bounds:r})}}]),n}(r.default.Component);Ps.displayName="Range",Ps.defaultProps={count:1,allowCross:!0,pushable:!1,draggableTrack:!1,tabIndex:[],ariaLabelGroupForHandles:[],ariaLabelledByGroupForHandles:[],ariaValueTextFormatterGroupForHandles:[]};const Ds=Ns(Ps);var js=function(e){return+setTimeout(e,16)},zs=function(e){return clearTimeout(e)};function Fs(e){return js(e)}function Hs(e,t){return!!e&&e.contains(t)}function Bs(e){return e instanceof HTMLElement?e:r.default.findDOMNode(e)}function Us(e,t){"function"==typeof e?e(t):"object"===Ja(e)&&e&&"current"in e&&(e.current=t)}function Ws(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){Us(t,e)}))}}function Vs(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}"undefined"!=typeof window&&"requestAnimationFrame"in window&&(js=function(e){return window.requestAnimationFrame(e)},zs=function(e){return window.cancelAnimationFrame(e)}),Fs.cancel=zs;const Gs=(0,r.forwardRef)((function(e,t){var n=e.didUpdate,i=e.getContainer,o=e.children,a=(0,r.useRef)();(0,r.useImperativeHandle)(t,(function(){return{}}));var s=(0,r.useRef)(!1);return!s.current&&Vs()&&(a.current=i(),s.current=!0),(0,r.useEffect)((function(){null==n||n(e)})),(0,r.useEffect)((function(){return function(){var e,t;null===(e=a.current)||void 0===e||null===(t=e.parentNode)||void 0===t||t.removeChild(a.current)}}),[]),a.current?r.default.createPortal(o,a.current):null}));function Ys(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function $s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||ls(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xs(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 qs,Ks,Zs,Qs=(qs=Vs(),Ks="undefined"!=typeof window?window:{},Zs={animationend:Xs("Animation","AnimationEnd"),transitionend:Xs("Transition","TransitionEnd")},qs&&("AnimationEvent"in Ks||delete Zs.animationend.animation,"TransitionEvent"in Ks||delete Zs.transitionend.transition),Zs),Js={};if(Vs()){var el=document.createElement("div");Js=el.style}var tl={};function nl(e){if(tl[e])return tl[e];var t=Qs[e];if(t)for(var n=Object.keys(t),r=n.length,i=0;i<r;i+=1){var o=n[i];if(Object.prototype.hasOwnProperty.call(t,o)&&o in Js)return tl[e]=t[o],tl[e]}return""}var rl=nl("animationend"),il=nl("transitionend"),ol=!(!rl||!il),al=rl||"animationend",sl=il||"transitionend";function ll(e,t){return e?"object"===Ja(e)?e[t.replace(/-\w/g,(function(e){return e[1].toUpperCase()}))]:"".concat(e,"-").concat(t):null}var cl="none",ul="appear",dl="enter",fl="leave",pl="none",hl="prepare",ml="start",vl="active",gl="end";function yl(e){var t=(0,r.useRef)(!1),n=$s((0,r.useState)(e),2),i=n[0],o=n[1];return(0,r.useEffect)((function(){return function(){t.current=!0}}),[]),[i,function(e){t.current||o(e)}]}const bl=Vs()?r.useLayoutEffect:r.useEffect;var wl=[hl,ml,vl,gl];function _l(e){return e===vl||e===gl}function El(e,t,n,i){var o=i.motionEnter,a=void 0===o||o,s=i.motionAppear,l=void 0===s||s,c=i.motionLeave,u=void 0===c||c,d=i.motionDeadline,f=i.motionLeaveImmediately,p=i.onAppearPrepare,h=i.onEnterPrepare,m=i.onLeavePrepare,v=i.onAppearStart,g=i.onEnterStart,y=i.onLeaveStart,b=i.onAppearActive,w=i.onEnterActive,_=i.onLeaveActive,E=i.onAppearEnd,x=i.onEnterEnd,C=i.onLeaveEnd,k=i.onVisibleChanged,S=$s(yl(),2),O=S[0],A=S[1],T=$s(yl(cl),2),L=T[0],I=T[1],N=$s(yl(null),2),R=N[0],M=N[1],P=(0,r.useRef)(!1),D=(0,r.useRef)(null),j=(0,r.useRef)(!1),z=(0,r.useRef)(null);function F(){return n()||z.current}var H=(0,r.useRef)(!1);function B(e){var t,n=F();e&&!e.deadline&&e.target!==n||(L===ul&&H.current?t=null==E?void 0:E(n,e):L===dl&&H.current?t=null==x?void 0:x(n,e):L===fl&&H.current&&(t=null==C?void 0:C(n,e)),!1===t||j.current||(I(cl),M(null)))}var U=$s(function(e){var t=(0,r.useRef)(),n=(0,r.useRef)(e);n.current=e;var i=r.useCallback((function(e){n.current(e)}),[]);function o(e){e&&(e.removeEventListener(sl,i),e.removeEventListener(al,i))}return r.useEffect((function(){return function(){o(t.current)}}),[]),[function(e){t.current&&t.current!==e&&o(t.current),e&&e!==t.current&&(e.addEventListener(sl,i),e.addEventListener(al,i),t.current=e)},o]}(B),1)[0],W=r.useMemo((function(){var e,t,n;switch(L){case"appear":return Va(e={},hl,p),Va(e,ml,v),Va(e,vl,b),e;case"enter":return Va(t={},hl,h),Va(t,ml,g),Va(t,vl,w),t;case"leave":return Va(n={},hl,m),Va(n,ml,y),Va(n,vl,_),n;default:return{}}}),[L]),V=$s(function(e,t){var n=$s(r.useState(pl),2),i=n[0],o=n[1],a=$s(function(){var e=r.useRef(null);function t(){Fs.cancel(e.current)}return r.useEffect((function(){return function(){t()}}),[]),[function n(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var o=Fs((function(){i<=1?r({isCanceled:function(){return o!==e.current}}):n(r,i-1)}));e.current=o},t]}(),2),s=a[0],l=a[1];return bl((function(){if(i!==pl&&i!==gl){var e=wl.indexOf(i),n=wl[e+1],r=t(i);!1===r?o(n):s((function(e){function t(){e.isCanceled()||o(n)}!0===r?t():Promise.resolve(r).then(t)}))}}),[e,i]),r.useEffect((function(){return function(){l()}}),[]),[function(){o(hl)},i]}(L,(function(e){if(e===hl){var t=W.prepare;return!!t&&t(F())}var n;return Y in W&&M((null===(n=W[Y])||void 0===n?void 0:n.call(W,F(),null))||null),Y===vl&&(U(F()),d>0&&(clearTimeout(D.current),D.current=setTimeout((function(){B({deadline:!0})}),d))),!0})),2),G=V[0],Y=V[1],$=_l(Y);H.current=$,bl((function(){if(A(t),e){var n,r=P.current;P.current=!0,!r&&t&&l&&(n=ul),r&&t&&a&&(n=dl),(r&&!t&&u||!r&&f&&!t&&u)&&(n=fl),n&&(I(n),G())}}),[t]),(0,r.useEffect)((function(){(L===ul&&!l||L===dl&&!a||L===fl&&!u)&&I(cl)}),[l,a,u]),(0,r.useEffect)((function(){return function(){clearTimeout(D.current),j.current=!0}}),[]),(0,r.useEffect)((function(){void 0!==O&&L===cl&&(null==k||k(O))}),[O,L]);var X=R;return W.prepare&&Y===ml&&(X=Ya({transition:"none"},X)),[L,Y,X,null!=O?O:t]}const xl=function(e){Za(n,e);var t=ts(n);function n(){return $a(this,n),t.apply(this,arguments)}return qa(n,[{key:"render",value:function(){return this.props.children}}]),n}(r.Component),Cl=function(e){var t=e;function n(e){return!(!e.motionName||!t)}"object"===Ja(e)&&(t=e.transitionSupport);var i=r.forwardRef((function(e,t){var i=e.visible,o=void 0===i||i,a=e.removeOnLeave,s=void 0===a||a,l=e.forceRender,c=e.children,u=e.motionName,d=e.leavedClassName,f=e.eventProps,p=n(e),h=(0,r.useRef)(),m=(0,r.useRef)(),v=$s(El(p,o,(function(){try{return Bs(h.current||m.current)}catch(e){return null}}),e),4),g=v[0],y=v[1],b=v[2],w=v[3],_=(0,r.useRef)(t);_.current=t;var E,x=r.useCallback((function(e){h.current=e,Us(_.current,e)}),[]),C=Ya(Ya({},f),{},{visible:o});if(c)if(g!==cl&&n(e)){var k,S;y===hl?S="prepare":_l(y)?S="active":y===ml&&(S="start"),E=c(Ya(Ya({},C),{},{className:ps()(ll(u,g),(k={},Va(k,ll(u,"".concat(g,"-").concat(S)),S),Va(k,u,"string"==typeof u),k)),style:b}),x)}else E=w?c(Ya({},C),x):s?l?c(Ya(Ya({},C),{},{style:{display:"none"}}),x):null:c(Ya(Ya({},C),{},{className:d}),x);else E=null;return r.createElement(xl,{ref:m},E)}));return i.displayName="CSSMotion",i}(ol);var kl="add",Sl="keep",Ol="remove",Al="removed";function Tl(e){var t;return Ya(Ya({},t=e&&"object"===Ja(e)&&"key"in e?e:{key:e}),{},{key:String(t.key)})}function Ll(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(Tl)}function Il(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,i=t.length,o=Ll(e),a=Ll(t);o.forEach((function(e){for(var t=!1,o=r;o<i;o+=1){var s=a[o];if(s.key===e.key){r<o&&(n=n.concat(a.slice(r,o).map((function(e){return Ya(Ya({},e),{},{status:kl})}))),r=o),n.push(Ya(Ya({},s),{},{status:Sl})),r+=1,t=!0;break}}t||n.push(Ya(Ya({},e),{},{status:Ol}))})),r<i&&(n=n.concat(a.slice(r).map((function(e){return Ya(Ya({},e),{},{status:kl})}))));var s={};n.forEach((function(e){var t=e.key;s[t]=(s[t]||0)+1}));var l=Object.keys(s).filter((function(e){return s[e]>1}));return l.forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==Ol}))).forEach((function(t){t.key===e&&(t.status=Sl)}))})),n}var Nl=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Cl,n=function(e){Za(i,e);var n=ts(i);function i(){var e;return $a(this,i),(e=n.apply(this,arguments)).state={keyEntities:[]},e.removeKey=function(t){e.setState((function(e){return{keyEntities:e.keyEntities.map((function(e){return e.key!==t?e:Ya(Ya({},e),{},{status:Al})}))}}))},e}return qa(i,[{key:"render",value:function(){var e=this,n=this.state.keyEntities,i=this.props,o=i.component,a=i.children,s=i.onVisibleChanged,l=as(i,["component","children","onVisibleChanged"]),c=o||r.Fragment,u={};return Nl.forEach((function(e){u[e]=l[e],delete l[e]})),delete l.keys,r.createElement(c,Object.assign({},l),n.map((function(n){var i=n.status,o=as(n,["status"]),l=i===kl||i===Sl;return r.createElement(t,Object.assign({},u,{key:o.key,visible:l,eventProps:o,onVisibleChanged:function(t){null==s||s(t,{key:o.key}),t||e.removeKey(o.key)}}),a)})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.keys,r=t.keyEntities,i=Ll(n);return{keyEntities:Il(r,i).filter((function(e){var t=r.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==Al||e.status!==Ol}))}}}]),i}(r.Component);n.defaultProps={component:"div"}}(ol);const Rl=Cl;function Ml(e){var t=e.prefixCls,n=e.motion,r=e.animation,i=e.transitionName;return n||(r?{motionName:"".concat(t,"-").concat(r)}:i?{motionName:i}:null)}function Pl(e){var t=e.prefixCls,n=e.visible,i=e.zIndex,o=e.mask,a=e.maskMotion,s=e.maskAnimation,l=e.maskTransitionName;if(!o)return null;var c={};return(a||l||s)&&(c=Ya({motionAppear:!0},Ml({motion:a,prefixCls:t,transitionName:l,animation:s}))),r.createElement(Rl,Object.assign({},c,{visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return r.createElement("div",{style:{zIndex:i},className:ps()("".concat(t,"-mask"),n)})}))}function Dl(e){return(Dl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function jl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zl(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}var Fl,Hl={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function Bl(){if(void 0!==Fl)return Fl;Fl="";var e=document.createElement("p").style;for(var t in Hl)t+"Transform"in e&&(Fl=t);return Fl}function Ul(){return Bl()?"".concat(Bl(),"TransitionProperty"):"transitionProperty"}function Wl(){return Bl()?"".concat(Bl(),"Transform"):"transform"}function Vl(e,t){var n=Ul();n&&(e.style[n]=t,"transitionProperty"!==n&&(e.style.transitionProperty=t))}function Gl(e,t){var n=Wl();n&&(e.style[n]=t,"transform"!==n&&(e.style.transform=t))}var Yl,$l=/matrix\((.*)\)/,Xl=/matrix3d\((.*)\)/;function ql(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function Kl(e,t,n){var r=n;if("object"!==Dl(t))return void 0!==r?("number"==typeof r&&(r="".concat(r,"px")),void(e.style[t]=r)):Yl(e,t);for(var i in t)t.hasOwnProperty(i)&&Kl(e,i,t[i])}function Zl(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var i=e.document;"number"!=typeof(n=i.documentElement[r])&&(n=i.body[r])}return n}function Ql(e){return Zl(e)}function Jl(e){return Zl(e,!0)}function ec(e){var t=function(e){var t,n,r,i=e.ownerDocument,o=i.body,a=i&&i.documentElement;return n=(t=e.getBoundingClientRect()).left,r=t.top,{left:n-=a.clientLeft||o.clientLeft||0,top:r-=a.clientTop||o.clientTop||0}}(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=Ql(r),t.top+=Jl(r),t}function tc(e){return null!=e&&e==e.window}function nc(e){return tc(e)?e.document:9===e.nodeType?e:e.ownerDocument}var rc=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),ic=/^(top|right|bottom|left)$/;function oc(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function ac(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function sc(e,t,n){"static"===Kl(e,"position")&&(e.style.position="relative");var r=-999,i=-999,o=oc("left",n),a=oc("top",n),s=ac(o),l=ac(a);"left"!==o&&(r=999),"top"!==a&&(i=999);var c,u="",d=ec(e);("left"in t||"top"in t)&&(u=(c=e).style.transitionProperty||c.style[Ul()]||"",Vl(e,"none")),"left"in t&&(e.style[s]="",e.style[o]="".concat(r,"px")),"top"in t&&(e.style[l]="",e.style[a]="".concat(i,"px")),ql(e);var f=ec(e),p={};for(var h in t)if(t.hasOwnProperty(h)){var m=oc(h,n),v="left"===h?r:i,g=d[h]-f[h];p[m]=m===h?v+g:v-g}Kl(e,p),ql(e),("left"in t||"top"in t)&&Vl(e,u);var y={};for(var b in t)if(t.hasOwnProperty(b)){var w=oc(b,n),_=t[b]-d[b];y[w]=b===w?p[w]+_:p[w]-_}Kl(e,y)}function lc(e,t){for(var n=0;n<e.length;n++)t(e[n])}function cc(e){return"border-box"===Yl(e,"boxSizing")}"undefined"!=typeof window&&(Yl=window.getComputedStyle?function(e,t,n){var r=n,i="",o=nc(e);return(r=r||o.defaultView.getComputedStyle(e,null))&&(i=r.getPropertyValue(t)||r[t]),i}:function(e,t){var n=e.currentStyle&&e.currentStyle[t];if(rc.test(n)&&!ic.test(t)){var r=e.style,i=r.left,o=e.runtimeStyle.left;e.runtimeStyle.left=e.currentStyle.left,r.left="fontSize"===t?"1em":n||0,n=r.pixelLeft+"px",r.left=i,e.runtimeStyle.left=o}return""===n?"auto":n});var uc=["margin","border","padding"];function dc(e,t,n){var r,i={},o=e.style;for(r in t)t.hasOwnProperty(r)&&(i[r]=o[r],o[r]=t[r]);for(r in n.call(e),t)t.hasOwnProperty(r)&&(o[r]=i[r])}function fc(e,t,n){var r,i,o,a=0;for(i=0;i<t.length;i++)if(r=t[i])for(o=0;o<n.length;o++){var s;s="border"===r?"".concat(r).concat(n[o],"Width"):r+n[o],a+=parseFloat(Yl(e,s))||0}return a}var pc={getParent:function(e){var t=e;do{t=11===t.nodeType&&t.host?t.host:t.parentNode}while(t&&1!==t.nodeType&&9!==t.nodeType);return t}};function hc(e,t,n){var r=n;if(tc(e))return"width"===t?pc.viewportWidth(e):pc.viewportHeight(e);if(9===e.nodeType)return"width"===t?pc.docWidth(e):pc.docHeight(e);var i="width"===t?["Left","Right"]:["Top","Bottom"],o="width"===t?e.getBoundingClientRect().width:e.getBoundingClientRect().height,a=(Yl(e),cc(e)),s=0;(null==o||o<=0)&&(o=void 0,(null==(s=Yl(e,t))||Number(s)<0)&&(s=e.style[t]||0),s=parseFloat(s)||0),void 0===r&&(r=a?1:-1);var l=void 0!==o||a,c=o||s;return-1===r?l?c-fc(e,["border","padding"],i):s:l?1===r?c:c+(2===r?-fc(e,["border"],i):fc(e,["margin"],i)):s+fc(e,uc.slice(r),i)}lc(["Width","Height"],(function(e){pc["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],pc["viewport".concat(e)](n))},pc["viewport".concat(e)]=function(t){var n="client".concat(e),r=t.document,i=r.body,o=r.documentElement[n];return"CSS1Compat"===r.compatMode&&o||i&&i[n]||o}}));var mc={position:"absolute",visibility:"hidden",display:"block"};function vc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=t[0];return 0!==i.offsetWidth?r=hc.apply(void 0,t):dc(i,mc,(function(){r=hc.apply(void 0,t)})),r}function gc(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}lc(["width","height"],(function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);pc["outer".concat(t)]=function(t,n){return t&&vc(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];pc[e]=function(t,r){var i=r;return void 0===i?t&&vc(t,e,-1):t?(Yl(t),cc(t)&&(i+=fc(t,["padding","border"],n)),Kl(t,e,i)):void 0}}));var yc={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:nc,offset:function(e,t,n){if(void 0===t)return ec(e);!function(e,t,n){if(n.ignoreShake){var r=ec(e),i=r.left.toFixed(0),o=r.top.toFixed(0),a=t.left.toFixed(0),s=t.top.toFixed(0);if(i===a&&o===s)return}n.useCssRight||n.useCssBottom?sc(e,t,n):n.useCssTransform&&Wl()in document.body.style?function(e,t){var n=ec(e),r=function(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(Wl());if(n&&"none"!==n){var r=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(r[12]||r[4],0),y:parseFloat(r[13]||r[5],0)}}return{x:0,y:0}}(e),i={x:r.x,y:r.y};"left"in t&&(i.x=r.x+t.left-n.left),"top"in t&&(i.y=r.y+t.top-n.top),function(e,t){var n=window.getComputedStyle(e,null),r=n.getPropertyValue("transform")||n.getPropertyValue(Wl());if(r&&"none"!==r){var i,o=r.match($l);o?((i=(o=o[1]).split(",").map((function(e){return parseFloat(e,10)})))[4]=t.x,i[5]=t.y,Gl(e,"matrix(".concat(i.join(","),")"))):((i=r.match(Xl)[1].split(",").map((function(e){return parseFloat(e,10)})))[12]=t.x,i[13]=t.y,Gl(e,"matrix3d(".concat(i.join(","),")")))}else Gl(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}(e,i)}(e,t):sc(e,t,n)}(e,t,n||{})},isWindow:tc,each:lc,css:Kl,clone:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);if(e.overflow)for(t in e)e.hasOwnProperty(t)&&(n.overflow[t]=e.overflow[t]);return n},mix:gc,getWindowScrollLeft:function(e){return Ql(e)},getWindowScrollTop:function(e){return Jl(e)},merge:function(){for(var e={},t=0;t<arguments.length;t++)yc.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e},viewportWidth:0,viewportHeight:0};gc(yc,pc);var bc=yc.getParent;function wc(e){if(yc.isWindow(e)||9===e.nodeType)return null;var t,n=yc.getDocument(e).body,r=yc.css(e,"position");if("fixed"!==r&&"absolute"!==r)return"html"===e.nodeName.toLowerCase()?null:bc(e);for(t=bc(e);t&&t!==n&&9!==t.nodeType;t=bc(t))if("static"!==(r=yc.css(t,"position")))return t;return null}var _c=yc.getParent;function Ec(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},r=wc(e),i=yc.getDocument(e),o=i.defaultView||i.parentWindow,a=i.body,s=i.documentElement;r;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===r.clientWidth||r===a||r===s||"visible"===yc.css(r,"overflow")){if(r===a||r===s)break}else{var l=yc.offset(r);l.left+=r.clientLeft,l.top+=r.clientTop,n.top=Math.max(n.top,l.top),n.right=Math.min(n.right,l.left+r.clientWidth),n.bottom=Math.min(n.bottom,l.top+r.clientHeight),n.left=Math.max(n.left,l.left)}r=wc(r)}var c=null;yc.isWindow(e)||9===e.nodeType||(c=e.style.position,"absolute"===yc.css(e,"position")&&(e.style.position="fixed"));var u=yc.getWindowScrollLeft(o),d=yc.getWindowScrollTop(o),f=yc.viewportWidth(o),p=yc.viewportHeight(o),h=s.scrollWidth,m=s.scrollHeight,v=window.getComputedStyle(a);if("hidden"===v.overflowX&&(h=o.innerWidth),"hidden"===v.overflowY&&(m=o.innerHeight),e.style&&(e.style.position=c),t||function(e){if(yc.isWindow(e)||9===e.nodeType)return!1;var t=yc.getDocument(e).body,n=null;for(n=_c(e);n&&n!==t;n=_c(n))if("fixed"===yc.css(n,"position"))return!0;return!1}(e))n.left=Math.max(n.left,u),n.top=Math.max(n.top,d),n.right=Math.min(n.right,u+f),n.bottom=Math.min(n.bottom,d+p);else{var g=Math.max(h,u+f);n.right=Math.min(n.right,g);var y=Math.max(m,d+p);n.bottom=Math.min(n.bottom,y)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function xc(e){var t,n,r;if(yc.isWindow(e)||9===e.nodeType){var i=yc.getWindow(e);t={left:yc.getWindowScrollLeft(i),top:yc.getWindowScrollTop(i)},n=yc.viewportWidth(i),r=yc.viewportHeight(i)}else t=yc.offset(e),n=yc.outerWidth(e),r=yc.outerHeight(e);return t.width=n,t.height=r,t}function Cc(e,t){var n=t.charAt(0),r=t.charAt(1),i=e.width,o=e.height,a=e.left,s=e.top;return"c"===n?s+=o/2:"b"===n&&(s+=o),"c"===r?a+=i/2:"r"===r&&(a+=i),{left:a,top:s}}function kc(e,t,n,r,i){var o=Cc(t,n[1]),a=Cc(e,n[0]),s=[a.left-o.left,a.top-o.top];return{left:Math.round(e.left-s[0]+r[0]-i[0]),top:Math.round(e.top-s[1]+r[1]-i[1])}}function Sc(e,t,n){return e.left<n.left||e.left+t.width>n.right}function Oc(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function Ac(e,t,n){var r=[];return yc.each(e,(function(e){r.push(e.replace(t,(function(e){return n[e]})))})),r}function Tc(e,t){return e[t]=-e[t],e}function Lc(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function Ic(e,t){e[0]=Lc(e[0],t.width),e[1]=Lc(e[1],t.height)}function Nc(e,t,n,r){var i=n.points,o=n.offset||[0,0],a=n.targetOffset||[0,0],s=n.overflow,l=n.source||e;o=[].concat(o),a=[].concat(a);var c={},u=0,d=Ec(l,!(!(s=s||{})||!s.alwaysByViewport)),f=xc(l);Ic(o,f),Ic(a,t);var p=kc(f,t,i,o,a),h=yc.merge(f,p);if(d&&(s.adjustX||s.adjustY)&&r){if(s.adjustX&&Sc(p,f,d)){var m=Ac(i,/[lr]/gi,{l:"r",r:"l"}),v=Tc(o,0),g=Tc(a,0);(function(e,t,n){return e.left>n.right||e.left+t.width<n.left})(kc(f,t,m,v,g),f,d)||(u=1,i=m,o=v,a=g)}if(s.adjustY&&Oc(p,f,d)){var y=Ac(i,/[tb]/gi,{t:"b",b:"t"}),b=Tc(o,1),w=Tc(a,1);(function(e,t,n){return e.top>n.bottom||e.top+t.height<n.top})(kc(f,t,y,b,w),f,d)||(u=1,i=y,o=b,a=w)}u&&(p=kc(f,t,i,o,a),yc.mix(h,p));var _=Sc(p,f,d),E=Oc(p,f,d);if(_||E){var x=i;_&&(x=Ac(i,/[lr]/gi,{l:"r",r:"l"})),E&&(x=Ac(i,/[tb]/gi,{t:"b",b:"t"})),i=x,o=n.offset||[0,0],a=n.targetOffset||[0,0]}c.adjustX=s.adjustX&&_,c.adjustY=s.adjustY&&E,(c.adjustX||c.adjustY)&&(h=function(e,t,n,r){var i=yc.clone(e),o={width:t.width,height:t.height};return r.adjustX&&i.left<n.left&&(i.left=n.left),r.resizeWidth&&i.left>=n.left&&i.left+o.width>n.right&&(o.width-=i.left+o.width-n.right),r.adjustX&&i.left+o.width>n.right&&(i.left=Math.max(n.right-o.width,n.left)),r.adjustY&&i.top<n.top&&(i.top=n.top),r.resizeHeight&&i.top>=n.top&&i.top+o.height>n.bottom&&(o.height-=i.top+o.height-n.bottom),r.adjustY&&i.top+o.height>n.bottom&&(i.top=Math.max(n.bottom-o.height,n.top)),yc.mix(i,o)}(p,f,d,c))}return h.width!==f.width&&yc.css(l,"width",yc.width(l)+h.width-f.width),h.height!==f.height&&yc.css(l,"height",yc.height(l)+h.height-f.height),yc.offset(l,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:i,offset:o,targetOffset:a,overflow:c}}function Rc(e,t,n){var r=n.target||t;return Nc(e,xc(r),n,!function(e,t){var n=Ec(e,t),r=xc(e);return!n||r.left+r.width<=n.left||r.top+r.height<=n.top||r.left>=n.right||r.top>=n.bottom}(r,n.overflow&&n.overflow.alwaysByViewport))}Rc.__getOffsetParent=wc,Rc.__getVisibleRectForElement=Ec;var Mc=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__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),Pc="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,Dc=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),jc="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(Dc):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},zc=["top","right","bottom","left","width","height","size","weight"],Fc="undefined"!=typeof MutationObserver,Hc=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&s()}function a(){jc(o)}function s(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(a,20);i=e}return s}(this.refresh.bind(this))}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){Pc&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Fc?(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(){Pc&&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;zc.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}(),Bc=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},Uc=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||Dc},Wc=Xc(0,0,0,0);function Vc(e){return parseFloat(e)||0}function Gc(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+Vc(e["border-"+n+"-width"])}),0)}var Yc="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof Uc(e).SVGGraphicsElement}:function(e){return e instanceof Uc(e).SVGElement&&"function"==typeof e.getBBox};function $c(e){return Pc?Yc(e)?function(e){var t=e.getBBox();return Xc(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return Wc;var r=Uc(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=Vc(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=Vc(r.width),l=Vc(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=Gc(r,"left","right")+o),Math.round(l+a)!==n&&(l-=Gc(r,"top","bottom")+a)),!function(e){return e===Uc(e).document.documentElement}(e)){var c=Math.round(s+o)-t,u=Math.round(l+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return Xc(i.left,i.top,s,l)}(e):Wc}function Xc(e,t,n,r){return{x:e,y:t,width:n,height:r}}var qc=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Xc(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=$c(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),Kc=function(e,t){var n=function(e){var t=e.x,n=e.y,r=e.width,i=e.height,o="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return Bc(a,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),a}(t);Bc(this,{target:e,contentRect:n})},Zc=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new Mc,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Uc(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new qc(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Uc(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new Kc(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),Qc="undefined"!=typeof WeakMap?new WeakMap:new Mc,Jc=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=Hc.getInstance(),r=new Zc(t,n,this);Qc.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){Jc.prototype[e]=function(){var t;return(t=Qc.get(this))[e].apply(t,arguments)}}));const eu=void 0!==Dc.ResizeObserver?Dc.ResizeObserver:Jc;function tu(e,t){var n=null,r=null,i=new eu((function(e){var i=$s(e,1)[0].target;if(document.documentElement.contains(i)){var o=i.getBoundingClientRect(),a=o.width,s=o.height,l=Math.floor(a),c=Math.floor(s);n===l&&r===c||Promise.resolve().then((function(){t({width:l,height:c})})),n=l,r=c}}));return e&&i.observe(e),function(){i.disconnect()}}function nu(e){return"function"!=typeof e?null:e()}function ru(e){return"object"===Ja(e)&&e?e:null}var iu=r.default.forwardRef((function(e,t){var n=e.children,i=e.disabled,o=e.target,a=e.align,s=e.onAlign,l=e.monitorWindowResize,c=e.monitorBufferTime,u=void 0===c?0:c,d=r.default.useRef({}),f=r.default.useRef(),p=r.default.Children.only(n),h=r.default.useRef({});h.current.disabled=i,h.current.target=o,h.current.onAlign=s;var m=$s(function(e,t){var n=r.default.useRef(!1),i=r.default.useRef(null);function o(){window.clearTimeout(i.current)}return[function e(r){if(n.current&&!0!==r)o(),i.current=window.setTimeout((function(){n.current=!1,e()}),t);else{if(!1===function(){var e=h.current,t=e.disabled,n=e.target,r=e.onAlign;if(!t&&n){var i,o=f.current,s=nu(n),l=ru(n);d.current.element=s,d.current.point=l;var c=document.activeElement;return s&&function(e){if(!e)return!1;if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox();if(t.width||t.height)return!0}if(e.getBoundingClientRect){var n=e.getBoundingClientRect();if(n.width||n.height)return!0}return!1}(s)?i=Rc(o,s,a):l&&(i=function(e,t,n){var r,i,o=yc.getDocument(e),a=o.defaultView||o.parentWindow,s=yc.getWindowScrollLeft(a),l=yc.getWindowScrollTop(a),c=yc.viewportWidth(a),u=yc.viewportHeight(a);r="pageX"in t?t.pageX:s+t.clientX,i="pageY"in t?t.pageY:l+t.clientY;var d=r>=0&&r<=s+c&&i>=0&&i<=l+u;return Nc(e,{left:r,top:i,width:0,height:0},function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zl(n,!0).forEach((function(t){jl(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zl(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{points:[n.points[0],"cc"]}),d)}(o,l,a)),function(e,t){e!==document.activeElement&&Hs(t,e)&&"function"==typeof e.focus&&e.focus()}(c,o),r&&i&&r(o,i),!0}return!1}())return;n.current=!0,o(),i.current=window.setTimeout((function(){n.current=!1}),t)}},function(){n.current=!1,o()}]}(0,u),2),v=m[0],g=m[1],y=r.default.useRef({cancel:function(){}}),b=r.default.useRef({cancel:function(){}});r.default.useEffect((function(){var e,t,n=nu(o),r=ru(o);f.current!==b.current.element&&(b.current.cancel(),b.current.element=f.current,b.current.cancel=tu(f.current,v)),d.current.element===n&&((e=d.current.point)===(t=r)||e&&t&&("pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t&&e.clientX===t.clientX&&e.clientY===t.clientY))||(v(),y.current.element!==n&&(y.current.cancel(),y.current.element=n,y.current.cancel=tu(n,v)))})),r.default.useEffect((function(){i?g():v()}),[i]);var w=r.default.useRef(null);return r.default.useEffect((function(){l?w.current||(w.current=ds(window,"resize",v)):w.current&&(w.current.remove(),w.current=null)}),[l]),r.default.useEffect((function(){return function(){y.current.cancel(),b.current.cancel(),w.current&&w.current.remove(),g()}}),[]),r.default.useImperativeHandle(t,(function(){return{forceAlign:function(){return v(!0)}}})),r.default.isValidElement(p)&&(p=r.default.cloneElement(p,{ref:Ws(p.ref,f)})),p}));iu.displayName="Align";const ou=iu;var au=n("./node_modules/@babel/runtime/regenerator/index.js"),su=n.n(au);function lu(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function cu(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){lu(o,r,i,a,s,"next",e)}function s(e){lu(o,r,i,a,s,"throw",e)}a(void 0)}))}}var uu=["measure","align",null,"motion"],du=r.forwardRef((function(e,t){var n=e.visible,i=e.prefixCls,o=e.className,a=e.style,s=e.children,l=e.zIndex,c=e.stretch,u=e.destroyPopupOnHide,d=e.align,f=e.point,p=e.getRootDomNode,h=e.getClassNameFromAlign,m=e.onAlign,v=e.onMouseEnter,g=e.onMouseLeave,y=e.onMouseDown,b=e.onTouchStart,w=(0,r.useRef)(),_=(0,r.useRef)(),E=$s((0,r.useState)(),2),x=E[0],C=E[1],k=function(e){var t=$s(r.useState({width:0,height:0}),2),n=t[0],i=t[1];return[r.useMemo((function(){var t={};if(e){var r=n.width,i=n.height;-1!==e.indexOf("height")&&i?t.height=i:-1!==e.indexOf("minHeight")&&i&&(t.minHeight=i),-1!==e.indexOf("width")&&r?t.width=r:-1!==e.indexOf("minWidth")&&r&&(t.minWidth=r)}return t}),[e,n]),function(e){i({width:e.offsetWidth,height:e.offsetHeight})}]}(c),S=$s(k,2),O=S[0],A=S[1],T=function(e,t){var n=$s((0,r.useState)(null),2),i=n[0],o=n[1],a=(0,r.useRef)();function s(){Fs.cancel(a.current)}return(0,r.useEffect)((function(){o("measure")}),[e]),(0,r.useEffect)((function(){switch(i){case"measure":c&&A(p())}i&&(a.current=Fs(cu(su().mark((function e(){var t,n;return su().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=uu.indexOf(i),(n=uu[t+1])&&-1!==t&&o(n);case 3:case"end":return e.stop()}}),e)})))))}),[i]),(0,r.useEffect)((function(){return function(){s()}}),[]),[i,function(e){s(),a.current=Fs((function(){o((function(e){switch(i){case"align":return"motion";case"motion":return"stable"}return e})),null==e||e()}))}]}(n),L=$s(T,2),I=L[0],N=L[1],R=(0,r.useRef)();function M(){var e;null===(e=w.current)||void 0===e||e.forceAlign()}function P(e,t){if("align"===I){var n=h(t);C(n),x!==n?Promise.resolve().then((function(){M()})):N((function(){var e;null===(e=R.current)||void 0===e||e.call(R)})),null==m||m(e,t)}}var D=Ya({},Ml(e));function j(){return new Promise((function(e){R.current=e}))}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach((function(e){var t=D[e];D[e]=function(e,n){return N(),null==t?void 0:t(e,n)}})),r.useEffect((function(){D.motionName||"motion"!==I||N()}),[D.motionName,I]),r.useImperativeHandle(t,(function(){return{forceAlign:M,getElement:function(){return _.current}}}));var z=Ya(Ya(Ya({},O),{},{zIndex:l},a),{},{opacity:"motion"!==I&&"stable"!==I&&n?0:void 0,pointerEvents:"stable"===I?void 0:"none"}),F=!0;!(null==d?void 0:d.points)||"align"!==I&&"stable"!==I||(F=!1);var H=s;return r.Children.count(s)>1&&(H=r.createElement("div",{className:"".concat(i,"-content")},s)),r.createElement(Rl,Object.assign({visible:n,ref:_,leavedClassName:"".concat(i,"-hidden")},D,{onAppearPrepare:j,onEnterPrepare:j,removeOnLeave:u}),(function(e,t){var n=e.className,a=e.style,s=ps()(i,o,x,n);return r.createElement(ou,{target:f||p,key:"popup",ref:w,monitorWindowResize:!0,disabled:F,align:d,onAlign:P},r.createElement("div",{ref:t,className:s,onMouseEnter:v,onMouseLeave:g,onMouseDown:y,onTouchStart:b,style:Ya(Ya({},a),z)},H))}))}));du.displayName="PopupInner";const fu=du;var pu=r.forwardRef((function(e,t){var n=e.prefixCls,i=e.visible,o=e.zIndex,a=e.children,s=e.mobile,l=(s=void 0===s?{}:s).popupClassName,c=s.popupStyle,u=s.popupMotion,d=void 0===u?{}:u,f=s.popupRender,p=r.useRef();r.useImperativeHandle(t,(function(){return{forceAlign:function(){},getElement:function(){return p.current}}}));var h=Ya({zIndex:o},c),m=a;return r.Children.count(a)>1&&(m=r.createElement("div",{className:"".concat(n,"-content")},a)),f&&(m=f(m)),r.createElement(Rl,Object.assign({visible:i,ref:p,removeOnLeave:!0},d),(function(e,t){var i=e.className,o=e.style,a=ps()(n,l,i);return r.createElement("div",{ref:t,className:a,style:Ya(Ya({},o),h)},m)}))}));pu.displayName="MobilePopupInner";const hu=pu;var mu=r.forwardRef((function(e,t){var n=e.visible,i=e.mobile,o=as(e,["visible","mobile"]),a=$s((0,r.useState)(n),2),s=a[0],l=a[1],c=$s((0,r.useState)(!1),2),u=c[0],d=c[1],f=Ya(Ya({},o),{},{visible:s});(0,r.useEffect)((function(){var e;l(n),n&&i&&d((e=navigator.userAgent||navigator.vendor||window.opera,!(!/(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(e.substr(0,4)))))}),[n,!!i]);var p=u?r.createElement(hu,Object.assign({},f,{mobile:i,ref:t})):r.createElement(fu,Object.assign({},f,{ref:t}));return r.createElement("div",null,r.createElement(Pl,Object.assign({},f)),p)}));mu.displayName="Popup";const vu=mu,gu=r.createContext(null);function yu(){}var bu=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];const wu=(_u=Gs,(Eu=function(e){Za(n,e);var t=ts(n);function n(e){var i,o;return $a(this,n),(i=t.call(this,e)).popupRef=r.createRef(),i.triggerRef=r.createRef(),i.onMouseEnter=function(e){var t=i.props.mouseEnterDelay;i.fireEvents("onMouseEnter",e),i.delaySetPopupVisible(!0,t,t?null:e)},i.onMouseMove=function(e){i.fireEvents("onMouseMove",e),i.setPoint(e)},i.onMouseLeave=function(e){i.fireEvents("onMouseLeave",e),i.delaySetPopupVisible(!1,i.props.mouseLeaveDelay)},i.onPopupMouseEnter=function(){i.clearDelayTimer()},i.onPopupMouseLeave=function(e){var t;e.relatedTarget&&!e.relatedTarget.setTimeout&&Hs(null===(t=i.popupRef.current)||void 0===t?void 0:t.getElement(),e.relatedTarget)||i.delaySetPopupVisible(!1,i.props.mouseLeaveDelay)},i.onFocus=function(e){i.fireEvents("onFocus",e),i.clearDelayTimer(),i.isFocusToShow()&&(i.focusTime=Date.now(),i.delaySetPopupVisible(!0,i.props.focusDelay))},i.onMouseDown=function(e){i.fireEvents("onMouseDown",e),i.preClickTime=Date.now()},i.onTouchStart=function(e){i.fireEvents("onTouchStart",e),i.preTouchTime=Date.now()},i.onBlur=function(e){i.fireEvents("onBlur",e),i.clearDelayTimer(),i.isBlurToHide()&&i.delaySetPopupVisible(!1,i.props.blurDelay)},i.onContextMenu=function(e){e.preventDefault(),i.fireEvents("onContextMenu",e),i.setPopupVisible(!0,e)},i.onContextMenuClose=function(){i.isContextMenuToShow()&&i.close()},i.onClick=function(e){if(i.fireEvents("onClick",e),i.focusTime){var t;if(i.preClickTime&&i.preTouchTime?t=Math.min(i.preClickTime,i.preTouchTime):i.preClickTime?t=i.preClickTime:i.preTouchTime&&(t=i.preTouchTime),Math.abs(t-i.focusTime)<20)return;i.focusTime=0}i.preClickTime=0,i.preTouchTime=0,i.isClickToShow()&&(i.isClickToHide()||i.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var n=!i.state.popupVisible;(i.isClickToHide()&&!n||n&&i.isClickToShow())&&i.setPopupVisible(!i.state.popupVisible,e)},i.onPopupMouseDown=function(){var e;i.hasPopupMouseDown=!0,clearTimeout(i.mouseDownTimeout),i.mouseDownTimeout=window.setTimeout((function(){i.hasPopupMouseDown=!1}),0),i.context&&(e=i.context).onPopupMouseDown.apply(e,arguments)},i.onDocumentClick=function(e){if(!i.props.mask||i.props.maskClosable){var t=e.target,n=i.getRootDomNode(),r=i.getPopupDomNode();Hs(n,t)||Hs(r,t)||i.hasPopupMouseDown||i.close()}},i.getRootDomNode=function(){var e=i.props.getTriggerDOMNode;if(e)return e(i.triggerRef.current);try{var t=Bs(i.triggerRef.current);if(t)return t}catch(e){}return r.default.findDOMNode(Jo(i))},i.getPopupClassNameFromAlign=function(e){var t=[],n=i.props,r=n.popupPlacement,o=n.builtinPlacements,a=n.prefixCls,s=n.alignPoint,l=n.getPopupClassNameFromAlign;return r&&o&&t.push(function(e,t,n,r){for(var i=n.points,o=Object.keys(e),a=0;a<o.length;a+=1){var s=o[a];if(Ys(e[s].points,i,r))return"".concat(t,"-placement-").concat(s)}return""}(o,a,e,s)),l&&t.push(l(e)),t.join(" ")},i.getComponent=function(){var e=i.props,t=e.prefixCls,n=e.destroyPopupOnHide,o=e.popupClassName,a=e.onPopupAlign,s=e.popupMotion,l=e.popupAnimation,c=e.popupTransitionName,u=e.popupStyle,d=e.mask,f=e.maskAnimation,p=e.maskTransitionName,h=e.maskMotion,m=e.zIndex,v=e.popup,g=e.stretch,y=e.alignPoint,b=e.mobile,w=i.state,_=w.popupVisible,E=w.point,x=i.getPopupAlign(),C={};return i.isMouseEnterToShow()&&(C.onMouseEnter=i.onPopupMouseEnter),i.isMouseLeaveToHide()&&(C.onMouseLeave=i.onPopupMouseLeave),C.onMouseDown=i.onPopupMouseDown,C.onTouchStart=i.onPopupMouseDown,r.createElement(vu,Object.assign({prefixCls:t,destroyPopupOnHide:n,visible:_,point:y&&E,className:o,align:x,onAlign:a,animation:l,getClassNameFromAlign:i.getPopupClassNameFromAlign},C,{stretch:g,getRootDomNode:i.getRootDomNode,style:u,mask:d,zIndex:m,transitionName:c,maskAnimation:f,maskTransitionName:p,maskMotion:h,ref:i.popupRef,motion:s,mobile:b}),"function"==typeof v?v():v)},i.attachParent=function(e){Fs.cancel(i.attachId);var t,n=i.props,r=n.getPopupContainer,o=n.getDocument,a=i.getRootDomNode();r?(a||0===r.length)&&(t=r(a)):t=o(i.getRootDomNode()).body,t?t.appendChild(e):i.attachId=Fs((function(){i.attachParent(e)}))},i.getContainer=function(){var e=(0,i.props.getDocument)(i.getRootDomNode()).createElement("div");return e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.width="100%",i.attachParent(e),e},i.setPoint=function(e){i.props.alignPoint&&e&&i.setState({point:{pageX:e.pageX,pageY:e.pageY}})},i.handlePortalUpdate=function(){i.state.prevPopupVisible!==i.state.popupVisible&&i.props.afterPopupVisibleChange(i.state.popupVisible)},o="popupVisible"in e?!!e.popupVisible:!!e.defaultPopupVisible,i.state={prevPopupVisible:o,popupVisible:o},bu.forEach((function(e){i["fire".concat(e)]=function(t){i.fireEvents(e,t)}})),i}return qa(n,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e,t=this.props;if(this.state.popupVisible)return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(e=t.getDocument(this.getRootDomNode()),this.clickOutsideHandler=ds(e,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(this.getRootDomNode()),this.touchOutsideHandler=ds(e,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(e=e||t.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=ds(e,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=ds(window,"blur",this.onContextMenuClose)));this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),Fs.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var e;return(null===(e=this.popupRef.current)||void 0===e?void 0:e.getElement())||null}},{key:"getPopupAlign",value:function(){var e=this.props,t=e.popupPlacement,n=e.popupAlign,r=e.builtinPlacements;return t&&r?function(e,t,n){return Ya(Ya({},e[t]||{}),n)}(r,t,n):n}},{key:"setPopupVisible",value:function(e,t){var n=this.props.alignPoint,r=this.state.popupVisible;this.clearDelayTimer(),r!==e&&("popupVisible"in this.props||this.setState({popupVisible:e,prevPopupVisible:r}),this.props.onPopupVisibleChange(e)),n&&t&&e&&this.setPoint(t)}},{key:"delaySetPopupVisible",value:function(e,t,n){var r=this,i=1e3*t;if(this.clearDelayTimer(),i){var o=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=window.setTimeout((function(){r.setPopupVisible(e,o),r.clearDelayTimer()}),i)}else this.setPopupVisible(e,n)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this["fire".concat(e)]:t[e]||n[e]}},{key:"isClickToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isContextMenuToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")}},{key:"isClickToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isMouseEnterToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseEnter")}},{key:"isMouseLeaveToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("hover")||-1!==n.indexOf("mouseLeave")}},{key:"isFocusToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("focus")}},{key:"isBlurToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return-1!==t.indexOf("focus")||-1!==n.indexOf("blur")}},{key:"forcePopupAlign",value:function(){var e;this.state.popupVisible&&(null===(e=this.popupRef.current)||void 0===e||e.forceAlign())}},{key:"fireEvents",value:function(e,t){var n=this.props.children.props[e];n&&n(t);var r=this.props[e];r&&r(t)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var e=this.state.popupVisible,t=this.props,n=t.children,i=t.forceRender,o=t.alignPoint,a=t.className,s=t.autoDestroy,l=r.Children.only(n),c={key:"trigger"};this.isContextMenuToShow()?c.onContextMenu=this.onContextMenu:c.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(c.onClick=this.onClick,c.onMouseDown=this.onMouseDown,c.onTouchStart=this.onTouchStart):(c.onClick=this.createTwoChains("onClick"),c.onMouseDown=this.createTwoChains("onMouseDown"),c.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(c.onMouseEnter=this.onMouseEnter,o&&(c.onMouseMove=this.onMouseMove)):c.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?c.onMouseLeave=this.onMouseLeave:c.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(c.onFocus=this.onFocus,c.onBlur=this.onBlur):(c.onFocus=this.createTwoChains("onFocus"),c.onBlur=this.createTwoChains("onBlur"));var u=ps()(l&&l.props&&l.props.className,a);u&&(c.className=u);var d,f,p,h,m=Ya({},c);d=l,"function"==typeof(h=(0,T.isMemo)(d)?d.type.type:d.type)&&!(null===(f=h.prototype)||void 0===f?void 0:f.render)||"function"==typeof d&&!(null===(p=d.prototype)||void 0===p?void 0:p.render)||(m.ref=Ws(this.triggerRef,l.ref));var v,g=r.cloneElement(l,m);return(e||this.popupRef.current||i)&&(v=r.createElement(_u,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!e&&s&&(v=null),r.createElement(gu.Provider,{value:{onPopupMouseDown:this.onPopupMouseDown}},g,v)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.popupVisible,r={};return void 0!==n&&t.popupVisible!==n&&(r.popupVisible=n,r.prevPopupVisible=t.popupVisible),r}}]),n}(r.Component)).contextType=gu,Eu.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:function(){return""},getDocument:function(e){return e?e.ownerDocument:window.document},onPopupVisibleChange:yu,afterPopupVisibleChange:yu,onPopupAlign:yu,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},Eu);var _u,Eu,xu={adjustX:1,adjustY:1},Cu=[0,0],ku={left:{points:["cr","cl"],overflow:xu,offset:[-4,0],targetOffset:Cu},right:{points:["cl","cr"],overflow:xu,offset:[4,0],targetOffset:Cu},top:{points:["bc","tc"],overflow:xu,offset:[0,-4],targetOffset:Cu},bottom:{points:["tc","bc"],overflow:xu,offset:[0,4],targetOffset:Cu},topLeft:{points:["bl","tl"],overflow:xu,offset:[0,-4],targetOffset:Cu},leftTop:{points:["tr","tl"],overflow:xu,offset:[-4,0],targetOffset:Cu},topRight:{points:["br","tr"],overflow:xu,offset:[0,-4],targetOffset:Cu},rightTop:{points:["tl","tr"],overflow:xu,offset:[4,0],targetOffset:Cu},bottomRight:{points:["tr","br"],overflow:xu,offset:[0,4],targetOffset:Cu},rightBottom:{points:["bl","br"],overflow:xu,offset:[4,0],targetOffset:Cu},bottomLeft:{points:["tl","bl"],overflow:xu,offset:[0,4],targetOffset:Cu},leftBottom:{points:["br","bl"],overflow:xu,offset:[-4,0],targetOffset:Cu}};const Su=function(e){var t=e.overlay,n=e.prefixCls,i=e.id,o=e.overlayInnerStyle;return r.createElement("div",{className:"".concat(n,"-inner"),id:i,role:"tooltip",style:o},"function"==typeof t?t():t)};var Ou=function(e,t){var n=e.overlayClassName,i=e.trigger,o=void 0===i?["hover"]:i,a=e.mouseEnterDelay,s=void 0===a?0:a,l=e.mouseLeaveDelay,c=void 0===l?.1:l,u=e.overlayStyle,d=e.prefixCls,f=void 0===d?"rc-tooltip":d,p=e.children,h=e.onVisibleChange,m=e.afterVisibleChange,v=e.transitionName,g=e.animation,y=e.placement,b=void 0===y?"right":y,w=e.align,_=void 0===w?{}:w,E=e.destroyTooltipOnHide,x=void 0!==E&&E,C=e.defaultVisible,k=e.getTooltipContainer,S=e.overlayInnerStyle,O=as(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),A=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(function(){return A.current}));var T=Ya({},O);"visible"in e&&(T.popupVisible=e.visible);var L=!1,I=!1;if("boolean"==typeof x)L=x;else if(x&&"object"===Ja(x)){var N=x.keepParent;L=!0===N,I=!1===N}return r.createElement(wu,Object.assign({popupClassName:n,prefixCls:f,popup:function(){var t=e.arrowContent,n=void 0===t?null:t,i=e.overlay,o=e.id;return[r.createElement("div",{className:"".concat(f,"-arrow"),key:"arrow"},n),r.createElement(Su,{key:"content",prefixCls:f,id:o,overlay:i,overlayInnerStyle:S})]},action:o,builtinPlacements:ku,popupPlacement:b,ref:A,popupAlign:_,getPopupContainer:k,onPopupVisibleChange:h,afterPopupVisibleChange:m,popupTransitionName:v,popupAnimation:g,defaultPopupVisible:C,destroyPopupOnHide:L,autoDestroy:I,mouseLeaveDelay:c,popupStyle:u,mouseEnterDelay:s},T),p)};const Au=(0,r.forwardRef)(Ou),Tu=r.forwardRef((function(e,t){var n=e.visible,i=e.overlay,o=r.useRef(null),a=Ws(t,o),s=r.useRef(null);function l(){Fs.cancel(s.current)}return r.useEffect((function(){return n?s.current=Fs((function(){var e;null===(e=o.current)||void 0===e||e.forcePopupAlign()})):l(),l}),[n,i]),r.createElement(Au,Bt({ref:a},e))}));var Lu=Rs;Lu.Range=Ds,Lu.Handle=vs,Lu.createSliderWithTooltip=function(e){var t;return(t=function(t){Za(i,t);var n=ts(i);function i(){var e;return $a(this,i),(e=n.apply(this,arguments)).state={visibles:{}},e.handleTooltipVisibleChange=function(t,n){e.setState((function(e){return{visibles:Ya(Ya({},e.visibles),{},Va({},t,n))}}))},e.handleWithTooltip=function(t){var n,i=t.value,o=t.dragging,a=t.index,s=t.disabled,l=as(t,["value","dragging","index","disabled"]),c=e.props,u=c.tipFormatter,d=c.tipProps,f=c.handleStyle,p=c.getTooltipContainer,h=d.prefixCls,m=void 0===h?"rc-slider-tooltip":h,v=d.overlay,g=void 0===v?u(i):v,y=d.placement,b=void 0===y?"top":y,w=d.visible,_=void 0!==w&&w,E=as(d,["prefixCls","overlay","placement","visible"]);return n=Array.isArray(f)?f[a]||f[0]:f,r.default.createElement(Tu,Bt({},E,{getTooltipContainer:p,prefixCls:m,overlay:g,placement:b,visible:!s&&(e.state.visibles[a]||o)||_,key:a}),r.default.createElement(vs,Bt({},l,{style:Ya({},n),value:i,onMouseEnter:function(){return e.handleTooltipVisibleChange(a,!0)},onMouseLeave:function(){return e.handleTooltipVisibleChange(a,!1)}})))},e}return qa(i,[{key:"render",value:function(){return r.default.createElement(e,Bt({},this.props,{handle:this.handleWithTooltip}))}}]),i}(r.default.Component)).defaultProps={tipFormatter:function(e){return e},handleStyle:[{}],tipProps:{},getTooltipContainer:function(e){return e.parentNode}},t};const Iu=Lu,Nu=We(["position:absolute;top:50%;left:0;margin-top:-2px;height:4px;border-radius:2px;"]),Ru=ot(Iu).withConfig({displayName:"Slider__StyledSlider",componentId:"sc-7blomh-0"})(["position:relative;height:32px;cursor:pointer;& .rc-slider-rail{",";z-index:1;width:100%;background:",";}& .rc-slider-track{",";z-index:2;background:",";}& .rc-slider-handle{position:absolute;top:50%;z-index:3;margin-top:-9px;width:18px;height:18px;background:",";border-radius:50%;border:4px solid ",";transition-property:transform,border;transition-duration:","ms;transition-timing-function:",";&:focus{outline:none;}&:focus-visible{box-shadow:",";}}&:hover .rc-slider-handle,& .rc-slider-handle:focus-visible{border-width:2px;transform:scale(1.15);}"],Nu,at.BORDER,Nu,at.BRAND_PRIMARY,at.WHITE,at.BRAND_PRIMARY,mt.FADE_IN,ht.STANDARD,st),Mu=({...e})=>r.default.createElement(Ru,e),Pu=({src:e})=>r.default.createElement(ao,{src:e}),Du=ot.div.withConfig({displayName:"Markers__Wrapper",componentId:"sc-3z4sfm-0"})(["position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;"]),ju=ot.div.withConfig({displayName:"Markers__Inner",componentId:"sc-3z4sfm-1"})(["position:relative;width:100%;height:100%;margin:0 auto;"]),zu=We(["position:absolute;border-width:1px;border-style:solid;border-radius:2px;"]),Fu=ot.div.withConfig({displayName:"Markers__Bounding",componentId:"sc-3z4sfm-2"})(["",";border-width:1px;border-color:#4183c4;"],zu),Hu=ot.div.withConfig({displayName:"Markers__Diff",componentId:"sc-3z4sfm-3"})(["",";border-color:#ff108a;"],zu),Bu=ot.div.withConfig({displayName:"Markers__Straying",componentId:"sc-3z4sfm-4"})(["",";border-color:#2aacea;"],zu),Uu=({variant:e,matching:t})=>{if(null==t)return null;const n=t.images[0].width,i=t.images[1].width,o=Math.max(t.images[0].height,t.images[1].height),a=e=>"".concat(e.x/n*100,"%"),s=e=>"".concat(e.y/o*100,"%"),l=e=>"".concat(e.width/n*100,"%"),c=e=>"".concat(e.height/o*100,"%"),u=e=>"".concat(e.x/i*100,"%"),d=e=>"".concat(e.y/o*100,"%"),f=e=>"".concat(e.width/i*100,"%"),p=e=>"".concat(e.height/o*100,"%");return"before"===e?r.default.createElement(Du,null,r.default.createElement(ju,{style:{maxWidth:n}},t.matches.map(((e,t)=>r.default.createElement(r.default.Fragment,{key:t},r.default.createElement(Fu,{style:{top:s(e[1].bounding),left:a(e[1].bounding),width:l(e[1].bounding),height:c(e[1].bounding)}}),e[1].diffMarkers.map(((e,t)=>r.default.createElement(r.default.Fragment,{key:t},r.default.createElement(Hu,{style:{top:d(e),left:u(e),width:f(e),height:p(e)}}))))))),t.strayingRects[1].map(((e,t)=>r.default.createElement(Bu,{key:t,style:{top:d(e),left:u(e),width:f(e),height:p(e)}}))))):r.default.createElement(Du,null,r.default.createElement(ju,{style:{maxWidth:i}},t.matches.map(((e,t)=>r.default.createElement(r.default.Fragment,{key:t},r.default.createElement(Fu,{style:{top:s(e[0].bounding),left:a(e[0].bounding),width:l(e[0].bounding),height:c(e[0].bounding)}}),e[0].diffMarkers.map(((e,t)=>r.default.createElement(r.default.Fragment,{key:t},r.default.createElement(Hu,{style:{top:s(e),left:a(e),width:l(e),height:c(e)}}))))))),t.strayingRects[0].map(((e,t)=>r.default.createElement(Bu,{key:t,style:{top:s(e),left:a(e),width:l(e),height:c(e)}})))))},Wu=ot.div.withConfig({displayName:"TwoUp__Wrapper",componentId:"sc-1g6eolz-0"})(["display:grid;grid-template-columns:repeat(2,1fr);grid-gap:","px;justify-content:center;align-items:start;@media (min-width:","px){grid-gap:","px;}& > div{position:relative;}"],8,ft.MEDIUM,24),Vu=({before:e,after:t,matching:n})=>r.default.createElement(Wu,null,r.default.createElement("div",null,r.default.createElement(ao,{src:e}),r.default.createElement(Uu,{variant:"before",matching:n})),r.default.createElement("div",null,r.default.createElement(ao,{src:t}),r.default.createElement(Uu,{variant:"after",matching:n}))),Gu=e=>Number.isNaN(e)?0:e,Yu=(e,t)=>{const n=A("(min-width: ".concat(ft.MEDIUM,"px)")),[i,o]=(0,r.useState)(0);(0,r.useEffect)((()=>{const e=_o()((()=>{o(window.innerWidth-2*(n?40:8))}),32);return e(),window.addEventListener("resize",e,!1),()=>{window.removeEventListener("resize",e,!1)}}),[n]);const[a,s]=(0,r.useState)(!1),[l,c]=(0,r.useState)(!1),[u,d]=(0,r.useState)({width:0,height:0}),[f,p]=(0,r.useState)({width:0,height:0}),h=(0,r.useRef)(null),m=(0,r.useRef)(null);(0,r.useEffect)((()=>{null!=h.current&&h.current.complete&&s(!0)}),[e]),(0,r.useEffect)((()=>{null!=m.current&&m.current.complete&&c(!0)}),[t]);const v=(0,r.useCallback)((()=>{null!=h.current&&d({width:h.current.naturalWidth,height:h.current.naturalHeight}),s(!0)}),[]),g=(0,r.useCallback)((()=>{null!=m.current&&p({width:m.current.naturalWidth,height:m.current.naturalHeight}),c(!0)}),[]),y=Gu(Math.min(i,Math.max(u.width,f.width))),b=Math.min(y,u.width),w=Gu(b/u.width*u.height),_=Math.min(y,f.width),E=Gu(_/f.width*f.height),x=Math.max(w,E);return{canvas:{width:Math.min(i,y),height:x},image:{width:y,height:x,loaded:a&&l,before:{ref:h,width:b,height:w,loaded:a,handleLoad:v},after:{ref:m,width:_,height:E,loaded:l,handleLoad:g}}}},$u=ot.div.withConfig({displayName:"Blend__Wrapper",componentId:"umix80-0"})(["display:flex;justify-content:center;align-items:center;"]),Xu=ot.div.withConfig({displayName:"Blend__Inner",componentId:"umix80-1"})(["position:relative;"]),qu=ot.div.withConfig({displayName:"Blend__View",componentId:"umix80-2"})(["position:absolute;top:0;left:50%;width:100%;transform:translate(-50%,0);"]),Ku=ot(qu).withConfig({displayName:"Blend__Before",componentId:"umix80-3"})(["z-index:0;"]),Zu=ot(qu).withConfig({displayName:"Blend__After",componentId:"umix80-4"})(["z-index:1;"]),Qu=({before:e,after:t,value:n,matching:i})=>{const{canvas:o,image:a}=Yu(e,t);return r.default.createElement($u,{style:{visibility:a.loaded?"visible":"hidden"}},r.default.createElement(Xu,{style:o},r.default.createElement(Ku,{style:{width:a.before.width,height:a.before.height}},r.default.createElement(ao,{ref:a.before.ref,src:e,onLoad:a.before.handleLoad}),r.default.createElement(Uu,{variant:"before",matching:i})),r.default.createElement(Zu,{style:{width:a.after.width,height:a.after.height,opacity:n}},r.default.createElement(ao,{ref:a.after.ref,src:t,onLoad:a.after.handleLoad}),r.default.createElement(Uu,{variant:"after",matching:i}))))},Ju=ot.div.withConfig({displayName:"Slide__Wrapper",componentId:"sc-7abd3a-0"})(["display:flex;justify-content:center;align-items:center;"]),ed=ot.div.withConfig({displayName:"Slide__Inner",componentId:"sc-7abd3a-1"})(["position:relative;"]),td=ot.input.withConfig({displayName:"Slide__Range",componentId:"sc-7abd3a-2"})(["position:absolute;top:0;left:0;z-index:5;margin:0;width:100%;height:100%;opacity:0;appearance:none;touch-action:auto;"]),nd=ot.div.withConfig({displayName:"Slide__Frame",componentId:"sc-7abd3a-3"})(["position:absolute;top:0;left:0;bottom:0;z-index:2;overflow:hidden;"]),rd=ot.div.withConfig({displayName:"Slide__View",componentId:"sc-7abd3a-4"})(["position:absolute;top:0;left:50%;width:100%;transform:translate(-50%,0);"]),id=ot(rd).withConfig({displayName:"Slide__Before",componentId:"sc-7abd3a-5"})(["z-index:0;transform:translate(0,0);"]),od=ot(rd).withConfig({displayName:"Slide__After",componentId:"sc-7abd3a-6"})(["z-index:1;"]),ad=ot.span.withConfig({displayName:"Slide__Handle",componentId:"sc-7abd3a-7"})(["position:absolute;top:0;bottom:0;margin-left:-22px;width:44px;z-index:5;cursor:ew-resize;"]),sd=ot.span.withConfig({displayName:"Slide__HandleBar",componentId:"sc-7abd3a-8"})(["position:absolute;top:0;bottom:0;left:50%;margin-left:-1px;width:2px;background:#fff;&::before,&::after{position:absolute;left:50%;display:block;margin-left:-6px;width:12px;height:12px;border-radius:50%;border:3px solid ",";background:transparent;content:'';}&::before{bottom:100%;}&::after{top:100%;}"],at.BRAND_PRIMARY),ld=({before:e,after:t,value:n,matching:i,onChange:o})=>{const{canvas:a,image:s}=Yu(e,t),l=(0,r.useRef)(null),c=(0,r.useRef)(null);return(0,r.useEffect)((()=>{const e=l.current,t=t=>{const n=("touches"in t?t.touches[0].pageX:t.pageX)-window.pageXOffset,{left:r}=e.getBoundingClientRect(),i=Math.min(Math.max(0,n-r),s.width);o(i/s.width*100)},n=e=>{e.stopPropagation(),null!=c.current&&c.current.focus(),window.addEventListener("mousemove",t,!1),window.addEventListener("touchmove",t,!1)},r=()=>{window.removeEventListener("mousemove",t,!1),window.removeEventListener("touchmove",t,!1)};return e.addEventListener("mousedown",n,!1),e.addEventListener("touchstart",n,!1),window.addEventListener("mouseup",r,!1),window.addEventListener("touchend",r,!1),()=>{e.removeEventListener("mousedown",n,!1),e.removeEventListener("touchstart",n,!1),window.removeEventListener("mouseup",r,!1),window.removeEventListener("touchend",r,!1),window.removeEventListener("mousemove",t,!1),window.removeEventListener("touchmove",t,!1)}}),[s.width,o]),r.default.createElement(Ju,{style:{visibility:s.loaded?"visible":"hidden"}},r.default.createElement(ed,{ref:l,style:a},r.default.createElement(td,{ref:c,type:"range",min:0,max:100,value:n,"data-mousetrap":"ignore","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":n,"aria-label":"Percent of revealed content",onChange:e=>{o(parseInt(e.target.value,10))}}),r.default.createElement(nd,{style:{width:"".concat(n,"%")}},r.default.createElement(id,{style:{top:0,left:a.width/2-s.before.width/2,width:s.before.width,height:s.before.height}},r.default.createElement(ao,{ref:s.before.ref,src:e,onLoad:s.before.handleLoad}),r.default.createElement(Uu,{variant:"before",matching:i}))),r.default.createElement(od,{style:{width:s.after.width,height:s.after.height}},r.default.createElement(ao,{ref:s.after.ref,src:t,onLoad:s.after.handleLoad}),r.default.createElement(Uu,{variant:"after",matching:i})),r.default.createElement(ad,{style:{left:"".concat(n,"%")}},r.default.createElement(sd,null))))},cd=ot.div.withConfig({displayName:"Toggle__Wrapper",componentId:"sc-1kybgz9-0"})(["display:flex;justify-content:center;align-items:center;& > div{position:relative;}"]),ud=ot.div.withConfig({displayName:"Toggle__Inner",componentId:"sc-1kybgz9-1"})(["position:relative;"]),dd=ot.div.withConfig({displayName:"Toggle__View",componentId:"sc-1kybgz9-2"})(["position:absolute;top:0;left:50%;width:100%;transform:translate(-50%,0);"]),fd=ot(dd).withConfig({displayName:"Toggle__Before",componentId:"sc-1kybgz9-3"})(["z-index:0;"]),pd=ot(dd).withConfig({displayName:"Toggle__After",componentId:"sc-1kybgz9-4"})(["z-index:1;"]),hd=({before:e,after:t,checked:n,matching:i})=>{const{canvas:o,image:a}=Yu(e,t);return r.default.createElement(cd,{style:{visibility:a.loaded?"visible":"hidden"}},r.default.createElement(ud,{style:o},r.default.createElement(fd,{style:{visibility:n?"hidden":"visible",width:a.before.width,height:a.before.height}},r.default.createElement(ao,{ref:a.before.ref,src:e,onLoad:a.before.handleLoad}),r.default.createElement(Uu,{variant:"before",matching:i})),r.default.createElement(pd,{style:{visibility:n?"visible":"hidden",width:a.after.width,height:a.after.height}},r.default.createElement(ao,{ref:a.after.ref,src:t,onLoad:a.after.handleLoad}),r.default.createElement(Uu,{variant:"after",matching:i}))))},md=ot.div.withConfig({displayName:"ComparisonView__Wrapper",componentId:"sc-1rhbdmt-0"})(["position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;"]),vd=ot.div.withConfig({displayName:"ComparisonView__ComparisonImage",componentId:"sc-1rhbdmt-1"})(["position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;justify-content:center;align-items:center;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;"]),gd=ot.div.withConfig({displayName:"ComparisonView__ComparisonImageInnerV",componentId:"sc-1rhbdmt-2"})(["margin:auto ","px;width:100%;@media (min-width:","px){margin-right:","px;margin-left:","px;}"],8,ft.MEDIUM,40,40),yd=ot.div.withConfig({displayName:"ComparisonView__ComparisonImageInnerH",componentId:"sc-1rhbdmt-3"})(["position:relative;margin:","px auto ","px;"],24,136),bd=ot.div.withConfig({displayName:"ComparisonView__ComparisonMode",componentId:"sc-1rhbdmt-4"})(["position:absolute;bottom:","px;left:50%;z-index:10;max-width:100%;width:480px;padding:0 ","px;transform:translate(-50%,0);transition-property:opacity,transform;transition-timing-function:",";.viewer-enter &{opacity:0;transform:translate(-50%,20px);transition-duration:","ms;transition-delay:","ms;}.viewer-enter-active &{opacity:1;transform:translate(-50%,0);}@media (min-width:","px){bottom:","px;}"],8,8,ht.STANDARD,mt.LARGE_IN,64,ft.MEDIUM,40),wd=ot.div.withConfig({displayName:"ComparisonView__ControlWrapper",componentId:"sc-1rhbdmt-5"})(["position:absolute;right:0;bottom:100%;left:0;padding:0 ","px ","px;"],8,16),_d=ot.div.withConfig({displayName:"ComparisonView__Control",componentId:"sc-1rhbdmt-6"})(["display:flex;justify-content:center;align-items:center;height:40px;padding:","px ","px;border-radius:20px;background:",";box-shadow:",";transition-property:opacity,transform;transition-timing-function:",";.control-enter &{opacity:0;transform:translateY(3px);}.control-enter-active &{opacity:1;transform:translateY(0);transition-duration:","ms;}.control-exit &{opacity:1;transform:translateY(0);}.control-exit-active &{opacity:0;transform:translateY(3px);transition-duration:","ms;}& > span:first-child,& > span:last-child{",";}"],8,32,at.WHITE,lt.LEVEL2,ht.STANDARD,mt.FADE_IN,mt.FADE_OUT,pt.SUBTITLE3),Ed=ot.span.withConfig({displayName:"ComparisonView__ControlSlider",componentId:"sc-1rhbdmt-7"})(["flex:1 0 auto;padding:0 ","px;"],16),xd=[{value:"diff",label:"Diff"},{value:"slide",label:"Slide"},{value:"2up",label:"2up"},{value:"blend",label:"Blend"},{value:"toggle",label:"Toggle"}],Cd=({scrollerRef:e,entity:t,matching:n,defaultMode:i})=>{const[o,a]=(0,r.useState)(i),[s,l]=(0,r.useState)(50),[c,u]=(0,r.useState)(.5),[d,f]=(0,r.useState)(!1),p=(0,r.useCallback)((e=>{l(e)}),[]),h=(0,r.useCallback)((e=>{u(e)}),[]),m=(0,r.useCallback)((()=>{f(!d)}),[d]),v=(0,r.useCallback)((e=>{a(e)}),[]);return r.default.createElement(md,null,r.default.createElement(vd,{ref:e},r.default.createElement(gd,null,r.default.createElement(yd,null,"changed"===t.variant&&r.default.createElement(r.default.Fragment,null,"diff"===o&&r.default.createElement(Pu,{src:t.diff}),"slide"===o&&r.default.createElement(ld,{before:t.before,after:t.after,value:s,matching:n,onChange:p}),"2up"===o&&r.default.createElement(Vu,{before:t.before,after:t.after,matching:n}),"blend"===o&&r.default.createElement(Qu,{before:t.before,after:t.after,value:c,matching:n}),"toggle"===o&&r.default.createElement(hd,{before:t.before,after:t.after,checked:d,matching:n})),("new"===t.variant||"passed"===t.variant)&&r.default.createElement(ao,{src:t.after}),"deleted"===t.variant&&r.default.createElement(ao,{src:t.before})))),"changed"===t.variant&&r.default.createElement(bd,null,r.default.createElement(Pa,null,r.default.createElement(nn,{key:o,classNames:"control",timeout:{enter:mt.FADE_IN,exit:mt.FADE_OUT}},r.default.createElement(wd,null,"slide"===o&&r.default.createElement(_d,null,r.default.createElement("span",null,"Before"),r.default.createElement(Ed,null,r.default.createElement(Mu,{min:0,max:100,step:1,value:s,onChange:p})),r.default.createElement("span",null,"After")),"blend"===o&&r.default.createElement(_d,null,r.default.createElement("span",null,"Before"),r.default.createElement(Ed,null,r.default.createElement(Mu,{min:0,max:1,step:.01,value:c,onChange:h})),r.default.createElement("span",null,"After")),"toggle"===o&&r.default.createElement(_d,null,r.default.createElement(ga,{id:"toggle-switch",prepend:"Before",append:"After",checked:d,onChange:m}))))),r.default.createElement(Wa,{options:xd,value:o,onChange:v})))};Cd.defaultProps={defaultMode:"slide"};const kd=ot.div.withConfig({displayName:"Viewer__Wrapper",componentId:"sc-6dc4yq-0"})(["position:fixed;top:0;right:0;bottom:0;left:0;z-index:",";min-width:320px;min-height:400px;overflow-x:hidden;overflow-y:auto;transition-property:opacity;transition-timing-function:ease-out;.viewer-enter &{opacity:0;transition-duration:","ms;}.viewer-enter-active &{opacity:1;}.viewer-exit &{opacity:1;transition-duration:","ms;}.viewer-exit-active &{opacity:0;}"],vt.VIEWER,mt.LARGE_IN,mt.LARGE_OUT),Sd=ot.div.withConfig({displayName:"Viewer__HeaderWrapper",componentId:"sc-6dc4yq-1"})(["position:absolute;top:0;right:0;left:0;z-index:10;transition-property:opacity,transform;transition-timing-function:",";.viewer-enter &{opacity:0;transform:translateY(-20px);transition-duration:","ms;transition-delay:","ms;}.viewer-enter-active &{opacity:1;transform:translateY(0);}"],ht.STANDARD,mt.LARGE_IN,64),Od=ot.div.withConfig({displayName:"Viewer__Body",componentId:"sc-6dc4yq-2"})(["position:absolute;top:","px;right:0;bottom:0;left:0;z-index:5;"],gt.HEADER_HEIGHT),Ad=We(["position:absolute;top:50%;z-index:10;transform:translate(0,-50%);transition-property:opacity,transform;transition-timing-function:",";"],ht.STANDARD),Td=ot.div.withConfig({displayName:"Viewer__Previous",componentId:"sc-6dc4yq-3"})([""," left:","px;.viewer-enter &{opacity:0;transform:translate(-10px,-50%);transition-duration:","ms;transition-delay:","ms;}.viewer-enter-active &{opacity:1;transform:translate(0,-50%);}"],Ad,16,mt.LARGE_IN,64),Ld=ot.div.withConfig({displayName:"Viewer__Next",componentId:"sc-6dc4yq-4"})([""," right:","px;.viewer-enter &{opacity:0;transform:translate(10px,-50%);transition-duration:","ms;transition-delay:","ms;}.viewer-enter-active &{opacity:1;transform:translate(0,-50%);}"],Ad,16,mt.LARGE_IN,64),Id=ot.div.withConfig({displayName:"Viewer__Background",componentId:"sc-6dc4yq-5"})(["position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;"]),Nd=({total:e,current:t,entity:n,matching:i,markersEnabled:o,onPrevious:a,onNext:s,onRequestClose:l,onMarkersToggle:c})=>{const[u,d]=(0,r.useState)(!1),f=(0,r.useRef)(null),p=(0,r.useRef)(null),h=(0,r.useRef)(null),m=(0,r.useCallback)((()=>{const{current:e}=f;null!=n&&null!=e&&d(!0)}),[n]),v=(0,r.useCallback)((()=>{const{current:e}=f;null!=n&&null!=e&&d(!1)}),[n]),g=(0,r.useCallback)((e=>{e.preventDefault(),a()}),[a]),y=(0,r.useCallback)((e=>{e.preventDefault(),s()}),[s]);return(0,r.useEffect)((()=>()=>{const{current:e}=h;null!=e&&e.deactivate(),ni()}),[]),(0,r.useEffect)((()=>{const{current:e}=f,{current:t}=p;null!=e&&null!=t&&(u?(h.current=Wr(e,{}),h.current.activate(),ti(t)):(null!=h.current&&h.current.deactivate(),ni()))}),[u]),pr("esc",f.current,(()=>{u&&l()}),[u,l]),pr(["right","l"],f.current,(()=>{u&&s()}),[u,s]),pr(["left","h"],f.current,(()=>{u&&a()}),[u,a]),r.default.createElement(xo,null,r.default.createElement(oa,null,r.default.createElement(nn,{key:null!=n?"open":"close",classNames:"viewer",mountOnEnter:!0,unmountOnExit:!0,timeout:{enter:mt.LARGE_IN+64,exit:mt.LARGE_OUT},onEnter:m,onExit:v},r.default.createElement("div",{ref:f,tabIndex:null==n?-1:0,role:"dialog","aria-modal":"true","aria-hidden":null!=n?"false":"true"},null==n?null:r.default.createElement(kd,null,r.default.createElement(Sd,null,r.default.createElement(Sa,{variant:n.variant,title:n.name,current:t,max:e,markersEnabled:o,onRequestClose:l,onMarkersToggle:c})),r.default.createElement(Od,null,r.default.createElement(Cd,{scrollerRef:p,entity:n,matching:i}),r.default.createElement(Td,null,r.default.createElement(uo,{"aria-label":"Previous Item",onClick:g},r.default.createElement(sa,{fill:at.TEXT_BASE}))),r.default.createElement(Ld,null,r.default.createElement(uo,{"aria-label":"Next Item",onClick:y},r.default.createElement(ca,{fill:at.TEXT_BASE})))),r.default.createElement(Id,null,r.default.createElement(Po,null)))))))},Rd=()=>{const{allItems:e}=u.useContainer(),t=E.useContainer(),n=(0,r.useCallback)((()=>{t.next()}),[t]),i=(0,r.useCallback)((()=>{t.previous()}),[t]),o=(0,r.useCallback)((()=>{t.close()}),[t]),a=(0,r.useCallback)((()=>{t.toggleMarkers()}),[t]);return r.default.createElement(Nd,{total:e.length,current:t.current.index+1,entity:t.current.entity,matching:t.current.matching,markersEnabled:t.markersEnabled,onNext:n,onPrevious:i,onRequestClose:o,onMarkersToggle:a})},Md=()=>r.default.createElement(Rd,null),Pd=ot.div.withConfig({displayName:"Snackbar__Wrapper",componentId:"sc-70qwyt-0"})(["",";padding:","px ","px;box-shadow:",";border-radius:2px;background:",";color:",";text-align:center;"],pt.SUBTITLE3,12,16,lt.LEVEL2,at.BRAND_SECONDARY,at.WHITE),Dd=ot.p.withConfig({displayName:"Snackbar__Content",componentId:"sc-70qwyt-1"})(["margin:0;"]),jd=({children:e,...t})=>r.default.createElement(Pd,t,r.default.createElement(Dd,null,e)),zd=ot.div.withConfig({displayName:"Notification__Wrapper",componentId:"sc-7pkxsk-0"})(["position:fixed;right:","px;bottom:","px;left:","px;z-index:",";@media (min-width:","px){left:50%;right:auto;min-width:230px;transform:translateX(-50%);}"],16,16,16,vt.NOTIFICATION,ft.SMALL),Fd=ot.div.withConfig({displayName:"Notification__Inner",componentId:"sc-7pkxsk-1"})(["transition-property:opacity,transform;transition-timing-function:",";&.notification-enter{opacity:0;transform:translateY(5px);transition-duration:","ms;}&.notification-enter-active{opacity:1;transform:translateY(0);}&.notification-exit{opacity:1;transform:translateY(0);transition-duration:","ms;}&.notification-exit-active{opacity:0;transform:translateY(2px);}"],ht.STANDARD,mt.FADE_IN,mt.FADE_OUT),Hd=({show:e,message:t})=>r.default.createElement(xo,null,r.default.createElement(zd,null,r.default.createElement("div",{role:"alert","alia-live":"assertive"},r.default.createElement(Pa,null,r.default.createElement(nn,{key:e?"show":"hide",classNames:"notification",timeout:{enter:mt.FADE_IN,exit:mt.FADE_OUT}},r.default.createElement(Fd,null,e&&r.default.createElement(jd,null,t))))))),Bd=()=>{const e=x.useContainer();return r.default.createElement(Hd,{show:e.show,message:e.message})};function Ud(){return(Ud=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const Wd=({fill:e,...t})=>r.default.createElement("svg",Ud({width:24,height:24,viewBox:"0 0 24 24",fill:"none"},t),r.default.createElement("path",{d:"M10.641 17.3342H13.1866V20H10.641V17.3342ZM12.6902 4.05855C10.0683 3.65868 7.75182 5.35146 7.05179 7.77733C6.82269 8.55041 7.38271 9.33682 8.15911 9.33682H8.41366C8.9355 9.33682 9.35552 8.95028 9.53371 8.44378C9.94099 7.2575 11.1501 6.44444 12.4611 6.73767C13.6702 7.00425 14.5612 8.24385 14.4594 9.53676C14.3321 11.3228 12.3975 11.7094 11.341 13.3755C11.341 13.3888 11.3283 13.3888 11.3283 13.4022C11.3156 13.4288 11.3029 13.4421 11.2901 13.4688C11.1756 13.6687 11.061 13.8953 10.9719 14.1353C10.9592 14.1752 10.9338 14.2019 10.921 14.2419C10.9083 14.2685 10.9083 14.2952 10.8956 14.3352C10.7428 14.7884 10.641 15.3349 10.641 16.0013H13.1866C13.1866 15.4415 13.3266 14.975 13.543 14.5751C13.5684 14.5351 13.5811 14.4951 13.6066 14.4551C13.7084 14.2685 13.8357 14.0953 13.963 13.9353C13.9757 13.922 13.9884 13.8953 14.0012 13.882C14.1284 13.7221 14.2684 13.5754 14.4212 13.4288C15.643 12.2159 17.2976 11.2295 16.954 8.6837C16.6485 6.36446 14.9048 4.4051 12.6902 4.05855Z",fill:e}));function Vd(){return(Vd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const Gd=()=>!0,Yd=ot.div.withConfig({displayName:"Dialog__Wrapper",componentId:"sc-173wws6-0"})(["position:fixed;top:0;right:0;bottom:0;left:0;z-index:",";transition-property:opacity;transition-timing-function:ease-out;&.dialog-enter{opacity:0;transition-duration:","ms;}&.dialog-enter-active{opacity:1;}&.dialog-exit{opacity:1;transition-duration:","ms;transition-delay:","ms;}&.dialog-exit-active{opacity:0;}"],vt.DIALOG,mt.FADE_IN,mt.FADE_OUT,160),$d=ot.div.withConfig({displayName:"Dialog__Body",componentId:"sc-173wws6-1"})(["position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;align-items:center;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:60px 0 30px;backface-visibility:hidden;"]),Xd=ot.div.withConfig({displayName:"Dialog__Inner",componentId:"sc-173wws6-2"})(["position:relative;z-index:2;width:100%;margin:auto ","px;@media (min-width:","px){min-width:600px;max-width:1000px;width:auto;}"],16,ft.MEDIUM),qd=ot.div.withConfig({displayName:"Dialog__Content",componentId:"sc-173wws6-3"})(["position:relative;margin-bottom:","px;padding:","px;background:",";border-radius:4px;box-shadow:",";transition-property:opacity,transform;-webkit-tap-highlight-color:transparent;&:focus{outline:none;}&:focus-visible{box-shadow:",";}& > *{-webkit-tap-highlight-color:initial;}& > div{& > h2:first-child{margin:0 0 ","px;}& > *:last-child{margin-bottom:0 !important;}}.dialog-enter &{opacity:0;transform:scale(1.03);transition-duration:","ms;transition-delay:","ms;}.dialog-enter-active &{opacity:1;transform:scale(1);}.dialog-exit &{opacity:1;transition-duration:","ms;}.dialog-exit-active &{opacity:0;}"],24,40,at.WHITE,lt.LEVEL2,st,40,mt.FADE_IN,120,mt.FADE_OUT),Kd=ot.div.withConfig({displayName:"Dialog__Close",componentId:"sc-173wws6-4"})(["position:absolute;top:","px;right:","px;"],16,16),Zd=ot.button.withConfig({displayName:"Dialog__Backdrop",componentId:"sc-173wws6-5"})(["position:fixed;top:0;right:0;bottom:0;left:0;z-index:1;display:block;margin:0;padding:0;width:100%;height:100%;border:none;background:rgba(255,255,255,0.9);will-change:opacity;transition-timing-function:",";transition-property:opacity;"],ht.STANDARD),Qd=({id:e,title:t,open:n,children:i,onRequestClose:o,...a})=>{const[s,l]=(0,r.useState)(!1),c=(0,r.useRef)(null),u=(0,r.useRef)(null),d=(0,r.useRef)(null),f=(0,r.useCallback)((()=>{const{current:e}=c,{current:t}=u;null!=e&&null!=t&&(d.current=Wr(t,{allowOutsideClick:Gd}),d.current.activate(),ti(e),l(!0))}),[]),p=(0,r.useCallback)((()=>{const{current:e}=c,{current:t}=d;null!=e&&null!=t&&(t.deactivate(),ri(e),l(!1))}),[]),h=(0,r.useCallback)((e=>{e.preventDefault(),o()}),[o]);return(0,r.useEffect)((()=>()=>{const{current:e}=c;null!=e&&ri(e);const{current:t}=d;null!=t&&t.deactivate()}),[]),pr("esc",c.current,(()=>{o()}),[s,o]),r.default.createElement(xo,null,r.default.createElement(nn,{classNames:"dialog",in:n,mountOnEnter:!0,unmountOnExit:!0,timeout:{enter:mt.FADE_IN+120,exit:mt.FADE_OUT+160},onEnter:f,onExit:p},r.default.createElement(Yd,null,r.default.createElement($d,{ref:c},r.default.createElement(Xd,{ref:u},r.default.createElement(qd,Vd({},a,{id:e,tabIndex:n?0:-1,role:"dialog","aria-modal":"true","aria-hidden":n?"false":"true"}),r.default.createElement("div",{role:"document"},r.default.createElement("h2",null,t),i),r.default.createElement(Kd,null,r.default.createElement(uo,{"aria-controls":e,"aria-label":"Close dialog",onClick:h},r.default.createElement(da,{fill:at.TEXT_SUB}))))),r.default.createElement(Zd,{type:"button","aria-controls":e,"aria-label":"Close dialog",onClick:h})))))};function Jd(){return(Jd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}const ef=ot.div.withConfig({displayName:"HelpDialog__Wrapper",componentId:"sc-1xlf2wz-0"})(["padding-bottom:","px;& table{width:100%;border-collapse:collapse;& tr:first-child th{padding-top:0;}& th{",";padding:","px 0 ","px;text-align:left;}& td{",";padding:","px 0;border-bottom:1px solid ",";text-align:left;}}& kbd{display:inline-block;padding:8px 14px;border-radius:3px;border:1px solid #f4f4f4;background:linear-gradient(180deg,#f3f3f3 0%,#ececec 100%);box-shadow:0px 2px 0px rgba(0,0,0,0.25);font-weight:bold;font-family:",";line-height:1;& + kbd{margin-left:0.5em;}}"],8,pt.SUBTITLE2,32,8,pt.BODY2,8,at.BORDER,ct.MONOSPACE),tf=({children:e})=>r.default.createElement("tr",null,r.default.createElement("th",{colSpan:2},e)),nf=({description:e,shortcuts:t})=>r.default.createElement("tr",null,r.default.createElement("td",null,e),r.default.createElement("td",null,t.map(((e,t)=>Array.isArray(e)?e.map((e=>r.default.createElement(r.default.Fragment,{key:e},r.default.createElement("kbd",null,e)))):r.default.createElement(r.default.Fragment,{key:e},t>0&&r.default.createElement("span",null," or "),r.default.createElement("kbd",null,e)))))),rf=({...e})=>r.default.createElement(Qd,Jd({},e,{id:"help-dialog",title:"Keyboard shortcuts"}),r.default.createElement(ef,null,r.default.createElement("table",null,r.default.createElement("tbody",null,r.default.createElement(tf,null,"Application"),r.default.createElement(nf,{description:"Focus filter bar",shortcuts:["/","s"]}),r.default.createElement(nf,{description:"Toggle Sidebar",shortcuts:["f"]}),r.default.createElement(nf,{description:"Bring up this dialog",shortcuts:["?"]}),r.default.createElement(tf,null,"Navigation"),r.default.createElement(nf,{description:"Go to Sidebar",shortcuts:[["g","s"]]}),r.default.createElement(nf,{description:"Go to CHANGED ITEMS",shortcuts:[["g","c"]]}),r.default.createElement(nf,{description:"Go to NEW ITEMS",shortcuts:[["g","n"]]}),r.default.createElement(nf,{description:"Go to DELETED ITEMS",shortcuts:[["g","d"]]}),r.default.createElement(nf,{description:"Go to PASSED ITEMS",shortcuts:[["g","p"]]}),r.default.createElement(tf,null,"Viewer"),r.default.createElement(nf,{description:"Close Viewer",shortcuts:["Esc"]}),r.default.createElement(nf,{description:"Next item",shortcuts:["→","l"]}),r.default.createElement(nf,{description:"Previous item",shortcuts:["←","h"]}))))),of=ot.main.withConfig({displayName:"App__Layout",componentId:"sc-1jk3jur-0"})(["display:flex;height:100%;isolation:isolate;"]),af=ot.div.withConfig({displayName:"App__Content",componentId:"sc-1jk3jur-1"})(["flex:1 0 auto;max-width:100%;"]),sf=ot.span.withConfig({displayName:"App__Brand",componentId:"sc-1jk3jur-2"})(["position:absolute;top:","px;right:","px;"],24,24),lf=ot.span.withConfig({displayName:"App__Help",componentId:"sc-1jk3jur-3"})(["position:fixed;right:","px;bottom:","px;border-radius:50%;background:",";box-shadow:",";z-index:10;"],24,24,at.BRAND_SECONDARY,lt.LEVEL2),cf=()=>{const e=yt.useContainer(),{newItems:t,failedItems:n,deletedItems:i,passedItems:o}=u.useContainer(),[a,s]=(0,r.useState)(!1),l=(0,r.useRef)(null),c=(0,r.useRef)(null),d=(0,r.useCallback)((e=>{e.preventDefault(),s(!0)}),[]),f=(0,r.useCallback)((()=>{s(!1)}),[]);return pr(["/","s"],null,(e=>{e.preventDefault(),null!=l.current&&l.current.focus()})),pr("g s",null,(()=>{const{current:e}=c;if(null==e)return;const t=vr(e);null!=t&&t.focus()})),pr("g c",null,(()=>{n.length>0&&(window.location.hash="changed")}),[n]),pr("g n",null,(()=>{t.length>0&&(window.location.hash="new")}),[t]),pr("g d",null,(()=>{i.length>0&&(window.location.hash="deleted")}),[i]),pr("g p",null,(()=>{o.length>0&&(window.location.hash="passed")}),[o]),pr("f",null,(()=>{e.toggle()}),[e]),pr("?",null,(()=>{s(!0)})),r.default.createElement(r.default.Fragment,null,r.default.createElement(ui,null),r.default.createElement(sf,null,r.default.createElement(ir,{size:40})),r.default.createElement(of,null,r.default.createElement(li,{inputRef:l,listRef:c}),r.default.createElement(af,null,r.default.createElement(Ko,null),r.default.createElement(Qo,null))),r.default.createElement(lf,null,r.default.createElement(uo,{variant:"dark",onClick:d},r.default.createElement(Wd,{fill:at.WHITE}))),r.default.createElement(rf,{open:a,onRequestClose:f}),r.default.createElement(Md,null),r.default.createElement(Bd,null))};var uf=n("./node_modules/events/events.js");function df(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ff=e=>new Promise((t=>{const n=new Image;n.addEventListener("load",(()=>{t((e=>{const t=document.createElement("canvas"),n=t.getContext("2d");if(null==n)throw new Error("An unexpected error has occurred");return t.width=e.width,t.height=e.height,n.drawImage(e,0,0),n.getImageData(0,0,t.width,t.height)})(n))}),!1),n.src=e}));e=n.hmd(e);const pf=window.__reg__,hf=new class{constructor(){df(this,"_cache",{}),df(this,"_seq",0),df(this,"_emitter",new uf.EventEmitter),df(this,"_worker",null),df(this,"requestFilter",(0,wo.debounce)((e=>{null!=this._worker&&this._worker.postMessage({type:c.REQUEST_FILTER,payload:e})}),200))}start(e){const{enabled:t,workerUrl:n}=e;t&&n&&(this._worker=new Worker(n),this._worker.addEventListener("message",(({data:e})=>{switch(e.type){case c.RESULT_CALC:this._cache[e.payload.raw]=e.payload,this._emitter.emit(c.RESULT_CALC,e.payload);break;case c.RESULT_FILTER:this._emitter.emit(c.RESULT_FILTER,e.payload)}})))}requestCalc(e){if(null==this._worker)return 0;const t=++this._seq;return this._cache[e.raw]?(setTimeout((()=>this._emitter.emit(c.RESULT_CALC,{...this._cache[e.raw],seq:t})),10),t):(Promise.all([ff(e.actualSrc),ff(e.expectedSrc)]).then((([n,r])=>{this._worker.postMessage({type:c.REQUEST_CALC,payload:{img1:n,img2:r,seq:t,...e}},[n.data.buffer,r.data.buffer])})),t)}subscribe(e,t){this._emitter.on(e,t)}unsubscribe(e,t){this._emitter.off(e,t)}},mf=pf.ximgdiffConfig||{enabled:!1};hf.start(mf);const vf=(0,i.wU)(e)((({data:e,worker:t})=>r.default.createElement(b,null,r.default.createElement(O,null,r.default.createElement(l.Provider,{value:t},r.default.createElement(x.Provider,null,r.default.createElement(u.Provider,{initialState:e},r.default.createElement(yt.Provider,{initialState:e.links},r.default.createElement(E.Provider,null,r.default.createElement(cf,null))))))))));(0,r.render)(r.default.createElement(vf,{data:pf,worker:hf}),document.getElementById("app"))},"./node_modules/classnames/index.js":(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)&&n.length){var a=i.apply(null,n);a&&e.push(a)}else if("object"===o)for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},"./node_modules/debounce/index.js":e=>{function t(e,t,n){var r,i,o,a,s;function l(){var c=Date.now()-a;c<t&&c>=0?r=setTimeout(l,t-c):(r=null,n||(s=e.apply(o,i),o=i=null))}null==t&&(t=100);var c=function(){o=this,i=arguments,a=Date.now();var c=n&&!r;return r||(r=setTimeout(l,t)),c&&(s=e.apply(o,i),o=i=null),s};return c.clear=function(){r&&(clearTimeout(r),r=null)},c.flush=function(){r&&(s=e.apply(o,i),o=i=null,clearTimeout(r),r=null)},c}t.debounce=t,e.exports=t},"./node_modules/decode-uri-component/index.js":e=>{"use strict";var t="%[a-f0-9]{2}",n=new RegExp(t,"gi"),r=new RegExp("("+t+")+","gi");function i(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],i(n),i(r))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=i(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},n=r.exec(e);n;){try{t[n[0]]=decodeURIComponent(n[0])}catch(e){var i=o(n[0]);i!==n[0]&&(t[n[0]]=i)}n=r.exec(e)}t["%C2"]="�";for(var a=Object.keys(t),s=0;s<a.length;s++){var l=a[s];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},"./node_modules/events/events.js":e=>{"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function i(){void 0!==o&&e.removeListener("error",o),n([].slice.call(arguments))}var o;"error"!==t&&(o=function(n){e.removeListener(t,i),r(n)},e.once("error",o)),e.once(t,i)}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var i,o,a,c;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=l(e))>0&&a.length>i&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,c=u,console&&console.warn&&console.warn(c)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=u.bind(r);return i.listener=n,r.wrapFn=i,i}function f(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):h(i,i.length)}function p(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)r(l,this,t);else{var c=l.length,u=h(l,c);for(n=0;n<c;++n)r(u[n],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,d(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,d(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,i,o,a;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return f(this,e,!0)},o.prototype.rawListeners=function(e){return f(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},"./node_modules/fast-memoize/src/index.js":e=>{function t(e,t,n,r){var i,o=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),a=t.get(o);return void 0===a&&(a=e.call(this,r),t.set(o,a)),a}function n(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return void 0===o&&(o=e.apply(this,r),t.set(i,o)),o}function r(e,t,n,r,i){return n.bind(t,e,r,i)}function i(e,i){return r(e,this,1===e.length?t:n,i.cache.create(),i.serializer)}function o(){return JSON.stringify(arguments)}function a(){this.cache=Object.create(null)}a.prototype.has=function(e){return e in this.cache},a.prototype.get=function(e){return this.cache[e]},a.prototype.set=function(e,t){this.cache[e]=t};var s={create:function(){return new a}};e.exports=function(e,t){var n=t&&t.cache?t.cache:s,r=t&&t.serializer?t.serializer:o;return(t&&t.strategy?t.strategy:i)(e,{cache:n,serializer:r})},e.exports.strategies={variadic:function(e,t){return r(e,this,n,t.cache.create(),t.serializer)},monadic:function(e,n){return r(e,this,t,n.cache.create(),n.serializer)}}},"./node_modules/filter-obj/index.js":e=>{"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),i=Array.isArray(t),o=0;o<r.length;o++){var a=r[o],s=e[a];(i?-1!==t.indexOf(a):t(a,s,e))&&(n[a]=s)}return n}},"./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js":(e,t,n)=>{"use strict";var r=n("./node_modules/react-is/index.js"),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),v=0;v<a.length;++v){var g=a[v];if(!(o[g]||r&&r[g]||m&&m[g]||s&&s[g])){var y=f(n,g);try{c(t,g,y)}catch(e){}}}}return t}},"./node_modules/keycode/index.js":(e,t)=>{function n(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return a[e];var n,o=String(e);return(n=r[o.toLowerCase()])?n:(n=i[o.toLowerCase()])||(1===o.length?o.charCodeAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"==typeof e){var n=e.which||e.keyCode||e.charCode;if(null==n)return!1;if("string"==typeof t){var o;if(o=r[t.toLowerCase()])return o===n;if(o=i[t.toLowerCase()])return o===n}else if("number"==typeof t)return t===n;return!1}};var r=(t=e.exports=n).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":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,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(o=97;o<123;o++)r[String.fromCharCode(o)]=o-32;for(var o=48;o<58;o++)r[o-48]=o;for(o=1;o<13;o++)r["f"+o]=o+111;for(o=0;o<10;o++)r["numpad "+o]=o+96;var a=t.names=t.title={};for(o in r)a[r[o]]=o;for(var s in i)r[s]=i[s]},"./node_modules/mousetrap/mousetrap.js":(e,t,n)=>{var r;!function(i,o,a){if(i){for(var s,l={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},c={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},u={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},d={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},f=1;f<20;++f)l[111+f]="f"+f;for(f=0;f<=9;++f)l[f+96]=f.toString();b.prototype.bind=function(e,t,n){var r=this;return e=e instanceof Array?e:[e],r._bindMultiple.call(r,e,t,n),r},b.prototype.unbind=function(e,t){return this.bind.call(this,e,(function(){}),t)},b.prototype.trigger=function(e,t){var n=this;return n._directMap[e+":"+t]&&n._directMap[e+":"+t]({},e),n},b.prototype.reset=function(){var e=this;return e._callbacks={},e._directMap={},e},b.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(y(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},b.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},b.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(l[t]=e[t]);s=null},b.init=function(){var e=b(o);for(var t in e)"_"!==t.charAt(0)&&(b[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},b.init(),i.Mousetrap=b,e.exports&&(e.exports=b),void 0===(r=function(){return b}.call(t,n,t,e))||(e.exports=r)}function p(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function h(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return l[e.which]?l[e.which]:c[e.which]?c[e.which]:String.fromCharCode(e.which).toLowerCase()}function m(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function v(e,t,n){return n||(n=function(){if(!s)for(var e in s={},l)e>95&&e<112||l.hasOwnProperty(e)&&(s[l[e]]=e);return s}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function g(e,t){var n,r,i,o=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),i=0;i<n.length;++i)r=n[i],d[r]&&(r=d[r]),t&&"keypress"!=t&&u[r]&&(r=u[r],o.push("shift")),m(r)&&o.push(r);return{key:r,modifiers:o,action:t=v(r,o,t)}}function y(e,t){return null!==e&&e!==o&&(e===t||y(e.parentNode,t))}function b(e){var t=this;if(e=e||o,!(t instanceof b))return new b(e);t.target=e,t._callbacks={},t._directMap={};var n,r={},i=!1,a=!1,s=!1;function l(e){e=e||{};var t,n=!1;for(t in r)e[t]?n=!0:r[t]=0;n||(s=!1)}function c(e,n,i,o,a,s){var l,c,u,d,f=[],p=i.type;if(!t._callbacks[e])return[];for("keyup"==p&&m(e)&&(n=[e]),l=0;l<t._callbacks[e].length;++l)if(c=t._callbacks[e][l],(o||!c.seq||r[c.seq]==c.level)&&p==c.action&&("keypress"==p&&!i.metaKey&&!i.ctrlKey||(u=n,d=c.modifiers,u.sort().join(",")===d.sort().join(",")))){var h=!o&&c.combo==a,v=o&&c.seq==o&&c.level==s;(h||v)&&t._callbacks[e].splice(l,1),f.push(c)}return f}function u(e,n,r,i){t.stopCallback(n,n.target||n.srcElement,r,i)||!1===e(n,r)&&(function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(n),function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}(n))}function d(e){"number"!=typeof e.which&&(e.which=e.keyCode);var n=h(e);n&&("keyup"!=e.type||i!==n?t.handleKey(n,function(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}(e),e):i=!1)}function f(e,o,a,d,p){t._directMap[e+":"+a]=o;var m,v=(e=e.replace(/\s+/g," ")).split(" ");v.length>1?function(e,t,o,a){function c(t){return function(){s=t,++r[e],clearTimeout(n),n=setTimeout(l,1e3)}}function d(t){u(o,t,e),"keyup"!==a&&(i=h(t)),setTimeout(l,10)}r[e]=0;for(var p=0;p<t.length;++p){var m=p+1===t.length?d:c(a||g(t[p+1]).action);f(t[p],m,a,e,p)}}(e,v,o,a):(m=g(e,a),t._callbacks[m.key]=t._callbacks[m.key]||[],c(m.key,m.modifiers,{type:m.action},d,e,p),t._callbacks[m.key][d?"unshift":"push"]({callback:o,modifiers:m.modifiers,action:m.action,seq:d,level:p,combo:e}))}t._handleKey=function(e,t,n){var r,i=c(e,t,n),o={},d=0,f=!1;for(r=0;r<i.length;++r)i[r].seq&&(d=Math.max(d,i[r].level));for(r=0;r<i.length;++r)if(i[r].seq){if(i[r].level!=d)continue;f=!0,o[i[r].seq]=1,u(i[r].callback,n,i[r].combo,i[r].seq)}else f||u(i[r].callback,n,i[r].combo);var p="keypress"==n.type&&a;n.type!=s||m(e)||p||l(o),a=f&&"keydown"==n.type},t._bindMultiple=function(e,t,n){for(var r=0;r<e.length;++r)f(e[r],t,n)},p(e,"keypress",d),p(e,"keydown",d),p(e,"keyup",d)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},"./node_modules/preact/compat/dist/compat.module.js":(e,t,n)=>{"use strict";n.r(t),n.d(t,{Children:()=>Ee,Component:()=>y,Fragment:()=>g,PureComponent:()=>ve,StrictMode:()=>at,Suspense:()=>Ce,SuspenseList:()=>Oe,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>Ge,cloneElement:()=>nt,createContext:()=>F,createElement:()=>h,createFactory:()=>et,createPortal:()=>Ie,createRef:()=>v,default:()=>st,findDOMNode:()=>it,forwardRef:()=>we,hydrate:()=>De,isValidElement:()=>tt,lazy:()=>Se,memo:()=>ge,render:()=>Pe,unmountComponentAtNode:()=>rt,unstable_IdlePriority:()=>Ke,unstable_ImmediatePriority:()=>Ye,unstable_LowPriority:()=>qe,unstable_NormalPriority:()=>Xe,unstable_UserBlockingPriority:()=>$e,unstable_batchedUpdates:()=>ot,unstable_now:()=>Qe,unstable_runWithPriority:()=>Ze,useCallback:()=>ie,useContext:()=>oe,useDebugValue:()=>ae,useEffect:()=>J,useErrorBoundary:()=>se,useImperativeHandle:()=>ne,useLayoutEffect:()=>ee,useMemo:()=>re,useReducer:()=>Q,useRef:()=>te,useState:()=>Z,version:()=>Je});var r,i,o,a,s,l,c={},u=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function f(e,t){for(var n in t)e[n]=t[n];return e}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function h(e,t,n){var r,i,o,a=arguments,s={};for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=t[o];if(arguments.length>3)for(n=[n],o=3;o<arguments.length;o++)n.push(a[o]);if(null!=n&&(s.children=n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===s[o]&&(s[o]=e.defaultProps[o]);return m(e,s,r,i,null)}function m(e,t,n,i,o){var a={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++r.__v:o};return null!=r.vnode&&r.vnode(a),a}function v(){return{current:null}}function g(e){return e.children}function y(e,t){this.props=e,this.context=t}function b(e,t){if(null==t)return e.__?b(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?b(e):null}function w(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return w(e)}}function _(e){(!e.__d&&(e.__d=!0)&&i.push(e)&&!E.__r++||a!==r.debounceRendering)&&((a=r.debounceRendering)||o)(E)}function E(){for(var e;E.__r=i.length;)e=i.sort((function(e,t){return e.__v.__b-t.__v.__b})),i=[],e.some((function(e){var t,n,r,i,o,a;e.__d&&(o=(i=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=f({},i)).__v=i.__v+1,I(a,i,r,t.__n,void 0!==a.ownerSVGElement,null!=i.__h?[o]:null,n,null==o?b(i):o,i.__h),N(n,i),i.__e!=o&&w(i)))}))}function x(e,t,n,r,i,o,a,s,l,d){var f,h,v,y,w,_,E,x=r&&r.__k||u,k=x.length;for(l==c&&(l=null!=a?a[0]:k?b(r,0):null),n.__k=[],f=0;f<t.length;f++)if(null!=(y=n.__k[f]=null==(y=t[f])||"boolean"==typeof y?null:"string"==typeof y||"number"==typeof y?m(null,y,null,null,y):Array.isArray(y)?m(g,{children:y},null,null,null):y.__b>0?m(y.type,y.props,y.key,null,y.__v):y)){if(y.__=n,y.__b=n.__b+1,null===(v=x[f])||v&&y.key==v.key&&y.type===v.type)x[f]=void 0;else for(h=0;h<k;h++){if((v=x[h])&&y.key==v.key&&y.type===v.type){x[h]=void 0;break}v=null}I(e,y,v=v||c,i,o,a,s,l,d),w=y.__e,(h=y.ref)&&v.ref!=h&&(E||(E=[]),v.ref&&E.push(v.ref,null,y),E.push(h,y.__c||w,y)),null!=w?(null==_&&(_=w),"function"==typeof y.type&&null!=y.__k&&y.__k===v.__k?y.__d=l=C(y,l,e):l=S(e,y,v,x,a,w,l),d||"option"!==n.type?"function"==typeof n.type&&(n.__d=l):e.value=""):l&&v.__e==l&&l.parentNode!=e&&(l=b(v))}if(n.__e=_,null!=a&&"function"!=typeof n.type)for(f=a.length;f--;)null!=a[f]&&p(a[f]);for(f=k;f--;)null!=x[f]&&("function"==typeof n.type&&null!=x[f].__e&&x[f].__e==n.__d&&(n.__d=b(r,f+1)),P(x[f],x[f]));if(E)for(f=0;f<E.length;f++)M(E[f],E[++f],E[++f])}function C(e,t,n){var r,i;for(r=0;r<e.__k.length;r++)(i=e.__k[r])&&(i.__=e,t="function"==typeof i.type?C(i,t,n):S(n,i,i,e.__k,null,i.__e,t));return t}function k(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){k(e,t)})):t.push(e)),t}function S(e,t,n,r,i,o,a){var s,l,c;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(i==n||o!=a||null==o.parentNode)e:if(null==a||a.parentNode!==e)e.appendChild(o),s=null;else{for(l=a,c=0;(l=l.nextSibling)&&c<r.length;c+=2)if(l==o)break e;e.insertBefore(o,a),s=a}return void 0!==s?s:o.nextSibling}function O(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||d.test(t)?n:n+"px"}function A(e,t,n,r,i){var o,a,s;if(i&&"className"==t&&(t="class"),"style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||O(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||O(e.style,t,n[t])}else"o"===t[0]&&"n"===t[1]?(o=t!==(t=t.replace(/Capture$/,"")),(a=t.toLowerCase())in e&&(t=a),t=t.slice(2),e.l||(e.l={}),e.l[t+o]=n,s=o?L:T,n?r||e.addEventListener(t,s,o):e.removeEventListener(t,s,o)):"list"!==t&&"tagName"!==t&&"form"!==t&&"type"!==t&&"size"!==t&&"download"!==t&&"href"!==t&&"contentEditable"!==t&&!i&&t in e?e[t]=null==n?"":n:"function"!=typeof n&&"dangerouslySetInnerHTML"!==t&&(t!==(t=t.replace(/xlink:?/,""))?null==n||!1===n?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),n):null==n||!1===n&&!/^ar/.test(t)?e.removeAttribute(t):e.setAttribute(t,n))}function T(e){this.l[e.type+!1](r.event?r.event(e):e)}function L(e){this.l[e.type+!0](r.event?r.event(e):e)}function I(e,t,n,i,o,a,s,l,c){var u,d,p,h,m,v,b,w,_,E,C,k=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(c=n.__h,l=t.__e=n.__e,t.__h=null,a=[l]),(u=r.__b)&&u(t);try{e:if("function"==typeof k){if(w=t.props,_=(u=k.contextType)&&i[u.__c],E=u?_?_.props.value:u.__:i,n.__c?b=(d=t.__c=n.__c).__=d.__E:("prototype"in k&&k.prototype.render?t.__c=d=new k(w,E):(t.__c=d=new y(w,E),d.constructor=k,d.render=D),_&&_.sub(d),d.props=w,d.state||(d.state={}),d.context=E,d.__n=i,p=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=k.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=f({},d.__s)),f(d.__s,k.getDerivedStateFromProps(w,d.__s))),h=d.props,m=d.state,p)null==k.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==k.getDerivedStateFromProps&&w!==h&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(w,E),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(w,d.__s,E)||t.__v===n.__v){d.props=w,d.state=d.__s,t.__v!==n.__v&&(d.__d=!1),d.__v=t,t.__e=n.__e,t.__k=n.__k,d.__h.length&&s.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(w,d.__s,E),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(h,m,v)}))}d.context=E,d.props=w,d.state=d.__s,(u=r.__r)&&u(t),d.__d=!1,d.__v=t,d.__P=e,u=d.render(d.props,d.state,d.context),d.state=d.__s,null!=d.getChildContext&&(i=f(f({},i),d.getChildContext())),p||null==d.getSnapshotBeforeUpdate||(v=d.getSnapshotBeforeUpdate(h,m)),C=null!=u&&u.type===g&&null==u.key?u.props.children:u,x(e,Array.isArray(C)?C:[C],t,n,i,o,a,s,l,c),d.base=t.__e,t.__h=null,d.__h.length&&s.push(d),b&&(d.__E=d.__=null),d.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=R(n.__e,t,n,i,o,a,s,c);(u=r.diffed)&&u(t)}catch(e){t.__v=null,(c||null!=a)&&(t.__e=l,t.__h=!!c,a[a.indexOf(l)]=null),r.__e(e,t,n)}}function N(e,t){r.__c&&r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){r.__e(e,t.__v)}}))}function R(e,t,n,r,i,o,a,s){var l,d,f,p,h,m=n.props,v=t.props;if(i="svg"===t.type||i,null!=o)for(l=0;l<o.length;l++)if(null!=(d=o[l])&&((null===t.type?3===d.nodeType:d.localName===t.type)||e==d)){e=d,o[l]=null;break}if(null==e){if(null===t.type)return document.createTextNode(v);e=i?document.createElementNS("http://www.w3.org/2000/svg",t.type):document.createElement(t.type,v.is&&{is:v.is}),o=null,s=!1}if(null===t.type)m===v||s&&e.data===v||(e.data=v);else{if(null!=o&&(o=u.slice.call(e.childNodes)),f=(m=n.props||c).dangerouslySetInnerHTML,p=v.dangerouslySetInnerHTML,!s){if(null!=o)for(m={},h=0;h<e.attributes.length;h++)m[e.attributes[h].name]=e.attributes[h].value;(p||f)&&(p&&(f&&p.__html==f.__html||p.__html===e.innerHTML)||(e.innerHTML=p&&p.__html||""))}(function(e,t,n,r,i){var o;for(o in n)"children"===o||"key"===o||o in t||A(e,o,null,n[o],r);for(o in t)i&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||n[o]===t[o]||A(e,o,t[o],n[o],r)})(e,v,m,i,s),p?t.__k=[]:(l=t.props.children,x(e,Array.isArray(l)?l:[l],t,n,r,"foreignObject"!==t.type&&i,o,a,c,s)),s||("value"in v&&void 0!==(l=v.value)&&(l!==e.value||"progress"===t.type&&!l)&&A(e,"value",l,m.value,!1),"checked"in v&&void 0!==(l=v.checked)&&l!==e.checked&&A(e,"checked",l,m.checked,!1))}return e}function M(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function P(e,t,n){var i,o,a;if(r.unmount&&r.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||M(i,null,t)),n||"function"==typeof e.type||(n=null!=(o=e.__e)),e.__e=e.__d=void 0,null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){r.__e(e,t)}i.base=i.__P=null}if(i=e.__k)for(a=0;a<i.length;a++)i[a]&&P(i[a],t,n);null!=o&&p(o)}function D(e,t,n){return this.constructor(e,n)}function j(e,t,n){var i,o,a;r.__&&r.__(e,t),o=(i=n===s)?null:n&&n.__k||t.__k,e=h(g,null,[e]),a=[],I(t,(i?t:n||t).__k=e,o||c,c,void 0!==t.ownerSVGElement,n&&!i?[n]:o?null:t.childNodes.length?u.slice.call(t.childNodes):null,a,n||c,i),N(a,e)}function z(e,t,n){var r,i,o,a=arguments,s=f({},e.props);for(o in t)"key"==o?r=t[o]:"ref"==o?i=t[o]:s[o]=t[o];if(arguments.length>3)for(n=[n],o=3;o<arguments.length;o++)n.push(a[o]);return null!=n&&(s.children=n),m(e.type,s,r||e.key,i||e.ref,null)}function F(e,t){var n={__c:t="__cC"+l++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(_)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r={__e:function(e,t){for(var n,r,i,o=t.__h;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),i=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),i=n.__d),i)return t.__h=o,n.__E=n}catch(t){e=t}throw e},__v:0},y.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof e&&(e=e(f({},n),this.props)),e&&f(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),_(this))},y.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),_(this))},y.prototype.render=g,i=[],o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,E.__r=0,s=c,l=0;var H,B,U,W=0,V=[],G=r.__b,Y=r.__r,$=r.diffed,X=r.__c,q=r.unmount;function K(e,t){r.__h&&r.__h(B,e,W||t),W=0;var n=B.__H||(B.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Z(e){return W=1,Q(pe,e)}function Q(e,t,n){var r=K(H++,2);return r.t=e,r.__c||(r.__=[n?n(t):pe(void 0,t),function(e){var t=r.t(r.__[0],e);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=B),r.__}function J(e,t){var n=K(H++,3);!r.__s&&fe(n.__H,t)&&(n.__=e,n.__H=t,B.__H.__h.push(n))}function ee(e,t){var n=K(H++,4);!r.__s&&fe(n.__H,t)&&(n.__=e,n.__H=t,B.__h.push(n))}function te(e){return W=5,re((function(){return{current:e}}),[])}function ne(e,t,n){W=6,ee((function(){"function"==typeof e?e(t()):e&&(e.current=t())}),null==n?n:n.concat(e))}function re(e,t){var n=K(H++,7);return fe(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ie(e,t){return W=8,re((function(){return e}),t)}function oe(e){var t=B.context[e.__c],n=K(H++,9);return n.__c=e,t?(null==n.__&&(n.__=!0,t.sub(B)),t.props.value):e.__}function ae(e,t){r.useDebugValue&&r.useDebugValue(t?t(e):e)}function se(e){var t=K(H++,10),n=Z();return t.__=e,B.componentDidCatch||(B.componentDidCatch=function(e){t.__&&t.__(e),n[1](e)}),[n[0],function(){n[1](void 0)}]}function le(){V.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(ue),e.__H.__h.forEach(de),e.__H.__h=[]}catch(t){e.__H.__h=[],r.__e(t,e.__v)}})),V=[]}r.__b=function(e){B=null,G&&G(e)},r.__r=function(e){Y&&Y(e),H=0;var t=(B=e.__c).__H;t&&(t.__h.forEach(ue),t.__h.forEach(de),t.__h=[])},r.diffed=function(e){$&&$(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==V.push(t)&&U===r.requestAnimationFrame||((U=r.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),ce&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ce&&(t=requestAnimationFrame(n))})(le)),B=void 0},r.__c=function(e,t){t.some((function(e){try{e.__h.forEach(ue),e.__h=e.__h.filter((function(e){return!e.__||de(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],r.__e(n,e.__v)}})),X&&X(e,t)},r.unmount=function(e){q&&q(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(ue)}catch(e){r.__e(e,t.__v)}};var ce="function"==typeof requestAnimationFrame;function ue(e){var t=B;"function"==typeof e.__c&&e.__c(),B=t}function de(e){var t=B;e.__c=e.__(),B=t}function fe(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function pe(e,t){return"function"==typeof t?t(e):t}function he(e,t){for(var n in t)e[n]=t[n];return e}function me(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function ve(e){this.props=e}function ge(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:me(this.props,e)}function r(t){return this.shouldComponentUpdate=n,h(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(ve.prototype=new y).isPureReactComponent=!0,ve.prototype.shouldComponentUpdate=function(e,t){return me(this.props,e)||me(this.state,t)};var ye=r.__b;r.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ye&&ye(e)};var be="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function we(e){function t(t,n){var r=he({},t);return delete r.ref,e(r,(n=t.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return t.$$typeof=be,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var _e=function(e,t){return null==e?null:k(k(e).map(t))},Ee={map:_e,forEach:_e,count:function(e){return e?k(e).length:0},only:function(e){var t=k(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:k},xe=r.__e;function Ce(){this.__u=0,this.t=null,this.__b=null}function ke(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function Se(e){var t,n,r;function i(i){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return h(n,i)}return i.displayName="Lazy",i.__f=!0,i}function Oe(){this.o=null,this.u=null}r.__e=function(e,t,n){if(e.then)for(var r,i=t;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);xe(e,t,n)},(Ce.prototype=new y).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var i=ke(r.__v),o=!1,a=function(){o||(o=!0,n.componentWillUnmount=n.__c,i?i(s):s())};n.__c=n.componentWillUnmount,n.componentWillUnmount=function(){a(),n.__c&&n.__c()};var s=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(a,a)},Ce.prototype.componentWillUnmount=function(){this.t=[]},Ce.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=he({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var i=t.__e&&h(g,null,e.fallback);return i&&(i.__h=null),[h(g,null,t.__e?null:e.children),i]};var Ae=function(e,t,n){if(++n[1]===n[0]&&e.u.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.u.size))for(n=e.o;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.o=n=n[2]}};function Te(e){return this.getChildContext=function(){return e.context},e.children}function Le(e){var t=this,n=e.i;t.componentWillUnmount=function(){j(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),j(h(Te,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function Ie(e,t){return h(Le,{__v:e,i:t})}(Oe.prototype=new y).__e=function(e){var t=this,n=ke(t.__v),r=t.u.get(e);return r[0]++,function(i){var o=function(){t.props.revealOrder?(r.push(i),Ae(t,e,r)):i()};n?n(o):o()}},Oe.prototype.render=function(e){this.o=null,this.u=new Map;var t=k(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.u.set(t[n],this.o=[1,0,this.o]);return e.children},Oe.prototype.componentDidUpdate=Oe.prototype.componentDidMount=function(){var e=this;this.u.forEach((function(t,n){Ae(e,n,t)}))};var Ne="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Re=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Me=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function Pe(e,t,n){return null==t.__k&&(t.textContent=""),j(e,t),"function"==typeof n&&n(),e?e.__c:null}function De(e,t,n){return function(e,t){j(e,t,s)}(e,t),"function"==typeof n&&n(),e?e.__c:null}y.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(y.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var je=r.event;function ze(){}function Fe(){return this.cancelBubble}function He(){return this.defaultPrevented}r.event=function(e){return je&&(e=je(e)),e.persist=ze,e.isPropagationStopped=Fe,e.isDefaultPrevented=He,e.nativeEvent=e};var Be,Ue={configurable:!0,get:function(){return this.class}},We=r.vnode;r.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){for(var i in r={},n){var o=n[i];"defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===o?o="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!Me(n.type)?i="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(i)?i=i.toLowerCase():Re.test(i)?i=i.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===o&&(o=void 0),r[i]=o}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=k(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=k(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r}t&&n.class!=n.className&&(Ue.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Ue)),e.$$typeof=Ne,We&&We(e)};var Ve=r.__r;r.__r=function(e){Ve&&Ve(e),Be=e.__c};var Ge={ReactCurrentDispatcher:{current:{readContext:function(e){return Be.__n[e.__c].props.value}}}},Ye=1,$e=2,Xe=3,qe=4,Ke=5;function Ze(e,t){return t()}var Qe="object"==typeof performance&&"function"==typeof performance.now?performance.now.bind(performance):function(){return Date.now()},Je="16.8.0";function et(e){return h.bind(null,e)}function tt(e){return!!e&&e.$$typeof===Ne}function nt(e){return tt(e)?z.apply(null,arguments):e}function rt(e){return!!e.__k&&(j(null,e),!0)}function it(e){return e&&(e.base||1===e.nodeType&&e)||null}var ot=function(e,t){return e(t)},at=g;const st={useState:Z,useReducer:Q,useEffect:J,useLayoutEffect:ee,useRef:te,useImperativeHandle:ne,useMemo:re,useCallback:ie,useContext:oe,useDebugValue:ae,version:"16.8.0",Children:Ee,render:Pe,hydrate:De,unmountComponentAtNode:rt,createPortal:Ie,createElement:h,createContext:F,createFactory:et,cloneElement:nt,createRef:v,Fragment:g,isValidElement:tt,findDOMNode:it,Component:y,PureComponent:ve,memo:ge,forwardRef:we,unstable_batchedUpdates:ot,StrictMode:g,Suspense:Ce,SuspenseList:Oe,lazy:Se,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ge}},"./node_modules/prop-types/factoryWithThrowingShims.js":(e,t,n)=>{"use strict";var r=n("./node_modules/prop-types/lib/ReactPropTypesSecret.js");function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==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,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:o,resetWarningCache:i};return n.PropTypes=n,n}},"./node_modules/prop-types/index.js":(e,t,n)=>{e.exports=n("./node_modules/prop-types/factoryWithThrowingShims.js")()},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/query-string/index.js":(e,t,n)=>{"use strict";const r=n("./node_modules/strict-uri-encode/index.js"),i=n("./node_modules/decode-uri-component/index.js"),o=n("./node_modules/split-on-first/index.js"),a=n("./node_modules/filter-obj/index.js"),s=Symbol("encodeFragmentIdentifier");function l(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function u(e,t){return t.decode?i(e):e}function d(e){return Array.isArray(e)?e.sort():"object"==typeof e?d(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function f(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function p(e){const t=(e=f(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function h(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function m(e,t){l((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const i="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!i&&u(n,e).includes(e.arrayFormatSeparator);n=o?u(n,e):n;const a=i||o?n.split(e.arrayFormatSeparator).map((t=>u(t,e))):null===n?n:u(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const i=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!i)return void(r[t]=n?u(n,e):n);const o=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>u(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],o):r[t]=o};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const i of e.split("&")){if(""===i)continue;let[e,a]=o(t.decode?i.replace(/\+/g," "):i,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:u(a,t),n(u(e,t),a,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=h(n[e],t);else r[e]=h(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=d(n):e[t]=n,e}),Object.create(null))}t.extract=p,t.parse=m,t.stringify=(e,t)=>{if(!e)return"";l((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const i=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[",i,"]"].join("")]:[...n,[c(t,e),"[",c(i,e),"]=",c(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[]"].join("")]:[...n,[c(t,e),"[]=",c(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?r:(i=null===i?"":i,0===r.length?[[c(n,e),t,c(i,e)].join("")]:[[r,c(i,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,c(t,e)]:[...n,[c(t,e),"=",c(r,e)].join("")]}}(t),i={};for(const t of Object.keys(e))n(t)||(i[t]=e[t]);const o=Object.keys(i);return!1!==t.sort&&o.sort(t.sort),o.map((n=>{const i=e[n];return void 0===i?"":null===i?c(n,t):Array.isArray(i)?0===i.length&&"bracket-separator"===t.arrayFormat?c(n,t)+"[]":i.reduce(r(n),[]).join("&"):c(n,t)+"="+c(i,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:m(p(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:u(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const r=f(e.url).split("?")[0]||"",i=t.extract(e.url),o=t.parse(i,{sort:!1}),a=Object.assign(o,e.query);let l=t.stringify(a,n);l&&(l=`?${l}`);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u=`#${n[s]?c(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${l}${u}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[s]:!1},r);const{url:i,query:o,fragmentIdentifier:l}=t.parseUrl(e,r);return t.stringifyUrl({url:i,query:a(o,n),fragmentIdentifier:l},r)},t.exclude=(e,n,r)=>{const i=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,i,r)}},"./node_modules/react-hot-loader/dist/react-hot-loader.production.min.js":(e,t,n)=>{"use strict";var r,i=(r=n("./node_modules/preact/compat/dist/compat.module.js"))&&"object"==typeof r&&"default"in r?r.default:r;function o(e){return o.warnAboutHMRDisabled&&(o.warnAboutHMRDisabled=!0,console.error("React-Hot-Loader: misconfiguration detected, using production version in non-production environment."),console.error("React-Hot-Loader: Hot Module Replacement is not enabled.")),i.Children.only(e.children)}o.warnAboutHMRDisabled=!1;var a=function e(){return e.shouldWrapWithAppContainer?function(e){return function(t){return i.createElement(o,null,i.createElement(e,t))}}:function(e){return e}};a.shouldWrapWithAppContainer=!1,t.wU=a},"./node_modules/react-is/cjs/react-is.production.min.js":(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case v:case m:case l:return e;default:return t}}case i:return t}}}function E(e){return _(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=v,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return E(e)||_(e)===u},t.isConcurrentMode=E,t.isContextConsumer=function(e){return _(e)===c},t.isContextProvider=function(e){return _(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return _(e)===f},t.isFragment=function(e){return _(e)===o},t.isLazy=function(e){return _(e)===v},t.isMemo=function(e){return _(e)===m},t.isPortal=function(e){return _(e)===i},t.isProfiler=function(e){return _(e)===s},t.isStrictMode=function(e){return _(e)===a},t.isSuspense=function(e){return _(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=_},"./node_modules/react-is/index.js":(e,t,n)=>{"use strict";e.exports=n("./node_modules/react-is/cjs/react-is.production.min.js")},"./node_modules/regenerator-runtime/runtime.js":e=>{var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof v?t:v,o=Object.create(i.prototype),a=new A(r||[]);return o._invoke=function(e,t,n){var r=d;return function(i,o){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return L()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=k(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var l=u(e,t,n);if("normal"===l.type){if(r=n.done?h:f,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=h,n.method="throw",n.arg=l.arg)}}}(e,n,a),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d="suspendedStart",f="suspendedYield",p="executing",h="completed",m={};function v(){}function g(){}function y(){}var b={};b[o]=function(){return this};var w=Object.getPrototypeOf,_=w&&w(w(T([])));_&&_!==n&&r.call(_,o)&&(b=_);var E=y.prototype=v.prototype=Object.create(b);function x(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(i,o,a,s){var l=u(e[i],e,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;this._invoke=function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}}function k(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,k(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var i=u(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function T(e){if(e){var n=e[o];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:L}}function L(){return{value:t,done:!0}}return g.prototype=E.constructor=y,y.constructor=g,g.displayName=l(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,s,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},x(C.prototype),C.prototype[a]=function(){return this},e.AsyncIterator=C,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new C(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(E),l(E,s,"Generator"),E[o]=function(){return this},E.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}},"./node_modules/shallowequal/index.js":e=>{e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var c=o[l];if(!s(c))return!1;var u=e[c],d=t[c];if(!1===(i=n?n.call(r,u,d,c):void 0)||void 0===i&&u!==d)return!1}return!0}},"./node_modules/split-on-first/index.js":e=>{"use strict";e.exports=(e,t)=>{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},"./node_modules/strict-uri-encode/index.js":e=>{"use strict";e.exports=e=>encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},"./node_modules/stylis/stylis.js":e=>{e.exports=function e(t){"use strict";var n=/^\0+/g,r=/[\0\r\f]/g,i=/: */g,o=/zoo|gra/,a=/([,: ])(transform)/g,s=/,+\s*(?![^(]*[)])/g,l=/ +\s*(?![^(]*[)])/g,c=/ *[\0] */g,u=/,\r+?/g,d=/([\t\r\n ])*\f?&/g,f=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,p=/\W+/g,h=/@(k\w+)\s*(\S*)\s*/,m=/::(place)/g,v=/:(read-only)/g,g=/\s+(?=[{\];=:>])/g,y=/([[}=:>])\s+/g,b=/(\{[^{]+?);(?=\})/g,w=/\s{2,}/g,_=/([^\(])(:+) */g,E=/[svh]\w+-[tblr]{2}/,x=/\(\s*(.*)\s*\)/g,C=/([\s\S]*?);/g,k=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,O=/stretch|:\s*\w+\-(?:conte|avail)/,A=/([^-])(image-set\()/,T="-webkit-",L="-moz-",I="-ms-",N=59,R=125,M=123,P=40,D=41,j=10,z=13,F=64,H=32,B=45,U=42,W=44,V=58,G=47,Y=62,$=43,X=126,q=107,K=1,Z=1,Q=0,J=1,ee=1,te=1,ne=0,re=0,ie=0,oe=[],ae=[],se=0,le=null,ce=0,ue=1,de="",fe="",pe="";function he(e,t,i,o,a){for(var s,l,u=0,d=0,f=0,p=0,g=0,y=0,b=0,w=0,E=0,C=0,k=0,S=0,O=0,A=0,L=0,I=0,F=0,ne=0,ae=0,le=i.length,ve=le-1,Ee="",xe="",Ce="",ke="",Se="",Oe="";L<le;){if(b=i.charCodeAt(L),L===ve&&d+p+f+u!==0&&(0!==d&&(b=d===G?j:G),p=f=u=0,le++,ve++),d+p+f+u===0){if(L===ve&&(I>0&&(xe=xe.replace(r,"")),xe.trim().length>0)){switch(b){case H:case 9:case N:case z:case j:break;default:xe+=i.charAt(L)}b=N}if(1===F)switch(b){case M:case R:case N:case 34:case 39:case P:case D:case W:F=0;case 9:case z:case j:case H:break;default:for(F=0,ae=L,g=b,L--,b=N;ae<le;)switch(i.charCodeAt(ae++)){case j:case z:case N:++L,b=g,ae=le;break;case V:I>0&&(++L,b=g);case M:ae=le}}switch(b){case M:for(g=(xe=xe.trim()).charCodeAt(0),k=1,ae=++L;L<le;){switch(b=i.charCodeAt(L)){case M:k++;break;case R:k--;break;case G:switch(y=i.charCodeAt(L+1)){case U:case G:L=_e(y,L,ve,i)}break;case 91:b++;case P:b++;case 34:case 39:for(;L++<ve&&i.charCodeAt(L)!==b;);}if(0===k)break;L++}switch(Ce=i.substring(ae,L),0===g&&(g=(xe=xe.replace(n,"").trim()).charCodeAt(0)),g){case 64:switch(I>0&&(xe=xe.replace(r,"")),y=xe.charCodeAt(1)){case 100:case 109:case 115:case B:s=t;break;default:s=oe}if(ae=(Ce=he(t,s,Ce,y,a+1)).length,ie>0&&0===ae&&(ae=xe.length),se>0&&(l=we(3,Ce,s=me(oe,xe,ne),t,Z,K,ae,y,a,o),xe=s.join(""),void 0!==l&&0===(ae=(Ce=l.trim()).length)&&(y=0,Ce="")),ae>0)switch(y){case 115:xe=xe.replace(x,be);case 100:case 109:case B:Ce=xe+"{"+Ce+"}";break;case q:Ce=(xe=xe.replace(h,"$1 $2"+(ue>0?de:"")))+"{"+Ce+"}",Ce=1===ee||2===ee&&ye("@"+Ce,3)?"@"+T+Ce+"@"+Ce:"@"+Ce;break;default:Ce=xe+Ce,112===o&&(ke+=Ce,Ce="")}else Ce="";break;default:Ce=he(t,me(t,xe,ne),Ce,o,a+1)}Se+=Ce,S=0,F=0,A=0,I=0,ne=0,O=0,xe="",Ce="",b=i.charCodeAt(++L);break;case R:case N:if((ae=(xe=(I>0?xe.replace(r,""):xe).trim()).length)>1)switch(0===A&&((g=xe.charCodeAt(0))===B||g>96&&g<123)&&(ae=(xe=xe.replace(" ",":")).length),se>0&&void 0!==(l=we(1,xe,t,e,Z,K,ke.length,o,a,o))&&0===(ae=(xe=l.trim()).length)&&(xe="\0\0"),g=xe.charCodeAt(0),y=xe.charCodeAt(1),g){case 0:break;case 64:if(105===y||99===y){Oe+=xe+i.charAt(L);break}default:if(xe.charCodeAt(ae-1)===V)break;ke+=ge(xe,g,y,xe.charCodeAt(2))}S=0,F=0,A=0,I=0,ne=0,xe="",b=i.charCodeAt(++L)}}switch(b){case z:case j:if(d+p+f+u+re===0)switch(C){case D:case 39:case 34:case 64:case X:case 62:case U:case 43:case G:case B:case V:case W:case N:case M:case R:break;default:A>0&&(F=1)}d===G?d=0:J+S===0&&o!==q&&xe.length>0&&(I=1,xe+="\0"),se*ce>0&&we(0,xe,t,e,Z,K,ke.length,o,a,o),K=1,Z++;break;case N:case R:if(d+p+f+u===0){K++;break}default:switch(K++,Ee=i.charAt(L),b){case 9:case H:if(p+u+d===0)switch(w){case W:case V:case 9:case H:Ee="";break;default:b!==H&&(Ee=" ")}break;case 0:Ee="\\0";break;case 12:Ee="\\f";break;case 11:Ee="\\v";break;case 38:p+d+u===0&&J>0&&(ne=1,I=1,Ee="\f"+Ee);break;case 108:if(p+d+u+Q===0&&A>0)switch(L-A){case 2:112===w&&i.charCodeAt(L-3)===V&&(Q=w);case 8:111===E&&(Q=E)}break;case V:p+d+u===0&&(A=L);break;case W:d+f+p+u===0&&(I=1,Ee+="\r");break;case 34:case 39:0===d&&(p=p===b?0:0===p?b:p);break;case 91:p+d+f===0&&u++;break;case 93:p+d+f===0&&u--;break;case D:p+d+u===0&&f--;break;case P:if(p+d+u===0){if(0===S)switch(2*w+3*E){case 533:break;default:k=0,S=1}f++}break;case 64:d+f+p+u+A+O===0&&(O=1);break;case U:case G:if(p+u+f>0)break;switch(d){case 0:switch(2*b+3*i.charCodeAt(L+1)){case 235:d=G;break;case 220:ae=L,d=U}break;case U:b===G&&w===U&&ae+2!==L&&(33===i.charCodeAt(ae+2)&&(ke+=i.substring(ae,L+1)),Ee="",d=0)}}if(0===d){if(J+p+u+O===0&&o!==q&&b!==N)switch(b){case W:case X:case 62:case 43:case D:case P:if(0===S){switch(w){case 9:case H:case j:case z:Ee+="\0";break;default:Ee="\0"+Ee+(b===W?"":"\0")}I=1}else switch(b){case P:A+7===L&&108===w&&(A=0),S=++k;break;case D:0==(S=--k)&&(I=1,Ee+="\0")}break;case 9:case H:switch(w){case 0:case M:case R:case N:case W:case 12:case 9:case H:case j:case z:break;default:0===S&&(I=1,Ee+="\0")}}xe+=Ee,b!==H&&9!==b&&(C=b)}}E=w,w=b,L++}if(ae=ke.length,ie>0&&0===ae&&0===Se.length&&0===t[0].length==0&&(109!==o||1===t.length&&(J>0?fe:pe)===t[0])&&(ae=t.join(",").length+2),ae>0){if(s=0===J&&o!==q?function(e){for(var t,n,i=0,o=e.length,a=Array(o);i<o;++i){for(var s=e[i].split(c),l="",u=0,d=0,f=0,p=0,h=s.length;u<h;++u)if(!(0===(d=(n=s[u]).length)&&h>1)){if(f=l.charCodeAt(l.length-1),p=n.charCodeAt(0),t="",0!==u)switch(f){case U:case X:case Y:case $:case H:case P:break;default:t=" "}switch(p){case 38:n=t+fe;case X:case Y:case $:case H:case D:case P:break;case 91:n=t+n+fe;break;case V:switch(2*n.charCodeAt(1)+3*n.charCodeAt(2)){case 530:if(te>0){n=t+n.substring(8,d-1);break}default:(u<1||s[u-1].length<1)&&(n=t+fe+n)}break;case W:t="";default:n=d>1&&n.indexOf(":")>0?t+n.replace(_,"$1"+fe+"$2"):t+n+fe}l+=n}a[i]=l.replace(r,"").trim()}return a}(t):t,se>0&&void 0!==(l=we(2,ke,s,e,Z,K,ae,o,a,o))&&0===(ke=l).length)return Oe+ke+Se;if(ke=s.join(",")+"{"+ke+"}",ee*Q!=0){switch(2!==ee||ye(ke,2)||(Q=0),Q){case 111:ke=ke.replace(v,":-moz-$1")+ke;break;case 112:ke=ke.replace(m,"::-webkit-input-$1")+ke.replace(m,"::-moz-$1")+ke.replace(m,":-ms-input-$1")+ke}Q=0}}return Oe+ke+Se}function me(e,t,n){var r=t.trim().split(u),i=r,o=r.length,a=e.length;switch(a){case 0:case 1:for(var s=0,l=0===a?"":e[0]+" ";s<o;++s)i[s]=ve(l,i[s],n,a).trim();break;default:s=0;var c=0;for(i=[];s<o;++s)for(var d=0;d<a;++d)i[c++]=ve(e[d]+" ",r[s],n,a).trim()}return i}function ve(e,t,n,r){var i=t,o=i.charCodeAt(0);switch(o<33&&(o=(i=i.trim()).charCodeAt(0)),o){case 38:switch(J+r){case 0:case 1:if(0===e.trim().length)break;default:return i.replace(d,"$1"+e.trim())}break;case V:switch(i.charCodeAt(1)){case 103:if(te>0&&J>0)return i.replace(f,"$1").replace(d,"$1"+pe);break;default:return e.trim()+i.replace(d,"$1"+e.trim())}default:if(n*J>0&&i.indexOf("\f")>0)return i.replace(d,(e.charCodeAt(0)===V?"":"$1")+e.trim())}return e+i}function ge(e,t,n,r){var c,u=0,d=e+";",f=2*t+3*n+4*r;if(944===f)return function(e){var t=e.length,n=e.indexOf(":",9)+1,r=e.substring(0,n).trim(),i=e.substring(n,t-1).trim();switch(e.charCodeAt(9)*ue){case 0:break;case B:if(110!==e.charCodeAt(10))break;default:var o=i.split((i="",s)),a=0;for(n=0,t=o.length;a<t;n=0,++a){for(var c=o[a],u=c.split(l);c=u[n];){var d=c.charCodeAt(0);if(1===ue&&(d>F&&d<90||d>96&&d<123||95===d||d===B&&c.charCodeAt(1)!==B))switch(isNaN(parseFloat(c))+(-1!==c.indexOf("("))){case 1:switch(c){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:c+=de}}u[n++]=c}i+=(0===a?"":",")+u.join(" ")}}return i=r+i+";",1===ee||2===ee&&ye(i,1)?T+i+i:i}(d);if(0===ee||2===ee&&!ye(d,1))return d;switch(f){case 1015:return 97===d.charCodeAt(10)?T+d+d:d;case 951:return 116===d.charCodeAt(3)?T+d+d:d;case 963:return 110===d.charCodeAt(5)?T+d+d:d;case 1009:if(100!==d.charCodeAt(4))break;case 969:case 942:return T+d+d;case 978:return T+d+L+d+d;case 1019:case 983:return T+d+L+d+I+d+d;case 883:return d.charCodeAt(8)===B?T+d+d:d.indexOf("image-set(",11)>0?d.replace(A,"$1-webkit-$2")+d:d;case 932:if(d.charCodeAt(4)===B)switch(d.charCodeAt(5)){case 103:return T+"box-"+d.replace("-grow","")+T+d+I+d.replace("grow","positive")+d;case 115:return T+d+I+d.replace("shrink","negative")+d;case 98:return T+d+I+d.replace("basis","preferred-size")+d}return T+d+I+d+d;case 964:return T+d+I+"flex-"+d+d;case 1023:if(99!==d.charCodeAt(8))break;return c=d.substring(d.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),T+"box-pack"+c+T+d+I+"flex-pack"+c+d;case 1005:return o.test(d)?d.replace(i,":"+T)+d.replace(i,":"+L)+d:d;case 1e3:switch(u=(c=d.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(u)){case 226:c=d.replace(E,"tb");break;case 232:c=d.replace(E,"tb-rl");break;case 220:c=d.replace(E,"lr");break;default:return d}return T+d+I+c+d;case 1017:if(-1===d.indexOf("sticky",9))return d;case 975:switch(u=(d=e).length-10,f=(c=(33===d.charCodeAt(u)?d.substring(0,u):d).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(c.charCodeAt(8)<111)break;case 115:d=d.replace(c,T+c)+";"+d;break;case 207:case 102:d=d.replace(c,T+(f>102?"inline-":"")+"box")+";"+d.replace(c,T+c)+";"+d.replace(c,I+c+"box")+";"+d}return d+";";case 938:if(d.charCodeAt(5)===B)switch(d.charCodeAt(6)){case 105:return c=d.replace("-items",""),T+d+T+"box-"+c+I+"flex-"+c+d;case 115:return T+d+I+"flex-item-"+d.replace(k,"")+d;default:return T+d+I+"flex-line-pack"+d.replace("align-content","").replace(k,"")+d}break;case 973:case 989:if(d.charCodeAt(3)!==B||122===d.charCodeAt(4))break;case 931:case 953:if(!0===O.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?ge(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):d.replace(c,T+c)+d.replace(c,L+c.replace("fill-",""))+d;break;case 962:if(d=T+d+(102===d.charCodeAt(5)?I+d:"")+d,n+r===211&&105===d.charCodeAt(13)&&d.indexOf("transform",10)>0)return d.substring(0,d.indexOf(";",27)+1).replace(a,"$1-webkit-$2")+d}return d}function ye(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10),i=e.substring(n+1,e.length-1);return le(2!==t?r:r.replace(S,"$1"),i,t)}function be(e,t){var n=ge(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(C," or ($1)").substring(4):"("+t+")"}function we(e,t,n,r,i,o,a,s,l,c){for(var u,d=0,f=t;d<se;++d)switch(u=ae[d].call(xe,e,f,n,r,i,o,a,s,l,c)){case void 0:case!1:case!0:case null:break;default:f=u}if(f!==t)return f}function _e(e,t,n,r){for(var i=t+1;i<n;++i)switch(r.charCodeAt(i)){case G:if(e===U&&r.charCodeAt(i-1)===U&&t+2!==i)return i+1;break;case j:if(e===G)return i+1}return i}function Ee(e){for(var t in e){var n=e[t];switch(t){case"keyframe":ue=0|n;break;case"global":te=0|n;break;case"cascade":J=0|n;break;case"compress":ne=0|n;break;case"semicolon":re=0|n;break;case"preserve":ie=0|n;break;case"prefix":le=null,n?"function"!=typeof n?ee=1:(ee=2,le=n):ee=0}}return Ee}function xe(t,n){if(void 0!==this&&this.constructor===xe)return e(t);var i=t,o=i.charCodeAt(0);o<33&&(o=(i=i.trim()).charCodeAt(0)),ue>0&&(de=i.replace(p,91===o?"":"-")),o=1,1===J?pe=i:fe=i;var a,s=[pe];se>0&&void 0!==(a=we(-1,n,s,s,Z,K,0,0,0,0))&&"string"==typeof a&&(n=a);var l=he(oe,s,n,0,0);return se>0&&void 0!==(a=we(-2,l,s,s,Z,K,l.length,0,0,0))&&"string"!=typeof(l=a)&&(o=0),de="",pe="",fe="",Q=0,Z=1,K=1,ne*o==0?l:function(e){return e.replace(r,"").replace(g,"").replace(y,"$1").replace(b,"$1").replace(w," ")}(l)}return xe.use=function e(t){switch(t){case void 0:case null:se=ae.length=0;break;default:if("function"==typeof t)ae[se++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else ce=0|!!t}return e},xe.set=Ee,void 0!==t&&Ee(t),xe}(null)},"./node_modules/use-intersection/lib/index.js":function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__rest||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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=n("./node_modules/preact/compat/dist/compat.module.js"),s=o(n("./node_modules/shallowequal/index.js"));t.useIntersection=function(e,t,n){void 0===t&&(t={});var o=t.defaultIntersecting,l=t.once,c=i(t,["defaultIntersecting","once"]),u=a.useRef(c),d=a.useState(!0===o),f=d[0],p=d[1],h=a.useRef(!1);return a.useEffect((function(){s.default(u.current,c)||(u.current=c)})),a.useEffect((function(){if(null!=e){var t=e instanceof Element?e:e.current;if(!(null==t||l&&h.current)){var i=new IntersectionObserver((function(e){var r=e[e.length-1];p(r.isIntersecting),null!=n&&n(r),r.isIntersecting&&(h.current=!0),l&&r.isIntersecting&&null!=t&&i.unobserve(t)}),r(r({},u.current),{root:null!=u.current.root?u.current.root.current:null}));return i.observe(t),function(){l&&h.current||null!=t&&i.unobserve(t)}}}}),[u.current,e]),f}}},t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n("./src/index.tsx")})();
|
|
1
|
+
(function(wn){typeof define=="function"&&define.amd?define(wn):wn()})(function(){"use strict";var wn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Di(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Nf={exports:{}},Jo={},bf={exports:{}},ne={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var $i=Symbol.for("react.element"),um=Symbol.for("react.portal"),cm=Symbol.for("react.fragment"),fm=Symbol.for("react.strict_mode"),dm=Symbol.for("react.profiler"),hm=Symbol.for("react.provider"),pm=Symbol.for("react.context"),vm=Symbol.for("react.forward_ref"),mm=Symbol.for("react.suspense"),gm=Symbol.for("react.memo"),ym=Symbol.for("react.lazy"),jf=Symbol.iterator;function wm(e){return e===null||typeof e!="object"?null:(e=jf&&e[jf]||e["@@iterator"],typeof e=="function"?e:null)}var Tf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Rf=Object.assign,Lf={};function Wr(e,t,n){this.props=e,this.context=t,this.refs=Lf,this.updater=n||Tf}Wr.prototype.isReactComponent={},Wr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},Wr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Of(){}Of.prototype=Wr.prototype;function hs(e,t,n){this.props=e,this.context=t,this.refs=Lf,this.updater=n||Tf}var ps=hs.prototype=new Of;ps.constructor=hs,Rf(ps,Wr.prototype),ps.isPureReactComponent=!0;var Af=Array.isArray,If=Object.prototype.hasOwnProperty,vs={current:null},Mf={key:!0,ref:!0,__self:!0,__source:!0};function Pf(e,t,n){var r,i={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)If.call(t,r)&&!Mf.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var s=Array(a),u=0;u<a;u++)s[u]=arguments[u+2];i.children=s}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:$i,type:e,key:o,ref:l,props:i,_owner:vs.current}}function Em(e,t){return{$$typeof:$i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ms(e){return typeof e=="object"&&e!==null&&e.$$typeof===$i}function Sm(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var zf=/\/+/g;function gs(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Sm(""+e.key):t.toString(36)}function el(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case $i:case um:l=!0}}if(l)return l=e,i=i(l),e=r===""?"."+gs(l,0):r,Af(i)?(n="",e!=null&&(n=e.replace(zf,"$&/")+"/"),el(i,t,n,"",function(u){return u})):i!=null&&(ms(i)&&(i=Em(i,n+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(zf,"$&/")+"/")+e)),t.push(i)),1;if(l=0,r=r===""?".":r+":",Af(e))for(var a=0;a<e.length;a++){o=e[a];var s=r+gs(o,a);l+=el(o,t,n,s,i)}else if(s=wm(e),typeof s=="function")for(e=s.call(e),a=0;!(o=e.next()).done;)o=o.value,s=r+gs(o,a++),l+=el(o,t,n,s,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function tl(e,t,n){if(e==null)return e;var r=[],i=0;return el(e,r,"","",function(o){return t.call(n,o,i++)}),r}function xm(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var nt={current:null},nl={transition:null},Cm={ReactCurrentDispatcher:nt,ReactCurrentBatchConfig:nl,ReactCurrentOwner:vs};function Ff(){throw Error("act(...) is not supported in production builds of React.")}ne.Children={map:tl,forEach:function(e,t,n){tl(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return tl(e,function(){t++}),t},toArray:function(e){return tl(e,function(t){return t})||[]},only:function(e){if(!ms(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},ne.Component=Wr,ne.Fragment=cm,ne.Profiler=dm,ne.PureComponent=hs,ne.StrictMode=fm,ne.Suspense=mm,ne.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Cm,ne.act=Ff,ne.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Rf({},e.props),i=e.key,o=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,l=vs.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(s in t)If.call(t,s)&&!Mf.hasOwnProperty(s)&&(r[s]=t[s]===void 0&&a!==void 0?a[s]:t[s])}var s=arguments.length-2;if(s===1)r.children=n;else if(1<s){a=Array(s);for(var u=0;u<s;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:$i,type:e.type,key:i,ref:o,props:r,_owner:l}},ne.createContext=function(e){return e={$$typeof:pm,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:hm,_context:e},e.Consumer=e},ne.createElement=Pf,ne.createFactory=function(e){var t=Pf.bind(null,e);return t.type=e,t},ne.createRef=function(){return{current:null}},ne.forwardRef=function(e){return{$$typeof:vm,render:e}},ne.isValidElement=ms,ne.lazy=function(e){return{$$typeof:ym,_payload:{_status:-1,_result:e},_init:xm}},ne.memo=function(e,t){return{$$typeof:gm,type:e,compare:t===void 0?null:t}},ne.startTransition=function(e){var t=nl.transition;nl.transition={};try{e()}finally{nl.transition=t}},ne.unstable_act=Ff,ne.useCallback=function(e,t){return nt.current.useCallback(e,t)},ne.useContext=function(e){return nt.current.useContext(e)},ne.useDebugValue=function(){},ne.useDeferredValue=function(e){return nt.current.useDeferredValue(e)},ne.useEffect=function(e,t){return nt.current.useEffect(e,t)},ne.useId=function(){return nt.current.useId()},ne.useImperativeHandle=function(e,t,n){return nt.current.useImperativeHandle(e,t,n)},ne.useInsertionEffect=function(e,t){return nt.current.useInsertionEffect(e,t)},ne.useLayoutEffect=function(e,t){return nt.current.useLayoutEffect(e,t)},ne.useMemo=function(e,t){return nt.current.useMemo(e,t)},ne.useReducer=function(e,t,n){return nt.current.useReducer(e,t,n)},ne.useRef=function(e){return nt.current.useRef(e)},ne.useState=function(e){return nt.current.useState(e)},ne.useSyncExternalStore=function(e,t,n){return nt.current.useSyncExternalStore(e,t,n)},ne.useTransition=function(){return nt.current.useTransition()},ne.version="18.3.1",bf.exports=ne;var g=bf.exports;const ee=Di(g);/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-jsx-runtime.production.min.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var km=g,_m=Symbol.for("react.element"),Nm=Symbol.for("react.fragment"),bm=Object.prototype.hasOwnProperty,jm=km.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Tm={key:!0,ref:!0,__self:!0,__source:!0};function Df(e,t,n){var r,i={},o=null,l=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)bm.call(t,r)&&!Tm.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:_m,type:e,key:o,ref:l,props:i,_owner:jm.current}}Jo.Fragment=Nm,Jo.jsx=Df,Jo.jsxs=Df,Nf.exports=Jo;var c=Nf.exports,Pe={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};let Rm=0;function En(e,t){const n=`atom${++Rm}`,r={toString:()=>n};return typeof e=="function"?r.read=e:(r.init=e,r.read=Lm,r.write=Om),t&&(r.write=t),r}function Lm(e){return e(this)}function Om(e,t,n){return t(this,typeof n=="function"?n(e(this)):n)}const ys=(e,t)=>e.unstable_is?e.unstable_is(t):t===e,ws=e=>"init"in e,Es=e=>!!e.write,rl=new WeakMap,Am=(e,t)=>{rl.set(e,t),e.catch(()=>{}).finally(()=>rl.delete(e))},$f=(e,t)=>{const n=rl.get(e);n&&(rl.delete(e),n(t))},Uf=(e,t)=>{e.status="fulfilled",e.value=t},Hf=(e,t)=>{e.status="rejected",e.reason=t},Im=e=>typeof(e==null?void 0:e.then)=="function",Ui=(e,t)=>!!e&&"v"in e&&"v"in t&&Object.is(e.v,t.v),Bf=(e,t)=>!!e&&"e"in e&&"e"in t&&Object.is(e.e,t.e),Vr=e=>!!e&&"v"in e&&e.v instanceof Promise,Mm=(e,t)=>"v"in e&&"v"in t&&e.v.orig&&e.v.orig===t.v.orig,il=e=>{if("e"in e)throw e.e;return e.v},Wf=()=>{const e=new WeakMap,t=new WeakMap,n=[],r=new WeakMap;let i,o;(Pe?"production":void 0)!=="production"&&(i=new Set,o=new Set);const l=S=>e.get(S),a=(S,N)=>{N.d.forEach((b,j)=>{var E;if(!r.has(j)){const x=l(j);(E=n[n.length-1])==null||E.add(j),r.set(j,[x,new Set]),x&&a(j,x)}r.get(j)[1].add(S)})},s=(S,N)=>{var b;(Pe?"production":void 0)!=="production"&&Object.freeze(N);const j=l(S);if(e.set(S,N),r.has(S)||((b=n[n.length-1])==null||b.add(S),r.set(S,[j,new Set]),a(S,N)),Vr(j)){const E="v"in N?N.v instanceof Promise?N.v:Promise.resolve(N.v):Promise.reject(N.e);j.v!==E&&$f(j.v,E)}},u=(S,N,b,j)=>{const E=new Map(j?N.d:null);let x=!1;b.forEach((L,A)=>{!L&&ys(S,A)&&(L=N),L?(E.set(A,L),N.d.get(A)!==L&&(x=!0)):(Pe?"production":void 0)!=="production"&&console.warn("[Bug] atom state not found")}),(x||N.d.size!==E.size)&&(N.d=E)},h=(S,N,b,j)=>{const E=l(S),x={d:(E==null?void 0:E.d)||new Map,v:N};if(b&&u(S,x,b,j),Ui(E,x)&&E.d===x.d)return E;if(Vr(E)&&Vr(x)&&Mm(E,x)){if(E.d===x.d)return E;x.v=E.v}return s(S,x),x},f=(S,N,b,j)=>{if(Im(N)){let E;const x=()=>{const A=l(S);if(!Vr(A)||A.v!==L)return;const z=h(S,L,b);t.has(S)&&A.d!==z.d&&I(S,z,A.d)},L=new Promise((A,z)=>{let M=!1;N.then(T=>{M||(M=!0,Uf(L,T),A(T),x())},T=>{M||(M=!0,Hf(L,T),z(T),x())}),E=T=>{M||(M=!0,T.then(D=>Uf(L,D),D=>Hf(L,D)),A(T))}});return L.orig=N,L.status="pending",Am(L,A=>{A&&E(A),j==null||j()}),h(S,L,b,!0)}return h(S,N,b)},m=(S,N,b)=>{const j=l(S),E={d:(j==null?void 0:j.d)||new Map,e:N};return b&&u(S,E,b),Bf(j,E)&&j.d===E.d?j:(s(S,E),E)},p=(S,N)=>{const b=l(S);if(!N&&b&&(t.has(S)||Array.from(b.d).every(([M,T])=>{if(M===S)return!0;const D=p(M);return D===T||Ui(D,T)})))return b;const j=new Map;let E=!0;const x=M=>{if(ys(S,M)){const D=l(M);if(D)return j.set(M,D),il(D);if(ws(M))return j.set(M,void 0),M.init;throw new Error("no atom init")}const T=p(M);return j.set(M,T),il(T)};let L,A;const z={get signal(){return L||(L=new AbortController),L.signal},get setSelf(){return(Pe?"production":void 0)!=="production"&&!Es(S)&&console.warn("setSelf function cannot be used with read-only atom"),!A&&Es(S)&&(A=(...M)=>{if((Pe?"production":void 0)!=="production"&&E&&console.warn("setSelf function cannot be called in sync"),!E)return v(S,...M)}),A}};try{const M=S.read(x,z);return f(S,M,j,()=>L==null?void 0:L.abort())}catch(M){return m(S,M,j)}finally{E=!1}},w=S=>il(p(S)),C=S=>{const N=L=>{var A,z;const M=new Set((A=t.get(L))==null?void 0:A.t);return(z=r.get(L))==null||z[1].forEach(T=>{M.add(T)}),M},b=new Array,j=new Set,E=L=>{if(!j.has(L)){j.add(L);for(const A of N(L))L!==A&&E(A);b.push(L)}};E(S);const x=new Set([S]);for(let L=b.length-1;L>=0;--L){const A=b[L],z=l(A);if(!z)continue;let M=!1;for(const T of z.d.keys())if(T!==A&&x.has(T)){M=!0;break}if(M){const T=p(A,!0);Ui(z,T)||x.add(A)}}},O=(S,...N)=>{const b=x=>il(p(x)),j=(x,...L)=>{const A=n.length>0;A||n.push(new Set([x]));let z;if(ys(S,x)){if(!ws(x))throw new Error("atom not writable");const M=l(x),T=f(x,L[0]);Ui(M,T)||C(x)}else z=O(x,...L);if(!A){const M=P(n.pop());(Pe?"production":void 0)!=="production"&&i.forEach(T=>T({type:"async-write",flushed:M}))}return z};return S.write(b,j,...N)},v=(S,...N)=>{n.push(new Set([S]));const b=O(S,...N),j=P(n.pop());return(Pe?"production":void 0)!=="production"&&i.forEach(E=>E({type:"write",flushed:j})),b},d=(S,N,b)=>{var j;const E=t.get(S);if(E)return N&&E.t.add(N),E;const x=b||[];(j=l(S))==null||j.d.forEach((A,z)=>{z!==S&&d(z,S,x)}),p(S);const L={t:new Set(N&&[N]),l:new Set};if(t.set(S,L),(Pe?"production":void 0)!=="production"&&o.add(S),Es(S)&&S.onMount){const{onMount:A}=S;x.push(()=>{const z=A((...M)=>v(S,...M));z&&(L.u=z)})}return b||x.forEach(A=>A()),L},y=(S,N)=>!N.l.size&&(!N.t.size||N.t.size===1&&N.t.has(S)),k=(S,N)=>{if(!y(S,N))return;const b=N.u;b&&b(),t.delete(S),(Pe?"production":void 0)!=="production"&&o.delete(S);const j=l(S);j?(Vr(j)&&$f(j.v),j.d.forEach((E,x)=>{if(x!==S){const L=t.get(x);L&&(L.t.delete(S),k(x,L))}})):(Pe?"production":void 0)!=="production"&&console.warn("[Bug] could not find atom state to unmount",S)},I=(S,N,b)=>{const j=new Set(N.d.keys()),E=new Set;b==null||b.forEach((x,L)=>{if(j.has(L)){j.delete(L);return}E.add(L);const A=t.get(L);A&&A.t.delete(S)}),j.forEach(x=>{d(x,S)}),E.forEach(x=>{const L=t.get(x);L&&k(x,L)})},P=S=>{let N;(Pe?"production":void 0)!=="production"&&(N=new Set);const b=[],j=E=>{var x;if(!r.has(E))return;const[L,A]=r.get(E);r.delete(E),b.push([E,L]),A.forEach(j),(x=l(E))==null||x.d.forEach((z,M)=>j(M))};if(S.forEach(j),b.forEach(([E,x])=>{const L=l(E);if(!L){(Pe?"production":void 0)!=="production"&&console.warn("[Bug] no atom state to flush");return}if(L!==x){const A=t.get(E);A&&L.d!==(x==null?void 0:x.d)&&I(E,L,x==null?void 0:x.d),A&&!(!Vr(x)&&(Ui(x,L)||Bf(x,L)))&&(A.l.forEach(z=>z()),(Pe?"production":void 0)!=="production"&&N.add(E))}}),(Pe?"production":void 0)!=="production")return N},R=(S,N)=>{const b=d(S),j=P([S]),E=b.l;return E.add(N),(Pe?"production":void 0)!=="production"&&i.forEach(x=>x({type:"sub",flushed:j})),()=>{E.delete(N),k(S,b),(Pe?"production":void 0)!=="production"&&i.forEach(x=>x({type:"unsub"}))}};return(Pe?"production":void 0)!=="production"?{get:w,set:v,sub:R,dev_subscribe_store:S=>(i.add(S),()=>{i.delete(S)}),dev_get_mounted_atoms:()=>o.values(),dev_get_atom_state:S=>e.get(S),dev_get_mounted:S=>t.get(S),dev_restore_atoms:S=>{n.push(new Set);for(const[b,j]of S)ws(b)&&(f(b,j),C(b));const N=P(n.pop());i.forEach(b=>b({type:"restore",flushed:N}))}}:{get:w,set:v,sub:R}};let Hi;const Pm=()=>(Hi||(Hi=Wf(),(Pe?"production":void 0)!=="production"&&(globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=Hi),globalThis.__JOTAI_DEFAULT_STORE__!==Hi&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"))),Hi),Vf=Wf,zm=Pm;var Fm={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const Kf=g.createContext(void 0),Gf=e=>{const t=g.useContext(Kf);return(e==null?void 0:e.store)||t||zm()},Dm=({children:e,store:t})=>{const n=g.useRef();return!t&&!n.current&&(n.current=Vf()),g.createElement(Kf.Provider,{value:t||n.current},e)},$m=e=>typeof(e==null?void 0:e.then)=="function",Um=ee.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)});function Kr(e,t){const n=Gf(t),[[r,i,o],l]=g.useReducer(u=>{const h=n.get(e);return Object.is(u[0],h)&&u[1]===n&&u[2]===e?u:[h,n,e]},void 0,()=>[n.get(e),n,e]);let a=r;(i!==n||o!==e)&&(l(),a=n.get(e));const s=t==null?void 0:t.delay;return g.useEffect(()=>{const u=n.sub(e,()=>{if(typeof s=="number"){setTimeout(l,s);return}l()});return l(),u},[n,e,s]),g.useDebugValue(a),$m(a)?Um(a):a}function Hm(e,t){const n=Gf(t);return g.useCallback((...i)=>{if((Fm?"production":void 0)!=="production"&&!("write"in e))throw new Error("not writable atom");return n.set(e,...i)},[n,e])}function ol(e,t){return[Kr(e,t),Hm(e,t)]}var Yf={exports:{}},yt={},Qf={exports:{}},Xf={};/**
|
|
18
|
+
* @license React
|
|
19
|
+
* scheduler.production.min.js
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the MIT license found in the
|
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
|
25
|
+
*/(function(e){function t(T,D){var $=T.length;T.push(D);e:for(;0<$;){var Y=$-1>>>1,X=T[Y];if(0<i(X,D))T[Y]=D,T[$]=X,$=Y;else break e}}function n(T){return T.length===0?null:T[0]}function r(T){if(T.length===0)return null;var D=T[0],$=T.pop();if($!==D){T[0]=$;e:for(var Y=0,X=T.length,ie=X>>>1;Y<ie;){var we=2*(Y+1)-1,Se=T[we],de=we+1,pe=T[de];if(0>i(Se,$))de<X&&0>i(pe,Se)?(T[Y]=pe,T[de]=$,Y=de):(T[Y]=Se,T[we]=$,Y=we);else if(de<X&&0>i(pe,$))T[Y]=pe,T[de]=$,Y=de;else break e}}return D}function i(T,D){var $=T.sortIndex-D.sortIndex;return $!==0?$:T.id-D.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,a=l.now();e.unstable_now=function(){return l.now()-a}}var s=[],u=[],h=1,f=null,m=3,p=!1,w=!1,C=!1,O=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(T){for(var D=n(u);D!==null;){if(D.callback===null)r(u);else if(D.startTime<=T)r(u),D.sortIndex=D.expirationTime,t(s,D);else break;D=n(u)}}function k(T){if(C=!1,y(T),!w)if(n(s)!==null)w=!0,z(I);else{var D=n(u);D!==null&&M(k,D.startTime-T)}}function I(T,D){w=!1,C&&(C=!1,v(S),S=-1),p=!0;var $=m;try{for(y(D),f=n(s);f!==null&&(!(f.expirationTime>D)||T&&!j());){var Y=f.callback;if(typeof Y=="function"){f.callback=null,m=f.priorityLevel;var X=Y(f.expirationTime<=D);D=e.unstable_now(),typeof X=="function"?f.callback=X:f===n(s)&&r(s),y(D)}else r(s);f=n(s)}if(f!==null)var ie=!0;else{var we=n(u);we!==null&&M(k,we.startTime-D),ie=!1}return ie}finally{f=null,m=$,p=!1}}var P=!1,R=null,S=-1,N=5,b=-1;function j(){return!(e.unstable_now()-b<N)}function E(){if(R!==null){var T=e.unstable_now();b=T;var D=!0;try{D=R(!0,T)}finally{D?x():(P=!1,R=null)}}else P=!1}var x;if(typeof d=="function")x=function(){d(E)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,A=L.port2;L.port1.onmessage=E,x=function(){A.postMessage(null)}}else x=function(){O(E,0)};function z(T){R=T,P||(P=!0,x())}function M(T,D){S=O(function(){T(e.unstable_now())},D)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(T){T.callback=null},e.unstable_continueExecution=function(){w||p||(w=!0,z(I))},e.unstable_forceFrameRate=function(T){0>T||125<T?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<T?Math.floor(1e3/T):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(T){switch(m){case 1:case 2:case 3:var D=3;break;default:D=m}var $=m;m=D;try{return T()}finally{m=$}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(T,D){switch(T){case 1:case 2:case 3:case 4:case 5:break;default:T=3}var $=m;m=T;try{return D()}finally{m=$}},e.unstable_scheduleCallback=function(T,D,$){var Y=e.unstable_now();switch(typeof $=="object"&&$!==null?($=$.delay,$=typeof $=="number"&&0<$?Y+$:Y):$=Y,T){case 1:var X=-1;break;case 2:X=250;break;case 5:X=1073741823;break;case 4:X=1e4;break;default:X=5e3}return X=$+X,T={id:h++,callback:D,priorityLevel:T,startTime:$,expirationTime:X,sortIndex:-1},$>Y?(T.sortIndex=$,t(u,T),n(s)===null&&T===n(u)&&(C?(v(S),S=-1):C=!0,M(k,$-Y))):(T.sortIndex=X,t(s,T),w||p||(w=!0,z(I))),T},e.unstable_shouldYield=j,e.unstable_wrapCallback=function(T){var D=m;return function(){var $=m;m=D;try{return T.apply(this,arguments)}finally{m=$}}}})(Xf),Qf.exports=Xf;var Bm=Qf.exports;/**
|
|
26
|
+
* @license React
|
|
27
|
+
* react-dom.production.min.js
|
|
28
|
+
*
|
|
29
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the MIT license found in the
|
|
32
|
+
* LICENSE file in the root directory of this source tree.
|
|
33
|
+
*/var Wm=g,wt=Bm;function F(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Zf=new Set,Bi={};function vr(e,t){Gr(e,t),Gr(e+"Capture",t)}function Gr(e,t){for(Bi[e]=t,e=0;e<t.length;e++)Zf.add(t[e])}var Sn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ss=Object.prototype.hasOwnProperty,Vm=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,qf={},Jf={};function Km(e){return Ss.call(Jf,e)?!0:Ss.call(qf,e)?!1:Vm.test(e)?Jf[e]=!0:(qf[e]=!0,!1)}function Gm(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Ym(e,t,n,r){if(t===null||typeof t>"u"||Gm(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function rt(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var Ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ue[e]=new rt(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ue[t]=new rt(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ue[e]=new rt(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ue[e]=new rt(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ue[e]=new rt(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Ue[e]=new rt(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Ue[e]=new rt(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Ue[e]=new rt(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Ue[e]=new rt(e,5,!1,e.toLowerCase(),null,!1,!1)});var xs=/[\-:]([a-z])/g;function Cs(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(xs,Cs);Ue[t]=new rt(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(xs,Cs);Ue[t]=new rt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(xs,Cs);Ue[t]=new rt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Ue[e]=new rt(e,1,!1,e.toLowerCase(),null,!1,!1)}),Ue.xlinkHref=new rt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Ue[e]=new rt(e,1,!1,e.toLowerCase(),null,!0,!0)});function ks(e,t,n,r){var i=Ue.hasOwnProperty(t)?Ue[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Ym(t,n,i,r)&&(n=null),r||i===null?Km(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var xn=Wm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ll=Symbol.for("react.element"),Yr=Symbol.for("react.portal"),Qr=Symbol.for("react.fragment"),_s=Symbol.for("react.strict_mode"),Ns=Symbol.for("react.profiler"),ed=Symbol.for("react.provider"),td=Symbol.for("react.context"),bs=Symbol.for("react.forward_ref"),js=Symbol.for("react.suspense"),Ts=Symbol.for("react.suspense_list"),Rs=Symbol.for("react.memo"),Fn=Symbol.for("react.lazy"),nd=Symbol.for("react.offscreen"),rd=Symbol.iterator;function Wi(e){return e===null||typeof e!="object"?null:(e=rd&&e[rd]||e["@@iterator"],typeof e=="function"?e:null)}var xe=Object.assign,Ls;function Vi(e){if(Ls===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ls=t&&t[1]||""}return`
|
|
34
|
+
`+Ls+e}var Os=!1;function As(e,t){if(!e||Os)return"";Os=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
|
|
35
|
+
`),o=r.stack.split(`
|
|
36
|
+
`),l=i.length-1,a=o.length-1;1<=l&&0<=a&&i[l]!==o[a];)a--;for(;1<=l&&0<=a;l--,a--)if(i[l]!==o[a]){if(l!==1||a!==1)do if(l--,a--,0>a||i[l]!==o[a]){var s=`
|
|
37
|
+
`+i[l].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=l&&0<=a);break}}}finally{Os=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Vi(e):""}function Qm(e){switch(e.tag){case 5:return Vi(e.type);case 16:return Vi("Lazy");case 13:return Vi("Suspense");case 19:return Vi("SuspenseList");case 0:case 2:case 15:return e=As(e.type,!1),e;case 11:return e=As(e.type.render,!1),e;case 1:return e=As(e.type,!0),e;default:return""}}function Is(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Qr:return"Fragment";case Yr:return"Portal";case Ns:return"Profiler";case _s:return"StrictMode";case js:return"Suspense";case Ts:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case td:return(e.displayName||"Context")+".Consumer";case ed:return(e._context.displayName||"Context")+".Provider";case bs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Rs:return t=e.displayName||null,t!==null?t:Is(e.type)||"Memo";case Fn:t=e._payload,e=e._init;try{return Is(e(t))}catch{}}return null}function Xm(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Is(t);case 8:return t===_s?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Dn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function id(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Zm(e){var t=id(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function al(e){e._valueTracker||(e._valueTracker=Zm(e))}function od(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=id(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function sl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ms(e,t){var n=t.checked;return xe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ld(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Dn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function ad(e,t){t=t.checked,t!=null&&ks(e,"checked",t,!1)}function Ps(e,t){ad(e,t);var n=Dn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?zs(e,t.type,n):t.hasOwnProperty("defaultValue")&&zs(e,t.type,Dn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function sd(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function zs(e,t,n){(t!=="number"||sl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ki=Array.isArray;function Xr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Dn(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Fs(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(F(91));return xe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ud(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(F(92));if(Ki(n)){if(1<n.length)throw Error(F(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Dn(n)}}function cd(e,t){var n=Dn(t.value),r=Dn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function fd(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function dd(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ds(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?dd(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ul,hd=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(ul=ul||document.createElement("div"),ul.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ul.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Gi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Yi={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qm=["Webkit","ms","Moz","O"];Object.keys(Yi).forEach(function(e){qm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Yi[t]=Yi[e]})});function pd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Yi.hasOwnProperty(e)&&Yi[e]?(""+t).trim():t+"px"}function vd(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=pd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Jm=xe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function $s(e,t){if(t){if(Jm[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function Us(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Hs=null;function Bs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ws=null,Zr=null,qr=null;function md(e){if(e=go(e)){if(typeof Ws!="function")throw Error(F(280));var t=e.stateNode;t&&(t=Ol(t),Ws(e.stateNode,e.type,t))}}function gd(e){Zr?qr?qr.push(e):qr=[e]:Zr=e}function yd(){if(Zr){var e=Zr,t=qr;if(qr=Zr=null,md(e),t)for(e=0;e<t.length;e++)md(t[e])}}function wd(e,t){return e(t)}function Ed(){}var Vs=!1;function Sd(e,t,n){if(Vs)return e(t,n);Vs=!0;try{return wd(e,t,n)}finally{Vs=!1,(Zr!==null||qr!==null)&&(Ed(),yd())}}function Qi(e,t){var n=e.stateNode;if(n===null)return null;var r=Ol(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(F(231,t,typeof n));return n}var Ks=!1;if(Sn)try{var Xi={};Object.defineProperty(Xi,"passive",{get:function(){Ks=!0}}),window.addEventListener("test",Xi,Xi),window.removeEventListener("test",Xi,Xi)}catch{Ks=!1}function e0(e,t,n,r,i,o,l,a,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(h){this.onError(h)}}var Zi=!1,cl=null,fl=!1,Gs=null,t0={onError:function(e){Zi=!0,cl=e}};function n0(e,t,n,r,i,o,l,a,s){Zi=!1,cl=null,e0.apply(t0,arguments)}function r0(e,t,n,r,i,o,l,a,s){if(n0.apply(this,arguments),Zi){if(Zi){var u=cl;Zi=!1,cl=null}else throw Error(F(198));fl||(fl=!0,Gs=u)}}function mr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function xd(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Cd(e){if(mr(e)!==e)throw Error(F(188))}function i0(e){var t=e.alternate;if(!t){if(t=mr(e),t===null)throw Error(F(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Cd(i),e;if(o===r)return Cd(i),t;o=o.sibling}throw Error(F(188))}if(n.return!==r.return)n=i,r=o;else{for(var l=!1,a=i.child;a;){if(a===n){l=!0,n=i,r=o;break}if(a===r){l=!0,r=i,n=o;break}a=a.sibling}if(!l){for(a=o.child;a;){if(a===n){l=!0,n=o,r=i;break}if(a===r){l=!0,r=o,n=i;break}a=a.sibling}if(!l)throw Error(F(189))}}if(n.alternate!==r)throw Error(F(190))}if(n.tag!==3)throw Error(F(188));return n.stateNode.current===n?e:t}function kd(e){return e=i0(e),e!==null?_d(e):null}function _d(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=_d(e);if(t!==null)return t;e=e.sibling}return null}var Nd=wt.unstable_scheduleCallback,bd=wt.unstable_cancelCallback,o0=wt.unstable_shouldYield,l0=wt.unstable_requestPaint,be=wt.unstable_now,a0=wt.unstable_getCurrentPriorityLevel,Ys=wt.unstable_ImmediatePriority,jd=wt.unstable_UserBlockingPriority,dl=wt.unstable_NormalPriority,s0=wt.unstable_LowPriority,Td=wt.unstable_IdlePriority,hl=null,un=null;function u0(e){if(un&&typeof un.onCommitFiberRoot=="function")try{un.onCommitFiberRoot(hl,e,void 0,(e.current.flags&128)===128)}catch{}}var Gt=Math.clz32?Math.clz32:d0,c0=Math.log,f0=Math.LN2;function d0(e){return e>>>=0,e===0?32:31-(c0(e)/f0|0)|0}var pl=64,vl=4194304;function qi(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ml(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var a=l&~i;a!==0?r=qi(a):(o&=l,o!==0&&(r=qi(o)))}else l=n&~i,l!==0?r=qi(l):o!==0&&(r=qi(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Gt(t),i=1<<n,r|=e[n],t&=~i;return r}function h0(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function p0(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-Gt(o),a=1<<l,s=i[l];s===-1?(!(a&n)||a&r)&&(i[l]=h0(a,t)):s<=t&&(e.expiredLanes|=a),o&=~a}}function Qs(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Rd(){var e=pl;return pl<<=1,!(pl&4194240)&&(pl=64),e}function Xs(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ji(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Gt(t),e[t]=n}function v0(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-Gt(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Zs(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Gt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var se=0;function Ld(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Od,qs,Ad,Id,Md,Js=!1,gl=[],$n=null,Un=null,Hn=null,eo=new Map,to=new Map,Bn=[],m0="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Pd(e,t){switch(e){case"focusin":case"focusout":$n=null;break;case"dragenter":case"dragleave":Un=null;break;case"mouseover":case"mouseout":Hn=null;break;case"pointerover":case"pointerout":eo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":to.delete(t.pointerId)}}function no(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=go(t),t!==null&&qs(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function g0(e,t,n,r,i){switch(t){case"focusin":return $n=no($n,e,t,n,r,i),!0;case"dragenter":return Un=no(Un,e,t,n,r,i),!0;case"mouseover":return Hn=no(Hn,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return eo.set(o,no(eo.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,to.set(o,no(to.get(o)||null,e,t,n,r,i)),!0}return!1}function zd(e){var t=gr(e.target);if(t!==null){var n=mr(t);if(n!==null){if(t=n.tag,t===13){if(t=xd(n),t!==null){e.blockedOn=t,Md(e.priority,function(){Ad(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function yl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=tu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Hs=r,n.target.dispatchEvent(r),Hs=null}else return t=go(n),t!==null&&qs(t),e.blockedOn=n,!1;t.shift()}return!0}function Fd(e,t,n){yl(e)&&n.delete(t)}function y0(){Js=!1,$n!==null&&yl($n)&&($n=null),Un!==null&&yl(Un)&&(Un=null),Hn!==null&&yl(Hn)&&(Hn=null),eo.forEach(Fd),to.forEach(Fd)}function ro(e,t){e.blockedOn===t&&(e.blockedOn=null,Js||(Js=!0,wt.unstable_scheduleCallback(wt.unstable_NormalPriority,y0)))}function io(e){function t(i){return ro(i,e)}if(0<gl.length){ro(gl[0],e);for(var n=1;n<gl.length;n++){var r=gl[n];r.blockedOn===e&&(r.blockedOn=null)}}for($n!==null&&ro($n,e),Un!==null&&ro(Un,e),Hn!==null&&ro(Hn,e),eo.forEach(t),to.forEach(t),n=0;n<Bn.length;n++)r=Bn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Bn.length&&(n=Bn[0],n.blockedOn===null);)zd(n),n.blockedOn===null&&Bn.shift()}var Jr=xn.ReactCurrentBatchConfig,wl=!0;function w0(e,t,n,r){var i=se,o=Jr.transition;Jr.transition=null;try{se=1,eu(e,t,n,r)}finally{se=i,Jr.transition=o}}function E0(e,t,n,r){var i=se,o=Jr.transition;Jr.transition=null;try{se=4,eu(e,t,n,r)}finally{se=i,Jr.transition=o}}function eu(e,t,n,r){if(wl){var i=tu(e,t,n,r);if(i===null)yu(e,t,r,El,n),Pd(e,r);else if(g0(i,e,t,n,r))r.stopPropagation();else if(Pd(e,r),t&4&&-1<m0.indexOf(e)){for(;i!==null;){var o=go(i);if(o!==null&&Od(o),o=tu(e,t,n,r),o===null&&yu(e,t,r,El,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else yu(e,t,r,null,n)}}var El=null;function tu(e,t,n,r){if(El=null,e=Bs(r),e=gr(e),e!==null)if(t=mr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=xd(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return El=e,null}function Dd(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(a0()){case Ys:return 1;case jd:return 4;case dl:case s0:return 16;case Td:return 536870912;default:return 16}default:return 16}}var Wn=null,nu=null,Sl=null;function $d(){if(Sl)return Sl;var e,t=nu,n=t.length,r,i="value"in Wn?Wn.value:Wn.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var l=n-e;for(r=1;r<=l&&t[n-r]===i[o-r];r++);return Sl=i.slice(e,1<r?1-r:void 0)}function xl(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Cl(){return!0}function Ud(){return!1}function Et(e){function t(n,r,i,o,l){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=l,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(o):o[a]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Cl:Ud,this.isPropagationStopped=Ud,this}return xe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Cl)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Cl)},persist:function(){},isPersistent:Cl}),t}var ei={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ru=Et(ei),oo=xe({},ei,{view:0,detail:0}),S0=Et(oo),iu,ou,lo,kl=xe({},oo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:au,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==lo&&(lo&&e.type==="mousemove"?(iu=e.screenX-lo.screenX,ou=e.screenY-lo.screenY):ou=iu=0,lo=e),iu)},movementY:function(e){return"movementY"in e?e.movementY:ou}}),Hd=Et(kl),x0=xe({},kl,{dataTransfer:0}),C0=Et(x0),k0=xe({},oo,{relatedTarget:0}),lu=Et(k0),_0=xe({},ei,{animationName:0,elapsedTime:0,pseudoElement:0}),N0=Et(_0),b0=xe({},ei,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),j0=Et(b0),T0=xe({},ei,{data:0}),Bd=Et(T0),R0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},L0={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},O0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function A0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=O0[e])?!!t[e]:!1}function au(){return A0}var I0=xe({},oo,{key:function(e){if(e.key){var t=R0[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=xl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?L0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:au,charCode:function(e){return e.type==="keypress"?xl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?xl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),M0=Et(I0),P0=xe({},kl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wd=Et(P0),z0=xe({},oo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:au}),F0=Et(z0),D0=xe({},ei,{propertyName:0,elapsedTime:0,pseudoElement:0}),$0=Et(D0),U0=xe({},kl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),H0=Et(U0),B0=[9,13,27,32],su=Sn&&"CompositionEvent"in window,ao=null;Sn&&"documentMode"in document&&(ao=document.documentMode);var W0=Sn&&"TextEvent"in window&&!ao,Vd=Sn&&(!su||ao&&8<ao&&11>=ao),Kd=" ",Gd=!1;function Yd(e,t){switch(e){case"keyup":return B0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ti=!1;function V0(e,t){switch(e){case"compositionend":return Qd(t);case"keypress":return t.which!==32?null:(Gd=!0,Kd);case"textInput":return e=t.data,e===Kd&&Gd?null:e;default:return null}}function K0(e,t){if(ti)return e==="compositionend"||!su&&Yd(e,t)?(e=$d(),Sl=nu=Wn=null,ti=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Vd&&t.locale!=="ko"?null:t.data;default:return null}}var G0={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Xd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!G0[e.type]:t==="textarea"}function Zd(e,t,n,r){gd(r),t=Tl(t,"onChange"),0<t.length&&(n=new ru("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var so=null,uo=null;function Y0(e){vh(e,0)}function _l(e){var t=li(e);if(od(t))return e}function Q0(e,t){if(e==="change")return t}var qd=!1;if(Sn){var uu;if(Sn){var cu="oninput"in document;if(!cu){var Jd=document.createElement("div");Jd.setAttribute("oninput","return;"),cu=typeof Jd.oninput=="function"}uu=cu}else uu=!1;qd=uu&&(!document.documentMode||9<document.documentMode)}function eh(){so&&(so.detachEvent("onpropertychange",th),uo=so=null)}function th(e){if(e.propertyName==="value"&&_l(uo)){var t=[];Zd(t,uo,e,Bs(e)),Sd(Y0,t)}}function X0(e,t,n){e==="focusin"?(eh(),so=t,uo=n,so.attachEvent("onpropertychange",th)):e==="focusout"&&eh()}function Z0(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return _l(uo)}function q0(e,t){if(e==="click")return _l(t)}function J0(e,t){if(e==="input"||e==="change")return _l(t)}function eg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Yt=typeof Object.is=="function"?Object.is:eg;function co(e,t){if(Yt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Ss.call(t,i)||!Yt(e[i],t[i]))return!1}return!0}function nh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function rh(e,t){var n=nh(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=nh(n)}}function ih(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ih(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function oh(){for(var e=window,t=sl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=sl(e.document)}return t}function fu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function tg(e){var t=oh(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ih(n.ownerDocument.documentElement,n)){if(r!==null&&fu(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=rh(n,o);var l=rh(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var ng=Sn&&"documentMode"in document&&11>=document.documentMode,ni=null,du=null,fo=null,hu=!1;function lh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;hu||ni==null||ni!==sl(r)||(r=ni,"selectionStart"in r&&fu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),fo&&co(fo,r)||(fo=r,r=Tl(du,"onSelect"),0<r.length&&(t=new ru("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ni)))}function Nl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ri={animationend:Nl("Animation","AnimationEnd"),animationiteration:Nl("Animation","AnimationIteration"),animationstart:Nl("Animation","AnimationStart"),transitionend:Nl("Transition","TransitionEnd")},pu={},ah={};Sn&&(ah=document.createElement("div").style,"AnimationEvent"in window||(delete ri.animationend.animation,delete ri.animationiteration.animation,delete ri.animationstart.animation),"TransitionEvent"in window||delete ri.transitionend.transition);function bl(e){if(pu[e])return pu[e];if(!ri[e])return e;var t=ri[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ah)return pu[e]=t[n];return e}var sh=bl("animationend"),uh=bl("animationiteration"),ch=bl("animationstart"),fh=bl("transitionend"),dh=new Map,hh="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Vn(e,t){dh.set(e,t),vr(t,[e])}for(var vu=0;vu<hh.length;vu++){var mu=hh[vu],rg=mu.toLowerCase(),ig=mu[0].toUpperCase()+mu.slice(1);Vn(rg,"on"+ig)}Vn(sh,"onAnimationEnd"),Vn(uh,"onAnimationIteration"),Vn(ch,"onAnimationStart"),Vn("dblclick","onDoubleClick"),Vn("focusin","onFocus"),Vn("focusout","onBlur"),Vn(fh,"onTransitionEnd"),Gr("onMouseEnter",["mouseout","mouseover"]),Gr("onMouseLeave",["mouseout","mouseover"]),Gr("onPointerEnter",["pointerout","pointerover"]),Gr("onPointerLeave",["pointerout","pointerover"]),vr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),vr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),vr("onBeforeInput",["compositionend","keypress","textInput","paste"]),vr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),vr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),vr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ho="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),og=new Set("cancel close invalid load scroll toggle".split(" ").concat(ho));function ph(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,r0(r,t,void 0,e),e.currentTarget=null}function vh(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var l=r.length-1;0<=l;l--){var a=r[l],s=a.instance,u=a.currentTarget;if(a=a.listener,s!==o&&i.isPropagationStopped())break e;ph(i,a,u),o=s}else for(l=0;l<r.length;l++){if(a=r[l],s=a.instance,u=a.currentTarget,a=a.listener,s!==o&&i.isPropagationStopped())break e;ph(i,a,u),o=s}}}if(fl)throw e=Gs,fl=!1,Gs=null,e}function ge(e,t){var n=t[ku];n===void 0&&(n=t[ku]=new Set);var r=e+"__bubble";n.has(r)||(mh(t,e,2,!1),n.add(r))}function gu(e,t,n){var r=0;t&&(r|=4),mh(n,e,r,t)}var jl="_reactListening"+Math.random().toString(36).slice(2);function po(e){if(!e[jl]){e[jl]=!0,Zf.forEach(function(n){n!=="selectionchange"&&(og.has(n)||gu(n,!1,e),gu(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[jl]||(t[jl]=!0,gu("selectionchange",!1,t))}}function mh(e,t,n,r){switch(Dd(t)){case 1:var i=w0;break;case 4:i=E0;break;default:i=eu}n=i.bind(null,t,n,e),i=void 0,!Ks||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function yu(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var a=r.stateNode.containerInfo;if(a===i||a.nodeType===8&&a.parentNode===i)break;if(l===4)for(l=r.return;l!==null;){var s=l.tag;if((s===3||s===4)&&(s=l.stateNode.containerInfo,s===i||s.nodeType===8&&s.parentNode===i))return;l=l.return}for(;a!==null;){if(l=gr(a),l===null)return;if(s=l.tag,s===5||s===6){r=o=l;continue e}a=a.parentNode}}r=r.return}Sd(function(){var u=o,h=Bs(n),f=[];e:{var m=dh.get(e);if(m!==void 0){var p=ru,w=e;switch(e){case"keypress":if(xl(n)===0)break e;case"keydown":case"keyup":p=M0;break;case"focusin":w="focus",p=lu;break;case"focusout":w="blur",p=lu;break;case"beforeblur":case"afterblur":p=lu;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=Hd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=C0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=F0;break;case sh:case uh:case ch:p=N0;break;case fh:p=$0;break;case"scroll":p=S0;break;case"wheel":p=H0;break;case"copy":case"cut":case"paste":p=j0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Wd}var C=(t&4)!==0,O=!C&&e==="scroll",v=C?m!==null?m+"Capture":null:m;C=[];for(var d=u,y;d!==null;){y=d;var k=y.stateNode;if(y.tag===5&&k!==null&&(y=k,v!==null&&(k=Qi(d,v),k!=null&&C.push(vo(d,k,y)))),O)break;d=d.return}0<C.length&&(m=new p(m,w,null,n,h),f.push({event:m,listeners:C}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",m&&n!==Hs&&(w=n.relatedTarget||n.fromElement)&&(gr(w)||w[Cn]))break e;if((p||m)&&(m=h.window===h?h:(m=h.ownerDocument)?m.defaultView||m.parentWindow:window,p?(w=n.relatedTarget||n.toElement,p=u,w=w?gr(w):null,w!==null&&(O=mr(w),w!==O||w.tag!==5&&w.tag!==6)&&(w=null)):(p=null,w=u),p!==w)){if(C=Hd,k="onMouseLeave",v="onMouseEnter",d="mouse",(e==="pointerout"||e==="pointerover")&&(C=Wd,k="onPointerLeave",v="onPointerEnter",d="pointer"),O=p==null?m:li(p),y=w==null?m:li(w),m=new C(k,d+"leave",p,n,h),m.target=O,m.relatedTarget=y,k=null,gr(h)===u&&(C=new C(v,d+"enter",w,n,h),C.target=y,C.relatedTarget=O,k=C),O=k,p&&w)t:{for(C=p,v=w,d=0,y=C;y;y=ii(y))d++;for(y=0,k=v;k;k=ii(k))y++;for(;0<d-y;)C=ii(C),d--;for(;0<y-d;)v=ii(v),y--;for(;d--;){if(C===v||v!==null&&C===v.alternate)break t;C=ii(C),v=ii(v)}C=null}else C=null;p!==null&&gh(f,m,p,C,!1),w!==null&&O!==null&&gh(f,O,w,C,!0)}}e:{if(m=u?li(u):window,p=m.nodeName&&m.nodeName.toLowerCase(),p==="select"||p==="input"&&m.type==="file")var I=Q0;else if(Xd(m))if(qd)I=J0;else{I=Z0;var P=X0}else(p=m.nodeName)&&p.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(I=q0);if(I&&(I=I(e,u))){Zd(f,I,n,h);break e}P&&P(e,m,u),e==="focusout"&&(P=m._wrapperState)&&P.controlled&&m.type==="number"&&zs(m,"number",m.value)}switch(P=u?li(u):window,e){case"focusin":(Xd(P)||P.contentEditable==="true")&&(ni=P,du=u,fo=null);break;case"focusout":fo=du=ni=null;break;case"mousedown":hu=!0;break;case"contextmenu":case"mouseup":case"dragend":hu=!1,lh(f,n,h);break;case"selectionchange":if(ng)break;case"keydown":case"keyup":lh(f,n,h)}var R;if(su)e:{switch(e){case"compositionstart":var S="onCompositionStart";break e;case"compositionend":S="onCompositionEnd";break e;case"compositionupdate":S="onCompositionUpdate";break e}S=void 0}else ti?Yd(e,n)&&(S="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(S="onCompositionStart");S&&(Vd&&n.locale!=="ko"&&(ti||S!=="onCompositionStart"?S==="onCompositionEnd"&&ti&&(R=$d()):(Wn=h,nu="value"in Wn?Wn.value:Wn.textContent,ti=!0)),P=Tl(u,S),0<P.length&&(S=new Bd(S,e,null,n,h),f.push({event:S,listeners:P}),R?S.data=R:(R=Qd(n),R!==null&&(S.data=R)))),(R=W0?V0(e,n):K0(e,n))&&(u=Tl(u,"onBeforeInput"),0<u.length&&(h=new Bd("onBeforeInput","beforeinput",null,n,h),f.push({event:h,listeners:u}),h.data=R))}vh(f,t)})}function vo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Tl(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Qi(e,n),o!=null&&r.unshift(vo(e,o,i)),o=Qi(e,t),o!=null&&r.push(vo(e,o,i))),e=e.return}return r}function ii(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function gh(e,t,n,r,i){for(var o=t._reactName,l=[];n!==null&&n!==r;){var a=n,s=a.alternate,u=a.stateNode;if(s!==null&&s===r)break;a.tag===5&&u!==null&&(a=u,i?(s=Qi(n,o),s!=null&&l.unshift(vo(n,s,a))):i||(s=Qi(n,o),s!=null&&l.push(vo(n,s,a)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}var lg=/\r\n?/g,ag=/\u0000|\uFFFD/g;function yh(e){return(typeof e=="string"?e:""+e).replace(lg,`
|
|
38
|
+
`).replace(ag,"")}function Rl(e,t,n){if(t=yh(t),yh(e)!==t&&n)throw Error(F(425))}function Ll(){}var wu=null,Eu=null;function Su(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var xu=typeof setTimeout=="function"?setTimeout:void 0,sg=typeof clearTimeout=="function"?clearTimeout:void 0,wh=typeof Promise=="function"?Promise:void 0,ug=typeof queueMicrotask=="function"?queueMicrotask:typeof wh<"u"?function(e){return wh.resolve(null).then(e).catch(cg)}:xu;function cg(e){setTimeout(function(){throw e})}function Cu(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),io(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);io(t)}function Kn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Eh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var oi=Math.random().toString(36).slice(2),cn="__reactFiber$"+oi,mo="__reactProps$"+oi,Cn="__reactContainer$"+oi,ku="__reactEvents$"+oi,fg="__reactListeners$"+oi,dg="__reactHandles$"+oi;function gr(e){var t=e[cn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Cn]||n[cn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Eh(e);e!==null;){if(n=e[cn])return n;e=Eh(e)}return t}e=n,n=e.parentNode}return null}function go(e){return e=e[cn]||e[Cn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function li(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(F(33))}function Ol(e){return e[mo]||null}var _u=[],ai=-1;function Gn(e){return{current:e}}function ye(e){0>ai||(e.current=_u[ai],_u[ai]=null,ai--)}function he(e,t){ai++,_u[ai]=e.current,e.current=t}var Yn={},Ge=Gn(Yn),ct=Gn(!1),yr=Yn;function si(e,t){var n=e.type.contextTypes;if(!n)return Yn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ft(e){return e=e.childContextTypes,e!=null}function Al(){ye(ct),ye(Ge)}function Sh(e,t,n){if(Ge.current!==Yn)throw Error(F(168));he(Ge,t),he(ct,n)}function xh(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(F(108,Xm(e)||"Unknown",i));return xe({},n,r)}function Il(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Yn,yr=Ge.current,he(Ge,e),he(ct,ct.current),!0}function Ch(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=xh(e,t,yr),r.__reactInternalMemoizedMergedChildContext=e,ye(ct),ye(Ge),he(Ge,e)):ye(ct),he(ct,n)}var kn=null,Ml=!1,Nu=!1;function kh(e){kn===null?kn=[e]:kn.push(e)}function hg(e){Ml=!0,kh(e)}function Qn(){if(!Nu&&kn!==null){Nu=!0;var e=0,t=se;try{var n=kn;for(se=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}kn=null,Ml=!1}catch(i){throw kn!==null&&(kn=kn.slice(e+1)),Nd(Ys,Qn),i}finally{se=t,Nu=!1}}return null}var ui=[],ci=0,Pl=null,zl=0,Rt=[],Lt=0,wr=null,_n=1,Nn="";function Er(e,t){ui[ci++]=zl,ui[ci++]=Pl,Pl=e,zl=t}function _h(e,t,n){Rt[Lt++]=_n,Rt[Lt++]=Nn,Rt[Lt++]=wr,wr=e;var r=_n;e=Nn;var i=32-Gt(r)-1;r&=~(1<<i),n+=1;var o=32-Gt(t)+i;if(30<o){var l=i-i%5;o=(r&(1<<l)-1).toString(32),r>>=l,i-=l,_n=1<<32-Gt(t)+i|n<<i|r,Nn=o+e}else _n=1<<o|n<<i|r,Nn=e}function bu(e){e.return!==null&&(Er(e,1),_h(e,1,0))}function ju(e){for(;e===Pl;)Pl=ui[--ci],ui[ci]=null,zl=ui[--ci],ui[ci]=null;for(;e===wr;)wr=Rt[--Lt],Rt[Lt]=null,Nn=Rt[--Lt],Rt[Lt]=null,_n=Rt[--Lt],Rt[Lt]=null}var St=null,xt=null,Ee=!1,Qt=null;function Nh(e,t){var n=Mt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function bh(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,St=e,xt=Kn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,St=e,xt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=wr!==null?{id:_n,overflow:Nn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Mt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,St=e,xt=null,!0):!1;default:return!1}}function Tu(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ru(e){if(Ee){var t=xt;if(t){var n=t;if(!bh(e,t)){if(Tu(e))throw Error(F(418));t=Kn(n.nextSibling);var r=St;t&&bh(e,t)?Nh(r,n):(e.flags=e.flags&-4097|2,Ee=!1,St=e)}}else{if(Tu(e))throw Error(F(418));e.flags=e.flags&-4097|2,Ee=!1,St=e}}}function jh(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;St=e}function Fl(e){if(e!==St)return!1;if(!Ee)return jh(e),Ee=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Su(e.type,e.memoizedProps)),t&&(t=xt)){if(Tu(e))throw Th(),Error(F(418));for(;t;)Nh(e,t),t=Kn(t.nextSibling)}if(jh(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(F(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){xt=Kn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}xt=null}}else xt=St?Kn(e.stateNode.nextSibling):null;return!0}function Th(){for(var e=xt;e;)e=Kn(e.nextSibling)}function fi(){xt=St=null,Ee=!1}function Lu(e){Qt===null?Qt=[e]:Qt.push(e)}var pg=xn.ReactCurrentBatchConfig;function yo(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(F(309));var r=n.stateNode}if(!r)throw Error(F(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(l){var a=i.refs;l===null?delete a[o]:a[o]=l},t._stringRef=o,t)}if(typeof e!="string")throw Error(F(284));if(!n._owner)throw Error(F(290,e))}return e}function Dl(e,t){throw e=Object.prototype.toString.call(t),Error(F(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Rh(e){var t=e._init;return t(e._payload)}function Lh(e){function t(v,d){if(e){var y=v.deletions;y===null?(v.deletions=[d],v.flags|=16):y.push(d)}}function n(v,d){if(!e)return null;for(;d!==null;)t(v,d),d=d.sibling;return null}function r(v,d){for(v=new Map;d!==null;)d.key!==null?v.set(d.key,d):v.set(d.index,d),d=d.sibling;return v}function i(v,d){return v=rr(v,d),v.index=0,v.sibling=null,v}function o(v,d,y){return v.index=y,e?(y=v.alternate,y!==null?(y=y.index,y<d?(v.flags|=2,d):y):(v.flags|=2,d)):(v.flags|=1048576,d)}function l(v){return e&&v.alternate===null&&(v.flags|=2),v}function a(v,d,y,k){return d===null||d.tag!==6?(d=xc(y,v.mode,k),d.return=v,d):(d=i(d,y),d.return=v,d)}function s(v,d,y,k){var I=y.type;return I===Qr?h(v,d,y.props.children,k,y.key):d!==null&&(d.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===Fn&&Rh(I)===d.type)?(k=i(d,y.props),k.ref=yo(v,d,y),k.return=v,k):(k=ua(y.type,y.key,y.props,null,v.mode,k),k.ref=yo(v,d,y),k.return=v,k)}function u(v,d,y,k){return d===null||d.tag!==4||d.stateNode.containerInfo!==y.containerInfo||d.stateNode.implementation!==y.implementation?(d=Cc(y,v.mode,k),d.return=v,d):(d=i(d,y.children||[]),d.return=v,d)}function h(v,d,y,k,I){return d===null||d.tag!==7?(d=jr(y,v.mode,k,I),d.return=v,d):(d=i(d,y),d.return=v,d)}function f(v,d,y){if(typeof d=="string"&&d!==""||typeof d=="number")return d=xc(""+d,v.mode,y),d.return=v,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case ll:return y=ua(d.type,d.key,d.props,null,v.mode,y),y.ref=yo(v,null,d),y.return=v,y;case Yr:return d=Cc(d,v.mode,y),d.return=v,d;case Fn:var k=d._init;return f(v,k(d._payload),y)}if(Ki(d)||Wi(d))return d=jr(d,v.mode,y,null),d.return=v,d;Dl(v,d)}return null}function m(v,d,y,k){var I=d!==null?d.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return I!==null?null:a(v,d,""+y,k);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case ll:return y.key===I?s(v,d,y,k):null;case Yr:return y.key===I?u(v,d,y,k):null;case Fn:return I=y._init,m(v,d,I(y._payload),k)}if(Ki(y)||Wi(y))return I!==null?null:h(v,d,y,k,null);Dl(v,y)}return null}function p(v,d,y,k,I){if(typeof k=="string"&&k!==""||typeof k=="number")return v=v.get(y)||null,a(d,v,""+k,I);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case ll:return v=v.get(k.key===null?y:k.key)||null,s(d,v,k,I);case Yr:return v=v.get(k.key===null?y:k.key)||null,u(d,v,k,I);case Fn:var P=k._init;return p(v,d,y,P(k._payload),I)}if(Ki(k)||Wi(k))return v=v.get(y)||null,h(d,v,k,I,null);Dl(d,k)}return null}function w(v,d,y,k){for(var I=null,P=null,R=d,S=d=0,N=null;R!==null&&S<y.length;S++){R.index>S?(N=R,R=null):N=R.sibling;var b=m(v,R,y[S],k);if(b===null){R===null&&(R=N);break}e&&R&&b.alternate===null&&t(v,R),d=o(b,d,S),P===null?I=b:P.sibling=b,P=b,R=N}if(S===y.length)return n(v,R),Ee&&Er(v,S),I;if(R===null){for(;S<y.length;S++)R=f(v,y[S],k),R!==null&&(d=o(R,d,S),P===null?I=R:P.sibling=R,P=R);return Ee&&Er(v,S),I}for(R=r(v,R);S<y.length;S++)N=p(R,v,S,y[S],k),N!==null&&(e&&N.alternate!==null&&R.delete(N.key===null?S:N.key),d=o(N,d,S),P===null?I=N:P.sibling=N,P=N);return e&&R.forEach(function(j){return t(v,j)}),Ee&&Er(v,S),I}function C(v,d,y,k){var I=Wi(y);if(typeof I!="function")throw Error(F(150));if(y=I.call(y),y==null)throw Error(F(151));for(var P=I=null,R=d,S=d=0,N=null,b=y.next();R!==null&&!b.done;S++,b=y.next()){R.index>S?(N=R,R=null):N=R.sibling;var j=m(v,R,b.value,k);if(j===null){R===null&&(R=N);break}e&&R&&j.alternate===null&&t(v,R),d=o(j,d,S),P===null?I=j:P.sibling=j,P=j,R=N}if(b.done)return n(v,R),Ee&&Er(v,S),I;if(R===null){for(;!b.done;S++,b=y.next())b=f(v,b.value,k),b!==null&&(d=o(b,d,S),P===null?I=b:P.sibling=b,P=b);return Ee&&Er(v,S),I}for(R=r(v,R);!b.done;S++,b=y.next())b=p(R,v,S,b.value,k),b!==null&&(e&&b.alternate!==null&&R.delete(b.key===null?S:b.key),d=o(b,d,S),P===null?I=b:P.sibling=b,P=b);return e&&R.forEach(function(E){return t(v,E)}),Ee&&Er(v,S),I}function O(v,d,y,k){if(typeof y=="object"&&y!==null&&y.type===Qr&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case ll:e:{for(var I=y.key,P=d;P!==null;){if(P.key===I){if(I=y.type,I===Qr){if(P.tag===7){n(v,P.sibling),d=i(P,y.props.children),d.return=v,v=d;break e}}else if(P.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===Fn&&Rh(I)===P.type){n(v,P.sibling),d=i(P,y.props),d.ref=yo(v,P,y),d.return=v,v=d;break e}n(v,P);break}else t(v,P);P=P.sibling}y.type===Qr?(d=jr(y.props.children,v.mode,k,y.key),d.return=v,v=d):(k=ua(y.type,y.key,y.props,null,v.mode,k),k.ref=yo(v,d,y),k.return=v,v=k)}return l(v);case Yr:e:{for(P=y.key;d!==null;){if(d.key===P)if(d.tag===4&&d.stateNode.containerInfo===y.containerInfo&&d.stateNode.implementation===y.implementation){n(v,d.sibling),d=i(d,y.children||[]),d.return=v,v=d;break e}else{n(v,d);break}else t(v,d);d=d.sibling}d=Cc(y,v.mode,k),d.return=v,v=d}return l(v);case Fn:return P=y._init,O(v,d,P(y._payload),k)}if(Ki(y))return w(v,d,y,k);if(Wi(y))return C(v,d,y,k);Dl(v,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,d!==null&&d.tag===6?(n(v,d.sibling),d=i(d,y),d.return=v,v=d):(n(v,d),d=xc(y,v.mode,k),d.return=v,v=d),l(v)):n(v,d)}return O}var di=Lh(!0),Oh=Lh(!1),$l=Gn(null),Ul=null,hi=null,Ou=null;function Au(){Ou=hi=Ul=null}function Iu(e){var t=$l.current;ye($l),e._currentValue=t}function Mu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function pi(e,t){Ul=e,Ou=hi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(dt=!0),e.firstContext=null)}function Ot(e){var t=e._currentValue;if(Ou!==e)if(e={context:e,memoizedValue:t,next:null},hi===null){if(Ul===null)throw Error(F(308));hi=e,Ul.dependencies={lanes:0,firstContext:e}}else hi=hi.next=e;return t}var Sr=null;function Pu(e){Sr===null?Sr=[e]:Sr.push(e)}function Ah(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Pu(t)):(n.next=i.next,i.next=n),t.interleaved=n,bn(e,r)}function bn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Xn=!1;function zu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ih(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function jn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Zn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,oe&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,bn(e,n)}return i=r.interleaved,i===null?(t.next=t,Pu(r)):(t.next=i.next,i.next=t),r.interleaved=t,bn(e,n)}function Hl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Zs(e,n)}}function Mh(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=l:o=o.next=l,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Bl(e,t,n,r){var i=e.updateQueue;Xn=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var s=a,u=s.next;s.next=null,l===null?o=u:l.next=u,l=s;var h=e.alternate;h!==null&&(h=h.updateQueue,a=h.lastBaseUpdate,a!==l&&(a===null?h.firstBaseUpdate=u:a.next=u,h.lastBaseUpdate=s))}if(o!==null){var f=i.baseState;l=0,h=u=s=null,a=o;do{var m=a.lane,p=a.eventTime;if((r&m)===m){h!==null&&(h=h.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var w=e,C=a;switch(m=t,p=n,C.tag){case 1:if(w=C.payload,typeof w=="function"){f=w.call(p,f,m);break e}f=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=C.payload,m=typeof w=="function"?w.call(p,f,m):w,m==null)break e;f=xe({},f,m);break e;case 2:Xn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,m=i.effects,m===null?i.effects=[a]:m.push(a))}else p={eventTime:p,lane:m,tag:a.tag,payload:a.payload,callback:a.callback,next:null},h===null?(u=h=p,s=f):h=h.next=p,l|=m;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;m=a,a=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(!0);if(h===null&&(s=f),i.baseState=s,i.firstBaseUpdate=u,i.lastBaseUpdate=h,t=i.shared.interleaved,t!==null){i=t;do l|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);kr|=l,e.lanes=l,e.memoizedState=f}}function Ph(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(F(191,i));i.call(r)}}}var wo={},fn=Gn(wo),Eo=Gn(wo),So=Gn(wo);function xr(e){if(e===wo)throw Error(F(174));return e}function Fu(e,t){switch(he(So,t),he(Eo,e),he(fn,wo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ds(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ds(t,e)}ye(fn),he(fn,t)}function vi(){ye(fn),ye(Eo),ye(So)}function zh(e){xr(So.current);var t=xr(fn.current),n=Ds(t,e.type);t!==n&&(he(Eo,e),he(fn,n))}function Du(e){Eo.current===e&&(ye(fn),ye(Eo))}var Ce=Gn(0);function Wl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var $u=[];function Uu(){for(var e=0;e<$u.length;e++)$u[e]._workInProgressVersionPrimary=null;$u.length=0}var Vl=xn.ReactCurrentDispatcher,Hu=xn.ReactCurrentBatchConfig,Cr=0,ke=null,Ie=null,ze=null,Kl=!1,xo=!1,Co=0,vg=0;function Ye(){throw Error(F(321))}function Bu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Yt(e[n],t[n]))return!1;return!0}function Wu(e,t,n,r,i,o){if(Cr=o,ke=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Vl.current=e===null||e.memoizedState===null?wg:Eg,e=n(r,i),xo){o=0;do{if(xo=!1,Co=0,25<=o)throw Error(F(301));o+=1,ze=Ie=null,t.updateQueue=null,Vl.current=Sg,e=n(r,i)}while(xo)}if(Vl.current=Ql,t=Ie!==null&&Ie.next!==null,Cr=0,ze=Ie=ke=null,Kl=!1,t)throw Error(F(300));return e}function Vu(){var e=Co!==0;return Co=0,e}function dn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ze===null?ke.memoizedState=ze=e:ze=ze.next=e,ze}function At(){if(Ie===null){var e=ke.alternate;e=e!==null?e.memoizedState:null}else e=Ie.next;var t=ze===null?ke.memoizedState:ze.next;if(t!==null)ze=t,Ie=e;else{if(e===null)throw Error(F(310));Ie=e,e={memoizedState:Ie.memoizedState,baseState:Ie.baseState,baseQueue:Ie.baseQueue,queue:Ie.queue,next:null},ze===null?ke.memoizedState=ze=e:ze=ze.next=e}return ze}function ko(e,t){return typeof t=="function"?t(e):t}function Ku(e){var t=At(),n=t.queue;if(n===null)throw Error(F(311));n.lastRenderedReducer=e;var r=Ie,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var l=i.next;i.next=o.next,o.next=l}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var a=l=null,s=null,u=o;do{var h=u.lane;if((Cr&h)===h)s!==null&&(s=s.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:h,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};s===null?(a=s=f,l=r):s=s.next=f,ke.lanes|=h,kr|=h}u=u.next}while(u!==null&&u!==o);s===null?l=r:s.next=a,Yt(r,t.memoizedState)||(dt=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=s,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,ke.lanes|=o,kr|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Gu(e){var t=At(),n=t.queue;if(n===null)throw Error(F(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var l=i=i.next;do o=e(o,l.action),l=l.next;while(l!==i);Yt(o,t.memoizedState)||(dt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Fh(){}function Dh(e,t){var n=ke,r=At(),i=t(),o=!Yt(r.memoizedState,i);if(o&&(r.memoizedState=i,dt=!0),r=r.queue,Yu(Hh.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||ze!==null&&ze.memoizedState.tag&1){if(n.flags|=2048,_o(9,Uh.bind(null,n,r,i,t),void 0,null),Fe===null)throw Error(F(349));Cr&30||$h(n,t,i)}return i}function $h(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ke.updateQueue,t===null?(t={lastEffect:null,stores:null},ke.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Uh(e,t,n,r){t.value=n,t.getSnapshot=r,Bh(t)&&Wh(e)}function Hh(e,t,n){return n(function(){Bh(t)&&Wh(e)})}function Bh(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Yt(e,n)}catch{return!0}}function Wh(e){var t=bn(e,1);t!==null&&Jt(t,e,1,-1)}function Vh(e){var t=dn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ko,lastRenderedState:e},t.queue=e,e=e.dispatch=yg.bind(null,ke,e),[t.memoizedState,e]}function _o(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ke.updateQueue,t===null?(t={lastEffect:null,stores:null},ke.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Kh(){return At().memoizedState}function Gl(e,t,n,r){var i=dn();ke.flags|=e,i.memoizedState=_o(1|t,n,void 0,r===void 0?null:r)}function Yl(e,t,n,r){var i=At();r=r===void 0?null:r;var o=void 0;if(Ie!==null){var l=Ie.memoizedState;if(o=l.destroy,r!==null&&Bu(r,l.deps)){i.memoizedState=_o(t,n,o,r);return}}ke.flags|=e,i.memoizedState=_o(1|t,n,o,r)}function Gh(e,t){return Gl(8390656,8,e,t)}function Yu(e,t){return Yl(2048,8,e,t)}function Yh(e,t){return Yl(4,2,e,t)}function Qh(e,t){return Yl(4,4,e,t)}function Xh(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Zh(e,t,n){return n=n!=null?n.concat([e]):null,Yl(4,4,Xh.bind(null,t,e),n)}function Qu(){}function qh(e,t){var n=At();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Bu(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Jh(e,t){var n=At();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Bu(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ep(e,t,n){return Cr&21?(Yt(n,t)||(n=Rd(),ke.lanes|=n,kr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,dt=!0),e.memoizedState=n)}function mg(e,t){var n=se;se=n!==0&&4>n?n:4,e(!0);var r=Hu.transition;Hu.transition={};try{e(!1),t()}finally{se=n,Hu.transition=r}}function tp(){return At().memoizedState}function gg(e,t,n){var r=tr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},np(e))rp(t,n);else if(n=Ah(e,t,n,r),n!==null){var i=ot();Jt(n,e,r,i),ip(n,t,r)}}function yg(e,t,n){var r=tr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(np(e))rp(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,a=o(l,n);if(i.hasEagerState=!0,i.eagerState=a,Yt(a,l)){var s=t.interleaved;s===null?(i.next=i,Pu(t)):(i.next=s.next,s.next=i),t.interleaved=i;return}}catch{}finally{}n=Ah(e,t,i,r),n!==null&&(i=ot(),Jt(n,e,r,i),ip(n,t,r))}}function np(e){var t=e.alternate;return e===ke||t!==null&&t===ke}function rp(e,t){xo=Kl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ip(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Zs(e,n)}}var Ql={readContext:Ot,useCallback:Ye,useContext:Ye,useEffect:Ye,useImperativeHandle:Ye,useInsertionEffect:Ye,useLayoutEffect:Ye,useMemo:Ye,useReducer:Ye,useRef:Ye,useState:Ye,useDebugValue:Ye,useDeferredValue:Ye,useTransition:Ye,useMutableSource:Ye,useSyncExternalStore:Ye,useId:Ye,unstable_isNewReconciler:!1},wg={readContext:Ot,useCallback:function(e,t){return dn().memoizedState=[e,t===void 0?null:t],e},useContext:Ot,useEffect:Gh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Gl(4194308,4,Xh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Gl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Gl(4,2,e,t)},useMemo:function(e,t){var n=dn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=dn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=gg.bind(null,ke,e),[r.memoizedState,e]},useRef:function(e){var t=dn();return e={current:e},t.memoizedState=e},useState:Vh,useDebugValue:Qu,useDeferredValue:function(e){return dn().memoizedState=e},useTransition:function(){var e=Vh(!1),t=e[0];return e=mg.bind(null,e[1]),dn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ke,i=dn();if(Ee){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),Fe===null)throw Error(F(349));Cr&30||$h(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Gh(Hh.bind(null,r,o,e),[e]),r.flags|=2048,_o(9,Uh.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=dn(),t=Fe.identifierPrefix;if(Ee){var n=Nn,r=_n;n=(r&~(1<<32-Gt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Co++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=vg++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Eg={readContext:Ot,useCallback:qh,useContext:Ot,useEffect:Yu,useImperativeHandle:Zh,useInsertionEffect:Yh,useLayoutEffect:Qh,useMemo:Jh,useReducer:Ku,useRef:Kh,useState:function(){return Ku(ko)},useDebugValue:Qu,useDeferredValue:function(e){var t=At();return ep(t,Ie.memoizedState,e)},useTransition:function(){var e=Ku(ko)[0],t=At().memoizedState;return[e,t]},useMutableSource:Fh,useSyncExternalStore:Dh,useId:tp,unstable_isNewReconciler:!1},Sg={readContext:Ot,useCallback:qh,useContext:Ot,useEffect:Yu,useImperativeHandle:Zh,useInsertionEffect:Yh,useLayoutEffect:Qh,useMemo:Jh,useReducer:Gu,useRef:Kh,useState:function(){return Gu(ko)},useDebugValue:Qu,useDeferredValue:function(e){var t=At();return Ie===null?t.memoizedState=e:ep(t,Ie.memoizedState,e)},useTransition:function(){var e=Gu(ko)[0],t=At().memoizedState;return[e,t]},useMutableSource:Fh,useSyncExternalStore:Dh,useId:tp,unstable_isNewReconciler:!1};function Xt(e,t){if(e&&e.defaultProps){t=xe({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Xu(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:xe({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Xl={isMounted:function(e){return(e=e._reactInternals)?mr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ot(),i=tr(e),o=jn(r,i);o.payload=t,n!=null&&(o.callback=n),t=Zn(e,o,i),t!==null&&(Jt(t,e,i,r),Hl(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ot(),i=tr(e),o=jn(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Zn(e,o,i),t!==null&&(Jt(t,e,i,r),Hl(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ot(),r=tr(e),i=jn(n,r);i.tag=2,t!=null&&(i.callback=t),t=Zn(e,i,r),t!==null&&(Jt(t,e,r,n),Hl(t,e,r))}};function op(e,t,n,r,i,o,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,l):t.prototype&&t.prototype.isPureReactComponent?!co(n,r)||!co(i,o):!0}function lp(e,t,n){var r=!1,i=Yn,o=t.contextType;return typeof o=="object"&&o!==null?o=Ot(o):(i=ft(t)?yr:Ge.current,r=t.contextTypes,o=(r=r!=null)?si(e,i):Yn),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Xl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function ap(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Xl.enqueueReplaceState(t,t.state,null)}function Zu(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},zu(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=Ot(o):(o=ft(t)?yr:Ge.current,i.context=si(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Xu(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Xl.enqueueReplaceState(i,i.state,null),Bl(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function mi(e,t){try{var n="",r=t;do n+=Qm(r),r=r.return;while(r);var i=n}catch(o){i=`
|
|
39
|
+
Error generating stack: `+o.message+`
|
|
40
|
+
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function qu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ju(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var xg=typeof WeakMap=="function"?WeakMap:Map;function sp(e,t,n){n=jn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ra||(ra=!0,pc=r),Ju(e,t)},n}function up(e,t,n){n=jn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Ju(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Ju(e,t),typeof r!="function"&&(Jn===null?Jn=new Set([this]):Jn.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function cp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new xg;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Pg.bind(null,e,t,n),t.then(e,e))}function fp(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function dp(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=jn(-1,1),t.tag=2,Zn(n,t,1))),n.lanes|=1),e)}var Cg=xn.ReactCurrentOwner,dt=!1;function it(e,t,n,r){t.child=e===null?Oh(t,null,n,r):di(t,e.child,n,r)}function hp(e,t,n,r,i){n=n.render;var o=t.ref;return pi(t,i),r=Wu(e,t,n,r,o,i),n=Vu(),e!==null&&!dt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Tn(e,t,i)):(Ee&&n&&bu(t),t.flags|=1,it(e,t,r,i),t.child)}function pp(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Sc(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,vp(e,t,o,r,i)):(e=ua(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var l=o.memoizedProps;if(n=n.compare,n=n!==null?n:co,n(l,r)&&e.ref===t.ref)return Tn(e,t,i)}return t.flags|=1,e=rr(o,r),e.ref=t.ref,e.return=t,t.child=e}function vp(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(co(o,r)&&e.ref===t.ref)if(dt=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(dt=!0);else return t.lanes=e.lanes,Tn(e,t,i)}return ec(e,t,n,r,i)}function mp(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},he(yi,Ct),Ct|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,he(yi,Ct),Ct|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,he(yi,Ct),Ct|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,he(yi,Ct),Ct|=r;return it(e,t,i,n),t.child}function gp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ec(e,t,n,r,i){var o=ft(n)?yr:Ge.current;return o=si(t,o),pi(t,i),n=Wu(e,t,n,r,o,i),r=Vu(),e!==null&&!dt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Tn(e,t,i)):(Ee&&r&&bu(t),t.flags|=1,it(e,t,n,i),t.child)}function yp(e,t,n,r,i){if(ft(n)){var o=!0;Il(t)}else o=!1;if(pi(t,i),t.stateNode===null)ql(e,t),lp(t,n,r),Zu(t,n,r,i),r=!0;else if(e===null){var l=t.stateNode,a=t.memoizedProps;l.props=a;var s=l.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ot(u):(u=ft(n)?yr:Ge.current,u=si(t,u));var h=n.getDerivedStateFromProps,f=typeof h=="function"||typeof l.getSnapshotBeforeUpdate=="function";f||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==r||s!==u)&&ap(t,l,r,u),Xn=!1;var m=t.memoizedState;l.state=m,Bl(t,r,l,i),s=t.memoizedState,a!==r||m!==s||ct.current||Xn?(typeof h=="function"&&(Xu(t,n,h,r),s=t.memoizedState),(a=Xn||op(t,n,a,r,m,s,u))?(f||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),l.props=r,l.state=s,l.context=u,r=a):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,Ih(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Xt(t.type,a),l.props=u,f=t.pendingProps,m=l.context,s=n.contextType,typeof s=="object"&&s!==null?s=Ot(s):(s=ft(n)?yr:Ge.current,s=si(t,s));var p=n.getDerivedStateFromProps;(h=typeof p=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==f||m!==s)&&ap(t,l,r,s),Xn=!1,m=t.memoizedState,l.state=m,Bl(t,r,l,i);var w=t.memoizedState;a!==f||m!==w||ct.current||Xn?(typeof p=="function"&&(Xu(t,n,p,r),w=t.memoizedState),(u=Xn||op(t,n,u,r,m,w,s)||!1)?(h||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,w,s),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,w,s)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),l.props=r,l.state=w,l.context=s,r=u):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return tc(e,t,n,r,o,i)}function tc(e,t,n,r,i,o){gp(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return i&&Ch(t,n,!1),Tn(e,t,o);r=t.stateNode,Cg.current=t;var a=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=di(t,e.child,null,o),t.child=di(t,null,a,o)):it(e,t,a,o),t.memoizedState=r.state,i&&Ch(t,n,!0),t.child}function wp(e){var t=e.stateNode;t.pendingContext?Sh(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Sh(e,t.context,!1),Fu(e,t.containerInfo)}function Ep(e,t,n,r,i){return fi(),Lu(i),t.flags|=256,it(e,t,n,r),t.child}var nc={dehydrated:null,treeContext:null,retryLane:0};function rc(e){return{baseLanes:e,cachePool:null,transitions:null}}function Sp(e,t,n){var r=t.pendingProps,i=Ce.current,o=!1,l=(t.flags&128)!==0,a;if((a=l)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),he(Ce,i&1),e===null)return Ru(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=r.children,e=r.fallback,o?(r=t.mode,o=t.child,l={mode:"hidden",children:l},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=l):o=ca(l,r,0,null),e=jr(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=rc(n),t.memoizedState=nc,e):ic(t,l));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return kg(e,t,l,r,a,i,n);if(o){o=r.fallback,l=t.mode,i=e.child,a=i.sibling;var s={mode:"hidden",children:r.children};return!(l&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=rr(i,s),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=rr(a,o):(o=jr(o,l,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,l=e.child.memoizedState,l=l===null?rc(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=nc,r}return o=e.child,e=o.sibling,r=rr(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function ic(e,t){return t=ca({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Zl(e,t,n,r){return r!==null&&Lu(r),di(t,e.child,null,n),e=ic(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function kg(e,t,n,r,i,o,l){if(n)return t.flags&256?(t.flags&=-257,r=qu(Error(F(422))),Zl(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=ca({mode:"visible",children:r.children},i,0,null),o=jr(o,i,l,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&di(t,e.child,null,l),t.child.memoizedState=rc(l),t.memoizedState=nc,o);if(!(t.mode&1))return Zl(e,t,l,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(F(419)),r=qu(o,r,void 0),Zl(e,t,l,r)}if(a=(l&e.childLanes)!==0,dt||a){if(r=Fe,r!==null){switch(l&-l){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|l)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,bn(e,i),Jt(r,e,i,-1))}return Ec(),r=qu(Error(F(421))),Zl(e,t,l,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=zg.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,xt=Kn(i.nextSibling),St=t,Ee=!0,Qt=null,e!==null&&(Rt[Lt++]=_n,Rt[Lt++]=Nn,Rt[Lt++]=wr,_n=e.id,Nn=e.overflow,wr=t),t=ic(t,r.children),t.flags|=4096,t)}function xp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Mu(e.return,t,n)}function oc(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Cp(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(it(e,t,r.children,n),r=Ce.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&xp(e,n,t);else if(e.tag===19)xp(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(he(Ce,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Wl(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),oc(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Wl(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}oc(t,!0,n,null,o);break;case"together":oc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ql(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Tn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),kr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(F(153));if(t.child!==null){for(e=t.child,n=rr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=rr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function _g(e,t,n){switch(t.tag){case 3:wp(t),fi();break;case 5:zh(t);break;case 1:ft(t.type)&&Il(t);break;case 4:Fu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;he($l,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(he(Ce,Ce.current&1),t.flags|=128,null):n&t.child.childLanes?Sp(e,t,n):(he(Ce,Ce.current&1),e=Tn(e,t,n),e!==null?e.sibling:null);he(Ce,Ce.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Cp(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),he(Ce,Ce.current),r)break;return null;case 22:case 23:return t.lanes=0,mp(e,t,n)}return Tn(e,t,n)}var kp,lc,_p,Np;kp=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},lc=function(){},_p=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,xr(fn.current);var o=null;switch(n){case"input":i=Ms(e,i),r=Ms(e,r),o=[];break;case"select":i=xe({},i,{value:void 0}),r=xe({},r,{value:void 0}),o=[];break;case"textarea":i=Fs(e,i),r=Fs(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ll)}$s(n,r);var l;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(l in a)a.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Bi.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var s=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&s!==a&&(s!=null||a!=null))if(u==="style")if(a){for(l in a)!a.hasOwnProperty(l)||s&&s.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in s)s.hasOwnProperty(l)&&a[l]!==s[l]&&(n||(n={}),n[l]=s[l])}else n||(o||(o=[]),o.push(u,n)),n=s;else u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,a=a?a.__html:void 0,s!=null&&a!==s&&(o=o||[]).push(u,s)):u==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(u,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Bi.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&ge("scroll",e),o||a===s||(o=[])):(o=o||[]).push(u,s))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},Np=function(e,t,n,r){n!==r&&(t.flags|=4)};function No(e,t){if(!Ee)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Qe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ng(e,t,n){var r=t.pendingProps;switch(ju(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qe(t),null;case 1:return ft(t.type)&&Al(),Qe(t),null;case 3:return r=t.stateNode,vi(),ye(ct),ye(Ge),Uu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Fl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Qt!==null&&(gc(Qt),Qt=null))),lc(e,t),Qe(t),null;case 5:Du(t);var i=xr(So.current);if(n=t.type,e!==null&&t.stateNode!=null)_p(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(F(166));return Qe(t),null}if(e=xr(fn.current),Fl(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[cn]=t,r[mo]=o,e=(t.mode&1)!==0,n){case"dialog":ge("cancel",r),ge("close",r);break;case"iframe":case"object":case"embed":ge("load",r);break;case"video":case"audio":for(i=0;i<ho.length;i++)ge(ho[i],r);break;case"source":ge("error",r);break;case"img":case"image":case"link":ge("error",r),ge("load",r);break;case"details":ge("toggle",r);break;case"input":ld(r,o),ge("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},ge("invalid",r);break;case"textarea":ud(r,o),ge("invalid",r)}$s(n,o),i=null;for(var l in o)if(o.hasOwnProperty(l)){var a=o[l];l==="children"?typeof a=="string"?r.textContent!==a&&(o.suppressHydrationWarning!==!0&&Rl(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(o.suppressHydrationWarning!==!0&&Rl(r.textContent,a,e),i=["children",""+a]):Bi.hasOwnProperty(l)&&a!=null&&l==="onScroll"&&ge("scroll",r)}switch(n){case"input":al(r),sd(r,o,!0);break;case"textarea":al(r),fd(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Ll)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{l=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=dd(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[cn]=t,e[mo]=r,kp(e,t,!1,!1),t.stateNode=e;e:{switch(l=Us(n,r),n){case"dialog":ge("cancel",e),ge("close",e),i=r;break;case"iframe":case"object":case"embed":ge("load",e),i=r;break;case"video":case"audio":for(i=0;i<ho.length;i++)ge(ho[i],e);i=r;break;case"source":ge("error",e),i=r;break;case"img":case"image":case"link":ge("error",e),ge("load",e),i=r;break;case"details":ge("toggle",e),i=r;break;case"input":ld(e,r),i=Ms(e,r),ge("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=xe({},r,{value:void 0}),ge("invalid",e);break;case"textarea":ud(e,r),i=Fs(e,r),ge("invalid",e);break;default:i=r}$s(n,i),a=i;for(o in a)if(a.hasOwnProperty(o)){var s=a[o];o==="style"?vd(e,s):o==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&hd(e,s)):o==="children"?typeof s=="string"?(n!=="textarea"||s!=="")&&Gi(e,s):typeof s=="number"&&Gi(e,""+s):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Bi.hasOwnProperty(o)?s!=null&&o==="onScroll"&&ge("scroll",e):s!=null&&ks(e,o,s,l))}switch(n){case"input":al(e),sd(e,r,!1);break;case"textarea":al(e),fd(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Dn(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Xr(e,!!r.multiple,o,!1):r.defaultValue!=null&&Xr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Ll)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Qe(t),null;case 6:if(e&&t.stateNode!=null)Np(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(F(166));if(n=xr(So.current),xr(fn.current),Fl(t)){if(r=t.stateNode,n=t.memoizedProps,r[cn]=t,(o=r.nodeValue!==n)&&(e=St,e!==null))switch(e.tag){case 3:Rl(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Rl(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[cn]=t,t.stateNode=r}return Qe(t),null;case 13:if(ye(Ce),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ee&&xt!==null&&t.mode&1&&!(t.flags&128))Th(),fi(),t.flags|=98560,o=!1;else if(o=Fl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(F(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(F(317));o[cn]=t}else fi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Qe(t),o=!1}else Qt!==null&&(gc(Qt),Qt=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Ce.current&1?Me===0&&(Me=3):Ec())),t.updateQueue!==null&&(t.flags|=4),Qe(t),null);case 4:return vi(),lc(e,t),e===null&&po(t.stateNode.containerInfo),Qe(t),null;case 10:return Iu(t.type._context),Qe(t),null;case 17:return ft(t.type)&&Al(),Qe(t),null;case 19:if(ye(Ce),o=t.memoizedState,o===null)return Qe(t),null;if(r=(t.flags&128)!==0,l=o.rendering,l===null)if(r)No(o,!1);else{if(Me!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(l=Wl(e),l!==null){for(t.flags|=128,No(o,!1),r=l.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,l=o.alternate,l===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return he(Ce,Ce.current&1|2),t.child}e=e.sibling}o.tail!==null&&be()>wi&&(t.flags|=128,r=!0,No(o,!1),t.lanes=4194304)}else{if(!r)if(e=Wl(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),No(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!Ee)return Qe(t),null}else 2*be()-o.renderingStartTime>wi&&n!==1073741824&&(t.flags|=128,r=!0,No(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=be(),t.sibling=null,n=Ce.current,he(Ce,r?n&1|2:n&1),t):(Qe(t),null);case 22:case 23:return wc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ct&1073741824&&(Qe(t),t.subtreeFlags&6&&(t.flags|=8192)):Qe(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function bg(e,t){switch(ju(t),t.tag){case 1:return ft(t.type)&&Al(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return vi(),ye(ct),ye(Ge),Uu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Du(t),null;case 13:if(ye(Ce),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));fi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ye(Ce),null;case 4:return vi(),null;case 10:return Iu(t.type._context),null;case 22:case 23:return wc(),null;case 24:return null;default:return null}}var Jl=!1,Xe=!1,jg=typeof WeakSet=="function"?WeakSet:Set,B=null;function gi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ne(e,t,r)}else n.current=null}function ac(e,t,n){try{n()}catch(r){Ne(e,t,r)}}var bp=!1;function Tg(e,t){if(wu=wl,e=oh(),fu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,a=-1,s=-1,u=0,h=0,f=e,m=null;t:for(;;){for(var p;f!==n||i!==0&&f.nodeType!==3||(a=l+i),f!==o||r!==0&&f.nodeType!==3||(s=l+r),f.nodeType===3&&(l+=f.nodeValue.length),(p=f.firstChild)!==null;)m=f,f=p;for(;;){if(f===e)break t;if(m===n&&++u===i&&(a=l),m===o&&++h===r&&(s=l),(p=f.nextSibling)!==null)break;f=m,m=f.parentNode}f=p}n=a===-1||s===-1?null:{start:a,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(Eu={focusedElem:e,selectionRange:n},wl=!1,B=t;B!==null;)if(t=B,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,B=e;else for(;B!==null;){t=B;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var C=w.memoizedProps,O=w.memoizedState,v=t.stateNode,d=v.getSnapshotBeforeUpdate(t.elementType===t.type?C:Xt(t.type,C),O);v.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(F(163))}}catch(k){Ne(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,B=e;break}B=t.return}return w=bp,bp=!1,w}function bo(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&ac(t,n,o)}i=i.next}while(i!==r)}}function ea(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function sc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function jp(e){var t=e.alternate;t!==null&&(e.alternate=null,jp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[cn],delete t[mo],delete t[ku],delete t[fg],delete t[dg])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Tp(e){return e.tag===5||e.tag===3||e.tag===4}function Rp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Tp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function uc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ll));else if(r!==4&&(e=e.child,e!==null))for(uc(e,t,n),e=e.sibling;e!==null;)uc(e,t,n),e=e.sibling}function cc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(cc(e,t,n),e=e.sibling;e!==null;)cc(e,t,n),e=e.sibling}var He=null,Zt=!1;function qn(e,t,n){for(n=n.child;n!==null;)Lp(e,t,n),n=n.sibling}function Lp(e,t,n){if(un&&typeof un.onCommitFiberUnmount=="function")try{un.onCommitFiberUnmount(hl,n)}catch{}switch(n.tag){case 5:Xe||gi(n,t);case 6:var r=He,i=Zt;He=null,qn(e,t,n),He=r,Zt=i,He!==null&&(Zt?(e=He,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):He.removeChild(n.stateNode));break;case 18:He!==null&&(Zt?(e=He,n=n.stateNode,e.nodeType===8?Cu(e.parentNode,n):e.nodeType===1&&Cu(e,n),io(e)):Cu(He,n.stateNode));break;case 4:r=He,i=Zt,He=n.stateNode.containerInfo,Zt=!0,qn(e,t,n),He=r,Zt=i;break;case 0:case 11:case 14:case 15:if(!Xe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&ac(n,t,l),i=i.next}while(i!==r)}qn(e,t,n);break;case 1:if(!Xe&&(gi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ne(n,t,a)}qn(e,t,n);break;case 21:qn(e,t,n);break;case 22:n.mode&1?(Xe=(r=Xe)||n.memoizedState!==null,qn(e,t,n),Xe=r):qn(e,t,n);break;default:qn(e,t,n)}}function Op(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new jg),t.forEach(function(r){var i=Fg.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function qt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,l=t,a=l;e:for(;a!==null;){switch(a.tag){case 5:He=a.stateNode,Zt=!1;break e;case 3:He=a.stateNode.containerInfo,Zt=!0;break e;case 4:He=a.stateNode.containerInfo,Zt=!0;break e}a=a.return}if(He===null)throw Error(F(160));Lp(o,l,i),He=null,Zt=!1;var s=i.alternate;s!==null&&(s.return=null),i.return=null}catch(u){Ne(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Ap(t,e),t=t.sibling}function Ap(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(qt(t,e),hn(e),r&4){try{bo(3,e,e.return),ea(3,e)}catch(C){Ne(e,e.return,C)}try{bo(5,e,e.return)}catch(C){Ne(e,e.return,C)}}break;case 1:qt(t,e),hn(e),r&512&&n!==null&&gi(n,n.return);break;case 5:if(qt(t,e),hn(e),r&512&&n!==null&&gi(n,n.return),e.flags&32){var i=e.stateNode;try{Gi(i,"")}catch(C){Ne(e,e.return,C)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,l=n!==null?n.memoizedProps:o,a=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{a==="input"&&o.type==="radio"&&o.name!=null&&ad(i,o),Us(a,l);var u=Us(a,o);for(l=0;l<s.length;l+=2){var h=s[l],f=s[l+1];h==="style"?vd(i,f):h==="dangerouslySetInnerHTML"?hd(i,f):h==="children"?Gi(i,f):ks(i,h,f,u)}switch(a){case"input":Ps(i,o);break;case"textarea":cd(i,o);break;case"select":var m=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var p=o.value;p!=null?Xr(i,!!o.multiple,p,!1):m!==!!o.multiple&&(o.defaultValue!=null?Xr(i,!!o.multiple,o.defaultValue,!0):Xr(i,!!o.multiple,o.multiple?[]:"",!1))}i[mo]=o}catch(C){Ne(e,e.return,C)}}break;case 6:if(qt(t,e),hn(e),r&4){if(e.stateNode===null)throw Error(F(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(C){Ne(e,e.return,C)}}break;case 3:if(qt(t,e),hn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{io(t.containerInfo)}catch(C){Ne(e,e.return,C)}break;case 4:qt(t,e),hn(e);break;case 13:qt(t,e),hn(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(hc=be())),r&4&&Op(e);break;case 22:if(h=n!==null&&n.memoizedState!==null,e.mode&1?(Xe=(u=Xe)||h,qt(t,e),Xe=u):qt(t,e),hn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!h&&e.mode&1)for(B=e,h=e.child;h!==null;){for(f=B=h;B!==null;){switch(m=B,p=m.child,m.tag){case 0:case 11:case 14:case 15:bo(4,m,m.return);break;case 1:gi(m,m.return);var w=m.stateNode;if(typeof w.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(C){Ne(r,n,C)}}break;case 5:gi(m,m.return);break;case 22:if(m.memoizedState!==null){Pp(f);continue}}p!==null?(p.return=m,B=p):Pp(f)}h=h.sibling}e:for(h=null,f=e;;){if(f.tag===5){if(h===null){h=f;try{i=f.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(a=f.stateNode,s=f.memoizedProps.style,l=s!=null&&s.hasOwnProperty("display")?s.display:null,a.style.display=pd("display",l))}catch(C){Ne(e,e.return,C)}}}else if(f.tag===6){if(h===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(C){Ne(e,e.return,C)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;h===f&&(h=null),f=f.return}h===f&&(h=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:qt(t,e),hn(e),r&4&&Op(e);break;case 21:break;default:qt(t,e),hn(e)}}function hn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Tp(n)){var r=n;break e}n=n.return}throw Error(F(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Gi(i,""),r.flags&=-33);var o=Rp(e);cc(e,o,i);break;case 3:case 4:var l=r.stateNode.containerInfo,a=Rp(e);uc(e,a,l);break;default:throw Error(F(161))}}catch(s){Ne(e,e.return,s)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Rg(e,t,n){B=e,Ip(e)}function Ip(e,t,n){for(var r=(e.mode&1)!==0;B!==null;){var i=B,o=i.child;if(i.tag===22&&r){var l=i.memoizedState!==null||Jl;if(!l){var a=i.alternate,s=a!==null&&a.memoizedState!==null||Xe;a=Jl;var u=Xe;if(Jl=l,(Xe=s)&&!u)for(B=i;B!==null;)l=B,s=l.child,l.tag===22&&l.memoizedState!==null?zp(i):s!==null?(s.return=l,B=s):zp(i);for(;o!==null;)B=o,Ip(o),o=o.sibling;B=i,Jl=a,Xe=u}Mp(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,B=o):Mp(e)}}function Mp(e){for(;B!==null;){var t=B;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Xe||ea(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Xe)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Xt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Ph(t,o,r);break;case 3:var l=t.updateQueue;if(l!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Ph(t,l,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var h=u.memoizedState;if(h!==null){var f=h.dehydrated;f!==null&&io(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(F(163))}Xe||t.flags&512&&sc(t)}catch(m){Ne(t,t.return,m)}}if(t===e){B=null;break}if(n=t.sibling,n!==null){n.return=t.return,B=n;break}B=t.return}}function Pp(e){for(;B!==null;){var t=B;if(t===e){B=null;break}var n=t.sibling;if(n!==null){n.return=t.return,B=n;break}B=t.return}}function zp(e){for(;B!==null;){var t=B;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ea(4,t)}catch(s){Ne(t,n,s)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(s){Ne(t,i,s)}}var o=t.return;try{sc(t)}catch(s){Ne(t,o,s)}break;case 5:var l=t.return;try{sc(t)}catch(s){Ne(t,l,s)}}}catch(s){Ne(t,t.return,s)}if(t===e){B=null;break}var a=t.sibling;if(a!==null){a.return=t.return,B=a;break}B=t.return}}var Lg=Math.ceil,ta=xn.ReactCurrentDispatcher,fc=xn.ReactCurrentOwner,It=xn.ReactCurrentBatchConfig,oe=0,Fe=null,Le=null,Be=0,Ct=0,yi=Gn(0),Me=0,jo=null,kr=0,na=0,dc=0,To=null,ht=null,hc=0,wi=1/0,Rn=null,ra=!1,pc=null,Jn=null,ia=!1,er=null,oa=0,Ro=0,vc=null,la=-1,aa=0;function ot(){return oe&6?be():la!==-1?la:la=be()}function tr(e){return e.mode&1?oe&2&&Be!==0?Be&-Be:pg.transition!==null?(aa===0&&(aa=Rd()),aa):(e=se,e!==0||(e=window.event,e=e===void 0?16:Dd(e.type)),e):1}function Jt(e,t,n,r){if(50<Ro)throw Ro=0,vc=null,Error(F(185));Ji(e,n,r),(!(oe&2)||e!==Fe)&&(e===Fe&&(!(oe&2)&&(na|=n),Me===4&&nr(e,Be)),pt(e,r),n===1&&oe===0&&!(t.mode&1)&&(wi=be()+500,Ml&&Qn()))}function pt(e,t){var n=e.callbackNode;p0(e,t);var r=ml(e,e===Fe?Be:0);if(r===0)n!==null&&bd(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&bd(n),t===1)e.tag===0?hg(Dp.bind(null,e)):kh(Dp.bind(null,e)),ug(function(){!(oe&6)&&Qn()}),n=null;else{switch(Ld(r)){case 1:n=Ys;break;case 4:n=jd;break;case 16:n=dl;break;case 536870912:n=Td;break;default:n=dl}n=Gp(n,Fp.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Fp(e,t){if(la=-1,aa=0,oe&6)throw Error(F(327));var n=e.callbackNode;if(Ei()&&e.callbackNode!==n)return null;var r=ml(e,e===Fe?Be:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=sa(e,r);else{t=r;var i=oe;oe|=2;var o=Up();(Fe!==e||Be!==t)&&(Rn=null,wi=be()+500,Nr(e,t));do try{Ig();break}catch(a){$p(e,a)}while(!0);Au(),ta.current=o,oe=i,Le!==null?t=0:(Fe=null,Be=0,t=Me)}if(t!==0){if(t===2&&(i=Qs(e),i!==0&&(r=i,t=mc(e,i))),t===1)throw n=jo,Nr(e,0),nr(e,r),pt(e,be()),n;if(t===6)nr(e,r);else{if(i=e.current.alternate,!(r&30)&&!Og(i)&&(t=sa(e,r),t===2&&(o=Qs(e),o!==0&&(r=o,t=mc(e,o))),t===1))throw n=jo,Nr(e,0),nr(e,r),pt(e,be()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(F(345));case 2:br(e,ht,Rn);break;case 3:if(nr(e,r),(r&130023424)===r&&(t=hc+500-be(),10<t)){if(ml(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){ot(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=xu(br.bind(null,e,ht,Rn),t);break}br(e,ht,Rn);break;case 4:if(nr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var l=31-Gt(r);o=1<<l,l=t[l],l>i&&(i=l),r&=~o}if(r=i,r=be()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Lg(r/1960))-r,10<r){e.timeoutHandle=xu(br.bind(null,e,ht,Rn),r);break}br(e,ht,Rn);break;case 5:br(e,ht,Rn);break;default:throw Error(F(329))}}}return pt(e,be()),e.callbackNode===n?Fp.bind(null,e):null}function mc(e,t){var n=To;return e.current.memoizedState.isDehydrated&&(Nr(e,t).flags|=256),e=sa(e,t),e!==2&&(t=ht,ht=n,t!==null&&gc(t)),e}function gc(e){ht===null?ht=e:ht.push.apply(ht,e)}function Og(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!Yt(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function nr(e,t){for(t&=~dc,t&=~na,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Gt(t),r=1<<n;e[n]=-1,t&=~r}}function Dp(e){if(oe&6)throw Error(F(327));Ei();var t=ml(e,0);if(!(t&1))return pt(e,be()),null;var n=sa(e,t);if(e.tag!==0&&n===2){var r=Qs(e);r!==0&&(t=r,n=mc(e,r))}if(n===1)throw n=jo,Nr(e,0),nr(e,t),pt(e,be()),n;if(n===6)throw Error(F(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,br(e,ht,Rn),pt(e,be()),null}function yc(e,t){var n=oe;oe|=1;try{return e(t)}finally{oe=n,oe===0&&(wi=be()+500,Ml&&Qn())}}function _r(e){er!==null&&er.tag===0&&!(oe&6)&&Ei();var t=oe;oe|=1;var n=It.transition,r=se;try{if(It.transition=null,se=1,e)return e()}finally{se=r,It.transition=n,oe=t,!(oe&6)&&Qn()}}function wc(){Ct=yi.current,ye(yi)}function Nr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,sg(n)),Le!==null)for(n=Le.return;n!==null;){var r=n;switch(ju(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Al();break;case 3:vi(),ye(ct),ye(Ge),Uu();break;case 5:Du(r);break;case 4:vi();break;case 13:ye(Ce);break;case 19:ye(Ce);break;case 10:Iu(r.type._context);break;case 22:case 23:wc()}n=n.return}if(Fe=e,Le=e=rr(e.current,null),Be=Ct=t,Me=0,jo=null,dc=na=kr=0,ht=To=null,Sr!==null){for(t=0;t<Sr.length;t++)if(n=Sr[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var l=o.next;o.next=i,r.next=l}n.pending=r}Sr=null}return e}function $p(e,t){do{var n=Le;try{if(Au(),Vl.current=Ql,Kl){for(var r=ke.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Kl=!1}if(Cr=0,ze=Ie=ke=null,xo=!1,Co=0,fc.current=null,n===null||n.return===null){Me=1,jo=t,Le=null;break}e:{var o=e,l=n.return,a=n,s=t;if(t=Be,a.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var u=s,h=a,f=h.tag;if(!(h.mode&1)&&(f===0||f===11||f===15)){var m=h.alternate;m?(h.updateQueue=m.updateQueue,h.memoizedState=m.memoizedState,h.lanes=m.lanes):(h.updateQueue=null,h.memoizedState=null)}var p=fp(l);if(p!==null){p.flags&=-257,dp(p,l,a,o,t),p.mode&1&&cp(o,u,t),t=p,s=u;var w=t.updateQueue;if(w===null){var C=new Set;C.add(s),t.updateQueue=C}else w.add(s);break e}else{if(!(t&1)){cp(o,u,t),Ec();break e}s=Error(F(426))}}else if(Ee&&a.mode&1){var O=fp(l);if(O!==null){!(O.flags&65536)&&(O.flags|=256),dp(O,l,a,o,t),Lu(mi(s,a));break e}}o=s=mi(s,a),Me!==4&&(Me=2),To===null?To=[o]:To.push(o),o=l;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var v=sp(o,s,t);Mh(o,v);break e;case 1:a=s;var d=o.type,y=o.stateNode;if(!(o.flags&128)&&(typeof d.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(Jn===null||!Jn.has(y)))){o.flags|=65536,t&=-t,o.lanes|=t;var k=up(o,a,t);Mh(o,k);break e}}o=o.return}while(o!==null)}Bp(n)}catch(I){t=I,Le===n&&n!==null&&(Le=n=n.return);continue}break}while(!0)}function Up(){var e=ta.current;return ta.current=Ql,e===null?Ql:e}function Ec(){(Me===0||Me===3||Me===2)&&(Me=4),Fe===null||!(kr&268435455)&&!(na&268435455)||nr(Fe,Be)}function sa(e,t){var n=oe;oe|=2;var r=Up();(Fe!==e||Be!==t)&&(Rn=null,Nr(e,t));do try{Ag();break}catch(i){$p(e,i)}while(!0);if(Au(),oe=n,ta.current=r,Le!==null)throw Error(F(261));return Fe=null,Be=0,Me}function Ag(){for(;Le!==null;)Hp(Le)}function Ig(){for(;Le!==null&&!o0();)Hp(Le)}function Hp(e){var t=Kp(e.alternate,e,Ct);e.memoizedProps=e.pendingProps,t===null?Bp(e):Le=t,fc.current=null}function Bp(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=bg(n,t),n!==null){n.flags&=32767,Le=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Me=6,Le=null;return}}else if(n=Ng(n,t,Ct),n!==null){Le=n;return}if(t=t.sibling,t!==null){Le=t;return}Le=t=e}while(t!==null);Me===0&&(Me=5)}function br(e,t,n){var r=se,i=It.transition;try{It.transition=null,se=1,Mg(e,t,n,r)}finally{It.transition=i,se=r}return null}function Mg(e,t,n,r){do Ei();while(er!==null);if(oe&6)throw Error(F(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(F(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(v0(e,o),e===Fe&&(Le=Fe=null,Be=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ia||(ia=!0,Gp(dl,function(){return Ei(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=It.transition,It.transition=null;var l=se;se=1;var a=oe;oe|=4,fc.current=null,Tg(e,n),Ap(n,e),tg(Eu),wl=!!wu,Eu=wu=null,e.current=n,Rg(n),l0(),oe=a,se=l,It.transition=o}else e.current=n;if(ia&&(ia=!1,er=e,oa=i),o=e.pendingLanes,o===0&&(Jn=null),u0(n.stateNode),pt(e,be()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(ra)throw ra=!1,e=pc,pc=null,e;return oa&1&&e.tag!==0&&Ei(),o=e.pendingLanes,o&1?e===vc?Ro++:(Ro=0,vc=e):Ro=0,Qn(),null}function Ei(){if(er!==null){var e=Ld(oa),t=It.transition,n=se;try{if(It.transition=null,se=16>e?16:e,er===null)var r=!1;else{if(e=er,er=null,oa=0,oe&6)throw Error(F(331));var i=oe;for(oe|=4,B=e.current;B!==null;){var o=B,l=o.child;if(B.flags&16){var a=o.deletions;if(a!==null){for(var s=0;s<a.length;s++){var u=a[s];for(B=u;B!==null;){var h=B;switch(h.tag){case 0:case 11:case 15:bo(8,h,o)}var f=h.child;if(f!==null)f.return=h,B=f;else for(;B!==null;){h=B;var m=h.sibling,p=h.return;if(jp(h),h===u){B=null;break}if(m!==null){m.return=p,B=m;break}B=p}}}var w=o.alternate;if(w!==null){var C=w.child;if(C!==null){w.child=null;do{var O=C.sibling;C.sibling=null,C=O}while(C!==null)}}B=o}}if(o.subtreeFlags&2064&&l!==null)l.return=o,B=l;else e:for(;B!==null;){if(o=B,o.flags&2048)switch(o.tag){case 0:case 11:case 15:bo(9,o,o.return)}var v=o.sibling;if(v!==null){v.return=o.return,B=v;break e}B=o.return}}var d=e.current;for(B=d;B!==null;){l=B;var y=l.child;if(l.subtreeFlags&2064&&y!==null)y.return=l,B=y;else e:for(l=d;B!==null;){if(a=B,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:ea(9,a)}}catch(I){Ne(a,a.return,I)}if(a===l){B=null;break e}var k=a.sibling;if(k!==null){k.return=a.return,B=k;break e}B=a.return}}if(oe=i,Qn(),un&&typeof un.onPostCommitFiberRoot=="function")try{un.onPostCommitFiberRoot(hl,e)}catch{}r=!0}return r}finally{se=n,It.transition=t}}return!1}function Wp(e,t,n){t=mi(n,t),t=sp(e,t,1),e=Zn(e,t,1),t=ot(),e!==null&&(Ji(e,1,t),pt(e,t))}function Ne(e,t,n){if(e.tag===3)Wp(e,e,n);else for(;t!==null;){if(t.tag===3){Wp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Jn===null||!Jn.has(r))){e=mi(n,e),e=up(t,e,1),t=Zn(t,e,1),e=ot(),t!==null&&(Ji(t,1,e),pt(t,e));break}}t=t.return}}function Pg(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ot(),e.pingedLanes|=e.suspendedLanes&n,Fe===e&&(Be&n)===n&&(Me===4||Me===3&&(Be&130023424)===Be&&500>be()-hc?Nr(e,0):dc|=n),pt(e,t)}function Vp(e,t){t===0&&(e.mode&1?(t=vl,vl<<=1,!(vl&130023424)&&(vl=4194304)):t=1);var n=ot();e=bn(e,t),e!==null&&(Ji(e,t,n),pt(e,n))}function zg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Vp(e,n)}function Fg(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(F(314))}r!==null&&r.delete(t),Vp(e,n)}var Kp;Kp=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ct.current)dt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return dt=!1,_g(e,t,n);dt=!!(e.flags&131072)}else dt=!1,Ee&&t.flags&1048576&&_h(t,zl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ql(e,t),e=t.pendingProps;var i=si(t,Ge.current);pi(t,n),i=Wu(null,t,r,e,i,n);var o=Vu();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ft(r)?(o=!0,Il(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,zu(t),i.updater=Xl,t.stateNode=i,i._reactInternals=t,Zu(t,r,e,n),t=tc(null,t,r,!0,o,n)):(t.tag=0,Ee&&o&&bu(t),it(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ql(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=$g(r),e=Xt(r,e),i){case 0:t=ec(null,t,r,e,n);break e;case 1:t=yp(null,t,r,e,n);break e;case 11:t=hp(null,t,r,e,n);break e;case 14:t=pp(null,t,r,Xt(r.type,e),n);break e}throw Error(F(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Xt(r,i),ec(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Xt(r,i),yp(e,t,r,i,n);case 3:e:{if(wp(t),e===null)throw Error(F(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Ih(e,t),Bl(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=mi(Error(F(423)),t),t=Ep(e,t,r,n,i);break e}else if(r!==i){i=mi(Error(F(424)),t),t=Ep(e,t,r,n,i);break e}else for(xt=Kn(t.stateNode.containerInfo.firstChild),St=t,Ee=!0,Qt=null,n=Oh(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fi(),r===i){t=Tn(e,t,n);break e}it(e,t,r,n)}t=t.child}return t;case 5:return zh(t),e===null&&Ru(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,Su(r,i)?l=null:o!==null&&Su(r,o)&&(t.flags|=32),gp(e,t),it(e,t,l,n),t.child;case 6:return e===null&&Ru(t),null;case 13:return Sp(e,t,n);case 4:return Fu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=di(t,null,r,n):it(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Xt(r,i),hp(e,t,r,i,n);case 7:return it(e,t,t.pendingProps,n),t.child;case 8:return it(e,t,t.pendingProps.children,n),t.child;case 12:return it(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,he($l,r._currentValue),r._currentValue=l,o!==null)if(Yt(o.value,l)){if(o.children===i.children&&!ct.current){t=Tn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){l=o.child;for(var s=a.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=jn(-1,n&-n),s.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var h=u.pending;h===null?s.next=s:(s.next=h.next,h.next=s),u.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Mu(o.return,n,t),a.lanes|=n;break}s=s.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(F(341));l.lanes|=n,a=l.alternate,a!==null&&(a.lanes|=n),Mu(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}it(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,pi(t,n),i=Ot(i),r=r(i),t.flags|=1,it(e,t,r,n),t.child;case 14:return r=t.type,i=Xt(r,t.pendingProps),i=Xt(r.type,i),pp(e,t,r,i,n);case 15:return vp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Xt(r,i),ql(e,t),t.tag=1,ft(r)?(e=!0,Il(t)):e=!1,pi(t,n),lp(t,r,i),Zu(t,r,i,n),tc(null,t,r,!0,e,n);case 19:return Cp(e,t,n);case 22:return mp(e,t,n)}throw Error(F(156,t.tag))};function Gp(e,t){return Nd(e,t)}function Dg(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Mt(e,t,n,r){return new Dg(e,t,n,r)}function Sc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function $g(e){if(typeof e=="function")return Sc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===bs)return 11;if(e===Rs)return 14}return 2}function rr(e,t){var n=e.alternate;return n===null?(n=Mt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ua(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")Sc(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Qr:return jr(n.children,i,o,t);case _s:l=8,i|=8;break;case Ns:return e=Mt(12,n,t,i|2),e.elementType=Ns,e.lanes=o,e;case js:return e=Mt(13,n,t,i),e.elementType=js,e.lanes=o,e;case Ts:return e=Mt(19,n,t,i),e.elementType=Ts,e.lanes=o,e;case nd:return ca(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ed:l=10;break e;case td:l=9;break e;case bs:l=11;break e;case Rs:l=14;break e;case Fn:l=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=Mt(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function jr(e,t,n,r){return e=Mt(7,e,r,t),e.lanes=n,e}function ca(e,t,n,r){return e=Mt(22,e,r,t),e.elementType=nd,e.lanes=n,e.stateNode={isHidden:!1},e}function xc(e,t,n){return e=Mt(6,e,null,t),e.lanes=n,e}function Cc(e,t,n){return t=Mt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ug(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Xs(0),this.expirationTimes=Xs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Xs(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function kc(e,t,n,r,i,o,l,a,s){return e=new Ug(e,t,n,a,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Mt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},zu(o),e}function Hg(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Yr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Yp(e){if(!e)return Yn;e=e._reactInternals;e:{if(mr(e)!==e||e.tag!==1)throw Error(F(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ft(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(F(171))}if(e.tag===1){var n=e.type;if(ft(n))return xh(e,n,t)}return t}function Qp(e,t,n,r,i,o,l,a,s){return e=kc(n,r,!0,e,i,o,l,a,s),e.context=Yp(null),n=e.current,r=ot(),i=tr(n),o=jn(r,i),o.callback=t??null,Zn(n,o,i),e.current.lanes=i,Ji(e,i,r),pt(e,r),e}function fa(e,t,n,r){var i=t.current,o=ot(),l=tr(i);return n=Yp(n),t.context===null?t.context=n:t.pendingContext=n,t=jn(o,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Zn(i,t,l),e!==null&&(Jt(e,i,l,o),Hl(e,i,l)),l}function da(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Xp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function _c(e,t){Xp(e,t),(e=e.alternate)&&Xp(e,t)}function Bg(){return null}var Zp=typeof reportError=="function"?reportError:function(e){console.error(e)};function Nc(e){this._internalRoot=e}ha.prototype.render=Nc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(F(409));fa(e,t,null,null)},ha.prototype.unmount=Nc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;_r(function(){fa(null,e,null,null)}),t[Cn]=null}};function ha(e){this._internalRoot=e}ha.prototype.unstable_scheduleHydration=function(e){if(e){var t=Id();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Bn.length&&t!==0&&t<Bn[n].priority;n++);Bn.splice(n,0,e),n===0&&zd(e)}};function bc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function pa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function qp(){}function Wg(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=da(l);o.call(u)}}var l=Qp(t,r,e,0,null,!1,!1,"",qp);return e._reactRootContainer=l,e[Cn]=l.current,po(e.nodeType===8?e.parentNode:e),_r(),l}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=da(s);a.call(u)}}var s=kc(e,0,!1,null,null,!1,!1,"",qp);return e._reactRootContainer=s,e[Cn]=s.current,po(e.nodeType===8?e.parentNode:e),_r(function(){fa(t,s,n,r)}),s}function va(e,t,n,r,i){var o=n._reactRootContainer;if(o){var l=o;if(typeof i=="function"){var a=i;i=function(){var s=da(l);a.call(s)}}fa(t,l,e,i)}else l=Wg(n,t,e,i,r);return da(l)}Od=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=qi(t.pendingLanes);n!==0&&(Zs(t,n|1),pt(t,be()),!(oe&6)&&(wi=be()+500,Qn()))}break;case 13:_r(function(){var r=bn(e,1);if(r!==null){var i=ot();Jt(r,e,1,i)}}),_c(e,1)}},qs=function(e){if(e.tag===13){var t=bn(e,134217728);if(t!==null){var n=ot();Jt(t,e,134217728,n)}_c(e,134217728)}},Ad=function(e){if(e.tag===13){var t=tr(e),n=bn(e,t);if(n!==null){var r=ot();Jt(n,e,t,r)}_c(e,t)}},Id=function(){return se},Md=function(e,t){var n=se;try{return se=e,t()}finally{se=n}},Ws=function(e,t,n){switch(t){case"input":if(Ps(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Ol(r);if(!i)throw Error(F(90));od(r),Ps(r,i)}}}break;case"textarea":cd(e,n);break;case"select":t=n.value,t!=null&&Xr(e,!!n.multiple,t,!1)}},wd=yc,Ed=_r;var Vg={usingClientEntryPoint:!1,Events:[go,li,Ol,gd,yd,yc]},Lo={findFiberByHostInstance:gr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Kg={bundleType:Lo.bundleType,version:Lo.version,rendererPackageName:Lo.rendererPackageName,rendererConfig:Lo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:xn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=kd(e),e===null?null:e.stateNode},findFiberByHostInstance:Lo.findFiberByHostInstance||Bg,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ma=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ma.isDisabled&&ma.supportsFiber)try{hl=ma.inject(Kg),un=ma}catch{}}yt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Vg,yt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!bc(t))throw Error(F(200));return Hg(e,t,null,n)},yt.createRoot=function(e,t){if(!bc(e))throw Error(F(299));var n=!1,r="",i=Zp;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=kc(e,1,!1,null,null,n,!1,r,i),e[Cn]=t.current,po(e.nodeType===8?e.parentNode:e),new Nc(t)},yt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(F(188)):(e=Object.keys(e).join(","),Error(F(268,e)));return e=kd(t),e=e===null?null:e.stateNode,e},yt.flushSync=function(e){return _r(e)},yt.hydrate=function(e,t,n){if(!pa(t))throw Error(F(200));return va(null,e,t,!0,n)},yt.hydrateRoot=function(e,t,n){if(!bc(e))throw Error(F(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",l=Zp;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),t=Qp(t,null,e,1,n??null,i,!1,o,l),e[Cn]=t.current,po(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new ha(t)},yt.render=function(e,t,n){if(!pa(t))throw Error(F(200));return va(null,e,t,!1,n)},yt.unmountComponentAtNode=function(e){if(!pa(e))throw Error(F(40));return e._reactRootContainer?(_r(function(){va(null,null,e,!1,function(){e._reactRootContainer=null,e[Cn]=null})}),!0):!1},yt.unstable_batchedUpdates=yc,yt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!pa(n))throw Error(F(200));if(e==null||e._reactInternals===void 0)throw Error(F(38));return va(e,t,n,!1,r)},yt.version="18.3.1-next-f1338f8080-20240426";function Jp(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Jp)}catch(e){console.error(e)}}Jp(),Yf.exports=yt;var Oo=Yf.exports;const ga=Di(Oo);var ev,tv=Oo;ev=tv.createRoot,tv.hydrateRoot;const nv=ee.createContext({hash:"#",consumed:!0,consume:()=>{}});class Gg{constructor(){this._=!1,this.hash=location.hash}consume(){this._=!0}get consumed(){return this._}}const Yg=({children:e})=>{const t=new Gg;return c.jsx(nv.Provider,{value:t,children:e})};function ya(){return ya=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ya.apply(this,arguments)}var Si;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Si||(Si={}));var rv=function(e){return e},iv="beforeunload",Qg="popstate";function Xg(e){e===void 0&&(e={});var t=e,n=t.window,r=n===void 0?document.defaultView:n,i=r.history;function o(){var R=r.location,S=R.pathname,N=R.search,b=R.hash,j=i.state||{};return[j.idx,rv({pathname:S,search:N,hash:b,state:j.usr||null,key:j.key||"default"})]}var l=null;function a(){if(l)p.call(l),l=null;else{var R=Si.Pop,S=o(),N=S[0],b=S[1];if(p.length){if(N!=null){var j=h-N;j&&(l={action:R,location:b,retry:function(){I(j*-1)}},I(j))}}else d(R)}}r.addEventListener(Qg,a);var s=Si.Pop,u=o(),h=u[0],f=u[1],m=lv(),p=lv();h==null&&(h=0,i.replaceState(ya({},i.state,{idx:h}),""));function w(R){return typeof R=="string"?R:qg(R)}function C(R,S){return S===void 0&&(S=null),rv(ya({pathname:f.pathname,hash:"",search:""},typeof R=="string"?Jg(R):R,{state:S,key:Zg()}))}function O(R,S){return[{usr:R.state,key:R.key,idx:S},w(R)]}function v(R,S,N){return!p.length||(p.call({action:R,location:S,retry:N}),!1)}function d(R){s=R;var S=o();h=S[0],f=S[1],m.call({action:s,location:f})}function y(R,S){var N=Si.Push,b=C(R,S);function j(){y(R,S)}if(v(N,b,j)){var E=O(b,h+1),x=E[0],L=E[1];try{i.pushState(x,"",L)}catch{r.location.assign(L)}d(N)}}function k(R,S){var N=Si.Replace,b=C(R,S);function j(){k(R,S)}if(v(N,b,j)){var E=O(b,h),x=E[0],L=E[1];i.replaceState(x,"",L),d(N)}}function I(R){i.go(R)}var P={get action(){return s},get location(){return f},createHref:w,push:y,replace:k,go:I,back:function(){I(-1)},forward:function(){I(1)},listen:function(S){return m.push(S)},block:function(S){var N=p.push(S);return p.length===1&&r.addEventListener(iv,ov),function(){N(),p.length||r.removeEventListener(iv,ov)}}};return P}function ov(e){e.preventDefault(),e.returnValue=""}function lv(){var e=[];return{get length(){return e.length},push:function(n){return e.push(n),function(){e=e.filter(function(r){return r!==n})}},call:function(n){e.forEach(function(r){return r&&r(n)})}}}function Zg(){return Math.random().toString(36).substr(2,8)}function qg(e){var t=e.pathname,n=t===void 0?"/":t,r=e.search,i=r===void 0?"":r,o=e.hash,l=o===void 0?"":o;return i&&i!=="?"&&(n+=i.charAt(0)==="?"?i:"?"+i),l&&l!=="#"&&(n+=l.charAt(0)==="#"?l:"#"+l),n}function Jg(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var av=Xg();const sv=g.createContext(av),ey=({children:e})=>c.jsx(sv.Provider,{value:av,children:e});var ty="_1hvj6jv0";const uv=({children:e,...t})=>c.jsx("div",{className:ty,...t,children:e});var ny="j2hsqd0";const jc=({size:e=24,...t})=>c.jsx("span",{className:ny,children:c.jsxs("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none","aria-label":"REG-SUIT",...t,children:[c.jsx("path",{d:"M8.61739 13.0679L8.6321 13.0421H8.60268L8.61739 13.0679Z",fill:"#FF4438"}),c.jsx("path",{d:"M1 13.0421L4.81606 19.6519L5.23897 18.92L1.84461 13.0421H1Z",fill:"#FF4438"}),c.jsx("path",{d:"M6.08353 17.4564L3.535 13.0421H2.68917L5.66062 18.1882L6.08353 17.4564Z",fill:"#FF4438"}),c.jsx("path",{d:"M6.92829 15.9939L5.22437 13.0421H4.37976L6.50537 16.7258L6.92829 15.9939Z",fill:"#FF4438"}),c.jsx("path",{d:"M7.77292 14.5303L6.9136 13.0421H6.06899L7.35 15.2621L7.77292 14.5303Z",fill:"#FF4438"}),c.jsx("path",{d:"M8.61742 13.0679L8.60271 13.0421H7.7581L8.1945 13.7997L8.61742 13.0679Z",fill:"#FF4438"}),c.jsx("path",{d:"M15.3633 3L5.54797 20H13.5086L23.3239 3H15.3633Z",fill:"#FF4438"})]})});var ry="_11vze9r0",iy="_11vze9r1 _1mfv1t41t",oy="_11vze9r2";const ly=()=>c.jsx("footer",{className:ry,children:c.jsxs(uv,{children:[c.jsx(jc,{size:40}),c.jsxs("p",{className:iy,children:["powered by"," ",c.jsx("a",{className:oy,href:"https://github.com/reg-viz",children:"reg-viz"})]})]})});function ay(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}else return Array.from(e)}var wa=!1;if(typeof window<"u"){var cv={get passive(){wa=!0}};window.addEventListener("testPassive",null,cv),window.removeEventListener("testPassive",null,cv)}var Tc=typeof window<"u"&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||window.navigator.platform==="MacIntel"&&window.navigator.maxTouchPoints>1),pn=[],xi=!1,Rc=-1,Ao=void 0,Io=void 0,fv=function(t){return pn.some(function(n){return!!(n.options.allowTouchMove&&n.options.allowTouchMove(t))})},Mo=function(t){var n=t||window.event;return fv(n.target)||n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)},sy=function(t){if(Io===void 0){var n=!!t&&t.reserveScrollBarGap===!0,r=window.innerWidth-document.documentElement.clientWidth;n&&r>0&&(Io=document.body.style.paddingRight,document.body.style.paddingRight=r+"px")}Ao===void 0&&(Ao=document.body.style.overflow,document.body.style.overflow="hidden")},dv=function(){Io!==void 0&&(document.body.style.paddingRight=Io,Io=void 0),Ao!==void 0&&(document.body.style.overflow=Ao,Ao=void 0)},uy=function(t){return t?t.scrollHeight-t.scrollTop<=t.clientHeight:!1},cy=function(t,n){var r=t.targetTouches[0].clientY-Rc;return fv(t.target)?!1:n&&n.scrollTop===0&&r>0||uy(n)&&r<0?Mo(t):(t.stopPropagation(),!0)},Lc=function(t,n){if(!t){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}if(!pn.some(function(i){return i.targetElement===t})){var r={targetElement:t,options:n||{}};pn=[].concat(ay(pn),[r]),Tc?(t.ontouchstart=function(i){i.targetTouches.length===1&&(Rc=i.targetTouches[0].clientY)},t.ontouchmove=function(i){i.targetTouches.length===1&&cy(i,t)},xi||(document.addEventListener("touchmove",Mo,wa?{passive:!1}:void 0),xi=!0)):sy(n)}},hv=function(){Tc?(pn.forEach(function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null}),xi&&(document.removeEventListener("touchmove",Mo,wa?{passive:!1}:void 0),xi=!1),Rc=-1):dv(),pn=[]},Oc=function(t){if(!t){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}pn=pn.filter(function(n){return n.targetElement!==t}),Tc?(t.ontouchstart=null,t.ontouchmove=null,xi&&pn.length===0&&(document.removeEventListener("touchmove",Mo,wa?{passive:!1}:void 0),xi=!1)):pn.length||dv()};/*!
|
|
41
|
+
* tabbable 6.2.0
|
|
42
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
43
|
+
*/var pv=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Ea=pv.join(","),vv=typeof Element>"u",Tr=vv?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Sa=!vv&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e==null?void 0:e.ownerDocument},xa=function e(t,n){var r;n===void 0&&(n=!0);var i=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),o=i===""||i==="true",l=o||n&&t&&e(t.parentNode);return l},fy=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},mv=function(t,n,r){if(xa(t))return[];var i=Array.prototype.slice.apply(t.querySelectorAll(Ea));return n&&Tr.call(t,Ea)&&i.unshift(t),i=i.filter(r),i},gv=function e(t,n,r){for(var i=[],o=Array.from(t);o.length;){var l=o.shift();if(!xa(l,!1))if(l.tagName==="SLOT"){var a=l.assignedElements(),s=a.length?a:l.children,u=e(s,!0,r);r.flatten?i.push.apply(i,u):i.push({scopeParent:l,candidates:u})}else{var h=Tr.call(l,Ea);h&&r.filter(l)&&(n||!t.includes(l))&&i.push(l);var f=l.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(l),m=!xa(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(l));if(f&&m){var p=e(f===!0?l.children:f.children,!0,r);r.flatten?i.push.apply(i,p):i.push({scopeParent:l,candidates:p})}else o.unshift.apply(o,l.children)}}return i},yv=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},Rr=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||fy(t))&&!yv(t)?0:t.tabIndex},dy=function(t,n){var r=Rr(t);return r<0&&n&&!yv(t)?0:r},hy=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},wv=function(t){return t.tagName==="INPUT"},py=function(t){return wv(t)&&t.type==="hidden"},vy=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},my=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},gy=function(t){if(!t.name)return!0;var n=t.form||Sa(t),r=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=r(window.CSS.escape(t.name));else try{i=r(t.name)}catch(l){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",l.message),!1}var o=my(i,t.form);return!o||o===t},yy=function(t){return wv(t)&&t.type==="radio"},wy=function(t){return yy(t)&&!gy(t)},Ey=function(t){var n,r=t&&Sa(t),i=(n=r)===null||n===void 0?void 0:n.host,o=!1;if(r&&r!==t){var l,a,s;for(o=!!((l=i)!==null&&l!==void 0&&(a=l.ownerDocument)!==null&&a!==void 0&&a.contains(i)||t!=null&&(s=t.ownerDocument)!==null&&s!==void 0&&s.contains(t));!o&&i;){var u,h,f;r=Sa(i),i=(u=r)===null||u===void 0?void 0:u.host,o=!!((h=i)!==null&&h!==void 0&&(f=h.ownerDocument)!==null&&f!==void 0&&f.contains(i))}}return o},Ev=function(t){var n=t.getBoundingClientRect(),r=n.width,i=n.height;return r===0&&i===0},Sy=function(t,n){var r=n.displayCheck,i=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=Tr.call(t,"details>summary:first-of-type"),l=o?t.parentElement:t;if(Tr.call(l,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof i=="function"){for(var a=t;t;){var s=t.parentElement,u=Sa(t);if(s&&!s.shadowRoot&&i(s)===!0)return Ev(t);t.assignedSlot?t=t.assignedSlot:!s&&u!==t.ownerDocument?t=u.host:t=s}t=a}if(Ey(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return Ev(t);return!1},xy=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var i=n.children.item(r);if(i.tagName==="LEGEND")return Tr.call(n,"fieldset[disabled] *")?!0:!i.contains(t)}return!0}n=n.parentElement}return!1},Ca=function(t,n){return!(n.disabled||xa(n)||py(n)||Sy(n,t)||vy(n)||xy(n))},Ac=function(t,n){return!(wy(n)||Rr(n)<0||!Ca(t,n))},Cy=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},ky=function e(t){var n=[],r=[];return t.forEach(function(i,o){var l=!!i.scopeParent,a=l?i.scopeParent:i,s=dy(a,l),u=l?e(i.candidates):a;s===0?l?n.push.apply(n,u):n.push(a):r.push({documentOrder:o,tabIndex:s,item:i,isScope:l,content:u})}),r.sort(hy).reduce(function(i,o){return o.isScope?i.push.apply(i,o.content):i.push(o.content),i},[]).concat(n)},_y=function(t,n){n=n||{};var r;return n.getShadowRoot?r=gv([t],n.includeContainer,{filter:Ac.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:Cy}):r=mv(t,n.includeContainer,Ac.bind(null,n)),ky(r)},Ny=function(t,n){n=n||{};var r;return n.getShadowRoot?r=gv([t],n.includeContainer,{filter:Ca.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=mv(t,n.includeContainer,Ca.bind(null,n)),r},Ci=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Tr.call(t,Ea)===!1?!1:Ac(n,t)},by=pv.concat("iframe").join(","),Ic=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Tr.call(t,by)===!1?!1:Ca(n,t)};/*!
|
|
44
|
+
* focus-trap 7.5.4
|
|
45
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
46
|
+
*/function Sv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function xv(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Sv(Object(n),!0).forEach(function(r){jy(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sv(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function jy(e,t,n){return t=Ry(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ty(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ry(e){var t=Ty(e,"string");return typeof t=="symbol"?t:String(t)}var Cv={activateTrap:function(t,n){if(t.length>0){var r=t[t.length-1];r!==n&&r.pause()}var i=t.indexOf(n);i===-1||t.splice(i,1),t.push(n)},deactivateTrap:function(t,n){var r=t.indexOf(n);r!==-1&&t.splice(r,1),t.length>0&&t[t.length-1].unpause()}},Ly=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},Oy=function(t){return(t==null?void 0:t.key)==="Escape"||(t==null?void 0:t.key)==="Esc"||(t==null?void 0:t.keyCode)===27},Po=function(t){return(t==null?void 0:t.key)==="Tab"||(t==null?void 0:t.keyCode)===9},Ay=function(t){return Po(t)&&!t.shiftKey},Iy=function(t){return Po(t)&&t.shiftKey},kv=function(t){return setTimeout(t,0)},_v=function(t,n){var r=-1;return t.every(function(i,o){return n(i)?(r=o,!1):!0}),r},zo=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return typeof t=="function"?t.apply(void 0,r):t},ka=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},My=[],Mc=function(t,n){var r=(n==null?void 0:n.document)||document,i=(n==null?void 0:n.trapStack)||My,o=xv({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Ay,isKeyBackward:Iy},n),l={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a,s=function(E,x,L){return E&&E[x]!==void 0?E[x]:o[L||x]},u=function(E,x){var L=typeof(x==null?void 0:x.composedPath)=="function"?x.composedPath():void 0;return l.containerGroups.findIndex(function(A){var z=A.container,M=A.tabbableNodes;return z.contains(E)||(L==null?void 0:L.includes(z))||M.find(function(T){return T===E})})},h=function(E){var x=o[E];if(typeof x=="function"){for(var L=arguments.length,A=new Array(L>1?L-1:0),z=1;z<L;z++)A[z-1]=arguments[z];x=x.apply(void 0,A)}if(x===!0&&(x=void 0),!x){if(x===void 0||x===!1)return x;throw new Error("`".concat(E,"` was specified but was not a node, or did not return a node"))}var M=x;if(typeof x=="string"&&(M=r.querySelector(x),!M))throw new Error("`".concat(E,"` as selector refers to no known node"));return M},f=function(){var E=h("initialFocus");if(E===!1)return!1;if(E===void 0||!Ic(E,o.tabbableOptions))if(u(r.activeElement)>=0)E=r.activeElement;else{var x=l.tabbableGroups[0],L=x&&x.firstTabbableNode;E=L||h("fallbackFocus")}if(!E)throw new Error("Your focus-trap needs to have at least one focusable element");return E},m=function(){if(l.containerGroups=l.containers.map(function(E){var x=_y(E,o.tabbableOptions),L=Ny(E,o.tabbableOptions),A=x.length>0?x[0]:void 0,z=x.length>0?x[x.length-1]:void 0,M=L.find(function($){return Ci($)}),T=L.slice().reverse().find(function($){return Ci($)}),D=!!x.find(function($){return Rr($)>0});return{container:E,tabbableNodes:x,focusableNodes:L,posTabIndexesFound:D,firstTabbableNode:A,lastTabbableNode:z,firstDomTabbableNode:M,lastDomTabbableNode:T,nextTabbableNode:function(Y){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,ie=x.indexOf(Y);return ie<0?X?L.slice(L.indexOf(Y)+1).find(function(we){return Ci(we)}):L.slice(0,L.indexOf(Y)).reverse().find(function(we){return Ci(we)}):x[ie+(X?1:-1)]}}}),l.tabbableGroups=l.containerGroups.filter(function(E){return E.tabbableNodes.length>0}),l.tabbableGroups.length<=0&&!h("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(l.containerGroups.find(function(E){return E.posTabIndexesFound})&&l.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},p=function j(E){var x=E.activeElement;if(x)return x.shadowRoot&&x.shadowRoot.activeElement!==null?j(x.shadowRoot):x},w=function j(E){if(E!==!1&&E!==p(document)){if(!E||!E.focus){j(f());return}E.focus({preventScroll:!!o.preventScroll}),l.mostRecentlyFocusedNode=E,Ly(E)&&E.select()}},C=function(E){var x=h("setReturnFocus",E);return x||(x===!1?!1:E)},O=function(E){var x=E.target,L=E.event,A=E.isBackward,z=A===void 0?!1:A;x=x||ka(L),m();var M=null;if(l.tabbableGroups.length>0){var T=u(x,L),D=T>=0?l.containerGroups[T]:void 0;if(T<0)z?M=l.tabbableGroups[l.tabbableGroups.length-1].lastTabbableNode:M=l.tabbableGroups[0].firstTabbableNode;else if(z){var $=_v(l.tabbableGroups,function(de){var pe=de.firstTabbableNode;return x===pe});if($<0&&(D.container===x||Ic(x,o.tabbableOptions)&&!Ci(x,o.tabbableOptions)&&!D.nextTabbableNode(x,!1))&&($=T),$>=0){var Y=$===0?l.tabbableGroups.length-1:$-1,X=l.tabbableGroups[Y];M=Rr(x)>=0?X.lastTabbableNode:X.lastDomTabbableNode}else Po(L)||(M=D.nextTabbableNode(x,!1))}else{var ie=_v(l.tabbableGroups,function(de){var pe=de.lastTabbableNode;return x===pe});if(ie<0&&(D.container===x||Ic(x,o.tabbableOptions)&&!Ci(x,o.tabbableOptions)&&!D.nextTabbableNode(x))&&(ie=T),ie>=0){var we=ie===l.tabbableGroups.length-1?0:ie+1,Se=l.tabbableGroups[we];M=Rr(x)>=0?Se.firstTabbableNode:Se.firstDomTabbableNode}else Po(L)||(M=D.nextTabbableNode(x))}}else M=h("fallbackFocus");return M},v=function(E){var x=ka(E);if(!(u(x,E)>=0)){if(zo(o.clickOutsideDeactivates,E)){a.deactivate({returnFocus:o.returnFocusOnDeactivate});return}zo(o.allowOutsideClick,E)||E.preventDefault()}},d=function(E){var x=ka(E),L=u(x,E)>=0;if(L||x instanceof Document)L&&(l.mostRecentlyFocusedNode=x);else{E.stopImmediatePropagation();var A,z=!0;if(l.mostRecentlyFocusedNode)if(Rr(l.mostRecentlyFocusedNode)>0){var M=u(l.mostRecentlyFocusedNode),T=l.containerGroups[M].tabbableNodes;if(T.length>0){var D=T.findIndex(function($){return $===l.mostRecentlyFocusedNode});D>=0&&(o.isKeyForward(l.recentNavEvent)?D+1<T.length&&(A=T[D+1],z=!1):D-1>=0&&(A=T[D-1],z=!1))}}else l.containerGroups.some(function($){return $.tabbableNodes.some(function(Y){return Rr(Y)>0})})||(z=!1);else z=!1;z&&(A=O({target:l.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(l.recentNavEvent)})),w(A||l.mostRecentlyFocusedNode||f())}l.recentNavEvent=void 0},y=function(E){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;l.recentNavEvent=E;var L=O({event:E,isBackward:x});L&&(Po(E)&&E.preventDefault(),w(L))},k=function(E){if(Oy(E)&&zo(o.escapeDeactivates,E)!==!1){E.preventDefault(),a.deactivate();return}(o.isKeyForward(E)||o.isKeyBackward(E))&&y(E,o.isKeyBackward(E))},I=function(E){var x=ka(E);u(x,E)>=0||zo(o.clickOutsideDeactivates,E)||zo(o.allowOutsideClick,E)||(E.preventDefault(),E.stopImmediatePropagation())},P=function(){if(l.active)return Cv.activateTrap(i,a),l.delayInitialFocusTimer=o.delayInitialFocus?kv(function(){w(f())}):w(f()),r.addEventListener("focusin",d,!0),r.addEventListener("mousedown",v,{capture:!0,passive:!1}),r.addEventListener("touchstart",v,{capture:!0,passive:!1}),r.addEventListener("click",I,{capture:!0,passive:!1}),r.addEventListener("keydown",k,{capture:!0,passive:!1}),a},R=function(){if(l.active)return r.removeEventListener("focusin",d,!0),r.removeEventListener("mousedown",v,!0),r.removeEventListener("touchstart",v,!0),r.removeEventListener("click",I,!0),r.removeEventListener("keydown",k,!0),a},S=function(E){var x=E.some(function(L){var A=Array.from(L.removedNodes);return A.some(function(z){return z===l.mostRecentlyFocusedNode})});x&&w(f())},N=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(S):void 0,b=function(){N&&(N.disconnect(),l.active&&!l.paused&&l.containers.map(function(E){N.observe(E,{subtree:!0,childList:!0})}))};return a={get active(){return l.active},get paused(){return l.paused},activate:function(E){if(l.active)return this;var x=s(E,"onActivate"),L=s(E,"onPostActivate"),A=s(E,"checkCanFocusTrap");A||m(),l.active=!0,l.paused=!1,l.nodeFocusedBeforeActivation=r.activeElement,x==null||x();var z=function(){A&&m(),P(),b(),L==null||L()};return A?(A(l.containers.concat()).then(z,z),this):(z(),this)},deactivate:function(E){if(!l.active)return this;var x=xv({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},E);clearTimeout(l.delayInitialFocusTimer),l.delayInitialFocusTimer=void 0,R(),l.active=!1,l.paused=!1,b(),Cv.deactivateTrap(i,a);var L=s(x,"onDeactivate"),A=s(x,"onPostDeactivate"),z=s(x,"checkCanReturnFocus"),M=s(x,"returnFocus","returnFocusOnDeactivate");L==null||L();var T=function(){kv(function(){M&&w(C(l.nodeFocusedBeforeActivation)),A==null||A()})};return M&&z?(z(C(l.nodeFocusedBeforeActivation)).then(T,T),this):(T(),this)},pause:function(E){if(l.paused||!l.active)return this;var x=s(E,"onPause"),L=s(E,"onPostPause");return l.paused=!0,x==null||x(),R(),b(),L==null||L(),this},unpause:function(E){if(!l.paused||!l.active)return this;var x=s(E,"onUnpause"),L=s(E,"onPostUnpause");return l.paused=!1,x==null||x(),m(),P(),b(),L==null||L(),this},updateContainerElements:function(E){var x=[].concat(E).filter(Boolean);return l.containers=x.map(function(L){return typeof L=="string"?r.querySelector(L):L}),l.active&&m(),b(),this}},a.updateContainerElements(t),a};function Lr(){return Lr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lr.apply(this,arguments)}function _a(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Pc(e,t){return Pc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Pc(e,t)}function Na(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Pc(e,t)}function Py(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function zy(e,t){e.classList?e.classList.add(t):Py(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function Nv(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function Fy(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=Nv(e.className,t):e.setAttribute("class",Nv(e.className&&e.className.baseVal||"",t))}const bv={disabled:!1},Fo=ee.createContext(null);var jv=function(t){return t.scrollTop},Do="unmounted",Or="exited",Pt="entering",vn="entered",$o="exiting",Ln=function(e){Na(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var l=i,a=l&&!l.isMounting?r.enter:r.appear,s;return o.appearStatus=null,r.in?a?(s=Or,o.appearStatus=Pt):s=vn:r.unmountOnExit||r.mountOnEnter?s=Do:s=Or,o.state={status:s},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var l=i.in;return l&&o.status===Do?{status:Or}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var l=this.state.status;this.props.in?l!==Pt&&l!==vn&&(o=Pt):(l===Pt||l===vn)&&(o=$o)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,l,a;return o=l=a=i,i!=null&&typeof i!="number"&&(o=i.exit,l=i.enter,a=i.appear!==void 0?i.appear:l),{exit:o,enter:l,appear:a}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===Pt){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:ga.findDOMNode(this);l&&jv(l)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Or&&this.setState({status:Do})},n.performEnter=function(i){var o=this,l=this.props.enter,a=this.context?this.context.isMounting:i,s=this.props.nodeRef?[a]:[ga.findDOMNode(this),a],u=s[0],h=s[1],f=this.getTimeouts(),m=a?f.appear:f.enter;if(!i&&!l||bv.disabled){this.safeSetState({status:vn},function(){o.props.onEntered(u)});return}this.props.onEnter(u,h),this.safeSetState({status:Pt},function(){o.props.onEntering(u,h),o.onTransitionEnd(m,function(){o.safeSetState({status:vn},function(){o.props.onEntered(u,h)})})})},n.performExit=function(){var i=this,o=this.props.exit,l=this.getTimeouts(),a=this.props.nodeRef?void 0:ga.findDOMNode(this);if(!o||bv.disabled){this.safeSetState({status:Or},function(){i.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:$o},function(){i.props.onExiting(a),i.onTransitionEnd(l.exit,function(){i.safeSetState({status:Or},function(){i.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,l=!0;return this.nextCallback=function(a){l&&(l=!1,o.nextCallback=null,i(a))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var l=this.props.nodeRef?this.props.nodeRef.current:ga.findDOMNode(this),a=i==null&&!this.props.addEndListener;if(!l||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],u=s[0],h=s[1];this.props.addEndListener(u,h)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Do)return null;var o=this.props,l=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var a=_a(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ee.createElement(Fo.Provider,{value:null},typeof l=="function"?l(i,a):ee.cloneElement(ee.Children.only(l),a))},t}(ee.Component);Ln.contextType=Fo,Ln.propTypes={};function ki(){}Ln.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ki,onEntering:ki,onEntered:ki,onExit:ki,onExiting:ki,onExited:ki},Ln.UNMOUNTED=Do,Ln.EXITED=Or,Ln.ENTERING=Pt,Ln.ENTERED=vn,Ln.EXITING=$o;const Dy=Ln;var $y=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return zy(t,r)})},zc=function(t,n){return t&&n&&n.split(" ").forEach(function(r){return Fy(t,r)})},Fc=function(e){Na(t,e);function t(){for(var r,i=arguments.length,o=new Array(i),l=0;l<i;l++)o[l]=arguments[l];return r=e.call.apply(e,[this].concat(o))||this,r.appliedClasses={appear:{},enter:{},exit:{}},r.onEnter=function(a,s){var u=r.resolveArguments(a,s),h=u[0],f=u[1];r.removeClasses(h,"exit"),r.addClass(h,f?"appear":"enter","base"),r.props.onEnter&&r.props.onEnter(a,s)},r.onEntering=function(a,s){var u=r.resolveArguments(a,s),h=u[0],f=u[1],m=f?"appear":"enter";r.addClass(h,m,"active"),r.props.onEntering&&r.props.onEntering(a,s)},r.onEntered=function(a,s){var u=r.resolveArguments(a,s),h=u[0],f=u[1],m=f?"appear":"enter";r.removeClasses(h,m),r.addClass(h,m,"done"),r.props.onEntered&&r.props.onEntered(a,s)},r.onExit=function(a){var s=r.resolveArguments(a),u=s[0];r.removeClasses(u,"appear"),r.removeClasses(u,"enter"),r.addClass(u,"exit","base"),r.props.onExit&&r.props.onExit(a)},r.onExiting=function(a){var s=r.resolveArguments(a),u=s[0];r.addClass(u,"exit","active"),r.props.onExiting&&r.props.onExiting(a)},r.onExited=function(a){var s=r.resolveArguments(a),u=s[0];r.removeClasses(u,"exit"),r.addClass(u,"exit","done"),r.props.onExited&&r.props.onExited(a)},r.resolveArguments=function(a,s){return r.props.nodeRef?[r.props.nodeRef.current,a]:[a,s]},r.getClassNames=function(a){var s=r.props.classNames,u=typeof s=="string",h=u&&s?s+"-":"",f=u?""+h+a:s[a],m=u?f+"-active":s[a+"Active"],p=u?f+"-done":s[a+"Done"];return{baseClassName:f,activeClassName:m,doneClassName:p}},r}var n=t.prototype;return n.addClass=function(i,o,l){var a=this.getClassNames(o)[l+"ClassName"],s=this.getClassNames("enter"),u=s.doneClassName;o==="appear"&&l==="done"&&u&&(a+=" "+u),l==="active"&&i&&jv(i),a&&(this.appliedClasses[o][l]=a,$y(i,a))},n.removeClasses=function(i,o){var l=this.appliedClasses[o],a=l.base,s=l.active,u=l.done;this.appliedClasses[o]={},a&&zc(i,a),s&&zc(i,s),u&&zc(i,u)},n.render=function(){var i=this.props;i.classNames;var o=_a(i,["classNames"]);return ee.createElement(Dy,Lr({},o,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(ee.Component);Fc.defaultProps={classNames:""},Fc.propTypes={};const ir=Fc;function Uy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dc(e,t){var n=function(o){return t&&g.isValidElement(o)?t(o):o},r=Object.create(null);return e&&g.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function Hy(e,t){e=e||{},t=t||{};function n(h){return h in t?t[h]:e[h]}var r=Object.create(null),i=[];for(var o in e)o in t?i.length&&(r[o]=i,i=[]):i.push(o);var l,a={};for(var s in t){if(r[s])for(l=0;l<r[s].length;l++){var u=r[s][l];a[r[s][l]]=n(u)}a[s]=n(s)}for(l=0;l<i.length;l++)a[i[l]]=n(i[l]);return a}function Ar(e,t,n){return n[t]!=null?n[t]:e.props[t]}function By(e,t){return Dc(e.children,function(n){return g.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:Ar(n,"appear",e),enter:Ar(n,"enter",e),exit:Ar(n,"exit",e)})})}function Wy(e,t,n){var r=Dc(e.children),i=Hy(t,r);return Object.keys(i).forEach(function(o){var l=i[o];if(g.isValidElement(l)){var a=o in t,s=o in r,u=t[o],h=g.isValidElement(u)&&!u.props.in;s&&(!a||h)?i[o]=g.cloneElement(l,{onExited:n.bind(null,l),in:!0,exit:Ar(l,"exit",e),enter:Ar(l,"enter",e)}):!s&&a&&!h?i[o]=g.cloneElement(l,{in:!1}):s&&a&&g.isValidElement(u)&&(i[o]=g.cloneElement(l,{onExited:n.bind(null,l),in:u.props.in,exit:Ar(l,"exit",e),enter:Ar(l,"enter",e)}))}}),i}var Vy=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Ky={component:"div",childFactory:function(t){return t}},$c=function(e){Na(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var l=o.handleExited.bind(Uy(o));return o.state={contextValue:{isMounting:!0},handleExited:l,firstRender:!0},o}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(i,o){var l=o.children,a=o.handleExited,s=o.firstRender;return{children:s?By(i,a):Wy(i,l,a),firstRender:!1}},n.handleExited=function(i,o){var l=Dc(this.props.children);i.key in l||(i.props.onExited&&i.props.onExited(o),this.mounted&&this.setState(function(a){var s=Lr({},a.children);return delete s[i.key],{children:s}}))},n.render=function(){var i=this.props,o=i.component,l=i.childFactory,a=_a(i,["component","childFactory"]),s=this.state.contextValue,u=Vy(this.state.children).map(l);return delete a.appear,delete a.enter,delete a.exit,o===null?ee.createElement(Fo.Provider,{value:s},u):ee.createElement(Fo.Provider,{value:s},ee.createElement(o,a,u))},t}(ee.Component);$c.propTypes={},$c.defaultProps=Ky;const Gy=$c;var ba,ja;function Yy(e,t){return!(e===t||ee.isValidElement(e)&&ee.isValidElement(t)&&e.key!=null&&e.key===t.key)}var _i={out:"out-in",in:"in-out"},Ta=function(t,n,r){return function(){var i;t.props[n]&&(i=t.props)[n].apply(i,arguments),r()}},Qy=(ba={},ba[_i.out]=function(e){var t=e.current,n=e.changeState;return ee.cloneElement(t,{in:!1,onExited:Ta(t,"onExited",function(){n(Pt,null)})})},ba[_i.in]=function(e){var t=e.current,n=e.changeState,r=e.children;return[t,ee.cloneElement(r,{in:!0,onEntered:Ta(r,"onEntered",function(){n(Pt)})})]},ba),Xy=(ja={},ja[_i.out]=function(e){var t=e.children,n=e.changeState;return ee.cloneElement(t,{in:!0,onEntered:Ta(t,"onEntered",function(){n(vn,ee.cloneElement(t,{in:!0}))})})},ja[_i.in]=function(e){var t=e.current,n=e.children,r=e.changeState;return[ee.cloneElement(t,{in:!1,onExited:Ta(t,"onExited",function(){r(vn,ee.cloneElement(n,{in:!0}))})}),ee.cloneElement(n,{in:!0})]},ja),Uc=function(e){Na(t,e);function t(){for(var r,i=arguments.length,o=new Array(i),l=0;l<i;l++)o[l]=arguments[l];return r=e.call.apply(e,[this].concat(o))||this,r.state={status:vn,current:null},r.appeared=!1,r.changeState=function(a,s){s===void 0&&(s=r.state.current),r.setState({status:a,current:s})},r}var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(i,o){return i.children==null?{current:null}:o.status===Pt&&i.mode===_i.in?{status:Pt}:o.current&&Yy(o.current,i.children)?{status:$o}:{current:ee.cloneElement(i.children,{in:!0})}},n.render=function(){var i=this.props,o=i.children,l=i.mode,a=this.state,s=a.status,u=a.current,h={children:o,current:u,changeState:this.changeState,status:s},f;switch(s){case Pt:f=Xy[l](h);break;case $o:f=Qy[l](h);break;case vn:f=u}return ee.createElement(Fo.Provider,{value:{isMounting:!this.appeared}},f)},t}(ee.Component);Uc.propTypes={},Uc.defaultProps={mode:_i.out};const Tv=Uc;var Zy=["Shift","Meta","Alt","Control"],Rv=typeof navigator=="object"?navigator.platform:"",Lv=/Mac|iPod|iPhone|iPad/.test(Rv),qy=Lv?"Meta":"Control",Jy=Rv==="Win32"?["Control","Alt"]:Lv?["Alt"]:[];function Hc(e,t){return typeof e.getModifierState=="function"&&(e.getModifierState(t)||Jy.includes(t)&&e.getModifierState("AltGraph"))}function ew(e){return e.trim().split(" ").map(function(t){var n=t.split(/\b\+/),r=n.pop();return[n=n.map(function(i){return i==="$mod"?qy:i}),r]})}function tw(e,t){var n;t===void 0&&(t={});var r=(n=t.timeout)!=null?n:1e3,i=Object.keys(e).map(function(a){return[ew(a),e[a]]}),o=new Map,l=null;return function(a){a instanceof KeyboardEvent&&(i.forEach(function(s){var u=s[0],h=s[1],f=o.get(u)||u;(function(m,p){return!(p[1].toUpperCase()!==m.key.toUpperCase()&&p[1]!==m.code||p[0].find(function(w){return!Hc(m,w)})||Zy.find(function(w){return!p[0].includes(w)&&p[1]!==w&&Hc(m,w)}))})(a,f[0])?f.length>1?o.set(u,f.slice(1)):(o.delete(u),h(a)):Hc(a,a.key)||o.delete(u)}),l&&clearTimeout(l),l=setTimeout(o.clear.bind(o),r))}}function nw(e,t,n){var r;n===void 0&&(n={});var i=(r=n.event)!=null?r:"keydown",o=tw(t,n);return e.addEventListener(i,o),function(){e.removeEventListener(i,o)}}const rw=new Set(["input","select","textarea"]),De=(e,t,n)=>{const r=g.useCallback(n,[]),i=g.useRef(r);i.current=n,g.useEffect(()=>{if(!(e!=null&&e.current==null))return nw((e==null?void 0:e.current)??window,Object.fromEntries(t.map(o=>[o,l=>{const a=l.target;a instanceof HTMLElement&&rw.has(a.tagName.toLowerCase())||i.current(l)}])))},[e,t])};var Ni=8,kt={BLACK:"#000000",WHITE:"#ffffff",BACKGROUND:"#f7f8f8",BORDER:"#d4dcde",HOVER_WHITE:"rgba(255, 255, 255, 0.3)",HOVER_BLACK:"rgba(0, 0, 0, 0.1)",TEXT_BASE:"#00303c",TEXT_SUB:"#8da3a9",TEXT_LINK:"#2582c7",BRAND_PRIMARY:"#ff4438",BRAND_SECONDARY:"#00303c",BRAND_ACCENT:"#7d96e9",SIGN_PASSED:"#64ddc0",SIGN_NEW:"#33a6e8",SIGN_CHANGED:"#e5537c",SIGN_DELETED:"#404d77"},Ir={X_SMALL:375,SMALL:599,MEDIUM:770,LARGE:1024,X_LARGE:1200},Ze={FADE_IN:150,FADE_OUT:75,SLIDE_IN:180,SLIDE_OUT:160,SMALL_IN:90,SMALL_OUT:140,MEDIUM_IN:280,MEDIUM_OUT:220,LARGE_IN:160,LARGE_OUT:140},iw={HEADER_HEIGHT:60,CARD_OUTER_HEIGHT:360},Ov={title1:"_1mfv1t41m",title2:"_1mfv1t41n",title3:"_1mfv1t41o",subTitle1:"_1mfv1t41p",subTitle2:"_1mfv1t41q",subTitle3:"_1mfv1t41r",body1:"_1mfv1t41s",body2:"_1mfv1t41t",body3:"_1mfv1t41u",subHead:"_1mfv1t41v",button:"_1mfv1t41w"};function Av(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Av(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function _t(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Av(e))&&(r&&(r+=" "),r+=t);return r}const Iv=()=>g.useContext(sv),ow=/^https?:\/\//,lw=/^#/,aw=e=>e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented,Mv=g.forwardRef(({href:e,target:t,rel:n,children:r,onClick:i,...o},l)=>{const a=Iv(),s=g.useCallback(u=>{i!=null&&i(u),!(e==null||t||u.button!==0||aw(u))&&(lw.test(e)||ow.test(e)||(u.preventDefault(),a.push(e)))},[a,e,t,i]);return c.jsx("a",{...o,ref:l,rel:t==="_blank"&&n==null?"noopener noreferrer":n,href:e,target:t,onClick:s,children:r})});Mv.displayName="Link";var sw="_8612ug0";const or=g.forwardRef(({className:e,type:t="button",href:n,children:r,...i},o)=>{const l=n!=null,a=l?Mv:"button",s=l?{href:n,...i}:{type:t,...i};return c.jsx(a,{...s,className:_t(sw,e),ref:o,children:r})});var uw="eryhhr0",cw="eryhhr1",fw="eryhhr2";const bi=g.forwardRef(({className:e,variant:t="light",children:n,...r},i)=>c.jsx(or,{ref:i,className:_t(uw,{[cw]:t==="light",[fw]:t==="dark"}),...r,children:n})),Pv=({fill:e,...t})=>c.jsxs("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",...t,children:[c.jsx("path",{d:"M12.8068 12.0001L19.2592 5.54677C19.482 5.32388 19.482 4.96155 19.2592 4.73867C19.0363 4.51578 18.674 4.51578 18.4512 4.73867L11.9989 11.192L5.54652 4.73867C5.32367 4.51578 4.96139 4.51578 4.73854 4.73867C4.5157 4.96155 4.5157 5.32388 4.73854 5.54677L11.1909 12.0001L4.73854 18.4535C4.5157 18.6764 4.5157 19.0387 4.73854 19.2616C4.85054 19.3736 4.99682 19.4285 5.1431 19.4285C5.28938 19.4285 5.43566 19.3725 5.54766 19.2616L12 12.8082L18.4523 19.2616C18.5643 19.3736 18.7106 19.4285 18.8569 19.4285C19.0032 19.4285 19.1495 19.3725 19.2615 19.2616C19.4843 19.0387 19.4843 18.6764 19.2615 18.4535L12.8091 12.0001H12.8068Z",fill:e}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.54766 19.2616C5.43566 19.3725 5.28938 19.4285 5.1431 19.4285C4.99682 19.4285 4.85054 19.3736 4.73855 19.2616C4.5157 19.0387 4.5157 18.6764 4.73855 18.4535L11.1909 12.0001L4.73855 5.54676C4.5157 5.32388 4.5157 4.96155 4.73855 4.73866C4.96139 4.51578 5.32367 4.51578 5.54652 4.73866L11.9989 11.192L18.4512 4.73866C18.674 4.51578 19.0363 4.51578 19.2592 4.73866C19.482 4.96155 19.482 5.32388 19.2592 5.54676L12.8068 12.0001H12.8091L19.2615 18.4535C19.4843 18.6764 19.4843 19.0387 19.2615 19.2616C19.1495 19.3725 19.0032 19.4285 18.8569 19.4285C18.7106 19.4285 18.5643 19.3736 18.4523 19.2616L12 12.8082L5.54766 19.2616ZM12 13.6165L5.94963 19.6678C5.72733 19.8879 5.43519 20 5.1431 20C4.85366 20 4.55944 19.8907 4.3345 19.6657C3.8885 19.2197 3.8885 18.4955 4.3345 18.0494L10.3828 12.0001L4.3345 5.95088C3.8885 5.50481 3.8885 4.78062 4.3345 4.33455C4.7805 3.88848 5.50457 3.88848 5.95056 4.33455L11.9989 10.3838L18.0472 4.33455C18.4931 3.88848 19.2172 3.88848 19.6632 4.33455C20.1092 4.78062 20.1092 5.50481 19.6632 5.95088L13.6161 11.999L19.6655 18.0494C20.1115 18.4955 20.1115 19.2197 19.6655 19.6657L19.6634 19.6678C19.4411 19.8879 19.149 20 18.8569 20C18.5675 20 18.2732 19.8907 18.0483 19.6657L12 13.6165Z",fill:e})]}),zv="app",Nt={el:null,count:0},Ra=({children:e,onRendered:t})=>{const[n,r]=g.useState(!1);return g.useEffect(()=>{const i=document.getElementById(zv)??document.getElementById("storybook-root");if(i!=null)return Nt.el==null&&(Nt.el=document.createElement("div"),Nt.el.classList.add("portal"),i.appendChild(Nt.el)),Nt.count++,r(!0),()=>{Nt.count--,Nt.count<=0&&Nt.el!=null&&(i.removeChild(Nt.el),Nt.count=0,Nt.el=null)}},[]),g.useEffect(()=>{n&&t!=null&&t()},[n,t]),!n||Nt.el==null?null:Oo.createPortal(e,Nt.el)};var Fv={enter:120,exit:160},dw="_1cgvgx20",hw="_1cgvgx21",pw="_1cgvgx22",vw="_1cgvgx23",mw="_1cgvgx24",gw="_1cgvgx25",yw="_1cgvgx26";const ww=()=>!0,Ew=({id:e,title:t,open:n,children:r,onRequestClose:i,...o})=>{const l=g.useRef(null),a=g.useRef(null),s=g.useRef(null),u=g.useCallback(()=>{const{current:m}=l,{current:p}=a;m==null||p==null||(s.current=Mc(p,{allowOutsideClick:ww}),s.current.activate(),Lc(m))},[]),h=g.useCallback(()=>{const{current:m}=l,{current:p}=s;m==null||p==null||(p.deactivate(),Oc(m))},[]),f=g.useCallback(m=>{m.preventDefault(),i()},[i]);return g.useEffect(()=>()=>{const{current:m}=l;m!=null&&Oc(m);const{current:p}=s;p!=null&&p.deactivate()},[]),De(l,["Escape"],()=>{i()}),c.jsx(Ra,{children:c.jsx(ir,{mountOnEnter:!0,unmountOnExit:!0,classNames:"dialog",in:n,timeout:{enter:Ze.FADE_IN+Fv.enter,exit:Ze.FADE_OUT+Fv.exit},onEnter:u,onExit:h,children:c.jsx("div",{className:dw,children:c.jsxs("div",{ref:l,className:hw,children:[c.jsx("div",{ref:a,className:pw,children:c.jsxs("div",{...o,className:vw,id:e,tabIndex:n?0:-1,role:"dialog","aria-modal":"true","aria-hidden":n?"false":"true",children:[c.jsxs("div",{role:"document",children:[c.jsx("h2",{className:mw,children:t}),r]}),c.jsx("div",{className:gw,children:c.jsx(bi,{"aria-controls":e,"aria-label":"Close dialog",onClick:f,children:c.jsx(Pv,{fill:kt.TEXT_SUB})})})]})}),c.jsx("button",{className:yw,type:"button","aria-controls":e,"aria-label":"Close dialog",onClick:f})]})})})})};var Sw="_17idolm0",xw="_17idolm1",Cw="_17idolm2 _1mfv1t41q",Dv="_17idolm3 _1mfv1t41t",$v="_17idolm4";const Bc=({children:e})=>c.jsx("tr",{children:c.jsx("th",{className:Cw,colSpan:2,children:e})}),en=({description:e,shortcuts:t})=>c.jsxs("tr",{children:[c.jsx("td",{className:Dv,children:e}),c.jsx("td",{className:Dv,children:t.map((n,r)=>Array.isArray(n)?n.map(i=>c.jsx(ee.Fragment,{children:c.jsx("kbd",{className:$v,children:i})},i)):c.jsxs(ee.Fragment,{children:[r>0&&c.jsx("span",{children:" or "}),c.jsx("kbd",{className:$v,children:n})]},n))})]}),kw=({...e})=>c.jsx(Ew,{...e,id:"help-dialog",title:"Keyboard shortcuts",children:c.jsx("div",{className:Sw,children:c.jsx("table",{className:xw,children:c.jsxs("tbody",{children:[c.jsx(Bc,{children:"Application"}),c.jsx(en,{description:"Focus filter bar",shortcuts:["/","s"]}),c.jsx(en,{description:"Toggle Sidebar",shortcuts:["f"]}),c.jsx(en,{description:"Bring up this dialog",shortcuts:["?"]}),c.jsx(Bc,{children:"Navigation"}),c.jsx(en,{description:"Go to Sidebar",shortcuts:[["g","s"]]}),c.jsx(en,{description:"Go to CHANGED ITEMS",shortcuts:[["g","c"]]}),c.jsx(en,{description:"Go to NEW ITEMS",shortcuts:[["g","n"]]}),c.jsx(en,{description:"Go to DELETED ITEMS",shortcuts:[["g","d"]]}),c.jsx(en,{description:"Go to PASSED ITEMS",shortcuts:[["g","p"]]}),c.jsx(Bc,{children:"Viewer"}),c.jsx(en,{description:"Close Viewer",shortcuts:["Esc"]}),c.jsx(en,{description:"Next item",shortcuts:["→","l"]}),c.jsx(en,{description:"Previous item",shortcuts:["←","h"]})]})})})});var zt=(e=>(e.INIT_CALC="init",e.REQUEST_CALC="req_calc",e.RESULT_CALC="res_calc",e.INIT_FILTER="init_filter",e.REQUEST_FILTER="req_filter",e.RESULT_FILTER="res_filter",e))(zt||{});const La=(e,t,n)=>{const r=(i,o)=>t[i].replace(/\/$/,"")+"/"+o.replace(/^\//,"");return n.map(i=>({id:`${e}-${i.encoded}`.replace(/[=?]/g,"-"),variant:e,name:i.raw,diff:r("diff",i.encoded).replace(/\.[^.]+$/,".png"),before:r("expected",i.encoded),after:r("actual",i.encoded)}))},Oa=e=>{const t=[];return e.forEach(n=>{const r=n.id,i=n.name,o=i.split("/");let l=t;o.forEach(a=>{const s=l.find(u=>u.name===a);if(s!=null)l=s.children;else{const u={id:r,path:i,name:a,children:[]};l.push(u),l=u.children}})}),t},Uv=En(null),_w=(e,t)=>{e.set(Uv,t)},Hv=()=>{const e=Kr(Uv);if(e==null)throw new Error("WorkerClient is not initialized");return e},Wc=En({new:[],passed:[],failed:[],deleted:[]}),Aa=En({new:[],passed:[],failed:[],deleted:[]}),Nw=En(e=>{const t=e(Aa);return t.failed.concat(t.new,t.deleted,t.passed)}),bw=En(!1),jw=(e,t,n)=>{const r={diff:t.diffDir,expected:t.expectedDir,actual:t.actualDir};e.set(Wc,{new:La("new",r,t.newItems),passed:La("passed",r,t.passedItems),failed:La("changed",r,t.failedItems),deleted:La("deleted",r,t.deletedItems)});const i=e.get(Wc);e.set(Aa,{...i,...e.get(Wc)}),n.requestFilterInit({newItems:i.new,passedItems:i.passed,failedItems:i.failed,deletedItems:i.deleted}),n.subscribe(zt.RESULT_FILTER,o=>{e.set(Aa,{new:o.newItems,passed:o.passedItems,failed:o.failedItems,deleted:o.deletedItems})})},Uo=()=>{const e=Kr(Aa),t=Kr(Nw);return{newItems:e.new,passedItems:e.passed,failedItems:e.failed,deletedItems:e.deleted,allItems:t}},Bv=()=>{const e=Hv(),[t,n]=ol(bw),r=g.useCallback(i=>{if(e==null)return;const o=i.trim();n(o!==""),e.requestFilter({input:o})},[e,n]);return[t,r]},Tw=5e3,Ia=En({id:null,message:null}),Wv=En(e=>e(Ia).message,(e,t,n)=>{const r=e(Ia);r.id!=null&&window.clearInterval(r.id),t(Ia,{id:window.setTimeout(()=>{t(Ia,{id:null,message:null})},Tw),message:n})}),Rw=()=>{const[,e]=ol(Wv);return g.useCallback(t=>{e(t)},[e])},Lw=()=>{const[e]=ol(Wv);return e};var Vv={},Ow=function(t,n,r,i){var o=r?r.call(i,t,n):void 0;if(o!==void 0)return!!o;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var l=Object.keys(t),a=Object.keys(n);if(l.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(n),u=0;u<l.length;u++){var h=l[u];if(!s(h))return!1;var f=t[h],m=n[h];if(o=r?r.call(i,f,m,h):void 0,o===!1||o===void 0&&f!==m)return!1}return!0},Ma=wn&&wn.__assign||function(){return Ma=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Ma.apply(this,arguments)},Aw=wn&&wn.__rest||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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},Iw=wn&&wn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Vv,"__esModule",{value:!0});var Ho=g,Mw=Iw(Ow),Pw=Vv.useIntersection=function(e,t,n){t===void 0&&(t={});var r=t.defaultIntersecting,i=t.once,o=Aw(t,["defaultIntersecting","once"]),l=Ho.useRef(o),a=Ho.useState(r===!0),s=a[0],u=a[1],h=Ho.useRef(!1);return Ho.useEffect(function(){Mw.default(l.current,o)||(l.current=o)}),Ho.useEffect(function(){if(e!=null){var f=e instanceof Element?e:e.current;if(f!=null&&!(i&&h.current)){var m=new IntersectionObserver(function(p){var w=p[p.length-1];u(w.isIntersecting),n!=null&&n(w),w.isIntersecting&&(h.current=!0),i&&w.isIntersecting&&f!=null&&m.unobserve(f)},Ma(Ma({},l.current),{root:l.current.root!=null?l.current.root.current:null}));return m.observe(f),function(){i&&h.current||f!=null&&m.unobserve(f)}}}},[l.current,e]),s};const zw="loading"in HTMLImageElement.prototype;var Kv={exports:{}};(function(e,t){(function(n){e.exports=n(null)})(function n(r){var i=/^\0+/g,o=/[\0\r\f]/g,l=/: */g,a=/zoo|gra/,s=/([,: ])(transform)/g,u=/,+\s*(?![^(]*[)])/g,h=/ +\s*(?![^(]*[)])/g,f=/ *[\0] */g,m=/,\r+?/g,p=/([\t\r\n ])*\f?&/g,w=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,C=/\W+/g,O=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,d=/:(read-only)/g,y=/\s+(?=[{\];=:>])/g,k=/([[}=:>])\s+/g,I=/(\{[^{]+?);(?=\})/g,P=/\s{2,}/g,R=/([^\(])(:+) */g,S=/[svh]\w+-[tblr]{2}/,N=/\(\s*(.*)\s*\)/g,b=/([\s\S]*?);/g,j=/-self|flex-/g,E=/[^]*?(:[rp][el]a[\w-]+)[^]*/,x=/stretch|:\s*\w+\-(?:conte|avail)/,L=/([^-])(image-set\()/,A="-webkit-",z="-moz-",M="-ms-",T=59,D=125,$=123,Y=40,X=41,ie=91,we=93,Se=10,de=13,pe=9,$t=64,lt=32,Fr=38,Je=45,Dr=95,at=42,mt=44,st=58,bt=39,nn=34,et=47,An=62,We=43,rn=126,Ut=0,ts=12,Li=11,Oi=107,Ai=109,$r=115,Ko=112,ns=111,rs=105,gn=99,is=100,Ht=112,ut=1,gt=1,Bt=0,jt=1,Tt=1,fr=1,Go=0,os=0,Ur=0,Ii=[],Mi=[],on=0,Yo=null,ls=-2,Qo=-1,as=0,Cf=1,kf=2,ss=3,Xo=0,Wt=1,Pi="",ln="",dr="";function zi(K,G,W,J,H){for(var _=0,Q=0,U=0,re=0,ue=0,_e=0,te=0,tt=0,cs=0,sm=0,Hr=0,Pn=0,fs=0,yn=0,ae=0,Kt=0,Fi=0,Zo=0,ve=0,Br=W.length,qo=Br-1,Ke="",q="",me="",Re="",ds="",_f="",zn,pr;ae<Br;){if(te=W.charCodeAt(ae),ae===qo&&Q+re+U+_!==0&&(Q!==0&&(te=Q===et?Se:et),re=U=_=0,Br++,qo++),Q+re+U+_===0){if(ae===qo&&(Kt>0&&(q=q.replace(o,"")),q.trim().length>0)){switch(te){case lt:case pe:case T:case de:case Se:break;default:q+=W.charAt(ae)}te=T}if(Fi===1)switch(te){case $:case D:case T:case nn:case bt:case Y:case X:case mt:Fi=0;case pe:case de:case Se:case lt:break;default:for(Fi=0,ve=ae,ue=te,ae--,te=T;ve<Br;)switch(W.charCodeAt(ve++)){case Se:case de:case T:{++ae,te=ue,ve=Br;break}case st:Kt>0&&(++ae,te=ue);case $:ve=Br}}switch(te){case $:{for(q=q.trim(),ue=q.charCodeAt(0),Hr=1,ve=++ae;ae<Br;){switch(te=W.charCodeAt(ae)){case $:{Hr++;break}case D:{Hr--;break}case et:{switch(_e=W.charCodeAt(ae+1)){case at:case et:ae=an(_e,ae,qo,W)}break}case ie:te++;case Y:te++;case nn:case bt:for(;ae++<qo&&W.charCodeAt(ae)!==te;);}if(Hr===0)break;ae++}switch(me=W.substring(ve,ae),ue===Ut&&(ue=(q=q.replace(i,"").trim()).charCodeAt(0)),ue){case $t:{switch(Kt>0&&(q=q.replace(o,"")),_e=q.charCodeAt(1),_e){case is:case Ai:case $r:case Je:{zn=G;break}default:zn=Ii}if(me=zi(G,zn,me,_e,H+1),ve=me.length,Ur>0&&ve===0&&(ve=q.length),on>0&&(zn=us(Ii,q,Zo),pr=Ve(ss,me,zn,G,gt,ut,ve,_e,H,J),q=zn.join(""),pr!==void 0&&(ve=(me=pr.trim()).length)===0&&(_e=0,me="")),ve>0)switch(_e){case $r:q=q.replace(N,je);case is:case Ai:case Je:{me=q+"{"+me+"}";break}case Oi:{q=q.replace(O,"$1 $2"+(Wt>0?Pi:"")),me=q+"{"+me+"}",Tt===1||Tt===2&&le("@"+me,3)?me="@"+A+me+"@"+me:me="@"+me;break}default:me=q+me,J===Ht&&(me=(Re+=me,""))}else me="";break}default:me=zi(G,us(G,q,Zo),me,J,H+1)}ds+=me,Pn=0,Fi=0,yn=0,Kt=0,Zo=0,fs=0,q="",me="",te=W.charCodeAt(++ae);break}case D:case T:{if(q=(Kt>0?q.replace(o,""):q).trim(),(ve=q.length)>1)switch(yn===0&&(ue=q.charCodeAt(0),(ue===Je||ue>96&&ue<123)&&(ve=(q=q.replace(" ",":")).length)),on>0&&(pr=Ve(Cf,q,G,K,gt,ut,Re.length,J,H,J))!==void 0&&(ve=(q=pr.trim()).length)===0&&(q="\0\0"),ue=q.charCodeAt(0),_e=q.charCodeAt(1),ue){case Ut:break;case $t:if(_e===rs||_e===gn){_f+=q+W.charAt(ae);break}default:{if(q.charCodeAt(ve-1)===st)break;Re+=Z(q,ue,_e,q.charCodeAt(2))}}Pn=0,Fi=0,yn=0,Kt=0,Zo=0,q="",te=W.charCodeAt(++ae);break}}}switch(te){case de:case Se:{if(Q+re+U+_+os===0)switch(sm){case X:case bt:case nn:case $t:case rn:case An:case at:case We:case et:case Je:case st:case mt:case T:case $:case D:break;default:yn>0&&(Fi=1)}Q===et?Q=0:jt+Pn===0&&J!==Oi&&q.length>0&&(Kt=1,q+="\0"),on*Xo>0&&Ve(as,q,G,K,gt,ut,Re.length,J,H,J),ut=1,gt++;break}case T:case D:if(Q+re+U+_===0){ut++;break}default:{switch(ut++,Ke=W.charAt(ae),te){case pe:case lt:{if(re+_+Q===0)switch(tt){case mt:case st:case pe:case lt:{Ke="";break}default:te!==lt&&(Ke=" ")}break}case Ut:{Ke="\\0";break}case ts:{Ke="\\f";break}case Li:{Ke="\\v";break}case Fr:{re+Q+_===0&&jt>0&&(Zo=1,Kt=1,Ke="\f"+Ke);break}case 108:{if(re+Q+_+Bt===0&&yn>0)switch(ae-yn){case 2:tt===Ko&&W.charCodeAt(ae-3)===st&&(Bt=tt);case 8:cs===ns&&(Bt=cs)}break}case st:{re+Q+_===0&&(yn=ae);break}case mt:{Q+U+re+_===0&&(Kt=1,Ke+="\r");break}case nn:case bt:{Q===0&&(re=re===te?0:re===0?te:re);break}case ie:{re+Q+U===0&&_++;break}case we:{re+Q+U===0&&_--;break}case X:{re+Q+_===0&&U--;break}case Y:{if(re+Q+_===0){if(Pn===0)switch(tt*2+cs*3){case 533:break;default:Hr=0,Pn=1}U++}break}case $t:{Q+U+re+_+yn+fs===0&&(fs=1);break}case at:case et:{if(re+_+U>0)break;switch(Q){case 0:{switch(te*2+W.charCodeAt(ae+1)*3){case 235:{Q=et;break}case 220:{ve=ae,Q=at;break}}break}case at:te===et&&tt===at&&ve+2!==ae&&(W.charCodeAt(ve+2)===33&&(Re+=W.substring(ve,ae+1)),Ke="",Q=0)}}}if(Q===0){if(jt+re+_+fs===0&&J!==Oi&&te!==T)switch(te){case mt:case rn:case An:case We:case X:case Y:{if(Pn===0){switch(tt){case pe:case lt:case Se:case de:{Ke=Ke+"\0";break}default:Ke="\0"+Ke+(te===mt?"":"\0")}Kt=1}else switch(te){case Y:{yn+7===ae&&tt===108&&(yn=0),Pn=++Hr;break}case X:{(Pn=--Hr)===0&&(Kt=1,Ke+="\0");break}}break}case pe:case lt:switch(tt){case Ut:case $:case D:case T:case mt:case ts:case pe:case lt:case Se:case de:break;default:Pn===0&&(Kt=1,Ke+="\0")}}q+=Ke,te!==lt&&te!==pe&&(sm=te)}}}cs=tt,tt=te,ae++}if(ve=Re.length,Ur>0&&ve===0&&ds.length===0&&G[0].length!==0&&(J!==Ai||G.length===1&&(jt>0?ln:dr)===G[0])&&(ve=G.join(",").length+2),ve>0){if(zn=jt===0&&J!==Oi?Vt(G):G,on>0&&(pr=Ve(kf,Re,zn,K,gt,ut,ve,J,H,J),pr!==void 0&&(Re=pr).length===0))return _f+Re+ds;if(Re=zn.join(",")+"{"+Re+"}",Tt*Bt!==0){switch(Tt===2&&!le(Re,2)&&(Bt=0),Bt){case ns:{Re=Re.replace(d,":"+z+"$1")+Re;break}case Ko:{Re=Re.replace(v,"::"+A+"input-$1")+Re.replace(v,"::"+z+"$1")+Re.replace(v,":"+M+"input-$1")+Re;break}}Bt=0}}return _f+Re+ds}function us(K,G,W){var J=G.trim().split(m),H=J,_=J.length,Q=K.length;switch(Q){case 0:case 1:{for(var U=0,re=Q===0?"":K[0]+" ";U<_;++U)H[U]=fe(re,H[U],W,Q).trim();break}default:for(var U=0,ue=0,H=[];U<_;++U)for(var _e=0;_e<Q;++_e)H[ue++]=fe(K[_e]+" ",J[U],W,Q).trim()}return H}function fe(K,G,W,J){var H=G,_=H.charCodeAt(0);switch(_<33&&(_=(H=H.trim()).charCodeAt(0)),_){case Fr:{switch(jt+J){case 0:case 1:if(K.trim().length===0)break;default:return H.replace(p,"$1"+K.trim())}break}case st:switch(H.charCodeAt(1)){case 103:{if(fr>0&&jt>0)return H.replace(w,"$1").replace(p,"$1"+dr);break}default:return K.trim()+H.replace(p,"$1"+K.trim())}default:if(W*jt>0&&H.indexOf("\f")>0)return H.replace(p,(K.charCodeAt(0)===st?"":"$1")+K.trim())}return K+H}function Z(K,G,W,J){var H=0,_=K+";",Q=G*2+W*3+J*4,U;if(Q===944)return Te(_);if(Tt===0||Tt===2&&!le(_,1))return _;switch(Q){case 1015:return _.charCodeAt(10)===97?A+_+_:_;case 951:return _.charCodeAt(3)===116?A+_+_:_;case 963:return _.charCodeAt(5)===110?A+_+_:_;case 1009:if(_.charCodeAt(4)!==100)break;case 969:case 942:return A+_+_;case 978:return A+_+z+_+_;case 1019:case 983:return A+_+z+_+M+_+_;case 883:return _.charCodeAt(8)===Je?A+_+_:_.indexOf("image-set(",11)>0?_.replace(L,"$1"+A+"$2")+_:_;case 932:{if(_.charCodeAt(4)===Je)switch(_.charCodeAt(5)){case 103:return A+"box-"+_.replace("-grow","")+A+_+M+_.replace("grow","positive")+_;case 115:return A+_+M+_.replace("shrink","negative")+_;case 98:return A+_+M+_.replace("basis","preferred-size")+_}return A+_+M+_+_}case 964:return A+_+M+"flex-"+_+_;case 1023:{if(_.charCodeAt(8)!==99)break;return U=_.substring(_.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),A+"box-pack"+U+A+_+M+"flex-pack"+U+_}case 1005:return a.test(_)?_.replace(l,":"+A)+_.replace(l,":"+z)+_:_;case 1e3:{switch(U=_.substring(13).trim(),H=U.indexOf("-")+1,U.charCodeAt(0)+U.charCodeAt(H)){case 226:{U=_.replace(S,"tb");break}case 232:{U=_.replace(S,"tb-rl");break}case 220:{U=_.replace(S,"lr");break}default:return _}return A+_+M+U+_}case 1017:if(_.indexOf("sticky",9)===-1)return _;case 975:{switch(H=(_=K).length-10,U=(_.charCodeAt(H)===33?_.substring(0,H):_).substring(K.indexOf(":",7)+1).trim(),Q=U.charCodeAt(0)+(U.charCodeAt(7)|0)){case 203:if(U.charCodeAt(8)<111)break;case 115:{_=_.replace(U,A+U)+";"+_;break}case 207:case 102:_=_.replace(U,A+(Q>102?"inline-":"")+"box")+";"+_.replace(U,A+U)+";"+_.replace(U,M+U+"box")+";"+_}return _+";"}case 938:{if(_.charCodeAt(5)===Je)switch(_.charCodeAt(6)){case 105:return U=_.replace("-items",""),A+_+A+"box-"+U+M+"flex-"+U+_;case 115:return A+_+M+"flex-item-"+_.replace(j,"")+_;default:return A+_+M+"flex-line-pack"+_.replace("align-content","").replace(j,"")+_}break}case 973:case 989:if(_.charCodeAt(3)!==Je||_.charCodeAt(4)===122)break;case 931:case 953:{if(x.test(K)===!0)return(U=K.substring(K.indexOf(":")+1)).charCodeAt(0)===115?Z(K.replace("stretch","fill-available"),G,W,J).replace(":fill-available",":stretch"):_.replace(U,A+U)+_.replace(U,z+U.replace("fill-",""))+_;break}case 962:{if(_=A+_+(_.charCodeAt(5)===102?M+_:"")+_,W+J===211&&_.charCodeAt(13)===105&&_.indexOf("transform",10)>0)return _.substring(0,_.indexOf(";",27)+1).replace(s,"$1"+A+"$2")+_;break}}return _}function le(K,G){var W=K.indexOf(G===1?":":"{"),J=K.substring(0,G!==3?W:10),H=K.substring(W+1,K.length-1);return Yo(G!==2?J:J.replace(E,"$1"),H,G)}function je(K,G){var W=Z(G,G.charCodeAt(0),G.charCodeAt(1),G.charCodeAt(2));return W!==G+";"?W.replace(b," or ($1)").substring(4):"("+G+")"}function Te(K){var G=K.length,W=K.indexOf(":",9)+1,J=K.substring(0,W).trim(),H=K.substring(W,G-1).trim();switch(K.charCodeAt(9)*Wt){case 0:break;case Je:if(K.charCodeAt(10)!==110)break;default:for(var _=H.split((H="",u)),Q=0,W=0,G=_.length;Q<G;W=0,++Q){for(var U=_[Q],re=U.split(h);U=re[W];){var ue=U.charCodeAt(0);if(Wt===1&&(ue>$t&&ue<90||ue>96&&ue<123||ue===Dr||ue===Je&&U.charCodeAt(1)!==Je))switch(isNaN(parseFloat(U))+(U.indexOf("(")!==-1)){case 1:switch(U){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:U+=Pi}}re[W++]=U}H+=(Q===0?"":",")+re.join(" ")}}return H=J+H+";",Tt===1||Tt===2&&le(H,1)?A+H+H:H}function Vt(K){for(var G=0,W=K.length,J=Array(W),H,_;G<W;++G){for(var Q=K[G].split(f),U="",re=0,ue=0,_e=0,te=0,tt=Q.length;re<tt;++re)if(!((ue=(_=Q[re]).length)===0&&tt>1)){if(_e=U.charCodeAt(U.length-1),te=_.charCodeAt(0),H="",re!==0)switch(_e){case at:case rn:case An:case We:case lt:case Y:break;default:H=" "}switch(te){case Fr:_=H+ln;case rn:case An:case We:case lt:case X:case Y:break;case ie:{_=H+_+ln;break}case st:{switch(_.charCodeAt(1)*2+_.charCodeAt(2)*3){case 530:if(fr>0){_=H+_.substring(8,ue-1);break}default:(re<1||Q[re-1].length<1)&&(_=H+ln+_)}break}case mt:H="";default:ue>1&&_.indexOf(":")>0?_=H+_.replace(R,"$1"+ln+"$2"):_=H+_+ln}U+=_}J[G]=U.replace(o,"").trim()}return J}function Ve(K,G,W,J,H,_,Q,U,re,ue){for(var _e=0,te=G,tt;_e<on;++_e)switch(tt=Mi[_e].call(sn,K,te,W,J,H,_,Q,U,re,ue)){case void 0:case!1:case!0:case null:break;default:te=tt}if(te!==G)return te}function an(K,G,W,J){for(var H=G+1;H<W;++H)switch(J.charCodeAt(H)){case et:{if(K===at&&J.charCodeAt(H-1)===at&&G+2!==H)return H+1;break}case Se:if(K===et)return H+1}return H}function In(K){return K.replace(o,"").replace(y,"").replace(k,"$1").replace(I,"$1").replace(P," ")}function hr(K){switch(K){case void 0:case null:{on=Mi.length=0;break}default:if(typeof K=="function")Mi[on++]=K;else if(typeof K=="object")for(var G=0,W=K.length;G<W;++G)hr(K[G]);else Xo=!!K|0}return hr}function Mn(K){for(var G in K){var W=K[G];switch(G){case"keyframe":Wt=W|0;break;case"global":fr=W|0;break;case"cascade":jt=W|0;break;case"compress":Go=W|0;break;case"semicolon":os=W|0;break;case"preserve":Ur=W|0;break;case"prefix":Yo=null,W?typeof W!="function"?Tt=1:(Tt=2,Yo=W):Tt=0}}return Mn}function sn(K,G){if(this!==void 0&&this.constructor===sn)return n(K);var W=K,J=W.charCodeAt(0);J<33&&(J=(W=W.trim()).charCodeAt(0)),Wt>0&&(Pi=W.replace(C,J===ie?"":"-")),J=1,jt===1?dr=W:ln=W;var H=[dr],_;on>0&&(_=Ve(Qo,G,H,H,gt,ut,0,0,0,0),_!==void 0&&typeof _=="string"&&(G=_));var Q=zi(Ii,H,G,0,0);return on>0&&(_=Ve(ls,Q,H,H,gt,ut,Q.length,0,0,0),_!==void 0&&typeof(Q=_)!="string"&&(J=0)),Pi="",dr="",ln="",Bt=0,gt=1,ut=1,Go*J===0?Q:In(Q)}return sn.use=hr,sn.set=Mn,r!==void 0&&Mn(r),sn})})(Kv);var Fw=Kv.exports;const Dw=Di(Fw);/*! @preserve react-md-spinner v1.0.0 - tsuyoshiwada | MIT license. */function $w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Uw(e,t,n){return t&&Gv(e.prototype,t),n&&Gv(e,n),e}function Vc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kc(){return Kc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kc.apply(this,arguments)}function Mr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable}))),r.forEach(function(i){Vc(e,i,n[i])})}return e}function Hw(e,t){if(typeof t!="function"&&t!==null)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}}),t&&Yc(e,t)}function Gc(e){return Gc=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gc(e)}function Yc(e,t){return Yc=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Yc(e,t)}function Bw(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Ww(e,t){if(e==null)return{};var n=Bw(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Vw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kw(e,t){return t&&(typeof t=="object"||typeof t=="function")?t:Vw(e)}var Yv="react-md-spinner",lr="__react-md-spinner-animation__",Gw=new Dw({global:!1,cascade:!0,keyframe:!0,prefix:!0,compress:!1}),$e={ROOT_ROTATE:"".concat(lr,"root-rotate"),FILL_UNFILL_ROTATE:"".concat(lr,"fill-unfill-rotate"),LAYER_1_FADE_IN_OUT:"".concat(lr,"layer-1-fade-in-out"),LAYER_2_FADE_IN_OUT:"".concat(lr,"layer-2-fade-in-out"),LAYER_3_FADE_IN_OUT:"".concat(lr,"layer-3-fade-in-out"),LAYER_4_FADE_IN_OUT:"".concat(lr,"layer-4-fade-in-out"),LEFT_SPIN:"".concat(lr,"left-spin"),RIGHT_SPIN:"".concat(lr,"right-spin")},Yw=Gw("",`
|
|
47
|
+
@keyframes `.concat($e.ROOT_ROTATE,` {
|
|
48
|
+
to { transform: rotate(360deg); }
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@keyframes `).concat($e.FILL_UNFILL_ROTATE,` {
|
|
52
|
+
12.5% { transform: rotate(135deg) }
|
|
53
|
+
25% { transform: rotate(270deg) }
|
|
54
|
+
37.5% { transform: rotate(405deg) }
|
|
55
|
+
50% { transform: rotate(540deg) }
|
|
56
|
+
62.5% { transform: rotate(675deg) }
|
|
57
|
+
75% { transform: rotate(810deg) }
|
|
58
|
+
87.5% { transform: rotate(945deg) }
|
|
59
|
+
100% { transform: rotate(1080deg) }
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@keyframes `).concat($e.LAYER_1_FADE_IN_OUT,` {
|
|
63
|
+
0% { opacity: 1 }
|
|
64
|
+
25% { opacity: 1 }
|
|
65
|
+
26% { opacity: 0 }
|
|
66
|
+
89% { opacity: 0 }
|
|
67
|
+
90% { opacity: 1 }
|
|
68
|
+
100% { opacity: 1 }
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@keyframes `).concat($e.LAYER_2_FADE_IN_OUT,` {
|
|
72
|
+
0% { opacity: 0 }
|
|
73
|
+
15% { opacity: 0 }
|
|
74
|
+
25% { opacity: 1 }
|
|
75
|
+
50% { opacity: 1 }
|
|
76
|
+
51% { opacity: 0 }
|
|
77
|
+
100% { opacity: 0 }
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@keyframes `).concat($e.LAYER_3_FADE_IN_OUT,` {
|
|
81
|
+
0% { opacity: 0 }
|
|
82
|
+
40% { opacity: 0 }
|
|
83
|
+
50% { opacity: 1 }
|
|
84
|
+
75% { opacity: 1 }
|
|
85
|
+
76% { opacity: 0 }
|
|
86
|
+
100% { opacity: 0 }
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@keyframes `).concat($e.LAYER_4_FADE_IN_OUT,` {
|
|
90
|
+
0% { opacity: 0 }
|
|
91
|
+
65% { opacity: 0 }
|
|
92
|
+
75% { opacity: 1 }
|
|
93
|
+
90% { opacity: 1 }
|
|
94
|
+
100% { opacity: 0 }
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@keyframes `).concat($e.LEFT_SPIN,` {
|
|
98
|
+
0% { transform: rotate(130deg) }
|
|
99
|
+
50% { transform: rotate(-5deg) }
|
|
100
|
+
100% { transform: rotate(130deg) }
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@keyframes `).concat($e.RIGHT_SPIN,` {
|
|
104
|
+
0% { transform: rotate(-130deg) }
|
|
105
|
+
50% { transform: rotate(5deg) }
|
|
106
|
+
100% { transform: rotate(-130deg) }
|
|
107
|
+
}
|
|
108
|
+
`)),Qw=function(t){var n=t.singleColor,r=t.color1,i=t.color2,o=t.color3,l=t.color4;return n?[n,n,n,n]:[r,i,o,l]},Xw=function(t){var n=t.size,r=t.duration,i=t.borderSize,o=i||Math.max(1,Math.round(n*.107142)),l=Qw(t),a=270,s=216,u=360*r/(s+(360-a)),h={display:"inline-block",position:"relative",width:n,height:n,verticalAlign:"middle",fontSize:"0",animation:"".concat($e.ROOT_ROTATE," ").concat(u,"ms linear infinite"),WebkitAnimation:"".concat($e.ROOT_ROTATE," ").concat(u,"ms linear infinite")},f=l.map(function(k,I){return{boxSizing:"border-box",display:"block",position:"absolute",width:"100%",height:"100%",borderColor:k,whiteSpace:"nowrap",opacity:1,animationName:"".concat($e.FILL_UNFILL_ROTATE,", ").concat($e["LAYER_".concat(I+1,"_FADE_IN_OUT")]),WebkitAnimationName:"".concat($e.FILL_UNFILL_ROTATE,", ").concat($e["LAYER_".concat(I+1,"_FADE_IN_OUT")]),animationDuration:"".concat(r*l.length,"ms"),WebkitAnimationDuration:"".concat(r*l.length,"ms"),animationTimingFunction:"cubic-bezier(.4, 0, .2, 1)",WebkitAnimationTimingFunction:"cubic-bezier(.4, 0, .2, 1)",animationIterationCount:"infinite",WebkitAnimationIterationCount:"infinite"}}),m={display:"inline-block",boxSizing:"border-box",position:"relative",width:"50%",height:"100%",overflow:"hidden",borderColor:"inherit"},p={display:"inline-block",boxSizing:"border-box",position:"absolute",top:0,borderRadius:"50%"},w=Mr({},p,{left:"45%",width:"10%",borderWidth:o,borderColor:"inherit",borderTopStyle:"solid"}),C=Mr({},p,{bottom:0,width:"200%",borderWidth:o,borderStyle:"solid",animationDuration:"".concat(r,"ms"),WebkitAnimationDuration:"".concat(r,"ms"),animationTimingFunction:"cubic-bezier(.4, 0, .2, 1)",WebkitAnimationTimingFunction:"cubic-bezier(.4, 0, .2, 1)",animationIterationCount:"infinite",WebkitAnimationIterationCount:"infinite"}),O=Mr({},C,{left:0,transform:"rotate(129deg)",WebkitTransform:"rotate(129deg)",animationName:$e.LEFT_SPIN,WebkitAnimationName:$e.LEFT_SPIN}),v=l.map(function(k){return Mr({},O,{borderColor:"".concat(k," transparent transparent ").concat(k)})}),d=Mr({},C,{left:"-100%",transform:"rotate(-129deg)",WebkitTransform:"rotate(-129deg)",animationName:$e.RIGHT_SPIN,WebkitAnimationName:$e.RIGHT_SPIN}),y=l.map(function(k){return Mr({},d,{borderColor:"".concat(k," ").concat(k," transparent transparent")})});return{rootStyle:h,layerStyles:f,layerAfterStyle:w,clipStyle:m,clip1AfterStyles:v,clip2AfterStyles:y}},Zw=function(t,n){var r=document.createElement("style");r.type="text/css",r.setAttribute("data-".concat(t),""),r.innerHTML=n,document.head.appendChild(r)},qw=function(t){var n=document.querySelector("[data-".concat(t,"]"));n!=null&&n.parentNode!=null&&n.parentNode.removeChild(n)},Qc=function(e){Hw(t,e);function t(){return $w(this,t),Kw(this,Gc(t).apply(this,arguments))}return Uw(t,[{key:"componentDidMount",value:function(){t.mountedInstanceCount<1&&Zw(Yv,Yw),t.mountedInstanceCount++}},{key:"componentWillUnmount",value:function(){t.mountedInstanceCount=Math.max(0,t.mountedInstanceCount-1),t.mountedInstanceCount<1&&qw(Yv)}},{key:"render",value:function(){var r=this.props;r.singleColor,r.size,r.borderSize,r.duration,r.color1,r.color2,r.color3,r.color4;for(var i=Ww(r,["singleColor","size","borderSize","duration","color1","color2","color3","color4"]),o=Xw(this.props),l=o.rootStyle,a=o.layerStyles,s=o.layerAfterStyle,u=o.clipStyle,h=o.clip1AfterStyles,f=o.clip2AfterStyles,m=[],p=0;p<4;p++)m.push(ee.createElement("span",{key:p,style:a[p]},ee.createElement("span",{style:u},ee.createElement("span",{style:h[p]})),ee.createElement("span",{style:u},ee.createElement("span",{style:f[p]})),ee.createElement("span",{style:s})));return ee.createElement("span",Kc({},i,{style:Mr({},l,i.style!=null?i.style:{})}),m)}}]),t}(ee.PureComponent);Vc(Qc,"defaultProps",{size:28,duration:1333,color1:"rgb(66, 165, 245)",color2:"rgb(239, 83, 80)",color3:"rgb(253, 216, 53)",color4:"rgb(76, 175, 80)"}),Vc(Qc,"mountedInstanceCount",0);const Jw=({size:e=32,color:t=kt.BRAND_PRIMARY,...n})=>c.jsx(Qc,{...n,size:e,singleColor:t});var eE="_1wmb9r30",tE="_1wmb9r31",Qv={default:"_1wmb9r33 _1wmb9r32",full:"_1wmb9r34 _1wmb9r32"};const Xv=new Set,Zv=e=>{if(e!=null)return typeof e=="number"?`${e}px`:e},qv=g.forwardRef(({src:e,width:t,height:n,fit:r,...i},o)=>{const l=g.useRef(null),[a,s]=g.useState(Xv.has(e));g.useEffect(()=>{const{current:h}=l;if(a||h==null)return;const f=h.firstElementChild;if(!(f==null||!(f instanceof HTMLImageElement))){if(f.complete)return s(!0);f.onload=()=>{f!=null&&s(!0),Xv.add(e)}}},[a,e]);const u=t!=null&&n!=null;return c.jsxs("span",{ref:l,className:eE,style:{width:Zv(t),height:Zv(n)},children:[c.jsx("img",{ref:o,className:_t({[Qv.default]:!u,[Qv.full]:u}),style:{objectFit:r},loading:"lazy",src:e,...i}),!a&&c.jsx("span",{className:tE,children:c.jsx(Jw,{"aria-label":"Loading..."})})]})}),nE=g.forwardRef((e,t)=>{const n=g.useRef(null),r=Pw(n,{rootMargin:"250px",once:!0});return c.jsx("span",{ref:n,children:r?c.jsx(qv,{ref:t,...e}):null})}),Ft=g.forwardRef(({lazy:e=!1,...t},n)=>e&&!zw?c.jsx(nE,{ref:n,...t}):c.jsx(qv,{ref:n,...t}));var Xc={exports:{}};function Jv(e,t=100,n={}){if(typeof e!="function")throw new TypeError(`Expected the first parameter to be a function, got \`${typeof e}\`.`);if(t<0)throw new RangeError("`wait` must not be negative.");const{immediate:r}=typeof n=="boolean"?{immediate:n}:n;let i,o,l,a,s;function u(){const f=Date.now()-a;if(f<t&&f>=0)l=setTimeout(u,t-f);else if(l=void 0,!r){const m=i,p=o;i=void 0,o=void 0,s=e.apply(m,p)}}const h=function(...f){if(i&&this!==i)throw new Error("Debounced method called with different contexts.");i=this,o=f,a=Date.now();const m=r&&!l;if(l||(l=setTimeout(u,t)),m){const p=i,w=o;i=void 0,o=void 0,s=e.apply(p,w)}return s};return h.clear=()=>{l&&(clearTimeout(l),l=void 0)},h.flush=()=>{if(!l)return;const f=i,m=o;i=void 0,o=void 0,s=e.apply(f,m),clearTimeout(l),l=void 0},h}Xc.exports.debounce=Jv,Xc.exports=Jv;var rE=Xc.exports;const Zc=Di(rE),e1=[...["button","keygen","select","textarea"].map(e=>`${e}:not(:disabled)`),'input:not(:disabled):not([type="hidden"]):not([type="file"])',"details > summary",'a[href]:not([rel="ignore"])',"area[href]",'[tabindex]:not([disabled]):not([tabindex=""])',"[contenteditable]","iframe","audio","video"].join(","),qc=e=>{const{childNodes:t}=e;let n=[];for(let r=0;r<t.length;r+=1){const i=t[r];i instanceof HTMLElement&&(i.matches(e1)?n.push(i):n=[...n,...qc(i)])}return n},t1=e=>{const{childNodes:t}=e;for(let n=0;n<t.length;n+=1){const r=t[n];if(!(r instanceof HTMLElement))continue;if(r.matches(e1))return r;const i=t1(r);if(i!=null)return i}return null},Pa=e=>e==null?!1:(e.focus(),document.activeElement!==e&&(e.setAttribute("tabindex","0"),e.focus()),document.activeElement===e),n1=(e,t)=>{if(e==null)return!1;const n=qc(e);if(n.length<1)return!1;const r=n.findIndex(i=>i===document.activeElement);return r<0?Pa(n[r]):t(n,r)},iE=e=>n1(e,(t,n)=>t.splice(n+1).some(Pa)),oE=e=>n1(e,(t,n)=>t.splice(0,n).reverse().some(Pa));var r1={single:"f63kr90",multiple:"f63kr91"},lE="f63kr92";const Bo=({line:e=1,children:t,...n})=>c.jsx("span",{...n,style:{"--ellipsis-line":e},className:_t(lE,{[r1.single]:e===1,[r1.multiple]:e>1}),children:t});var aE="_1v91tdd0 _1mfv1t41t";const sE=({children:e,...t})=>c.jsx("li",{children:c.jsx(or,{...t,className:aE,children:c.jsx(Bo,{children:e})})});var i1={"top-left":"_15rs89g0",top:"_15rs89g1","top-right":"_15rs89g2",right:"_15rs89g3","bottom-right":"_15rs89g4",bottom:"_15rs89g5","bottom-left":"_15rs89g6",left:"_15rs89g7"},uE={"top-left":"_15rs89g8",top:"_15rs89g9","top-right":"_15rs89ga",right:"_15rs89gb","bottom-right":"_15rs89gc",bottom:"_15rs89gd","bottom-left":"_15rs89ge",left:"_15rs89gf"},cE="_15rs89gg",fE="_15rs89gh",dE="_15rs89gi",hE="_15rs89gj",pE="_15rs89gk";const vE=192,Wo=({id:e,open:t,anchor:n,placement:r="bottom",children:i,onRequestClose:o,...l})=>{const a=g.useRef(),s=g.useRef(0),u=g.useRef([]),h=g.useRef(null),f=g.useCallback(()=>{a.current!=null&&(s.current=0,u.current=qc(a.current))},[]),m=g.useCallback(()=>{const{current:N}=a;if(N==null||(n==null?void 0:n.current)==null)return;const b=Oo.findDOMNode(n.current);if(!(b instanceof HTMLElement))return;const j=b.getBoundingClientRect();let E,x;switch(r){case"top-left":E=window.scrollY+j.bottom-N.clientHeight,x=j.left+b.clientWidth-N.clientWidth;break;case"top":E=window.scrollY+j.bottom-N.clientHeight,x=j.left+b.clientWidth/2-N.clientWidth/2;break;case"top-right":E=window.scrollY+j.bottom-N.clientHeight,x=j.left;break;case"right":E=window.scrollY+j.top+b.clientHeight/2-N.clientHeight/2,x=j.left;break;case"bottom-right":E=window.scrollY+j.top,x=j.left;break;case"bottom":E=window.scrollY+j.top,x=j.left+b.clientWidth/2-N.clientWidth/2;break;case"bottom-left":E=window.scrollY+j.top,x=j.left+b.clientWidth-N.clientWidth;break;case"left":E=window.scrollY+j.top+b.clientHeight/2-N.clientHeight/2,x=j.left+b.clientWidth-N.clientWidth;break;default:E=0,x=0}N.style.top=`${E}px`,N.style.left=`${x}px`},[n,r]),p=g.useCallback(()=>{f()},[f]),w=g.useMemo(()=>Zc(()=>{m()},vE),[m]),C=g.useCallback(()=>{o==null||o()},[o]),O=g.useCallback(N=>{s.current=N,Pa(u.current[N])},[]),v=g.useCallback(()=>{const{current:N}=u;if(N==null)return;const b=s.current+1;O(b<N.length?b:0)},[O]),d=g.useCallback(()=>{const{current:N}=u;if(N==null)return;const b=s.current-1;O(b>-1?b:Math.max(0,N.length-1))},[O]),y=g.useCallback(()=>{const{current:N}=h;N!=null&&N.focus()},[]),k=g.useCallback(()=>{window.addEventListener("resize",w,!1)},[w]),I=g.useCallback(()=>{window.removeEventListener("resize",w,!1)},[w]),P=g.useCallback(N=>{if(!t)return;const b=()=>{N.preventDefault(),N.stopPropagation()};switch(N.key){case"Tab":case"Escape":b(),C();break;case"ArrowDown":case"j":b(),v();break;case"ArrowUp":case"k":b(),d();break}},[t,v,d,C]),R=g.useCallback(N=>{N.preventDefault(),C()},[C]),S=g.useCallback(N=>{N.preventDefault(),C()},[C]);return g.useEffect(()=>{m()},[r,m]),g.useEffect(()=>{t?(h.current=document.activeElement,m(),f(),k(),O(0)):(y(),I())},[m,f,k,O,t,y,I]),c.jsx(Ra,{onRendered:p,children:c.jsxs("div",{children:[c.jsx(ir,{appear:!0,mountOnEnter:!0,unmountOnExit:!0,classNames:"menu",in:t,timeout:{enter:Ze.MEDIUM_IN,exit:Ze.MEDIUM_OUT},children:c.jsx("div",{ref:a,...l,className:_t(cE,i1[r]),id:e,onKeyDown:P,children:c.jsx("div",{className:_t(fE,i1[r]),children:c.jsx("div",{className:_t(uE[r],dE),children:c.jsx("ul",{className:hE,children:i})})})})}),t&&c.jsx("button",{className:pE,type:"button","aria-label":"Close menu","aria-controls":e,onFocus:R,onClick:S})]})})};Wo.Item=sE;const o1=({fill:e,...t})=>c.jsx("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",...t,children:c.jsx("path",{d:"M3 19H21L12 3L3 19ZM12.8182 16.4737H11.1818V14.7895H12.8182V16.4737ZM12.8182 13.1053H11.1818V9.73684H12.8182V13.1053Z",fill:e})}),l1=({fill:e,...t})=>c.jsx("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",...t,children:c.jsx("path",{d:"M6 19C6 20.1 6.9 21 8 21H16C17.1 21 18 20.1 18 19V9C18 7.9 17.1 7 16 7H8C6.9 7 6 7.9 6 9V19ZM18 4H15.5L14.79 3.29C14.61 3.11 14.35 3 14.09 3H9.91C9.65 3 9.39 3.11 9.21 3.29L8.5 4H6C5.45 4 5 4.45 5 5C5 5.55 5.45 6 6 6H18C18.55 6 19 5.55 19 5C19 4.45 18.55 4 18 4Z",fill:e})}),a1=({fill:e,...t})=>c.jsx("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",...t,children:c.jsx("path",{d:"M20 18.2222V5.77778C20 4.8 19.2 4 18.2222 4H5.77778C4.8 4 4 4.8 4 5.77778V18.2222C4 19.2 4.8 20 5.77778 20H18.2222C19.2 20 20 19.2 20 18.2222ZM8.88889 13.3333L11.1111 16.0089L14.2222 12L18.2222 17.3333H5.77778L8.88889 13.3333Z",fill:e})}),s1=({fill:e,...t})=>c.jsx("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",...t,children:c.jsx("path",{d:"M4.35284 11.5109C3.8824 11.9926 3.88237 12.7737 4.35284 13.2554L8.63356 17.6387C9.10404 18.1204 9.86685 18.1204 10.3373 17.6387L19.6472 8.10582C20.1176 7.62412 20.1176 6.84303 19.6472 6.36129C19.1767 5.87955 18.4139 5.87959 17.9434 6.36129L9.48542 15.0219L6.05656 11.5109C5.58609 11.0292 4.82328 11.0292 4.35284 11.5109Z",fill:e})});var mE={passed:"_19delfz1 _19delfz0",new:"_19delfz2 _19delfz0",changed:"_19delfz3 _19delfz0",deleted:"_19delfz4 _19delfz0"};const gE={passed:{label:"Passed item",icon:c.jsx(s1,{width:18,height:18,fill:"#fff"})},new:{label:"New item",icon:c.jsx(a1,{width:18,height:18,fill:"#fff"})},changed:{label:"Changed item",icon:c.jsx(o1,{width:18,height:18,fill:"#fff"})},deleted:{label:"Deleted item",icon:c.jsx(l1,{width:18,height:18,fill:"#fff"})}},u1=({variant:e,...t})=>{const{label:n,icon:r}=gE[e];return c.jsx("span",{...t,className:mE[e],"aria-label":n,children:r})},yE=({fill:e,...t})=>c.jsxs("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",...t,children:[c.jsx("circle",{cx:12,cy:5,r:2,fill:e}),c.jsx("circle",{cx:12,cy:12,r:2,fill:e}),c.jsx("circle",{cx:12,cy:19,r:2,fill:e})]});var wE="j676760";const c1=({...e})=>c.jsx("span",{...e,className:wE});var EE="_6cmcx40",SE="_6cmcx41",xE="_6cmcx42",CE="_6cmcx43",kE="_6cmcx44",_E="_6cmcx45",NE="_6cmcx46";const bE=e=>{switch(e.variant){case"changed":return e.diff;case"new":case"passed":return e.after;case"deleted":return e.before}},jE=({href:e,entity:t,menus:n,onCopy:r})=>{const i=g.useRef(null),[o,l]=g.useState(!1),a=g.useCallback(f=>{f.preventDefault(),f.stopPropagation(),l(!0)},[]),s=g.useCallback(()=>{l(!1)},[]),u=g.useCallback(()=>{l(!1)},[]),h=g.useCallback(async f=>{f.preventDefault(),f.stopPropagation(),l(!1);const{origin:m,pathname:p}=window.location;await window.navigator.clipboard.writeText(`${m}${p}?id=${t.id}`),r()},[t.id,r]);return c.jsxs("div",{id:t.id,className:EE,children:[c.jsxs(or,{className:SE,href:e,onClick:u,children:[c.jsx("div",{className:xE,children:c.jsx(u1,{variant:t.variant})}),c.jsxs("div",{className:CE,children:[c.jsx("span",{className:kE,children:c.jsx(Ft,{lazy:!0,src:bE(t),width:"100%",height:"100%",fit:"scale-down"})}),c.jsx(c1,{})]}),c.jsx("div",{title:t.name,className:_E,children:c.jsx(Bo,{line:2,children:t.name})})]}),c.jsxs("div",{className:NE,children:[c.jsx(bi,{ref:i,"aria-owns":`${t.id}-menu`,"aria-label":"Open menu",onClick:a,children:c.jsx(yE,{fill:kt.TEXT_BASE})}),c.jsxs(Wo,{id:`${t.id}-menu`,placement:"bottom-left",anchor:i,open:o,onRequestClose:s,children:[c.jsx(Wo.Item,{href:e,onClick:u,children:"Open"}),c.jsx(Wo.Item,{onClick:h,children:"Copy Link"}),n.map(({label:f,href:m},p)=>c.jsx(Wo.Item,{href:m,children:f},p))]})]})]})},TE=e=>({padding:0,margin:0,listStyle:"none",display:"grid",position:"absolute",left:0,right:0,gap:e.gap,gridTemplateColumns:e.minContentLength?`repeat(auto-fill, minmax(${e.minContentLength}px, 1fr))`:"repeat(1, 1fr)"}),RE=1,xf=class xf extends ee.Component{constructor(t){super(t),this.containerRef=ee.createRef(),this.state={isIntersecting:!1,offsetIndex:0,repeatLength:1,gridStyle:{padding:0,margin:0,listStyle:"none",display:"grid",position:"absolute",left:0,right:0,gap:-1,gridTemplateColumns:""},containerHeight:0,visibleItemsLength:20},this.handleOnScroll=this.handleOnScroll.bind(this),this.handleOnHashChange=this.handleOnHashChange.bind(this),Array.isArray(t.gridOptions)?this.gridProperties=t.gridOptions.slice().reverse().map(({media:n,...r})=>({media:matchMedia(n),prop:r})):this.gridProperties=[{media:matchMedia("all"),prop:t.gridOptions}]}componentDidMount(){const t=this.containerRef.current;if(t&&(this.intersectionObserver=new IntersectionObserver(n=>{if(n.length!==1)return;const r=n[0],{isIntersecting:i}=r;this.state.isIntersecting!==i&&this.setState({isIntersecting:i})},{threshold:0}),this.intersectionObserver.observe(t),this.resizeObserver=new ResizeObserver(n=>{if(n.length!==1)return;const r=n[0],{contentRect:{width:i}}=r;this.previousContainerWidth!==i&&this.updateContainerState(i),this.previousContainerWidth=i}),this.resizeObserver.observe(t),document.addEventListener("scroll",this.handleOnScroll,{passive:!0}),window.addEventListener("hashchange",this.handleOnHashChange),this.previousContainerWidth=t.clientWidth,this.updateContainerState(t.clientWidth),!this.context.consumed)){const n=this.findOffsetIndexFromHash(this.context.hash);n&&(this.context.consume(),setTimeout(()=>this.scrollTo(n.offsetIndex)))}}componentDidUpdate(t){this.containerRef.current&&(this.props.items.length!==t.items.length||this.props.cellHeight!==t.cellHeight)&&this.updateContainerState(this.containerRef.current.clientWidth)}componentWillUnmount(){document.removeEventListener("scroll",this.handleOnScroll),window.removeEventListener("hashchange",this.handleOnHashChange),this.intersectionObserver&&this.intersectionObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect()}get scrollingElement(){return document.scrollingElement}get rowHeightUnit(){const{cellHeight:t}=this.props,{gridStyle:{gap:n}}=this.state;return t+n}updateContainerState(t){const{cellHeight:n}=this.props,{gridStyle:r,repeatLength:i}=this.getGridDefinition(t),o=n+r.gap,l=this.props.items.length,a=Math.ceil(l/i)*o-r.gap,s=(~~(innerHeight/(this.props.cellHeight+r.gap))+2+RE)*i;this.setState({containerHeight:a,repeatLength:i,visibleItemsLength:s,gridStyle:r}),requestAnimationFrame(()=>this.updateCurrentOffsetIndex())}getGridDefinition(t){let n;if(this.gridProperties.some(({media:a,prop:s})=>(n=s,a.matches)),!n)throw new Error("No matched media");const{gap:r,minContentLength:i}=n,o=i&&~~((t+r)/(i+r))||1;return{gridStyle:TE(n),repeatLength:o,gap:r}}findOffsetIndexFromHash(t){const{itemKey:n}=this.props,r=t.slice(1),i=this.props.items.findIndex(o=>o[n]===r);if(i!==-1)return{offsetIndex:i}}handleOnHashChange({newURL:t}){const{hash:n}=new URL(t),r=this.findOffsetIndexFromHash(n);r&&this.scrollTo(r.offsetIndex)}handleOnScroll(){this.state.isIntersecting&&this.updateCurrentOffsetIndex()}scrollTo(t){const n=this.calculateClientOffsetTop(t),r=this.state.visibleItemsLength*this.rowHeightUnit*1,i=()=>{if(Math.abs(n-scrollY)<=r){this.updateCurrentOffsetIndex();return}requestAnimationFrame(i)};requestAnimationFrame(i),scroll({top:n})}updateCurrentOffsetIndex(){const t=this.containerRef.current;if(!t)return;const n=t.offsetTop,o=~~((this.scrollingElement.scrollTop-n)/this.rowHeightUnit)*this.state.repeatLength;o>=0&&this.state.offsetIndex!==o&&this.setState({offsetIndex:o})}sliceVisibleItems(){const{offsetIndex:t,visibleItemsLength:n}=this.state;return this.props.items.slice(t,n+t)}calculateInnerOffsetTop(t){const{repeatLength:n}=this.state;return~~(t/n)*this.rowHeightUnit}calculateClientOffsetTop(t){return this.containerRef.current?this.calculateInnerOffsetTop(t)+this.containerRef.current.offsetTop:0}render(){const{children:t,itemKey:n,cellHeight:r}=this.props,{containerHeight:i}=this.state,o=this.calculateInnerOffsetTop(this.state.offsetIndex),l={position:"relative",height:i},a={...this.state.gridStyle,top:o};return c.jsx("div",{ref:this.containerRef,style:l,children:c.jsx("ul",{style:a,children:this.sliceVisibleItems().map((s,u)=>c.jsx("li",{style:{height:r},children:t({item:s,index:u})},s[n]))})})}};xf.contextType=nv;let Jc=xf;var LE="gq0v1f0 _1mfv1t41m",f1="gq0v1f1 _1mfv1t41n";const OE={new:"NEW ITEMS",passed:"PASSED ITEMS",changed:"CHANGED ITEMS",deleted:"DELETED ITEMS"},AE=[{media:"screen",gap:Ni*5,minContentLength:270},{media:`screen and (min-width: ${Ir.X_SMALL}px)`,gap:Ni*5,minContentLength:300},{media:`screen and (min-width: ${Ir.SMALL}px)`,gap:Ni*5,minContentLength:360},{media:`screen and (min-width: ${Ir.X_LARGE}px)`,gap:Ni*5,minContentLength:540}],za=({variant:e,entities:t})=>{const n=Rw(),r=OE[e],i=g.useCallback(()=>{n("Copied URL to clipboard")},[n]);return t.length<1?null:c.jsxs(c.Fragment,{children:[c.jsx("h2",{id:e,className:f1,children:r}),c.jsx(Jc,{items:t,itemKey:"id",cellHeight:iw.CARD_OUTER_HEIGHT,gridOptions:AE,children:({item:o})=>c.jsx(jE,{href:`?id=${o.id}`,entity:o,menus:[],onCopy:i})})]})},IE=()=>{const e=Uo(),[t]=Bv();return c.jsxs(uv,{children:[c.jsx("h1",{className:LE,children:"REPORT DETAIL"}),t&&e.allItems.length===0?c.jsxs(c.Fragment,{children:[c.jsx("h2",{className:f1,children:"Not found"}),c.jsxs("p",{children:["No items found that match the text entered.",c.jsx("br",{}),"Try filtering with different keywords :)"]})]}):c.jsxs(c.Fragment,{children:[c.jsx(za,{variant:"changed",entities:e.failedItems}),c.jsx(za,{variant:"new",entities:e.newItems}),c.jsx(za,{variant:"deleted",entities:e.deletedItems}),c.jsx(za,{variant:"passed",entities:e.passedItems})]})]})};var ME="_1jqc6mo0 _1mfv1t41r",PE="_1jqc6mo1";const zE=({children:e,...t})=>c.jsx("div",{...t,className:ME,children:c.jsx("p",{className:PE,children:e})});var FE="_5dqm5g0",DE="_5dqm5g1";const $E=({show:e,message:t})=>c.jsx(Ra,{children:c.jsx("div",{className:FE,children:c.jsx("div",{role:"alert","alia-live":"assertive",children:c.jsx(Tv,{children:c.jsx(ir,{classNames:"notification",timeout:{enter:Ze.FADE_IN,exit:Ze.FADE_OUT},children:c.jsx("div",{className:DE,children:e&&c.jsx(zE,{children:t})})},e?"show":"hide")})})})}),UE=()=>{const e=Lw();return c.jsx($E,{show:e!=null,message:e??""})},ef=e=>{const[t,n]=g.useState(()=>window.matchMedia(e).matches);return g.useEffect(()=>{let r=!0;const i=window.matchMedia(e),o=()=>{r&&n(i.matches)};return i.addListener(o),n(i.matches),()=>{r=!1,i.removeListener(o)}},[e]),t},d1=e=>{const t=g.useRef(null);return g.useEffect(()=>{t.current=e}),t.current},h1=En(window.matchMedia(`(min-width: ${Ir.MEDIUM}px)`).matches),HE=En([]),tf=()=>{const e=Kr(h1),t=Kr(HE);return{isOpen:e,links:t}},Fa=()=>{const[,e]=ol(h1),t=g.useCallback(()=>{e(!0)},[e]),n=g.useCallback(()=>{e(!1)},[e]),r=g.useCallback(()=>{e(i=>!i)},[e]);return{open:t,close:n,toggle:r}},BE=()=>{const e=Uo(),t=g.useMemo(()=>Oa(e.newItems),[e.newItems]),n=g.useMemo(()=>Oa(e.passedItems),[e.passedItems]),r=g.useMemo(()=>Oa(e.failedItems),[e.failedItems]),i=g.useMemo(()=>Oa(e.deletedItems),[e.deletedItems]);return{newItems:t,passedItems:n,failedItems:r,deletedItems:i}};var WE=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),Oe=function(){return Oe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Oe.apply(this,arguments)},p1={width:"100%",height:"10px",top:"0px",left:"0px",cursor:"row-resize"},v1={width:"10px",height:"100%",top:"0px",left:"0px",cursor:"col-resize"},Da={width:"20px",height:"20px",position:"absolute"},VE={top:Oe(Oe({},p1),{top:"-5px"}),right:Oe(Oe({},v1),{left:void 0,right:"-5px"}),bottom:Oe(Oe({},p1),{top:void 0,bottom:"-5px"}),left:Oe(Oe({},v1),{left:"-5px"}),topRight:Oe(Oe({},Da),{right:"-10px",top:"-10px",cursor:"ne-resize"}),bottomRight:Oe(Oe({},Da),{right:"-10px",bottom:"-10px",cursor:"se-resize"}),bottomLeft:Oe(Oe({},Da),{left:"-10px",bottom:"-10px",cursor:"sw-resize"}),topLeft:Oe(Oe({},Da),{left:"-10px",top:"-10px",cursor:"nw-resize"})},KE=function(e){WE(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.onMouseDown=function(r){n.props.onResizeStart(r,n.props.direction)},n.onTouchStart=function(r){n.props.onResizeStart(r,n.props.direction)},n}return t.prototype.render=function(){return g.createElement("div",{className:this.props.className||"",style:Oe(Oe({position:"absolute",userSelect:"none"},VE[this.props.direction]),this.props.replaceStyles||{}),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart},this.props.children)},t}(g.PureComponent),GE=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},e(t,n)};return function(t,n){e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),mn=function(){return mn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},mn.apply(this,arguments)},YE={width:"auto",height:"auto"},$a=function(e,t,n){return Math.max(Math.min(e,n),t)},m1=function(e,t){return Math.round(e/t)*t},ji=function(e,t){return new RegExp(e,"i").test(t)},Ua=function(e){return!!(e.touches&&e.touches.length)},QE=function(e){return!!((e.clientX||e.clientX===0)&&(e.clientY||e.clientY===0))},g1=function(e,t,n){n===void 0&&(n=0);var r=t.reduce(function(o,l,a){return Math.abs(l-e)<Math.abs(t[o]-e)?a:o},0),i=Math.abs(t[r]-e);return n===0||i<n?t[r]:e},nf=function(e){return e=e.toString(),e==="auto"||e.endsWith("px")||e.endsWith("%")||e.endsWith("vh")||e.endsWith("vw")||e.endsWith("vmax")||e.endsWith("vmin")?e:e+"px"},Ha=function(e,t,n,r){if(e&&typeof e=="string"){if(e.endsWith("px"))return Number(e.replace("px",""));if(e.endsWith("%")){var i=Number(e.replace("%",""))/100;return t*i}if(e.endsWith("vw")){var i=Number(e.replace("vw",""))/100;return n*i}if(e.endsWith("vh")){var i=Number(e.replace("vh",""))/100;return r*i}}return e},XE=function(e,t,n,r,i,o,l){return r=Ha(r,e.width,t,n),i=Ha(i,e.height,t,n),o=Ha(o,e.width,t,n),l=Ha(l,e.height,t,n),{maxWidth:typeof r>"u"?void 0:Number(r),maxHeight:typeof i>"u"?void 0:Number(i),minWidth:typeof o>"u"?void 0:Number(o),minHeight:typeof l>"u"?void 0:Number(l)}},ZE=function(e){return Array.isArray(e)?e:[e,e]},qE=["as","ref","style","className","grid","snap","bounds","boundsByDirection","size","defaultSize","minWidth","minHeight","maxWidth","maxHeight","lockAspectRatio","lockAspectRatioExtraWidth","lockAspectRatioExtraHeight","enable","handleStyles","handleClasses","handleWrapperStyle","handleWrapperClass","children","onResizeStart","onResize","onResizeStop","handleComponent","scale","resizeRatio","snapGap"],y1="__resizable_base__",JE=function(e){GE(t,e);function t(n){var r=e.call(this,n)||this;return r.ratio=1,r.resizable=null,r.parentLeft=0,r.parentTop=0,r.resizableLeft=0,r.resizableRight=0,r.resizableTop=0,r.resizableBottom=0,r.targetLeft=0,r.targetTop=0,r.appendBase=function(){if(!r.resizable||!r.window)return null;var i=r.parentNode;if(!i)return null;var o=r.window.document.createElement("div");return o.style.width="100%",o.style.height="100%",o.style.position="absolute",o.style.transform="scale(0, 0)",o.style.left="0",o.style.flex="0 0 100%",o.classList?o.classList.add(y1):o.className+=y1,i.appendChild(o),o},r.removeBase=function(i){var o=r.parentNode;o&&o.removeChild(i)},r.ref=function(i){i&&(r.resizable=i)},r.state={isResizing:!1,width:typeof(r.propsSize&&r.propsSize.width)>"u"?"auto":r.propsSize&&r.propsSize.width,height:typeof(r.propsSize&&r.propsSize.height)>"u"?"auto":r.propsSize&&r.propsSize.height,direction:"right",original:{x:0,y:0,width:0,height:0},backgroundStyle:{height:"100%",width:"100%",backgroundColor:"rgba(0,0,0,0)",cursor:"auto",opacity:0,position:"fixed",zIndex:9999,top:"0",left:"0",bottom:"0",right:"0"},flexBasis:void 0},r.onResizeStart=r.onResizeStart.bind(r),r.onMouseMove=r.onMouseMove.bind(r),r.onMouseUp=r.onMouseUp.bind(r),r}return Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"window",{get:function(){return!this.resizable||!this.resizable.ownerDocument?null:this.resizable.ownerDocument.defaultView},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||YE},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){var n=0,r=0;if(this.resizable&&this.window){var i=this.resizable.offsetWidth,o=this.resizable.offsetHeight,l=this.resizable.style.position;l!=="relative"&&(this.resizable.style.position="relative"),n=this.resizable.style.width!=="auto"?this.resizable.offsetWidth:i,r=this.resizable.style.height!=="auto"?this.resizable.offsetHeight:o,this.resizable.style.position=l}return{width:n,height:r}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sizeStyle",{get:function(){var n=this,r=this.props.size,i=function(a){if(typeof n.state[a]>"u"||n.state[a]==="auto")return"auto";if(n.propsSize&&n.propsSize[a]&&n.propsSize[a].toString().endsWith("%")){if(n.state[a].toString().endsWith("%"))return n.state[a].toString();var s=n.getParentSize(),u=Number(n.state[a].toString().replace("px","")),h=u/s[a]*100;return h+"%"}return nf(n.state[a])},o=r&&typeof r.width<"u"&&!this.state.isResizing?nf(r.width):i("width"),l=r&&typeof r.height<"u"&&!this.state.isResizing?nf(r.height):i("height");return{width:o,height:l}},enumerable:!1,configurable:!0}),t.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var n=this.appendBase();if(!n)return{width:0,height:0};var r=!1,i=this.parentNode.style.flexWrap;i!=="wrap"&&(r=!0,this.parentNode.style.flexWrap="wrap"),n.style.position="relative",n.style.minWidth="100%",n.style.minHeight="100%";var o={width:n.offsetWidth,height:n.offsetHeight};return r&&(this.parentNode.style.flexWrap=i),this.removeBase(n),o},t.prototype.bindEvents=function(){this.window&&(this.window.addEventListener("mouseup",this.onMouseUp),this.window.addEventListener("mousemove",this.onMouseMove),this.window.addEventListener("mouseleave",this.onMouseUp),this.window.addEventListener("touchmove",this.onMouseMove,{capture:!0,passive:!1}),this.window.addEventListener("touchend",this.onMouseUp))},t.prototype.unbindEvents=function(){this.window&&(this.window.removeEventListener("mouseup",this.onMouseUp),this.window.removeEventListener("mousemove",this.onMouseMove),this.window.removeEventListener("mouseleave",this.onMouseUp),this.window.removeEventListener("touchmove",this.onMouseMove,!0),this.window.removeEventListener("touchend",this.onMouseUp))},t.prototype.componentDidMount=function(){if(!(!this.resizable||!this.window)){var n=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:n.flexBasis!=="auto"?n.flexBasis:void 0})}},t.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},t.prototype.createSizeForCssProperty=function(n,r){var i=this.propsSize&&this.propsSize[r];return this.state[r]==="auto"&&this.state.original[r]===n&&(typeof i>"u"||i==="auto")?"auto":n},t.prototype.calculateNewMaxFromBoundary=function(n,r){var i=this.props.boundsByDirection,o=this.state.direction,l=i&&ji("left",o),a=i&&ji("top",o),s,u;if(this.props.bounds==="parent"){var h=this.parentNode;h&&(s=l?this.resizableRight-this.parentLeft:h.offsetWidth+(this.parentLeft-this.resizableLeft),u=a?this.resizableBottom-this.parentTop:h.offsetHeight+(this.parentTop-this.resizableTop))}else this.props.bounds==="window"?this.window&&(s=l?this.resizableRight:this.window.innerWidth-this.resizableLeft,u=a?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(s=l?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),u=a?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return s&&Number.isFinite(s)&&(n=n&&n<s?n:s),u&&Number.isFinite(u)&&(r=r&&r<u?r:u),{maxWidth:n,maxHeight:r}},t.prototype.calculateNewSizeFromDirection=function(n,r){var i=this.props.scale||1,o=ZE(this.props.resizeRatio||1),l=o[0],a=o[1],s=this.state,u=s.direction,h=s.original,f=this.props,m=f.lockAspectRatio,p=f.lockAspectRatioExtraHeight,w=f.lockAspectRatioExtraWidth,C=h.width,O=h.height,v=p||0,d=w||0;return ji("right",u)&&(C=h.width+(n-h.x)*l/i,m&&(O=(C-d)/this.ratio+v)),ji("left",u)&&(C=h.width-(n-h.x)*l/i,m&&(O=(C-d)/this.ratio+v)),ji("bottom",u)&&(O=h.height+(r-h.y)*a/i,m&&(C=(O-v)*this.ratio+d)),ji("top",u)&&(O=h.height-(r-h.y)*a/i,m&&(C=(O-v)*this.ratio+d)),{newWidth:C,newHeight:O}},t.prototype.calculateNewSizeFromAspectRatio=function(n,r,i,o){var l=this.props,a=l.lockAspectRatio,s=l.lockAspectRatioExtraHeight,u=l.lockAspectRatioExtraWidth,h=typeof o.width>"u"?10:o.width,f=typeof i.width>"u"||i.width<0?n:i.width,m=typeof o.height>"u"?10:o.height,p=typeof i.height>"u"||i.height<0?r:i.height,w=s||0,C=u||0;if(a){var O=(m-w)*this.ratio+C,v=(p-w)*this.ratio+C,d=(h-C)/this.ratio+w,y=(f-C)/this.ratio+w,k=Math.max(h,O),I=Math.min(f,v),P=Math.max(m,d),R=Math.min(p,y);n=$a(n,k,I),r=$a(r,P,R)}else n=$a(n,h,f),r=$a(r,m,p);return{newWidth:n,newHeight:r}},t.prototype.setBoundingClientRect=function(){if(this.props.bounds==="parent"){var n=this.parentNode;if(n){var r=n.getBoundingClientRect();this.parentLeft=r.left,this.parentTop=r.top}}if(this.props.bounds&&typeof this.props.bounds!="string"){var i=this.props.bounds.getBoundingClientRect();this.targetLeft=i.left,this.targetTop=i.top}if(this.resizable){var o=this.resizable.getBoundingClientRect(),l=o.left,a=o.top,s=o.right,u=o.bottom;this.resizableLeft=l,this.resizableRight=s,this.resizableTop=a,this.resizableBottom=u}},t.prototype.onResizeStart=function(n,r){if(!(!this.resizable||!this.window)){var i=0,o=0;if(n.nativeEvent&&QE(n.nativeEvent)?(i=n.nativeEvent.clientX,o=n.nativeEvent.clientY):n.nativeEvent&&Ua(n.nativeEvent)&&(i=n.nativeEvent.touches[0].clientX,o=n.nativeEvent.touches[0].clientY),this.props.onResizeStart&&this.resizable){var l=this.props.onResizeStart(n,r,this.resizable);if(l===!1)return}this.props.size&&(typeof this.props.size.height<"u"&&this.props.size.height!==this.state.height&&this.setState({height:this.props.size.height}),typeof this.props.size.width<"u"&&this.props.size.width!==this.state.width&&this.setState({width:this.props.size.width})),this.ratio=typeof this.props.lockAspectRatio=="number"?this.props.lockAspectRatio:this.size.width/this.size.height;var a,s=this.window.getComputedStyle(this.resizable);if(s.flexBasis!=="auto"){var u=this.parentNode;if(u){var h=this.window.getComputedStyle(u).flexDirection;this.flexDir=h.startsWith("row")?"row":"column",a=s.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var f={original:{x:i,y:o,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:mn(mn({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(n.target).cursor||"auto"}),direction:r,flexBasis:a};this.setState(f)}},t.prototype.onMouseMove=function(n){var r=this;if(!(!this.state.isResizing||!this.resizable||!this.window)){if(this.window.TouchEvent&&Ua(n))try{n.preventDefault(),n.stopPropagation()}catch{}var i=this.props,o=i.maxWidth,l=i.maxHeight,a=i.minWidth,s=i.minHeight,u=Ua(n)?n.touches[0].clientX:n.clientX,h=Ua(n)?n.touches[0].clientY:n.clientY,f=this.state,m=f.direction,p=f.original,w=f.width,C=f.height,O=this.getParentSize(),v=XE(O,this.window.innerWidth,this.window.innerHeight,o,l,a,s);o=v.maxWidth,l=v.maxHeight,a=v.minWidth,s=v.minHeight;var d=this.calculateNewSizeFromDirection(u,h),y=d.newHeight,k=d.newWidth,I=this.calculateNewMaxFromBoundary(o,l);this.props.snap&&this.props.snap.x&&(k=g1(k,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(y=g1(y,this.props.snap.y,this.props.snapGap));var P=this.calculateNewSizeFromAspectRatio(k,y,{width:I.maxWidth,height:I.maxHeight},{width:a,height:s});if(k=P.newWidth,y=P.newHeight,this.props.grid){var R=m1(k,this.props.grid[0]),S=m1(y,this.props.grid[1]),N=this.props.snapGap||0,b=N===0||Math.abs(R-k)<=N?R:k,j=N===0||Math.abs(S-y)<=N?S:y;k=b,y=j}var E={width:k-p.width,height:y-p.height};if(w&&typeof w=="string"){if(w.endsWith("%")){var x=k/O.width*100;k=x+"%"}else if(w.endsWith("vw")){var L=k/this.window.innerWidth*100;k=L+"vw"}else if(w.endsWith("vh")){var A=k/this.window.innerHeight*100;k=A+"vh"}}if(C&&typeof C=="string"){if(C.endsWith("%")){var x=y/O.height*100;y=x+"%"}else if(C.endsWith("vw")){var L=y/this.window.innerWidth*100;y=L+"vw"}else if(C.endsWith("vh")){var A=y/this.window.innerHeight*100;y=A+"vh"}}var z={width:this.createSizeForCssProperty(k,"width"),height:this.createSizeForCssProperty(y,"height")};this.flexDir==="row"?z.flexBasis=z.width:this.flexDir==="column"&&(z.flexBasis=z.height);var M=this.state.width!==z.width,T=this.state.height!==z.height,D=this.state.flexBasis!==z.flexBasis,$=M||T||D;$&&Oo.flushSync(function(){r.setState(z)}),this.props.onResize&&$&&this.props.onResize(n,m,this.resizable,E)}},t.prototype.onMouseUp=function(n){var r=this.state,i=r.isResizing,o=r.direction,l=r.original;if(!(!i||!this.resizable)){var a={width:this.size.width-l.width,height:this.size.height-l.height};this.props.onResizeStop&&this.props.onResizeStop(n,o,this.resizable,a),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:mn(mn({},this.state.backgroundStyle),{cursor:"auto"})})}},t.prototype.updateSize=function(n){this.setState({width:n.width,height:n.height})},t.prototype.renderResizer=function(){var n=this,r=this.props,i=r.enable,o=r.handleStyles,l=r.handleClasses,a=r.handleWrapperStyle,s=r.handleWrapperClass,u=r.handleComponent;if(!i)return null;var h=Object.keys(i).map(function(f){return i[f]!==!1?g.createElement(KE,{key:f,direction:f,onResizeStart:n.onResizeStart,replaceStyles:o&&o[f],className:l&&l[f]},u&&u[f]?u[f]:null):null});return g.createElement("div",{className:s,style:a},h)},t.prototype.render=function(){var n=this,r=Object.keys(this.props).reduce(function(l,a){return qE.indexOf(a)!==-1||(l[a]=n.props[a]),l},{}),i=mn(mn(mn({position:"relative",userSelect:this.state.isResizing?"none":"auto"},this.props.style),this.sizeStyle),{maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight,minWidth:this.props.minWidth,minHeight:this.props.minHeight,boxSizing:"border-box",flexShrink:0});this.state.flexBasis&&(i.flexBasis=this.state.flexBasis);var o=this.props.as||"div";return g.createElement(o,mn({ref:this.ref,style:i,className:this.props.className},r),this.state.isResizing&&g.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},t.defaultProps={as:"div",onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},enable:{top:!0,right:!0,bottom:!0,left:!0,topRight:!0,bottomRight:!0,bottomLeft:!0,topLeft:!0},style:{},grid:[1,1],lockAspectRatio:!1,lockAspectRatioExtraWidth:0,lockAspectRatioExtraHeight:0,scale:1,resizeRatio:1,snapGap:0},t}(g.PureComponent);const e2=(e,t)=>{if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}},t2=(...e)=>g.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{n&&e2(n,t)})},e),n2=({fill:e,...t})=>c.jsx("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",...t,children:c.jsx("path",{d:"M17.2977 14.2869C17.6855 13.8991 17.6855 13.2702 17.2977 12.8823L12.7076 8.29231C12.5123 8.09697 12.2557 7.99998 11.9997 8.00142C11.7437 7.99998 11.4876 8.09697 11.2923 8.29231L6.70224 12.8823C6.31442 13.2702 6.31442 13.8991 6.70224 14.2869C7.09018 14.6748 7.71896 14.6748 8.1069 14.2869L12 10.3938L15.893 14.2869C16.281 14.6748 16.9098 14.6748 17.2977 14.2869Z",fill:e})});var r2="_184uvy30",i2="_184uvy31",o2="_184uvy32";const l2=({open:e,duration:t,children:n,...r})=>{const i=g.useRef(null),o=g.useCallback(f=>{const{current:m}=i;f.style.height=`${m!=null?m.clientHeight:0}px`},[]),l=g.useCallback(f=>{f.style.height=""},[]),a=g.useCallback(f=>{o(f)},[o]),s=g.useCallback(f=>{l(f)},[l]),u=g.useCallback(f=>{o(f)},[o]),h=g.useCallback(f=>{l(f)},[l]);return c.jsx(Gy,{children:e&&c.jsx(ir,{in:e,classNames:"collapse",timeout:t,onEnter:a,onEntered:s,onExit:u,onExiting:h,children:c.jsx("div",{...r,className:r2,style:{"--collapse-duration-enter":`${t.enter}ms`,"--collapse-duration-exit":`${t.exit}ms`},children:c.jsx("div",{className:i2,ref:i,children:c.jsx("div",{className:o2,children:n})})})},"collapse")})};var w1={default:"_17e4as81 _17e4as80 _1mfv1t41r",large:"_17e4as82 _17e4as80 _1mfv1t41q"},E1={close:"_17e4as84 _17e4as83",open:"_17e4as85 _17e4as83"},a2="_17e4as86",s2="_17e4as87 _1mfv1t41v",u2="_17e4as88",c2="_17e4as89";const f2=({open:e,defaultOpen:t,large:n,depth:r=0,label:i,meta:o,icon:l,children:a,onChange:s})=>{const[u,h]=g.useState(t??!1),f=g.useCallback(m=>{m.preventDefault(),e==null&&h(p=>!p),s!=null&&s(!e)},[e,s]);return g.useEffect(()=>{e!=null&&e!=u&&h(e)},[u,e]),c.jsxs("li",{children:[c.jsxs(or,{className:_t({[w1.default]:!n,[w1.large]:n}),style:{"--expandable-depth":r},onClick:f,children:[c.jsx("span",{className:_t({[E1.close]:!u,[E1.open]:u}),children:c.jsx(n2,{fill:kt.TEXT_SUB})}),c.jsx("span",{className:a2,children:c.jsx(Bo,{children:i})}),o&&c.jsx("span",{className:s2,children:o}),l&&c.jsx("span",{className:u2,children:l})]}),c.jsx(l2,{open:u,duration:{enter:Ze.SLIDE_IN,exit:Ze.SLIDE_OUT},children:c.jsx("ul",{className:c2,children:a})})]})};var d2="ajvpct0 _1mfv1t41t";const h2=({depth:e=0,href:t,children:n,...r})=>c.jsx("li",{children:c.jsx(or,{...r,className:d2,href:t,style:{"--item-depth":e},children:c.jsx(Bo,{children:n})})});var p2="ly8yh70",v2="ly8yh71 _1mfv1t41v";const ar=({header:e,children:t,...n})=>c.jsxs("div",{...n,children:[e==null?null:c.jsx("div",{className:v2,children:e}),c.jsx("ul",{className:p2,children:t})]});ar.Item=h2,ar.Expandable=f2;var m2="_1o20hjp0",g2="_1o20hjp1",y2="_1o20hjp2 _1mfv1t41r",w2="_1o20hjp3 _1mfv1t41u";const E2="https://github.com/reg-viz",S2=()=>c.jsx("aside",{children:c.jsxs(or,{className:m2,href:E2,children:[c.jsx("span",{className:g2,children:c.jsx(jc,{size:32})}),c.jsxs("span",{children:[c.jsx("h3",{className:y2,children:"Powered by reg-viz"}),c.jsx("p",{className:w2,children:"https://github.com/reg-viz"})]})]})}),x2=({fill:e,...t})=>c.jsxs("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",...t,children:[c.jsx("path",{d:"M19.6258 19.0443L14.788 13.7052C15.878 12.5515 16.4771 11.043 16.4771 9.44141C16.4771 7.79206 15.8422 6.2407 14.6887 5.07472C13.5352 3.90873 12.0024 3.26562 10.3719 3.26562C8.74144 3.26562 7.20781 3.90791 6.05515 5.07472C4.90249 6.24153 4.26674 7.79206 4.26674 9.44141C4.26674 11.0908 4.90168 12.6421 6.05515 13.8081C7.20863 14.9741 8.74144 15.6172 10.3719 15.6172C11.7769 15.6172 13.1087 15.1404 14.1881 14.2626L19.0258 19.601C19.1064 19.6899 19.2155 19.7344 19.3262 19.7344C19.4247 19.7344 19.5232 19.699 19.6014 19.6265C19.7674 19.4725 19.778 19.2123 19.6266 19.0452L19.6258 19.0443ZM5.07995 9.44141C5.07995 6.49021 7.45365 4.08906 10.3711 4.08906C13.2886 4.08906 15.6623 6.49021 15.6623 9.44141C15.6623 12.3926 13.2886 14.7937 10.3711 14.7937C7.45365 14.7937 5.07995 12.3926 5.07995 9.44141Z",fill:e}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.8206 18.8629L19.8245 18.8672C20.0731 19.1417 20.0561 19.5677 19.783 19.8209C19.6535 19.941 19.4892 20 19.3261 20C19.1427 20 18.9608 19.9257 18.8278 19.779L14.1567 14.6245C13.0672 15.4412 11.753 15.8828 10.3719 15.8828C8.6692 15.8828 7.0682 15.2106 5.86514 13.9945C4.66203 12.7784 4 11.1599 4 9.44141C4 7.72282 4.66294 6.10524 5.86501 4.88841C7.0674 3.67126 8.66934 3 10.3719 3C12.0745 3 13.6755 3.67217 14.8786 4.88828C16.0817 6.10444 16.7437 7.72296 16.7437 9.44141C16.7437 11.0273 16.1795 12.5276 15.1475 13.7055L19.8198 18.862L19.8206 18.8629ZM19.6257 19.0443L14.788 13.7052C15.8779 12.5515 16.4771 11.043 16.4771 9.44141C16.4771 7.79206 15.8421 6.2407 14.6886 5.07472C13.5352 3.90873 12.0024 3.26562 10.3719 3.26562C8.74137 3.26562 7.20774 3.90791 6.05508 5.07472C4.90242 6.24153 4.26667 7.79206 4.26667 9.44141C4.26667 11.0908 4.90161 12.6421 6.05508 13.8081C7.20856 14.9741 8.74137 15.6172 10.3719 15.6172C11.7769 15.6172 13.1086 15.1404 14.188 14.2626L19.0258 19.601C19.1064 19.6899 19.2154 19.7344 19.3261 19.7344C19.4246 19.7344 19.5231 19.699 19.6013 19.6265C19.7673 19.4725 19.7779 19.2123 19.6265 19.0452L19.6257 19.0443ZM10.371 4.35469C7.60471 4.35469 5.34655 6.63303 5.34655 9.44141C5.34655 12.2498 7.60471 14.5281 10.371 14.5281C13.1374 14.5281 15.3955 12.2498 15.3955 9.44141C15.3955 6.63303 13.1374 4.35469 10.371 4.35469ZM10.371 4.08906C7.45358 4.08906 5.07988 6.49021 5.07988 9.44141C5.07988 12.3926 7.45358 14.7937 10.371 14.7937C13.2885 14.7937 15.6622 12.3926 15.6622 9.44141C15.6622 6.49021 13.2885 4.08906 10.371 4.08906Z",fill:e})]});var C2="o8exlx0",k2="o8exlx1",_2="o8exlx2";const N2=({inputRef:e,children:t,...n})=>c.jsxs("div",{className:C2,children:[c.jsx("span",{className:k2,"aria-hidden":"true",children:c.jsx(x2,{fill:kt.TEXT_SUB})}),c.jsx("input",{className:_2,ref:e,type:"text",...n})]});var b2={margin:"_15sl3u1 _15sl3u0",padding:"_15sl3u2 _15sl3u0"};const rf=({variant:e,x:t})=>c.jsx("span",{className:b2[e],style:{"--spacer-x":t}}),S1=e=>{const[t,n]=g.useState(e),r=g.useRef(t);return g.useEffect(()=>{e?(r.current=t,n(!0)):n(r.current)},[e]),[t,n]},j2=({forceOpen:e,label:t,depth:n,item:r})=>{const[i,o]=S1(e);return r.children.length>0?c.jsx(ar.Expandable,{open:i,depth:n,label:r.name,onChange:o,children:c.jsx(x1,{forceOpen:e,label:t,depth:n+1,items:r.children})},`${t}${r.name}`):c.jsx(ar.Item,{depth:n+1,href:`#${r.id}`,title:r.path,children:r.name},r.id)},x1=({items:e,...t})=>c.jsx(c.Fragment,{children:e.map(n=>c.jsx(j2,{...t,item:n},n.id))}),Ba=({forceOpen:e,label:t,icon:n,items:r,size:i})=>{const[o,l]=S1(e);return r.length<1?null:c.jsx(ar.Expandable,{large:!0,open:o,label:t,meta:`${i} items`,icon:n,onChange:l,children:c.jsx(x1,{forceOpen:e,label:t,depth:1,items:r})})};var T2="icov5c0",Ti={firstClose:"icov5c5 icov5c2 icov5c1",firstOpen:"icov5c6 icov5c2 icov5c1",secondClose:"icov5c7 icov5c3 icov5c1",secondOpen:"icov5c8 icov5c3 icov5c1",thirdClose:"icov5c9 icov5c4 icov5c1",thirdOpen:"icov5ca icov5c4 icov5c1"};const R2=({open:e,onClick:t})=>{const n=g.useCallback(r=>{r.preventDefault(),t()},[t]);return c.jsxs(or,{className:T2,"aria-label":e?"Close sidebar":"Open sidebar","aria-controls":"sidebar",onClick:n,children:[c.jsx("span",{className:_t({[Ti.firstClose]:!e,[Ti.firstOpen]:e})}),c.jsx("span",{className:_t({[Ti.secondClose]:!e,[Ti.secondOpen]:e})}),c.jsx("span",{className:_t({[Ti.thirdClose]:!e,[Ti.thirdOpen]:e})})]})};var L2="_1xzqoz20",O2="_1xzqoz21";const C1=({scrollerRef:e,inputRef:t,listRef:n})=>{const[r,i]=Bv(),{isOpen:o,links:l}=tf(),{toggle:a}=Fa(),s=BE(),u=Uo(),h=g.useRef(null),f=g.useCallback(p=>{i(p.target.value)},[i]);De(h,["ArrowUp","k"],p=>{p.preventDefault(),p.stopPropagation(),oE(h.current)}),De(h,["ArrowDown","j"],p=>{p.preventDefault(),p.stopPropagation(),iE(h.current)});const m=t2(h,e);return c.jsxs(c.Fragment,{children:[c.jsxs("div",{ref:m,className:L2,id:"sidebar",children:[c.jsx(N2,{inputRef:t,placeholder:"Filter by file name",onChange:f}),c.jsx(rf,{variant:"margin",x:3}),c.jsx("div",{ref:n,children:c.jsxs(ar,{header:"SUMMARY",children:[c.jsx(Ba,{forceOpen:r,label:"CHANGED",icon:c.jsx(o1,{fill:kt.SIGN_CHANGED}),items:s.failedItems,size:u.failedItems.length}),c.jsx(Ba,{forceOpen:r,label:"NEW",icon:c.jsx(a1,{fill:kt.SIGN_NEW}),items:s.newItems,size:u.newItems.length}),c.jsx(Ba,{forceOpen:r,label:"DELETED",icon:c.jsx(l1,{fill:kt.SIGN_DELETED}),items:s.deletedItems,size:u.deletedItems.length}),c.jsx(Ba,{forceOpen:r,label:"PASSED",icon:c.jsx(s1,{fill:kt.SIGN_PASSED}),items:s.passedItems,size:u.passedItems.length})]})}),c.jsx(rf,{variant:"margin",x:3}),l.length>0&&c.jsx(ar,{header:"LINKS",children:l.map(({label:p,href:w})=>c.jsx(ar.Item,{href:w,children:p},p))}),c.jsx(rf,{variant:"margin",x:3}),c.jsx(S2,{})]}),c.jsx("div",{className:O2,children:c.jsx(R2,{open:o,onClick:a})})]})};var A2="uk9gid0",I2="uk9gid1",M2="uk9gid2";const P2=300,z2=e=>{const{isOpen:t}=tf();return c.jsx(ir,{appear:!0,classNames:"sidebar",in:t,timeout:{enter:Ze.SLIDE_IN,exit:Ze.SLIDE_OUT},children:c.jsx(JE,{className:A2,handleComponent:{right:c.jsx("span",{className:I2})},handleClasses:{top:"handle-top",right:M2,bottom:"handle-bottom",left:"handle-left",topRight:"handle-top-right",topLeft:"handle-top-left",bottomRight:"handle-bottom-right",bottomLeft:"handle-bottom-left"},enable:{top:!1,topRight:!1,topLeft:!1,right:t,bottom:!1,bottomRight:!1,bottomLeft:!1,left:!1},defaultSize:{width:P2,height:"100vh"},maxWidth:"90%",minWidth:280,minHeight:"100vh",maxHeight:"100vh",children:c.jsx(C1,{...e})})})};var F2="gsbp850",D2="gsbp851";const $2=e=>{const{isOpen:t}=tf(),{close:n}=Fa(),r=g.useRef(null),i=g.useRef(null),o=g.useRef(null),l=g.useCallback(a=>{a.preventDefault(),n()},[n]);return g.useEffect(()=>{const{current:a}=i;if(a!=null)return r.current=Mc(a,{}),()=>{hv(),r.current!=null&&r.current.deactivate()}},[]),g.useEffect(()=>{const{current:a}=o,{current:s}=r;a==null||s==null||(t?(s.activate(),Lc(a)):(s.deactivate(),Oc(a)))},[t]),De(i,["Escape"],()=>{t&&n()}),c.jsx(ir,{appear:!0,classNames:"sidebar",in:t,timeout:{enter:Ze.SLIDE_IN,exit:Ze.SLIDE_OUT},children:c.jsxs("div",{ref:i,children:[c.jsx("div",{className:F2,children:c.jsx(C1,{...e,scrollerRef:o})}),c.jsx("button",{className:D2,type:"button","aria-label":"Close sidebar",onClick:l})]})})},U2=e=>{const{open:t,close:n}=Fa(),r=ef(`(min-width: ${Ir.MEDIUM}px)`),i=d1(r);return g.useEffect(()=>{r!==i&&(r?t():n())},[t,n,r,i]),r?c.jsx(z2,{...e}):c.jsx($2,{...e})},k1="%[a-f0-9]{2}",_1=new RegExp("("+k1+")|([^%]+?)","gi"),N1=new RegExp("("+k1+")+","gi");function of(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(e.length===1)return e;t=t||1;const n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],of(n),of(r))}function H2(e){try{return decodeURIComponent(e)}catch{let t=e.match(_1)||[];for(let n=1;n<t.length;n++)e=of(t,n).join(""),t=e.match(_1)||[];return e}}function B2(e){const t={"%FE%FF":"��","%FF%FE":"��"};let n=N1.exec(e);for(;n;){try{t[n[0]]=decodeURIComponent(n[0])}catch{const i=H2(n[0]);i!==n[0]&&(t[n[0]]=i)}n=N1.exec(e)}t["%C2"]="�";const r=Object.keys(t);for(const i of r)e=e.replace(new RegExp(i,"g"),t[i]);return e}function W2(e){if(typeof e!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return B2(e)}}function b1(e,t){if(!(typeof e=="string"&&typeof t=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(e===""||t==="")return[];const n=e.indexOf(t);return n===-1?[]:[e.slice(0,n),e.slice(n+t.length)]}function V2(e,t){const n={};if(Array.isArray(t))for(const r of t){const i=Object.getOwnPropertyDescriptor(e,r);i!=null&&i.enumerable&&Object.defineProperty(n,r,i)}else for(const r of Reflect.ownKeys(e)){const i=Object.getOwnPropertyDescriptor(e,r);if(i.enumerable){const o=e[r];t(r,o,e)&&Object.defineProperty(n,r,i)}}return n}const K2=e=>e==null,G2=e=>encodeURIComponent(e).replaceAll(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`),lf=Symbol("encodeFragmentIdentifier");function Y2(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const i=n.length;return r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===""?n:r===null?[...n,[Ae(t,e),"[",i,"]"].join("")]:[...n,[Ae(t,e),"[",Ae(i,e),"]=",Ae(r,e)].join("")]};case"bracket":return t=>(n,r)=>r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===""?n:r===null?[...n,[Ae(t,e),"[]"].join("")]:[...n,[Ae(t,e),"[]=",Ae(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===""?n:r===null?[...n,[Ae(t,e),":list="].join("")]:[...n,[Ae(t,e),":list=",Ae(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t=e.arrayFormat==="bracket-separator"?"[]=":"=";return n=>(r,i)=>i===void 0||e.skipNull&&i===null||e.skipEmptyString&&i===""?r:(i=i===null?"":i,r.length===0?[[Ae(n,e),t,Ae(i,e)].join("")]:[[r,Ae(i,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>r===void 0||e.skipNull&&r===null||e.skipEmptyString&&r===""?n:r===null?[...n,Ae(t,e)]:[...n,[Ae(t,e),"=",Ae(r,e)].join("")]}}function Q2(e){let t;switch(e.arrayFormat){case"index":return(n,r,i)=>{if(t=/\[(\d*)]$/.exec(n),n=n.replace(/\[\d*]$/,""),!t){i[n]=r;return}i[n]===void 0&&(i[n]={}),i[n][t[1]]=r};case"bracket":return(n,r,i)=>{if(t=/(\[])$/.exec(n),n=n.replace(/\[]$/,""),!t){i[n]=r;return}if(i[n]===void 0){i[n]=[r];return}i[n]=[...i[n],r]};case"colon-list-separator":return(n,r,i)=>{if(t=/(:list)$/.exec(n),n=n.replace(/:list$/,""),!t){i[n]=r;return}if(i[n]===void 0){i[n]=[r];return}i[n]=[...i[n],r]};case"comma":case"separator":return(n,r,i)=>{const o=typeof r=="string"&&r.includes(e.arrayFormatSeparator),l=typeof r=="string"&&!o&&On(r,e).includes(e.arrayFormatSeparator);r=l?On(r,e):r;const a=o||l?r.split(e.arrayFormatSeparator).map(s=>On(s,e)):r===null?r:On(r,e);i[n]=a};case"bracket-separator":return(n,r,i)=>{const o=/(\[])$/.test(n);if(n=n.replace(/\[]$/,""),!o){i[n]=r&&On(r,e);return}const l=r===null?[]:r.split(e.arrayFormatSeparator).map(a=>On(a,e));if(i[n]===void 0){i[n]=l;return}i[n]=[...i[n],...l]};default:return(n,r,i)=>{if(i[n]===void 0){i[n]=r;return}i[n]=[...[i[n]].flat(),r]}}}function j1(e){if(typeof e!="string"||e.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function Ae(e,t){return t.encode?t.strict?G2(e):encodeURIComponent(e):e}function On(e,t){return t.decode?W2(e):e}function T1(e){return Array.isArray(e)?e.sort():typeof e=="object"?T1(Object.keys(e)).sort((t,n)=>Number(t)-Number(n)).map(t=>e[t]):e}function R1(e){const t=e.indexOf("#");return t!==-1&&(e=e.slice(0,t)),e}function X2(e){let t="";const n=e.indexOf("#");return n!==-1&&(t=e.slice(n)),t}function L1(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&typeof e=="string"&&e.trim()!==""?e=Number(e):t.parseBooleans&&e!==null&&(e.toLowerCase()==="true"||e.toLowerCase()==="false")&&(e=e.toLowerCase()==="true"),e}function af(e){e=R1(e);const t=e.indexOf("?");return t===-1?"":e.slice(t+1)}function sf(e,t){t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t},j1(t.arrayFormatSeparator);const n=Q2(t),r=Object.create(null);if(typeof e!="string"||(e=e.trim().replace(/^[?#&]/,""),!e))return r;for(const i of e.split("&")){if(i==="")continue;const o=t.decode?i.replaceAll("+"," "):i;let[l,a]=b1(o,"=");l===void 0&&(l=o),a=a===void 0?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:On(a,t),n(On(l,t),a,r)}for(const[i,o]of Object.entries(r))if(typeof o=="object"&&o!==null)for(const[l,a]of Object.entries(o))o[l]=L1(a,t);else r[i]=L1(o,t);return t.sort===!1?r:(t.sort===!0?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce((i,o)=>{const l=r[o];return i[o]=l&&typeof l=="object"&&!Array.isArray(l)?T1(l):l,i},Object.create(null))}function O1(e,t){if(!e)return"";t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t},j1(t.arrayFormatSeparator);const n=l=>t.skipNull&&K2(e[l])||t.skipEmptyString&&e[l]==="",r=Y2(t),i={};for(const[l,a]of Object.entries(e))n(l)||(i[l]=a);const o=Object.keys(i);return t.sort!==!1&&o.sort(t.sort),o.map(l=>{const a=e[l];return a===void 0?"":a===null?Ae(l,t):Array.isArray(a)?a.length===0&&t.arrayFormat==="bracket-separator"?Ae(l,t)+"[]":a.reduce(r(l),[]).join("&"):Ae(l,t)+"="+Ae(a,t)}).filter(l=>l.length>0).join("&")}function A1(e,t){var i;t={decode:!0,...t};let[n,r]=b1(e,"#");return n===void 0&&(n=e),{url:((i=n==null?void 0:n.split("?"))==null?void 0:i[0])??"",query:sf(af(e),t),...t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:On(r,t)}:{}}}function I1(e,t){t={encode:!0,strict:!0,[lf]:!0,...t};const n=R1(e.url).split("?")[0]||"",r=af(e.url),i={...sf(r,{sort:!1}),...e.query};let o=O1(i,t);o&&(o=`?${o}`);let l=X2(e.url);if(typeof e.fragmentIdentifier=="string"){const a=new URL(n);a.hash=e.fragmentIdentifier,l=t[lf]?a.hash:`#${e.fragmentIdentifier}`}return`${n}${o}${l}`}function M1(e,t,n){n={parseFragmentIdentifier:!0,[lf]:!1,...n};const{url:r,query:i,fragmentIdentifier:o}=A1(e,n);return I1({url:r,query:V2(i,t),fragmentIdentifier:o},n)}function Z2(e,t,n){const r=Array.isArray(t)?i=>!t.includes(i):(i,o)=>!t(i,o);return M1(e,r,n)}const q2=Object.freeze(Object.defineProperty({__proto__:null,exclude:Z2,extract:af,parse:sf,parseUrl:A1,pick:M1,stringify:O1,stringifyUrl:I1},Symbol.toStringTag,{value:"Module"}));var J2="_1c3jf320",eS="_1c3jf321",tS="_1c3jf322",nS="_1c3jf323",rS="_1c3jf324 _1mfv1t41r",iS="_1c3jf325 _1mfv1t41r";const P1=({id:e,prepend:t,append:n,...r})=>{const i=`${e}-prepend`,o=`${e}-append`,l=[];return t!=null&&l.push(i),n!=null&&l.push(o),c.jsxs("span",{className:J2,children:[t&&c.jsx("span",{className:rS,id:i,children:t}),c.jsxs("span",{className:eS,children:[c.jsx("input",{...r,className:tS,id:e,type:"checkbox","aria-describedby":l.join(" ")}),c.jsx("span",{className:nS})]}),n&&c.jsx("span",{className:iS,id:o,children:n})]})};var oS="_157gbi40",lS="_157gbi41",aS="_157gbi42 _1mfv1t41t",sS="_157gbi43",uS="_157gbi44 _1mfv1t41q",cS="_157gbi45",fS="_157gbi46",dS="_157gbi47";const hS=({variant:e,title:t,current:n,max:r,markersEnabled:i,onRequestClose:o,onMarkersToggle:l})=>{const a=ef(`(max-width: ${Ir.SMALL-1}px)`),s=g.useCallback(h=>{h.preventDefault(),o()},[o]),u=g.useCallback(()=>{l()},[l]);return c.jsxs("header",{className:oS,children:[c.jsx("div",{className:lS,children:c.jsxs("h2",{className:uS,title:t,children:[c.jsx("span",{className:cS,children:c.jsx(u1,{variant:e})}),c.jsx("span",{className:fS,children:c.jsx(Bo,{line:2,children:t})})]})}),c.jsxs("div",{className:aS,children:[n," / ",r]}),c.jsxs("div",{className:sS,children:[c.jsx(bi,{onClick:s,children:c.jsx(Pv,{fill:kt.TEXT_SUB})}),c.jsx("div",{className:dS,children:c.jsx(P1,{id:"toggle-markers",prepend:a?null:"Markers",checked:i,onChange:u})})]})]})},pS=({fill:e,...t})=>c.jsx("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",...t,children:c.jsx("path",{d:"M14.9974 6.99191C14.6095 6.6041 13.9807 6.6041 13.5928 6.99191L9.00278 11.582C8.80743 11.7773 8.71045 12.0339 8.71188 12.2899C8.71045 12.5459 8.80743 12.802 9.00278 12.9973L13.5928 17.5874C13.9807 17.9752 14.6095 17.9752 14.9974 17.5874C15.3853 17.1994 15.3853 16.5706 14.9974 16.1827L11.1043 12.2896L14.9974 8.39658C15.3853 8.00864 15.3853 7.37985 14.9974 6.99191Z",fill:e})}),vS=({fill:e,...t})=>c.jsx("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",...t,children:c.jsx("path",{d:"M9.00278 17.5874C9.39066 17.9752 10.0195 17.9752 10.4074 17.5874L14.9974 12.9973C15.1927 12.802 15.2897 12.5454 15.2883 12.2894C15.2897 12.0334 15.1927 11.7773 14.9974 11.582L10.4074 6.99191C10.0195 6.6041 9.39066 6.6041 9.00278 6.99191C8.6149 7.37985 8.6149 8.00864 9.00278 8.39658L12.8959 12.2896L9.00278 16.1827C8.6149 16.5706 8.6149 17.1994 9.00278 17.5874Z",fill:e})});var mS="_1rpz8ru0",gS="_1rpz8ru1",yS="_1rpz8ru2",wS="_1rpz8ru4 _1rpz8ru3",ES="_1rpz8ru5 _1rpz8ru3",SS="_1rpz8ru6";const xS=64;var CS="c11qtb0",z1={default:"wdpnl51 wdpnl50 _1mfv1t41w",active:"wdpnl52 wdpnl50 _1mfv1t41w"},kS="wdpnl53";const _S=g.forwardRef(({active:e=!1,children:t,...n},r)=>c.jsx(or,{...n,ref:r,className:_t({[z1.default]:!e,[z1.active]:e}),children:c.jsx("span",{className:kS,children:t})})),Wa=(e,t)=>e.findIndex(n=>n.value===t),NS=({value:e,options:t,onChange:n,...r})=>{const i=g.useRef(null),o=g.useRef(!1),l=g.useMemo(()=>t.map(()=>g.createRef()),[t]),a=g.useCallback(s=>{s.preventDefault(),s.stopPropagation();const{value:u}=s.currentTarget;n(u,Wa(t,u))},[n,t]);return g.useEffect(()=>{if(!o.current)return;const s=Wa(t,e),u=l[s];u!=null&&u.current!=null&&u.current.focus(),o.current=!1},[l,t,e]),De(i,["right","l"],s=>{s.stopPropagation();const h=Wa(t,e)+1;h>=t.length||(o.current=!0,n(t[h].value,h))}),De(i,["left","h"],s=>{s.stopPropagation();const h=Wa(t,e)-1;h<0||(o.current=!0,n(t[h].value,h))}),c.jsx("ul",{...r,ref:i,className:CS,children:t.map((s,u)=>c.jsx("li",{children:c.jsx(_S,{ref:l[u],value:s.value,active:s.value===e,onClick:a,children:s.label})},s.value))})};function sr(e){"@babel/helpers - typeof";return sr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sr(e)}function bS(e,t){if(sr(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(sr(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function jS(e){var t=bS(e,"string");return sr(t)=="symbol"?t:t+""}function tn(e,t,n){return t=jS(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function qe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?F1(Object(n),!0).forEach(function(r){tn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F1(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function uf(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function TS(e){if(Array.isArray(e))return uf(e)}function RS(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function D1(e,t){if(e){if(typeof e=="string")return uf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return uf(e,t)}}function LS(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
109
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ur(e){return TS(e)||RS(e)||D1(e)||LS()}function OS(e){if(Array.isArray(e))return e}function AS(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,l,a=[],s=!0,u=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);s=!0);}catch(h){u=!0,i=h}finally{try{if(!s&&n.return!=null&&(l=n.return(),Object(l)!==l))return}finally{if(u)throw i}}return a}}function IS(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
110
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vt(e,t){return OS(e)||AS(e,t)||D1(e,t)||IS()}var $1={exports:{}};/*!
|
|
111
|
+
Copyright (c) 2018 Jed Watson.
|
|
112
|
+
Licensed under the MIT License (MIT), see
|
|
113
|
+
http://jedwatson.github.io/classnames
|
|
114
|
+
*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o="",l=0;l<arguments.length;l++){var a=arguments[l];a&&(o=i(o,r(a)))}return o}function r(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return n.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var l="";for(var a in o)t.call(o,a)&&o[a]&&(l=i(l,a));return l}function i(o,l){return l?o?o+" "+l:o+l:o}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})($1);var MS=$1.exports;const Pr=Di(MS);function cf(e){var t=g.useRef();t.current=e;var n=g.useCallback(function(){for(var r,i=arguments.length,o=new Array(i),l=0;l<i;l++)o[l]=arguments[l];return(r=t.current)===null||r===void 0?void 0:r.call.apply(r,[t].concat(o))},[]);return n}function PS(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var U1=PS()?g.useLayoutEffect:g.useEffect,zS=function(t,n){var r=g.useRef(!0);U1(function(){return t(r.current)},n),U1(function(){return r.current=!1,function(){r.current=!0}},[])},H1=function(t,n){zS(function(r){if(!r)return t()},n)};function B1(e){var t=g.useRef(!1),n=g.useState(e),r=vt(n,2),i=r[0],o=r[1];g.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function l(a,s){s&&t.current||o(a)}return[i,l]}function ff(e){return e!==void 0}function FS(e,t){var n=t||{},r=n.defaultValue,i=n.value,o=n.onChange,l=n.postState,a=B1(function(){return ff(i)?i:ff(r)?typeof r=="function"?r():r:typeof e=="function"?e():e}),s=vt(a,2),u=s[0],h=s[1],f=i!==void 0?i:u,m=l?l(f):f,p=cf(o),w=B1([f]),C=vt(w,2),O=C[0],v=C[1];H1(function(){var y=O[0];u!==y&&p(u,y)},[O]),H1(function(){ff(i)||h(i)},[i]);var d=cf(function(y,k){h(y,k),v([f],k)});return[m,d]}var df={},DS=function(t){};function $S(e,t){}function US(e,t){}function HS(){df={}}function W1(e,t,n){!t&&!df[n]&&(e(!1,n),df[n]=!0)}function Vo(e,t){W1($S,e,t)}function BS(e,t){W1(US,e,t)}Vo.preMessage=DS,Vo.resetWarned=HS,Vo.noteOnce=BS;function WS(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function i(o,l){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,s=r.has(o);if(Vo(!s,"Warning: There may be circular references"),s)return!1;if(o===l)return!0;if(n&&a>1)return!1;r.add(o);var u=a+1;if(Array.isArray(o)){if(!Array.isArray(l)||o.length!==l.length)return!1;for(var h=0;h<o.length;h++)if(!i(o[h],l[h],u))return!1;return!0}if(o&&l&&sr(o)==="object"&&sr(l)==="object"){var f=Object.keys(o);return f.length!==Object.keys(l).length?!1:f.every(function(m){return i(o[m],l[m],u)})}return!1}return i(e,t)}function V1(e,t){if(e==null)return{};var n=_a(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function hf(e,t,n){return(e-t)/(n-t)}function pf(e,t,n,r){var i=hf(t,n,r),o={};switch(e){case"rtl":o.right="".concat(i*100,"%"),o.transform="translateX(50%)";break;case"btt":o.bottom="".concat(i*100,"%"),o.transform="translateY(50%)";break;case"ttb":o.top="".concat(i*100,"%"),o.transform="translateY(-50%)";break;default:o.left="".concat(i*100,"%"),o.transform="translateX(-50%)";break}return o}function Ri(e,t){return Array.isArray(e)?e[t]:e}var V={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(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=V.F1&&n<=V.F12)return!1;switch(n){case V.ALT:case V.CAPS_LOCK:case V.CONTEXT_MENU:case V.CTRL:case V.DOWN:case V.END:case V.ESC:case V.HOME:case V.INSERT:case V.LEFT:case V.MAC_FF_META:case V.META:case V.NUMLOCK:case V.NUM_CENTER:case V.PAGE_DOWN:case V.PAGE_UP:case V.PAUSE:case V.PRINT_SCREEN:case V.RIGHT:case V.SHIFT:case V.UP:case V.WIN_KEY:case V.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=V.ZERO&&t<=V.NINE||t>=V.NUM_ZERO&&t<=V.NUM_MULTIPLY||t>=V.A&&t<=V.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case V.SPACE:case V.QUESTION_MARK:case V.NUM_PLUS:case V.NUM_MINUS:case V.NUM_PERIOD:case V.NUM_DIVISION:case V.SEMICOLON:case V.DASH:case V.EQUALS:case V.COMMA:case V.PERIOD:case V.SLASH:case V.APOSTROPHE:case V.SINGLE_QUOTE:case V.OPEN_SQUARE_BRACKET:case V.BACKSLASH:case V.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},zr=g.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),VS=["prefixCls","value","valueIndex","onStartMove","style","render","dragging","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],K1=g.forwardRef(function(e,t){var n=e.prefixCls,r=e.value,i=e.valueIndex,o=e.onStartMove,l=e.style,a=e.render,s=e.dragging,u=e.onOffsetChange,h=e.onChangeComplete,f=e.onFocus,m=e.onMouseEnter,p=V1(e,VS),w=g.useContext(zr),C=w.min,O=w.max,v=w.direction,d=w.disabled,y=w.keyboard,k=w.range,I=w.tabIndex,P=w.ariaLabelForHandle,R=w.ariaLabelledByForHandle,S=w.ariaValueTextFormatterForHandle,N=w.styles,b=w.classNames,j="".concat(n,"-handle"),E=function(X){d||o(X,i)},x=function(X){f==null||f(X,i)},L=function(X){m(X,i)},A=function(X){if(!d&&y){var ie=null;switch(X.which||X.keyCode){case V.LEFT:ie=v==="ltr"||v==="btt"?-1:1;break;case V.RIGHT:ie=v==="ltr"||v==="btt"?1:-1;break;case V.UP:ie=v!=="ttb"?1:-1;break;case V.DOWN:ie=v!=="ttb"?-1:1;break;case V.HOME:ie="min";break;case V.END:ie="max";break;case V.PAGE_UP:ie=2;break;case V.PAGE_DOWN:ie=-2;break}ie!==null&&(X.preventDefault(),u(ie,i))}},z=function(X){switch(X.which||X.keyCode){case V.LEFT:case V.RIGHT:case V.UP:case V.DOWN:case V.HOME:case V.END:case V.PAGE_UP:case V.PAGE_DOWN:h==null||h();break}},M=pf(v,r,C,O),T={};if(i!==null){var D;T={tabIndex:d?null:Ri(I,i),role:"slider","aria-valuemin":C,"aria-valuemax":O,"aria-valuenow":r,"aria-disabled":d,"aria-label":Ri(P,i),"aria-labelledby":Ri(R,i),"aria-valuetext":(D=Ri(S,i))===null||D===void 0?void 0:D(r),"aria-orientation":v==="ltr"||v==="rtl"?"horizontal":"vertical",onMouseDown:E,onTouchStart:E,onFocus:x,onMouseEnter:L,onKeyDown:A,onKeyUp:z}}var $=g.createElement("div",Lr({ref:t,className:Pr(j,tn(tn({},"".concat(j,"-").concat(i+1),i!==null&&k),"".concat(j,"-dragging"),s),b.handle),style:qe(qe(qe({},M),l),N.handle)},T,p));return a&&($=a($,{index:i,prefixCls:n,value:r,dragging:s})),$}),KS=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","onFocus"],GS=g.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,i=e.onStartMove,o=e.onOffsetChange,l=e.values,a=e.handleRender,s=e.activeHandleRender,u=e.draggingIndex,h=e.onFocus,f=V1(e,KS),m=g.useRef({});g.useImperativeHandle(t,function(){return{focus:function(I){var P;(P=m.current[I])===null||P===void 0||P.focus()}}});var p=g.useState(-1),w=vt(p,2),C=w[0],O=w[1],v=function(I,P){O(P),h==null||h(I)},d=function(I,P){O(P)},y=qe({prefixCls:n,onStartMove:i,onOffsetChange:o,render:a,onFocus:v,onMouseEnter:d},f);return g.createElement(g.Fragment,null,l.map(function(k,I){return g.createElement(K1,Lr({ref:function(R){R?m.current[I]=R:delete m.current[I]},dragging:u===I,style:Ri(r,I),key:I,value:k,valueIndex:I},y))}),s&&g.createElement(K1,Lr({key:"a11y"},y,{value:l[C],valueIndex:null,dragging:u!==-1,render:s,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))}),YS=function(t){var n=t.prefixCls,r=t.style,i=t.children,o=t.value,l=t.onClick,a=g.useContext(zr),s=a.min,u=a.max,h=a.direction,f=a.includedStart,m=a.includedEnd,p=a.included,w="".concat(n,"-text"),C=pf(h,o,s,u);return g.createElement("span",{className:Pr(w,tn({},"".concat(w,"-active"),p&&f<=o&&o<=m)),style:qe(qe({},C),r),onMouseDown:function(v){v.stopPropagation()},onClick:function(){l(o)}},i)},QS=function(t){var n=t.prefixCls,r=t.marks,i=t.onClick,o="".concat(n,"-mark");return r.length?g.createElement("div",{className:o},r.map(function(l){var a=l.value,s=l.style,u=l.label;return g.createElement(YS,{key:a,prefixCls:o,style:s,value:a,onClick:i},u)})):null},XS=function(t){var n=t.prefixCls,r=t.value,i=t.style,o=t.activeStyle,l=g.useContext(zr),a=l.min,s=l.max,u=l.direction,h=l.included,f=l.includedStart,m=l.includedEnd,p="".concat(n,"-dot"),w=h&&f<=r&&r<=m,C=qe(qe({},pf(u,r,a,s)),typeof i=="function"?i(r):i);return w&&(C=qe(qe({},C),typeof o=="function"?o(r):o)),g.createElement("span",{className:Pr(p,tn({},"".concat(p,"-active"),w)),style:C})},ZS=function(t){var n=t.prefixCls,r=t.marks,i=t.dots,o=t.style,l=t.activeStyle,a=g.useContext(zr),s=a.min,u=a.max,h=a.step,f=g.useMemo(function(){var m=new Set;if(r.forEach(function(w){m.add(w.value)}),i&&h!==null)for(var p=s;p<=u;)m.add(p),p+=h;return Array.from(m)},[s,u,h,i,r]);return g.createElement("div",{className:"".concat(n,"-step")},f.map(function(m){return g.createElement(XS,{prefixCls:n,key:m,value:m,style:o,activeStyle:l})}))},G1=function(t){var n=t.prefixCls,r=t.style,i=t.start,o=t.end,l=t.index,a=t.onStartMove,s=t.replaceCls,u=g.useContext(zr),h=u.direction,f=u.min,m=u.max,p=u.disabled,w=u.range,C=u.classNames,O="".concat(n,"-track"),v=hf(i,f,m),d=hf(o,f,m),y=function(R){!p&&a&&a(R,-1)},k={};switch(h){case"rtl":k.right="".concat(v*100,"%"),k.width="".concat(d*100-v*100,"%");break;case"btt":k.bottom="".concat(v*100,"%"),k.height="".concat(d*100-v*100,"%");break;case"ttb":k.top="".concat(v*100,"%"),k.height="".concat(d*100-v*100,"%");break;default:k.left="".concat(v*100,"%"),k.width="".concat(d*100-v*100,"%")}var I=s||Pr(O,tn(tn({},"".concat(O,"-").concat(l+1),l!==null&&w),"".concat(n,"-track-draggable"),a),C.track);return g.createElement("div",{className:I,style:qe(qe({},k),r),onMouseDown:y,onTouchStart:y})},qS=function(t){var n=t.prefixCls,r=t.style,i=t.values,o=t.startPoint,l=t.onStartMove,a=g.useContext(zr),s=a.included,u=a.range,h=a.min,f=a.styles,m=a.classNames,p=g.useMemo(function(){if(!u){if(i.length===0)return[];var C=o??h,O=i[0];return[{start:Math.min(C,O),end:Math.max(C,O)}]}for(var v=[],d=0;d<i.length-1;d+=1)v.push({start:i[d],end:i[d+1]});return v},[i,u,o,h]);if(!s)return null;var w=m.tracks||f.tracks?g.createElement(G1,{index:null,prefixCls:n,start:p[0].start,end:p[p.length-1].end,replaceCls:Pr(m.tracks,"".concat(n,"-tracks")),style:f.tracks}):null;return g.createElement(g.Fragment,null,w,p.map(function(C,O){var v=C.start,d=C.end;return g.createElement(G1,{index:O,prefixCls:n,style:qe(qe({},Ri(r,O)),f.track),start:v,end:d,key:O,onStartMove:l})}))},ce={};/**
|
|
115
|
+
* @license React
|
|
116
|
+
* react-is.production.min.js
|
|
117
|
+
*
|
|
118
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
119
|
+
*
|
|
120
|
+
* This source code is licensed under the MIT license found in the
|
|
121
|
+
* LICENSE file in the root directory of this source tree.
|
|
122
|
+
*/var vf=Symbol.for("react.element"),mf=Symbol.for("react.portal"),Va=Symbol.for("react.fragment"),Ka=Symbol.for("react.strict_mode"),Ga=Symbol.for("react.profiler"),Ya=Symbol.for("react.provider"),Qa=Symbol.for("react.context"),JS=Symbol.for("react.server_context"),Xa=Symbol.for("react.forward_ref"),Za=Symbol.for("react.suspense"),qa=Symbol.for("react.suspense_list"),Ja=Symbol.for("react.memo"),es=Symbol.for("react.lazy"),ex=Symbol.for("react.offscreen"),Y1;Y1=Symbol.for("react.module.reference");function Dt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case vf:switch(e=e.type,e){case Va:case Ga:case Ka:case Za:case qa:return e;default:switch(e=e&&e.$$typeof,e){case JS:case Qa:case Xa:case es:case Ja:case Ya:return e;default:return t}}case mf:return t}}}ce.ContextConsumer=Qa,ce.ContextProvider=Ya,ce.Element=vf,ce.ForwardRef=Xa,ce.Fragment=Va,ce.Lazy=es,ce.Memo=Ja,ce.Portal=mf,ce.Profiler=Ga,ce.StrictMode=Ka,ce.Suspense=Za,ce.SuspenseList=qa,ce.isAsyncMode=function(){return!1},ce.isConcurrentMode=function(){return!1},ce.isContextConsumer=function(e){return Dt(e)===Qa},ce.isContextProvider=function(e){return Dt(e)===Ya},ce.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===vf},ce.isForwardRef=function(e){return Dt(e)===Xa},ce.isFragment=function(e){return Dt(e)===Va},ce.isLazy=function(e){return Dt(e)===es},ce.isMemo=function(e){return Dt(e)===Ja},ce.isPortal=function(e){return Dt(e)===mf},ce.isProfiler=function(e){return Dt(e)===Ga},ce.isStrictMode=function(e){return Dt(e)===Ka},ce.isSuspense=function(e){return Dt(e)===Za},ce.isSuspenseList=function(e){return Dt(e)===qa},ce.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Va||e===Ga||e===Ka||e===Za||e===qa||e===ex||typeof e=="object"&&e!==null&&(e.$$typeof===es||e.$$typeof===Ja||e.$$typeof===Ya||e.$$typeof===Qa||e.$$typeof===Xa||e.$$typeof===Y1||e.getModuleId!==void 0)},ce.typeOf=Dt;function Q1(e){var t="touches"in e?e.touches[0]:e;return{pageX:t.pageX,pageY:t.pageY}}function tx(e,t,n,r,i,o,l,a,s){var u=g.useState(null),h=vt(u,2),f=h[0],m=h[1],p=g.useState(-1),w=vt(p,2),C=w[0],O=w[1],v=g.useState(n),d=vt(v,2),y=d[0],k=d[1],I=g.useState(n),P=vt(I,2),R=P[0],S=P[1],N=g.useRef(null),b=g.useRef(null);g.useLayoutEffect(function(){C===-1&&k(n)},[n,C]),g.useEffect(function(){return function(){document.removeEventListener("mousemove",N.current),document.removeEventListener("mouseup",b.current),document.removeEventListener("touchmove",N.current),document.removeEventListener("touchend",b.current)}},[]);var j=function(z,M){y.some(function(T,D){return T!==z[D]})&&(M!==void 0&&m(M),k(z),l(z))},E=cf(function(A,z){if(A===-1){var M=R[0],T=R[R.length-1],D=r-M,$=i-T,Y=z*(i-r);Y=Math.max(Y,D),Y=Math.min(Y,$);var X=o(M+Y);Y=X-M;var ie=R.map(function(pe){return pe+Y});j(ie)}else{var we=(i-r)*z,Se=ur(y);Se[A]=R[A];var de=s(Se,we,A,"dist");j(de.values,de.value)}}),x=function(z,M,T){z.stopPropagation();var D=T||n,$=D[M];O(M),m($),S(D);var Y=Q1(z),X=Y.pageX,ie=Y.pageY,we=function(pe){pe.preventDefault();var $t=Q1(pe),lt=$t.pageX,Fr=$t.pageY,Je=lt-X,Dr=Fr-ie,at=e.current.getBoundingClientRect(),mt=at.width,st=at.height,bt;switch(t){case"btt":bt=-Dr/st;break;case"ttb":bt=Dr/st;break;case"rtl":bt=-Je/mt;break;default:bt=Je/mt}E(M,bt)},Se=function de(pe){pe.preventDefault(),document.removeEventListener("mouseup",de),document.removeEventListener("mousemove",we),document.removeEventListener("touchend",de),document.removeEventListener("touchmove",we),N.current=null,b.current=null,O(-1),a()};document.addEventListener("mouseup",Se),document.addEventListener("mousemove",we),document.addEventListener("touchend",Se),document.addEventListener("touchmove",we),N.current=we,b.current=Se},L=g.useMemo(function(){var A=ur(n).sort(function(M,T){return M-T}),z=ur(y).sort(function(M,T){return M-T});return A.every(function(M,T){return M===z[T]})?y:n},[n,y]);return[C,f,L,x]}function nx(e,t,n,r,i,o){var l=g.useCallback(function(p){return Math.max(e,Math.min(t,p))},[e,t]),a=g.useCallback(function(p){if(n!==null){var w=e+Math.round((l(p)-e)/n)*n,C=function(y){return(String(y).split(".")[1]||"").length},O=Math.max(C(n),C(t),C(e)),v=Number(w.toFixed(O));return e<=v&&v<=t?v:null}return null},[n,e,t,l]),s=g.useCallback(function(p){var w=l(p),C=r.map(function(d){return d.value});n!==null&&C.push(a(p)),C.push(e,t);var O=C[0],v=t-e;return C.forEach(function(d){var y=Math.abs(w-d);y<=v&&(O=d,v=y)}),O},[e,t,r,n,l,a]),u=function p(w,C,O){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof C=="number"){var d,y=w[O],k=y+C,I=[];r.forEach(function(b){I.push(b.value)}),I.push(e,t),I.push(a(y));var P=C>0?1:-1;v==="unit"?I.push(a(y+P*n)):I.push(a(k)),I=I.filter(function(b){return b!==null}).filter(function(b){return C<0?b<=y:b>=y}),v==="unit"&&(I=I.filter(function(b){return b!==y}));var R=v==="unit"?y:k;d=I[0];var S=Math.abs(d-R);if(I.forEach(function(b){var j=Math.abs(b-R);j<S&&(d=b,S=j)}),d===void 0)return C<0?e:t;if(v==="dist")return d;if(Math.abs(C)>1){var N=ur(w);return N[O]=d,p(N,C-P,O,v)}return d}else{if(C==="min")return e;if(C==="max")return t}},h=function(w,C,O){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",d=w[O],y=u(w,C,O,v);return{value:y,changed:y!==d}},f=function(w){return o===null&&w===0||typeof o=="number"&&w<o},m=function(w,C,O){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",d=w.map(s),y=d[O],k=u(d,C,O,v);if(d[O]=k,i===!1){var I=o||0;O>0&&d[O-1]!==y&&(d[O]=Math.max(d[O],d[O-1]+I)),O<d.length-1&&d[O+1]!==y&&(d[O]=Math.min(d[O],d[O+1]-I))}else if(typeof o=="number"||o===null){for(var P=O+1;P<d.length;P+=1)for(var R=!0;f(d[P]-d[P-1])&&R;){var S=h(d,1,P);d[P]=S.value,R=S.changed}for(var N=O;N>0;N-=1)for(var b=!0;f(d[N]-d[N-1])&&b;){var j=h(d,-1,N-1);d[N-1]=j.value,b=j.changed}for(var E=d.length-1;E>0;E-=1)for(var x=!0;f(d[E]-d[E-1])&&x;){var L=h(d,-1,E-1);d[E-1]=L.value,x=L.changed}for(var A=0;A<d.length-1;A+=1)for(var z=!0;f(d[A+1]-d[A])&&z;){var M=h(d,1,A+1);d[A+1]=M.value,z=M.changed}}return{value:d[O],values:d}};return[s,m]}var rx=g.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-slider":n,i=e.className,o=e.style,l=e.classNames,a=e.styles,s=e.disabled,u=s===void 0?!1:s,h=e.keyboard,f=h===void 0?!0:h,m=e.autoFocus,p=e.onFocus,w=e.onBlur,C=e.min,O=C===void 0?0:C,v=e.max,d=v===void 0?100:v,y=e.step,k=y===void 0?1:y,I=e.value,P=e.defaultValue,R=e.range,S=e.count,N=e.onChange,b=e.onBeforeChange,j=e.onAfterChange,E=e.onChangeComplete,x=e.allowCross,L=x===void 0?!0:x,A=e.pushable,z=A===void 0?!1:A,M=e.draggableTrack,T=e.reverse,D=e.vertical,$=e.included,Y=$===void 0?!0:$,X=e.startPoint,ie=e.trackStyle,we=e.handleStyle,Se=e.railStyle,de=e.dotStyle,pe=e.activeDotStyle,$t=e.marks,lt=e.dots,Fr=e.handleRender,Je=e.activeHandleRender,Dr=e.tabIndex,at=Dr===void 0?0:Dr,mt=e.ariaLabelForHandle,st=e.ariaLabelledByForHandle,bt=e.ariaValueTextFormatterForHandle,nn=g.useRef(null),et=g.useRef(null),An=g.useMemo(function(){return D?T?"ttb":"btt":T?"rtl":"ltr"},[T,D]),We=g.useMemo(function(){return isFinite(O)?O:0},[O]),rn=g.useMemo(function(){return isFinite(d)?d:100},[d]),Ut=g.useMemo(function(){return k!==null&&k<=0?1:k},[k]),ts=g.useMemo(function(){return typeof z=="boolean"?z?Ut:!1:z>=0?z:!1},[z,Ut]),Li=g.useMemo(function(){return Object.keys($t||{}).map(function(fe){var Z=$t[fe],le={value:Number(fe)};return Z&&sr(Z)==="object"&&!g.isValidElement(Z)&&("label"in Z||"style"in Z)?(le.style=Z.style,le.label=Z.label):le.label=Z,le}).filter(function(fe){var Z=fe.label;return Z||typeof Z=="number"}).sort(function(fe,Z){return fe.value-Z.value})},[$t]),Oi=nx(We,rn,Ut,Li,L,ts),Ai=vt(Oi,2),$r=Ai[0],Ko=Ai[1],ns=FS(P,{value:I}),rs=vt(ns,2),gn=rs[0],is=rs[1],Ht=g.useMemo(function(){var fe=gn==null?[]:Array.isArray(gn)?gn:[gn],Z=vt(fe,1),le=Z[0],je=le===void 0?We:le,Te=gn===null?[]:[je];if(R){if(Te=ur(fe),S||gn===void 0){var Vt=S>=0?S+1:2;for(Te=Te.slice(0,Vt);Te.length<Vt;){var Ve;Te.push((Ve=Te[Te.length-1])!==null&&Ve!==void 0?Ve:We)}}Te.sort(function(an,In){return an-In})}return Te.forEach(function(an,In){Te[In]=$r(an)}),Te},[gn,R,We,S,$r]),ut=g.useRef(Ht);ut.current=Ht;var gt=function(Z){return R?Z:Z[0]},Bt=function(Z){var le=ur(Z).sort(function(je,Te){return je-Te});N&&!WS(le,ut.current,!0)&&N(gt(le)),is(le)},jt=function(){var Z=gt(ut.current);j==null||j(Z),Vo(!j,"[rc-slider] `onAfterChange` is deprecated. Please use `onChangeComplete` instead."),E==null||E(Z)},Tt=tx(et,An,Ht,We,rn,$r,Bt,jt,Ko),fr=vt(Tt,4),Go=fr[0],os=fr[1],Ur=fr[2],Ii=fr[3],Mi=function(Z,le){if(!u){var je=0,Te=rn-We;Ht.forEach(function(In,hr){var Mn=Math.abs(Z-In);Mn<=Te&&(Te=Mn,je=hr)});var Vt=ur(Ht);if(Vt[je]=Z,R&&!Ht.length&&S===void 0&&Vt.push(Z),b==null||b(gt(Vt)),Bt(Vt),le){var Ve,an;(Ve=document.activeElement)===null||Ve===void 0||(an=Ve.blur)===null||an===void 0||an.call(Ve),nn.current.focus(je),Ii(le,je,Vt)}}},on=function(Z){Z.preventDefault();var le=et.current.getBoundingClientRect(),je=le.width,Te=le.height,Vt=le.left,Ve=le.top,an=le.bottom,In=le.right,hr=Z.clientX,Mn=Z.clientY,sn;switch(An){case"btt":sn=(an-Mn)/Te;break;case"ttb":sn=(Mn-Ve)/Te;break;case"rtl":sn=(In-hr)/je;break;default:sn=(hr-Vt)/je}var K=We+sn*(rn-We);Mi($r(K),Z)},Yo=g.useState(null),ls=vt(Yo,2),Qo=ls[0],as=ls[1],Cf=function(Z,le){if(!u){var je=Ko(Ht,Z,le);b==null||b(gt(Ht)),Bt(je.values),as(je.value)}};g.useEffect(function(){if(Qo!==null){var fe=Ht.indexOf(Qo);fe>=0&&nn.current.focus(fe)}as(null)},[Qo]);var kf=g.useMemo(function(){return M&&Ut===null?!1:M},[M,Ut]),ss=function(Z,le){Ii(Z,le),b==null||b(gt(ut.current))},Xo=Go!==-1;g.useEffect(function(){if(!Xo){var fe=Ht.lastIndexOf(os);nn.current.focus(fe)}},[Xo]);var Wt=g.useMemo(function(){return ur(Ur).sort(function(fe,Z){return fe-Z})},[Ur]),Pi=g.useMemo(function(){return R?[Wt[0],Wt[Wt.length-1]]:[We,Wt[0]]},[Wt,R,We]),ln=vt(Pi,2),dr=ln[0],zi=ln[1];g.useImperativeHandle(t,function(){return{focus:function(){nn.current.focus(0)},blur:function(){var Z,le=document,je=le.activeElement;(Z=et.current)!==null&&Z!==void 0&&Z.contains(je)&&(je==null||je.blur())}}}),g.useEffect(function(){m&&nn.current.focus(0)},[]);var us=g.useMemo(function(){return{min:We,max:rn,direction:An,disabled:u,keyboard:f,step:Ut,included:Y,includedStart:dr,includedEnd:zi,range:R,tabIndex:at,ariaLabelForHandle:mt,ariaLabelledByForHandle:st,ariaValueTextFormatterForHandle:bt,styles:a||{},classNames:l||{}}},[We,rn,An,u,f,Ut,Y,dr,zi,R,at,mt,st,bt,a,l]);return g.createElement(zr.Provider,{value:us},g.createElement("div",{ref:et,className:Pr(r,i,tn(tn(tn(tn({},"".concat(r,"-disabled"),u),"".concat(r,"-vertical"),D),"".concat(r,"-horizontal"),!D),"".concat(r,"-with-marks"),Li.length)),style:o,onMouseDown:on},g.createElement("div",{className:Pr("".concat(r,"-rail"),l==null?void 0:l.rail),style:qe(qe({},Se),a==null?void 0:a.rail)}),g.createElement(qS,{prefixCls:r,style:ie,values:Wt,startPoint:X,onStartMove:kf?ss:void 0}),g.createElement(ZS,{prefixCls:r,marks:Li,dots:lt,style:de,activeStyle:pe}),g.createElement(GS,{ref:nn,prefixCls:r,style:we,values:Ur,draggingIndex:Go,onStartMove:ss,onOffsetChange:Cf,onFocus:p,onBlur:w,handleRender:Fr,activeHandleRender:Je,onChangeComplete:jt}),g.createElement(QS,{prefixCls:r,marks:Li,onClick:Mi})))}),ix="_17fqjrr0";const X1=({onChange:e,...t})=>c.jsx(rx,{...t,className:ix,onChange:e});var ox="_1ygb9tp0",lx="_1ygb9tp1",ax="_1ygb9tp3 _1ygb9tp2",sx="_1ygb9tp4 _1ygb9tp2",Z1="uqegr40",q1="uqegr41",J1="uqegr43 uqegr42",em="uqegr44 uqegr42",tm="uqegr45 uqegr42";const cr=({variant:e,matching:t})=>{if(t==null)return null;const n=t.images[0].width,r=t.images[1].width,i=Math.max(t.images[0].height,t.images[1].height),o=p=>`${p.x/n*100}%`,l=p=>`${p.y/i*100}%`,a=p=>`${p.width/n*100}%`,s=p=>`${p.height/i*100}%`,u=p=>`${p.x/r*100}%`,h=p=>`${p.y/i*100}%`,f=p=>`${p.width/r*100}%`,m=p=>`${p.height/i*100}%`;return e==="before"?c.jsx("div",{className:Z1,children:c.jsxs("div",{className:q1,style:{maxWidth:n},children:[t.matches.map((p,w)=>c.jsxs(ee.Fragment,{children:[c.jsx("div",{className:J1,style:{top:l(p[1].bounding),left:o(p[1].bounding),width:a(p[1].bounding),height:s(p[1].bounding)}}),p[1].diffMarkers.map((C,O)=>c.jsx(ee.Fragment,{children:c.jsx("div",{className:em,style:{top:h(C),left:u(C),width:f(C),height:m(C)}})},O))]},w)),t.strayingRects[1].map((p,w)=>c.jsx("div",{className:tm,style:{top:h(p),left:u(p),width:f(p),height:m(p)}},w))]})}):c.jsx("div",{className:Z1,children:c.jsxs("div",{className:q1,style:{maxWidth:r},children:[t.matches.map((p,w)=>c.jsxs(ee.Fragment,{children:[c.jsx("div",{className:J1,style:{top:l(p[0].bounding),left:o(p[0].bounding),width:a(p[0].bounding),height:s(p[0].bounding)}}),p[0].diffMarkers.map((C,O)=>c.jsx(ee.Fragment,{children:c.jsx("div",{className:em,style:{top:l(C),left:o(C),width:a(C),height:s(C)}})},O))]},w)),t.strayingRects[0].map((p,w)=>c.jsx("div",{className:tm,style:{top:l(p),left:o(p),width:a(p),height:s(p)}},w))]})})},ux=32,gf=e=>Number.isNaN(e)?0:e,yf=(e,t)=>{const n=ef(`(min-width: ${Ir.MEDIUM}px)`),[r,i]=g.useState(0);g.useEffect(()=>{const R=Zc(()=>{i(window.innerWidth-(n?Ni*5:Ni*1)*2)},ux);return R(),window.addEventListener("resize",R,!1),()=>{window.removeEventListener("resize",R,!1)}},[n]);const[o,l]=g.useState(!1),[a,s]=g.useState(!1),[u,h]=g.useState({width:0,height:0}),[f,m]=g.useState({width:0,height:0}),p=g.useRef(null),w=g.useRef(null);g.useEffect(()=>{p.current!=null&&p.current.complete&&l(!0)},[e]),g.useEffect(()=>{w.current!=null&&w.current.complete&&s(!0)},[t]);const C=g.useCallback(()=>{p.current!=null&&h({width:p.current.naturalWidth,height:p.current.naturalHeight}),l(!0)},[]),O=g.useCallback(()=>{w.current!=null&&m({width:w.current.naturalWidth,height:w.current.naturalHeight}),s(!0)},[]),v=gf(Math.min(r,Math.max(u.width,f.width))),d=Math.min(v,u.width),y=gf(d/u.width*u.height),k=Math.min(v,f.width),I=gf(k/f.width*f.height),P=Math.max(y,I);return{canvas:{width:Math.min(r,v),height:P},image:{width:v,height:P,loaded:o&&a,before:{ref:p,width:d,height:y,loaded:o,handleLoad:C},after:{ref:w,width:k,height:I,loaded:a,handleLoad:O}}}},cx=({before:e,after:t,value:n,matching:r})=>{const{canvas:i,image:o}=yf(e,t);return c.jsx("div",{className:ox,style:{visibility:o.loaded?"visible":"hidden"},children:c.jsxs("div",{className:lx,style:i,children:[c.jsxs("div",{className:ax,style:{width:o.before.width,height:o.before.height},children:[c.jsx(Ft,{ref:o.before.ref,src:e,onLoad:o.before.handleLoad}),c.jsx(cr,{variant:"before",matching:r})]}),c.jsxs("div",{className:sx,style:{width:o.after.width,height:o.after.height,opacity:n},children:[c.jsx(Ft,{ref:o.after.ref,src:t,onLoad:o.after.handleLoad}),c.jsx(cr,{variant:"after",matching:r})]})]})})};var fx="gddkb20",dx="gddkb21",hx="gddkb22",px="gddkb23",vx="gddkb24",mx="gddkb25",wf="gddkb26",nm="gddkb27";const gx=({src:e})=>c.jsx(Ft,{src:e});var yx="_1m05izi0",wx="_1m05izi1",Ex="_1m05izi2",Sx="_1m05izi3",xx="_1m05izi5 _1m05izi4",Cx="_1m05izi6 _1m05izi4",kx="_1m05izi7",_x="_1m05izi8";const Nx=({before:e,after:t,value:n,matching:r,onChange:i})=>{const{canvas:o,image:l}=yf(e,t),a=g.useRef(null),s=g.useRef(null),u=h=>{i(parseInt(h.target.value,10))};return g.useEffect(()=>{const h=a.current,f=w=>{const C=("touches"in w?w.touches[0].pageX:w.pageX)-window.scrollX,{left:O}=h.getBoundingClientRect(),v=Math.min(Math.max(0,C-O),l.width);i(v/l.width*100)},m=w=>{w.stopPropagation(),s.current!=null&&s.current.focus(),window.addEventListener("mousemove",f,!1),window.addEventListener("touchmove",f,!1)},p=()=>{window.removeEventListener("mousemove",f,!1),window.removeEventListener("touchmove",f,!1)};return h.addEventListener("mousedown",m,!1),h.addEventListener("touchstart",m,!1),window.addEventListener("mouseup",p,!1),window.addEventListener("touchend",p,!1),()=>{h.removeEventListener("mousedown",m,!1),h.removeEventListener("touchstart",m,!1),window.removeEventListener("mouseup",p,!1),window.removeEventListener("touchend",p,!1),window.removeEventListener("mousemove",f,!1),window.removeEventListener("touchmove",f,!1)}},[l.width,i]),c.jsx("div",{className:yx,style:{visibility:l.loaded?"visible":"hidden"},children:c.jsxs("div",{className:wx,ref:a,style:o,children:[c.jsx("input",{ref:s,className:Ex,type:"range",min:0,max:100,value:n,"data-mousetrap":"ignore","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":n,"aria-label":"Percent of revealed content",onChange:u}),c.jsxs("div",{className:xx,style:{width:l.before.width,height:l.before.height},children:[c.jsx(Ft,{ref:l.before.ref,src:e,onLoad:l.before.handleLoad}),c.jsx(cr,{variant:"before",matching:r})]}),c.jsx("div",{className:Sx,style:{width:`${n}%`},children:c.jsxs("div",{className:Cx,style:{top:0,left:o.width/2-l.after.width/2,width:l.after.width,height:l.after.height},children:[c.jsx(Ft,{ref:l.after.ref,src:t,onLoad:l.after.handleLoad}),c.jsx(cr,{variant:"after",matching:r})]})}),c.jsx("span",{className:kx,style:{left:`${n}%`},children:c.jsx("span",{className:_x})})]})})};var bx="_1hurjg20",jx="_1hurjg21",Tx="_1hurjg23 _1hurjg22",Rx="_1hurjg24 _1hurjg22";const Lx=({before:e,after:t,checked:n,matching:r})=>{const{canvas:i,image:o}=yf(e,t);return c.jsx("div",{className:bx,style:{visibility:o.loaded?"visible":"hidden"},children:c.jsxs("div",{className:jx,style:i,children:[c.jsxs("div",{className:Tx,style:{visibility:n?"hidden":"visible",width:o.before.width,height:o.before.height},children:[c.jsx(Ft,{ref:o.before.ref,src:e,onLoad:o.before.handleLoad}),c.jsx(cr,{variant:"before",matching:r})]}),c.jsxs("div",{className:Rx,style:{visibility:n?"visible":"hidden",width:o.after.width,height:o.after.height},children:[c.jsx(Ft,{ref:o.after.ref,src:t,onLoad:o.after.handleLoad}),c.jsx(cr,{variant:"after",matching:r})]})]})})};var Ox="_1liqjuh0",rm="_1liqjuh1";const Ax=({before:e,after:t,matching:n})=>c.jsxs("div",{className:Ox,children:[c.jsxs("div",{className:rm,children:[c.jsx(Ft,{src:e}),c.jsx(cr,{variant:"before",matching:n})]}),c.jsxs("div",{className:rm,children:[c.jsx(Ft,{src:t}),c.jsx(cr,{variant:"after",matching:n})]})]}),Ix=[{value:"diff",label:"Diff"},{value:"slide",label:"Slide"},{value:"2up",label:"2up"},{value:"blend",label:"Blend"},{value:"toggle",label:"Toggle"}],im=({scrollerRef:e,entity:t,matching:n,defaultMode:r})=>{const[i,o]=g.useState(r),[l,a]=g.useState(50),[s,u]=g.useState(.5),[h,f]=g.useState(!1),m=g.useCallback(O=>{a(O)},[]),p=g.useCallback(O=>{u(O)},[]),w=g.useCallback(()=>{f(!h)},[h]),C=g.useCallback(O=>{o(O)},[]);return c.jsxs("div",{className:fx,children:[c.jsx("div",{className:dx,ref:e,children:c.jsx("div",{className:hx,children:c.jsxs("div",{className:px,children:[t.variant==="changed"&&c.jsxs(c.Fragment,{children:[i==="diff"&&c.jsx(gx,{src:t.diff}),i==="slide"&&c.jsx(Nx,{before:t.before,after:t.after,value:l,matching:n,onChange:m}),i==="2up"&&c.jsx(Ax,{before:t.before,after:t.after,matching:n}),i==="blend"&&c.jsx(cx,{before:t.before,after:t.after,value:s,matching:n}),i==="toggle"&&c.jsx(Lx,{before:t.before,after:t.after,checked:h,matching:n})]}),(t.variant==="new"||t.variant==="passed")&&c.jsx(Ft,{src:t.after}),t.variant==="deleted"&&c.jsx(Ft,{src:t.before})]})})}),t.variant==="changed"&&c.jsxs("div",{className:vx,children:[c.jsx(Tv,{children:c.jsx(ir,{classNames:"control",timeout:{enter:Ze.FADE_IN,exit:Ze.FADE_OUT},children:c.jsxs("div",{className:mx,children:[i==="slide"&&c.jsxs("div",{className:wf,children:[c.jsx("span",{className:Ov.subTitle3,children:"Before"}),c.jsx("span",{className:nm,children:c.jsx(X1,{min:0,max:100,step:1,value:l,onChange:m})}),c.jsx("span",{className:Ov.subTitle3,children:"After"})]}),i==="blend"&&c.jsxs("div",{className:wf,children:[c.jsx("span",{children:"Before"}),c.jsx("span",{className:nm,children:c.jsx(X1,{min:0,max:1,step:.01,value:s,onChange:p})}),c.jsx("span",{children:"After"})]}),i==="toggle"&&c.jsx("div",{className:wf,children:c.jsx(P1,{id:"toggle-switch",prepend:"Before",append:"After",checked:h,onChange:w})})]})},i)}),c.jsx(NS,{options:Ix,value:i,onChange:C})]})]})};im.defaultProps={defaultMode:"slide"};const Mx=({total:e,current:t,entity:n,matching:r,markersEnabled:i,onPrevious:o,onNext:l,onRequestClose:a,onMarkersToggle:s})=>{const[u,h]=g.useState(!1),f=g.useRef(null),m=g.useRef(null),p=g.useRef(null),w=d1(n),C=g.useCallback(()=>{const{current:k}=f;n==null||k==null||h(!0)},[n]),O=g.useCallback(()=>{const{current:k}=f;k!=null&&h(!1)},[]),v=g.useCallback(k=>{k.preventDefault(),o()},[o]),d=g.useCallback(k=>{k.preventDefault(),l()},[l]);g.useEffect(()=>{const{current:k}=f,{current:I}=m;k!=null&&(u?(p.current=Mc(k,{}),p.current.activate(),I!=null&&Lc(I)):(p.current!=null&&p.current.deactivate(),hv()))},[u]),De(f,["Escape"],()=>{u&&a()}),De(f,["m"],()=>{u&&s()}),De(f,["ArrowRight","l"],()=>{u&&l()}),De(f,["ArrowLeft","h"],()=>{u&&o()});const y=n??w;return c.jsx(Ra,{children:c.jsx(ir,{in:n!=null,classNames:"viewer",mountOnEnter:!0,unmountOnExit:!0,timeout:{enter:Ze.LARGE_IN+xS,exit:Ze.LARGE_OUT},onEnter:C,onExit:O,children:c.jsx("div",{ref:f,tabIndex:n==null?-1:0,role:"dialog","aria-modal":"true","aria-hidden":n!=null?"false":"true",children:c.jsxs("div",{className:mS,children:[c.jsx("div",{className:gS,children:y!=null&&c.jsx(hS,{variant:y.variant,title:y.name,current:t,max:e,markersEnabled:i,onRequestClose:a,onMarkersToggle:s})}),c.jsxs("div",{className:yS,children:[y!=null&&c.jsx(im,{scrollerRef:m,entity:y,matching:r}),c.jsx("div",{className:wS,children:c.jsx(bi,{"aria-label":"Previous Item",onClick:v,children:c.jsx(pS,{fill:kt.TEXT_BASE})})}),c.jsx("div",{className:ES,children:c.jsx(bi,{"aria-label":"Next Item",onClick:d,children:c.jsx(vS,{fill:kt.TEXT_BASE})})})]}),c.jsx("div",{className:SS,children:c.jsx(c1,{})})]})})})})},om={entity:null,matching:null,index:-1},Px=()=>{const e=Iv(),{allItems:t}=Uo(),n=Hv(),r=g.useRef(0),[i,o]=g.useState(om),[l,a]=g.useState(!0);g.useEffect(()=>{const{entity:p}=i;if(p==null||l===!1)return;const w=C=>{r.current===C.seq&&o({...i,matching:C.result})};return n.subscribe(zt.RESULT_CALC,w),i.matching==null&&p.variant==="changed"&&(r.current=n.requestCalc({raw:p.name,actualSrc:p.after,expectedSrc:p.before})),()=>n.unsubscribe(zt.RESULT_CALC,w)},[n,i,l]),g.useEffect(()=>{const p=w=>{const O=q2.parse(w.search,{decode:!1}).id;if(typeof O=="string"&&O!==""){const v=t.findIndex(d=>d.id===O);v>-1&&o({entity:t[v],index:v,matching:null})}else o(om)};return p(e.location),e.listen(({location:w})=>{p(w)})},[e]);const s=g.useCallback(p=>{e.push({search:`?id=${p}`})},[e]),u=g.useCallback(()=>{const p=i.index+1;p<t.length?s(t[p].id):s(t[0].id)},[s,t,i]),h=g.useCallback(()=>{const p=i.index-1;p>=0?s(t[p].id):s(t[t.length-1].id)},[s,t,i]),f=g.useCallback(()=>{e.push({search:""})},[e]),m=g.useCallback(()=>{const p=!l;a(p),!p&&i.matching!=null&&o(w=>({...w,matching:null}))},[l,i]);return c.jsx(Mx,{total:t.length,current:i.index+1,entity:i.entity,matching:i.matching,markersEnabled:l,onNext:u,onPrevious:h,onRequestClose:f,onMarkersToggle:m})},zx=()=>c.jsx(Px,{}),Fx=({fill:e,...t})=>c.jsx("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",...t,children:c.jsx("path",{d:"M10.641 17.3342H13.1866V20H10.641V17.3342ZM12.6902 4.05855C10.0683 3.65868 7.75182 5.35146 7.05179 7.77733C6.82269 8.55041 7.38271 9.33682 8.15911 9.33682H8.41366C8.9355 9.33682 9.35552 8.95028 9.53371 8.44378C9.94099 7.2575 11.1501 6.44444 12.4611 6.73767C13.6702 7.00425 14.5612 8.24385 14.4594 9.53676C14.3321 11.3228 12.3975 11.7094 11.341 13.3755C11.341 13.3888 11.3283 13.3888 11.3283 13.4022C11.3156 13.4288 11.3029 13.4421 11.2901 13.4688C11.1756 13.6687 11.061 13.8953 10.9719 14.1353C10.9592 14.1752 10.9338 14.2019 10.921 14.2419C10.9083 14.2685 10.9083 14.2952 10.8956 14.3352C10.7428 14.7884 10.641 15.3349 10.641 16.0013H13.1866C13.1866 15.4415 13.3266 14.975 13.543 14.5751C13.5684 14.5351 13.5811 14.4951 13.6066 14.4551C13.7084 14.2685 13.8357 14.0953 13.963 13.9353C13.9757 13.922 13.9884 13.8953 14.0012 13.882C14.1284 13.7221 14.2684 13.5754 14.4212 13.4288C15.643 12.2159 17.2976 11.2295 16.954 8.6837C16.6485 6.36446 14.9048 4.4051 12.6902 4.05855Z",fill:e})});var Dx="_1jume7j0",$x="_1jume7j1",Ux="_1jume7j2",Hx="_1jume7j3";const Bx=()=>{const{toggle:e}=Fa(),{newItems:t,failedItems:n,deletedItems:r,passedItems:i}=Uo(),[o,l]=g.useState(!1),a=g.useRef(null),s=g.useRef(null),u=g.useCallback(f=>{f.preventDefault(),l(!0)},[]),h=g.useCallback(()=>{l(!1)},[]);return De(null,["/","s"],f=>{f.preventDefault(),a.current!=null&&a.current.focus()}),De(null,["g s"],()=>{const{current:f}=s;if(f==null)return;const m=t1(f);m!=null&&m.focus()}),De(null,["g c"],()=>{n.length>0&&(window.location.hash="changed")}),De(null,["g n"],()=>{t.length>0&&(window.location.hash="new")}),De(null,["g d"],()=>{r.length>0&&(window.location.hash="deleted")}),De(null,["g p"],()=>{i.length>0&&(window.location.hash="passed")}),De(null,["f"],()=>{e()}),De(null,["Shift+?"],()=>{l(!0)}),c.jsxs(c.Fragment,{children:[c.jsx("span",{className:Dx,children:c.jsx(jc,{size:40})}),c.jsxs("main",{className:$x,children:[c.jsx(U2,{inputRef:a,listRef:s}),c.jsxs("div",{className:Ux,children:[c.jsx(IE,{}),c.jsx(ly,{})]})]}),c.jsx("span",{className:Hx,children:c.jsx(bi,{variant:"dark",onClick:u,children:c.jsx(Fx,{fill:kt.WHITE})})}),c.jsx(kw,{open:o,onRequestClose:h}),c.jsx(zx,{}),c.jsx(UE,{})]})},Wx=({store:e})=>c.jsx(Dm,{store:e,children:c.jsx(ey,{children:c.jsx(Yg,{children:c.jsx(Bx,{})})})});function Vx(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(i){i(n)}),(r=e.get("*"))&&r.slice().map(function(i){i(t,n)})}}}const Kx=e=>{const t=document.createElement("canvas"),n=t.getContext("2d");if(n==null)throw new Error("An unexpected error has occurred");return t.width=e.width,t.height=e.height,n.drawImage(e,0,0),n.getImageData(0,0,t.width,t.height)},lm=e=>new Promise(t=>{const n=new Image;n.addEventListener("load",()=>{t(Kx(n))},!1),n.src=e});class Gx{constructor(){this._cache={},this._ximgdiffEnabled=!1,this._seq=0,this._emitter=Vx(),this._worker=null,this.requestFilter=Zc(t=>{this._worker!=null&&this._worker.postMessage({type:zt.REQUEST_FILTER,payload:t})},200)}start(t){t.workerUrl&&(this._ximgdiffEnabled=t.enabled,this._worker=new Worker(t.workerUrl,{}),this._worker.addEventListener("message",({data:n})=>{switch(n.type){case zt.RESULT_CALC:this._cache[n.payload.raw]=n.payload,this._emitter.emit(zt.RESULT_CALC,n.payload);break;case zt.RESULT_FILTER:this._emitter.emit(zt.RESULT_FILTER,n.payload);break}}))}requestCalc(t){if(!this._ximgdiffEnabled||this._worker==null)return 0;const n=++this._seq;return this._cache[t.raw]?(setTimeout(()=>this._emitter.emit(zt.RESULT_CALC,{...this._cache[t.raw],seq:n}),10),n):(Promise.all([lm(t.actualSrc),lm(t.expectedSrc)]).then(([r,i])=>{this._worker.postMessage({type:zt.REQUEST_CALC,payload:{img1:r,img2:i,seq:n,...t}},[r.data.buffer,i.data.buffer])}),n)}requestFilterInit(t){this._worker!=null&&this._worker.postMessage({type:zt.INIT_FILTER,payload:t})}subscribe(t,n){this._emitter.on(t,n)}unsubscribe(t,n){this._emitter.off(t,n)}}const am=window.__reg__,Ef=new Gx,Yx=am.ximgdiffConfig||{enabled:!1};Ef.start(Yx);const Sf=Vf();_w(Sf,Ef),jw(Sf,am,Ef);const Qx=document.getElementById(zv);ev(Qx).render(c.jsx(g.StrictMode,{children:c.jsx(Wx,{store:Sf})}))});
|