All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ber-security.graylog.graylog-plugin-correlation-count.6.0.0.source-code.bf9ab447-17.ad6de67c9f41baffb77e.js Maven / Gradle / Ivy

There is a newer version: 6.1.0
Show newest version
(()=>{var ug=Object.defineProperty;var cg=(I,v,t)=>v in I?ug(I,v,{enumerable:!0,configurable:!0,writable:!0,value:t}):I[v]=t;var ba=(I,v,t)=>(cg(I,typeof v!="symbol"?v+"":v,t),t),fg=(I,v,t)=>{if(!v.has(I))throw TypeError("Cannot "+t)};var rc=(I,v,t)=>{if(v.has(I))throw TypeError("Cannot add the same private member more than once");v instanceof WeakSet?v.add(I):v.set(I,t)};var Ou=(I,v,t)=>(fg(I,v,"access private method"),t);(self.webpackChunkCorrelationCount=self.webpackChunkCorrelationCount||[]).push([["bf9ab447-17"],{So4gXpLx:(I,v)=>{"use strict";var t;Object.defineProperty(v,"__esModule",{value:!0}),v.VARIANT_NAMES=v.COLOR_SCHEME_LIGHT=v.COLOR_SCHEME_DARK=void 0,v.COLOR_SCHEME_DARK="dark",v.COLOR_SCHEME_LIGHT="light",v.VARIANT_NAMES=["danger","default","info","primary","success","warning","gray"];var n={danger:["#FFEDED","#FFC7C7","#FFACAB","#FE8685","#FE6E6D","#FE4A49","#E74342","#B43534","#8C2928","#6B1F1F"],default:["#FAF9FF","#EEEDF6","#CAC8D7","#8D8AA9","#362F62","#20194D","#1A143E","#130F2E","#0D0A1F","#06050F"],info:["#EBFAFF","#C2F0FF","#85E0FF","#47D1FF","#1FC7FF","#03C2FF","#00A8E0","#008AB8","#006B8F","#003D52"],primary:["#D9EBFF","#ADD0FF","#7FB8FF","#65A9FF","#4396FF","#1877EF","#1064CD","#0C50A5","#083772","#032551"],success:["#E1FFF4","#ACFFE0","#69F9C3","#62F3BC","#45E5A8","#2ECA8F","#22B07A","#1A9869","#128057","#094F35"],warning:["#FFFBEB","#FFF2C2","#FFEDAD","#FFE485","#FFDC5C","#FFCA0A","#FFCA0A","#CCA000","#7A6000","#292000"],gray:["#F6F7FC","#E1E4ED","#C1C7DC","#6F768F","#394261","#252D47","#232B43","#1C2235","#12182B","#060C1F"]},o={fonts:{families:{body:'"Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif',monospace:'"Ubuntu Mono", Menlo, Monaco, Consolas, "Courier New", monospace',navigation:'"DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif'},rootSize:16,rootLineHeight:"1.24px",scale:1.067,sizes:{navigation:-1,h1:7,h2:4,h3:3,h4:2,h5:1,h6:0,xs:-3,sm:-2,md:0,lg:1,xl:5,xxl:14}},breakpoints:{xs:480,sm:768,md:1024,lg:1184,xl:1440},spacings:["xxs","xs","sm","md","lg","xl","xxl"],colors:(t={},t[v.COLOR_SCHEME_LIGHT]={variant:n,global:{background:"#EEEDF6",contentBackground:"#fff",link:"#1877EF",navigationBoxShadow:"rgba(245,246,248,0.5)"},brand:{primary:"#ff3633",secondary:"#fff",tertiary:"#252D47",logo:"#03C2FF",concrete:"#697586"}},t[v.COLOR_SCHEME_DARK]={variant:n,global:{background:"#12182B",contentBackground:"#232B43",link:"#4396FF",navigationBoxShadow:"rgba(20,20,20,0.5)"},brand:{primary:"#ff3633",secondary:"#888",tertiary:"#F6F7FC",logo:"#fff",concrete:"#697586"}},t)};v.default=o},GhvXG9ao:function(I,v,t){"use strict";var n=this&&this.__createBinding||(Object.create?function(h,u,A,S){S===void 0&&(S=A);var l=Object.getOwnPropertyDescriptor(u,A);(!l||("get"in l?!u.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return u[A]}}),Object.defineProperty(h,S,l)}:function(h,u,A,S){S===void 0&&(S=A),h[S]=u[A]}),o=this&&this.__setModuleDefault||(Object.create?function(h,u){Object.defineProperty(h,"default",{enumerable:!0,value:u})}:function(h,u){h.default=u}),r=this&&this.__importStar||function(h){if(h&&h.__esModule)return h;var u={};if(h!=null)for(var A in h)A!=="default"&&Object.prototype.hasOwnProperty.call(h,A)&&n(u,h,A);return o(u,h),u};Object.defineProperty(v,"__esModule",{value:!0}),v.COLOR_SCHEME_DARK=v.COLOR_SCHEME_LIGHT=v.ThemeBase=void 0;var s=r(t("So4gXpLx"));v.ThemeBase=s.default,Object.defineProperty(v,"COLOR_SCHEME_LIGHT",{enumerable:!0,get:function(){return s.COLOR_SCHEME_LIGHT}}),Object.defineProperty(v,"COLOR_SCHEME_DARK",{enumerable:!0,get:function(){return s.COLOR_SCHEME_DARK}})},FIH0PMrk:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0});var n=Object.assign||function(A){for(var S=1;S=0||Object.prototype.hasOwnProperty.call(A,C)&&(l[C]=A[C]);return l}var u=24;v.default=function(A){var S=A.fill,l=S===void 0?"currentColor":S,C=A.width,b=C===void 0?u:C,m=A.height,D=m===void 0?u:m,f=A.style,p=f===void 0?{}:f,c=h(A,["fill","width","height","style"]);return r.default.createElement("svg",n({viewBox:"0 0 "+u+" "+u,style:n({fill:l,width:b,height:D},p)},c),r.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},"1WERI2ca":(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0});var n=Object.assign||function(A){for(var S=1;S=0||Object.prototype.hasOwnProperty.call(A,C)&&(l[C]=A[C]);return l}var u=24;v.default=function(A){var S=A.fill,l=S===void 0?"currentColor":S,C=A.width,b=C===void 0?u:C,m=A.height,D=m===void 0?u:m,f=A.style,p=f===void 0?{}:f,c=h(A,["fill","width","height","style"]);return r.default.createElement("svg",n({viewBox:"0 0 "+u+" "+u,style:n({fill:l,width:b,height:D},p)},c),r.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},BsFWGRIE:(I,v,t)=>{var n,o;(function(){var r={version:"3.8.0"},s=[].slice,h=function(a){return s.call(a)},u=self.document;function A(a){return a&&(a.ownerDocument||a.document||a).documentElement}function S(a){return a&&(a.ownerDocument&&a.ownerDocument.defaultView||a.document&&a||a.defaultView)}if(u)try{h(u.documentElement.childNodes)[0].nodeType}catch{h=function(E){for(var M=E.length,z=new Array(M);M--;)z[M]=E[M];return z}}if(Date.now||(Date.now=function(){return+new Date}),u)try{u.createElement("DIV").style.setProperty("opacity",0,"")}catch{var l=this.Element.prototype,C=l.setAttribute,b=l.setAttributeNS,m=this.CSSStyleDeclaration.prototype,D=m.setProperty;l.setAttribute=function(E,M){C.call(this,E,M+"")},l.setAttributeNS=function(E,M,z){b.call(this,E,M,z+"")},m.setProperty=function(E,M,z){D.call(this,E,M+"",z)}}r.ascending=f;function f(a,E){return aE?1:a>=E?0:NaN}r.descending=function(a,E){return Ea?1:E>=a?0:NaN},r.min=function(a,E){var M=-1,z=a.length,H,X;if(arguments.length===1){for(;++M=X){H=X;break}for(;++MX&&(H=X)}else{for(;++M=X){H=X;break}for(;++MX&&(H=X)}return H},r.max=function(a,E){var M=-1,z=a.length,H,X;if(arguments.length===1){for(;++M=X){H=X;break}for(;++MH&&(H=X)}else{for(;++M=X){H=X;break}for(;++MH&&(H=X)}return H},r.extent=function(a,E){var M=-1,z=a.length,H,X,ce;if(arguments.length===1){for(;++M=X){H=ce=X;break}for(;++MX&&(H=X),ce=X){H=ce=X;break}for(;++MX&&(H=X),ce1)return ce/(ve-1)},r.deviation=function(){var a=r.variance.apply(this,arguments);return a&&Math.sqrt(a)};function d(a){return{left:function(E,M,z,H){for(arguments.length<3&&(z=0),arguments.length<4&&(H=E.length);z>>1;a(E[X],M)<0?z=X+1:H=X}return z},right:function(E,M,z,H){for(arguments.length<3&&(z=0),arguments.length<4&&(H=E.length);z>>1;a(E[X],M)>0?H=X:z=X+1}return z}}}var g=d(f);r.bisectLeft=g.left,r.bisect=r.bisectRight=g.right,r.bisector=function(a){return d(a.length===1?function(E,M){return f(a(E),M)}:a)},r.shuffle=function(a,E,M){(z=arguments.length)<3&&(M=a.length,z<2&&(E=0));for(var z=M-E,H,X;z;)X=Math.random()*z--|0,H=a[z+E],a[z+E]=a[X+E],a[X+E]=H;return a},r.permute=function(a,E){for(var M=E.length,z=new Array(M);M--;)z[M]=a[E[M]];return z},r.pairs=function(a){for(var E=0,M=a.length-1,z,H=a[0],X=new Array(M<0?0:M);E=0;)for(ce=a[E],M=ce.length;--M>=0;)X[--H]=ce[M];return X};var x=Math.abs;r.range=function(a,E,M){if(arguments.length<3&&(M=1,arguments.length<2&&(E=a,a=0)),(E-a)/M===1/0)throw new Error("infinite range");var z=[],H=T(x(M)),X=-1,ce;if(a*=H,E*=H,M*=H,M<0)for(;(ce=a+M*++X)>E;)z.push(ce/H);else for(;(ce=a+M*++X)=E.length)return H?H.call(a,ve):z?ve.sort(z):ve;for(var ke=-1,et=ve.length,nt=E[Oe++],Ut,Xt,ft,Et=new F,kt;++ke=E.length)return ne;var Oe=[],ke=M[ve++];return ne.forEach(function(et,nt){Oe.push({key:et,values:ce(nt,ve)})}),ke?Oe.sort(function(et,nt){return ke(et.key,nt.key)}):Oe}return a.map=function(ne,ve){return X(ve,ne,0)},a.entries=function(ne){return ce(X(r.map,ne,0),0)},a.key=function(ne){return E.push(ne),a},a.sortKeys=function(ne){return M[E.length-1]=ne,a},a.sortValues=function(ne){return z=ne,a},a.rollup=function(ne){return H=ne,a},a},r.set=function(a){var E=new k;if(a)for(var M=0,z=a.length;M=0&&(z=a.slice(M+1),a=a.slice(0,M)),a)return arguments.length<2?this[a].on(z):this[a].on(z,E);if(arguments.length===2){if(E==null)for(a in this)this.hasOwnProperty(a)&&this[a].on(z,null);return this}};function Fe(a){var E=[],M=new F;function z(){for(var H=E,X=-1,ce=H.length,ne;++X=0&&(M=a.slice(0,E))!=="xmlns"&&(a=a.slice(E+1)),L.hasOwnProperty(M)?{space:L[M],local:a}:a}},J.attr=function(a,E){if(arguments.length<2){if(typeof a=="string"){var M=this.node();return a=r.ns.qualify(a),a.local?M.getAttributeNS(a.space,a.local):M.getAttribute(a)}for(E in a)this.each(j(E,a[E]));return this}return this.each(j(a,E))};function j(a,E){a=r.ns.qualify(a);function M(){this.removeAttribute(a)}function z(){this.removeAttributeNS(a.space,a.local)}function H(){this.setAttribute(a,E)}function X(){this.setAttributeNS(a.space,a.local,E)}function ce(){var ve=E.apply(this,arguments);ve==null?this.removeAttribute(a):this.setAttribute(a,ve)}function ne(){var ve=E.apply(this,arguments);ve==null?this.removeAttributeNS(a.space,a.local):this.setAttributeNS(a.space,a.local,ve)}return E==null?a.local?z:M:typeof E=="function"?a.local?ne:ce:a.local?X:H}function le(a){return a.trim().replace(/\s+/g," ")}J.classed=function(a,E){if(arguments.length<2){if(typeof a=="string"){var M=this.node(),z=(a=Je(a)).length,H=-1;if(E=M.classList){for(;++H=0;)(X=M[z])&&(H&&H!==X.nextSibling&&H.parentNode.insertBefore(X,H),H=X);return this},J.sort=function(a){a=pt.apply(this,arguments);for(var E=-1,M=this.length;++E=E&&(E=H+1);!(ve=ce[E])&&++E0&&(a=a.slice(0,H));var ce=Ht.get(a);ce&&(a=ce,X=ir);function ne(){var ke=this[z];ke&&(this.removeEventListener(a,ke,ke.$),delete this[z])}function ve(){var ke=X(E,h(arguments));ne.call(this),this.addEventListener(a,this[z]=ke,ke.$=M),ke._=E}function Oe(){var ke=new RegExp("^__on([^.]+)"+r.requote(a)+"$"),et;for(var nt in this)if(et=nt.match(ke)){var Ut=this[nt];this.removeEventListener(et[1],Ut,Ut.$),delete this[nt]}}return H?E?ve:ne:E?te:Oe}var Ht=r.map({mouseenter:"mouseover",mouseleave:"mouseout"});u&&Ht.forEach(function(a){"on"+a in u&&Ht.remove(a)});function wr(a,E){return function(M){var z=r.event;r.event=M,E[0]=this.__data__;try{a.apply(this,E)}finally{r.event=z}}}function ir(a,E){var M=wr(a,E);return function(z){var H=this,X=z.relatedTarget;(!X||X!==H&&!(X.compareDocumentPosition(H)&8))&&M.call(H,z)}}var tr,Fr=0;function mr(a){var E=".dragsuppress-"+ ++Fr,M="click"+E,z=r.select(S(a)).on("touchmove"+E,Qe).on("dragstart"+E,Qe).on("selectstart"+E,Qe);if(tr==null&&(tr="onselectstart"in a?!1:Q(a.style,"userSelect")),tr){var H=A(a).style,X=H[tr];H[tr]="none"}return function(ce){if(z.on(E,null),tr&&(H[tr]=X),ce){var ne=function(){z.on(M,null)};z.on(M,function(){Qe(),ne()},!0),setTimeout(ne,0)}}}r.mouse=function(a){return Nr(a,Ke())};var Or=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function Nr(a,E){E.changedTouches&&(E=E.changedTouches[0]);var M=a.ownerSVGElement||a;if(M.createSVGPoint){var z=M.createSVGPoint();if(Or<0){var H=S(a);if(H.scrollX||H.scrollY){M=r.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var X=M[0][0].getScreenCTM();Or=!(X.f||X.e),M.remove()}}return Or?(z.x=E.pageX,z.y=E.pageY):(z.x=E.clientX,z.y=E.clientY),z=z.matrixTransform(a.getScreenCTM().inverse()),[z.x,z.y]}var ce=a.getBoundingClientRect();return[E.clientX-ce.left-a.clientLeft,E.clientY-ce.top-a.clientTop]}r.touch=function(a,E,M){if(arguments.length<3&&(M=E,E=Ke().changedTouches),E){for(var z=0,H=E.length,X;z0?1:a<0?-1:0}function Ee(a,E,M){return(E[0]-a[0])*(M[1]-a[1])-(E[1]-a[1])*(M[0]-a[0])}function Ue(a){return a>1?0:a<-1?An:Math.acos(a)}function Ft(a){return a>1?Zr:a<-1?-Zr:Math.asin(a)}function Rt(a){return((a=Math.exp(a))-1/a)/2}function ht(a){return((a=Math.exp(a))+1/a)/2}function br(a){return((a=Math.exp(2*a))-1)/(a+1)}function pr(a){return(a=Math.sin(a/2))*a}var Wt=Math.SQRT2,yt=2,Mt=4;r.interpolateZoom=function(a,E){var M=a[0],z=a[1],H=a[2],X=E[0],ce=E[1],ne=E[2],ve=X-M,Oe=ce-z,ke=ve*ve+Oe*Oe,et,nt;if(ke0&&(Kr=Kr.transition().duration(ce)),Kr.call($t.event)}function gn(){Et&&Et.domain(ft.range().map(function(Kr){return(Kr-a.x)/a.k}).map(ft.invert)),Yt&&Yt.domain(kt.range().map(function(Kr){return(Kr-a.y)/a.k}).map(kt.invert))}function cn(Kr){ne++||Kr({type:"zoomstart"})}function Hn(Kr){gn(),Kr({type:"zoom",scale:a.k,translate:[a.x,a.y]})}function vn(Kr){--ne||(Kr({type:"zoomend"}),M=null)}function Fn(){var Kr=this,jn=Xt.of(Kr,arguments),Xn=0,Jn=r.select(S(Kr)).on(Oe,ma).on(ke,ya),Bi=Lt(r.mouse(Kr)),ua=mr(Kr);_s.call(Kr),cn(jn);function ma(){Xn=1,Mr(r.mouse(Kr),Bi),Hn(jn)}function ya(){Jn.on(Oe,null).on(ke,null),ua(Xn),vn(jn)}}function qn(){var Kr=this,jn=Xt.of(Kr,arguments),Xn={},Jn=0,Bi,ua=".zoom-"+r.event.changedTouches[0].identifier,ma="touchmove"+ua,ya="touchend"+ua,Ga=[],Pa=r.select(Kr),Qa=mr(Kr);Ka(),cn(jn),Pa.on(ve,null).on(nt,Ka);function _a(){var Ia=r.touches(Kr);return Bi=a.k,Ia.forEach(function(Ca){Ca.identifier in Xn&&(Xn[Ca.identifier]=Lt(Ca))}),Ia}function Ka(){var Ia=r.event.target;r.select(Ia).on(ma,Za).on(ya,nu),Ga.push(Ia);for(var Ca=r.event.changedTouches,uo=0,yo=Ca.length;uo1){var ps=bo[0],Xo=bo[1],Bs=ps[0]-Xo[0],Ul=ps[1]-Xo[1];Jn=Bs*Bs+Ul*Ul}}function Za(){var Ia=r.touches(Kr),Ca,uo,yo,bo;_s.call(Kr);for(var Ts=0,ps=Ia.length;Ts1?1:E,M=M<0?0:M>1?1:M,H=M<=.5?M*(1+E):M+E-M*E,z=2*M-H;function X(ne){return ne>360?ne-=360:ne<0&&(ne+=360),ne<60?z+(H-z)*ne/60:ne<180?H:ne<240?z+(H-z)*(240-ne)/60:z}function ce(ne){return Math.round(X(ne)*255)}return new Dn(ce(a+120),ce(a),ce(a-120))}r.hcl=gr;function gr(a,E,M){return this instanceof gr?(this.h=+a,this.c=+E,void(this.l=+M)):arguments.length<2?a instanceof gr?new gr(a.h,a.c,a.l):a instanceof Pr?li(a.l,a.a,a.b):li((a=Ei((a=r.rgb(a)).r,a.g,a.b)).l,a.a,a.b):new gr(a,E,M)}var dr=gr.prototype=new er;dr.brighter=function(a){return new gr(this.h,this.c,Math.min(100,this.l+Xr*(arguments.length?a:1)))},dr.darker=function(a){return new gr(this.h,this.c,Math.max(0,this.l-Xr*(arguments.length?a:1)))},dr.rgb=function(){return Ur(this.h,this.c,this.l).rgb()};function Ur(a,E,M){return isNaN(a)&&(a=0),isNaN(E)&&(E=0),new Pr(M,Math.cos(a*=St)*E,Math.sin(a)*E)}r.lab=Pr;function Pr(a,E,M){return this instanceof Pr?(this.l=+a,this.a=+E,void(this.b=+M)):arguments.length<2?a instanceof Pr?new Pr(a.l,a.a,a.b):a instanceof gr?Ur(a.h,a.c,a.l):Ei((a=Dn(a)).r,a.g,a.b):new Pr(a,E,M)}var Xr=18,un=.95047,qr=1,Bn=1.08883,Yn=Pr.prototype=new er;Yn.brighter=function(a){return new Pr(Math.min(100,this.l+Xr*(arguments.length?a:1)),this.a,this.b)},Yn.darker=function(a){return new Pr(Math.max(0,this.l-Xr*(arguments.length?a:1)),this.a,this.b)},Yn.rgb=function(){return ni(this.l,this.a,this.b)};function ni(a,E,M){var z=(a+16)/116,H=z+E/500,X=z-M/200;return H=Qn(H)*un,z=Qn(z)*qr,X=Qn(X)*Bn,new Dn(pi(3.2404542*H-1.5371385*z-.4985314*X),pi(-.969266*H+1.8760108*z+.041556*X),pi(.0556434*H-.2040259*z+1.0572252*X))}function li(a,E,M){return a>0?new gr(Math.atan2(M,E)*Ot,Math.sqrt(E*E+M*M),a):new gr(NaN,NaN,a)}function Qn(a){return a>.206893034?a*a*a:(a-4/29)/7.787037}function ui(a){return a>.008856?Math.pow(a,1/3):7.787037*a+4/29}function pi(a){return Math.round(255*(a<=.00304?12.92*a:1.055*Math.pow(a,1/2.4)-.055))}r.rgb=Dn;function Dn(a,E,M){return this instanceof Dn?(this.r=~~a,this.g=~~E,void(this.b=~~M)):arguments.length<2?a instanceof Dn?new Dn(a.r,a.g,a.b):ai(""+a,Dn,ar):new Dn(a,E,M)}function Li(a){return new Dn(a>>16,a>>8&255,a&255)}function Mi(a){return Li(a)+""}var ci=Dn.prototype=new er;ci.brighter=function(a){a=Math.pow(.7,arguments.length?a:1);var E=this.r,M=this.g,z=this.b,H=30;return!E&&!M&&!z?new Dn(H,H,H):(E&&E>4,z=z>>4|z,H=ve&240,H=H>>4|H,X=ve&15,X=X<<4|X):a.length===7&&(z=(ve&16711680)>>16,H=(ve&65280)>>8,X=ve&255)),E(z,H,X))}function Ui(a,E,M){var z=Math.min(a/=255,E/=255,M/=255),H=Math.max(a,E,M),X=H-z,ce,ne,ve=(H+z)/2;return X?(ne=ve<.5?X/(H+z):X/(2-H-z),a==H?ce=(E-M)/X+(E0&&ve<1?0:ce),new rr(ce,ne,ve)}function Ei(a,E,M){a=Hi(a),E=Hi(E),M=Hi(M);var z=ui((.4124564*a+.3575761*E+.1804375*M)/un),H=ui((.2126729*a+.7151522*E+.072175*M)/qr),X=ui((.0193339*a+.119192*E+.9503041*M)/Bn);return Pr(116*H-16,500*(z-H),200*(H-X))}function Hi(a){return(a/=255)<=.04045?a/12.92:Math.pow((a+.055)/1.055,2.4)}function $n(a){var E=parseFloat(a);return a.charAt(a.length-1)==="%"?Math.round(E*2.55):E}var st=r.map({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074});st.forEach(function(a,E){st.set(a,Li(E))});function Tt(a){return typeof a=="function"?a:function(){return a}}r.functor=Tt,r.xhr=Sr(W);function Sr(a){return function(E,M,z){return arguments.length===2&&typeof M=="function"&&(z=M,M=null),kr(E,M,a,z)}}function kr(a,E,M,z){var H={},X=r.dispatch("beforesend","progress","load","error"),ce={},ne=new XMLHttpRequest,ve=null;self.XDomainRequest&&!("withCredentials"in ne)&&/^(http(s)?:)?\/\//.test(a)&&(ne=new XDomainRequest),"onload"in ne?ne.onload=ne.onerror=Oe:ne.onreadystatechange=function(){ne.readyState>3&&Oe()};function Oe(){var ke=ne.status,et;if(!ke&&en(ne)||ke>=200&&ke<300||ke===304){try{et=M.call(H,ne)}catch(nt){X.error.call(H,nt);return}X.load.call(H,et)}else X.error.call(H,ne)}return ne.onprogress=function(ke){var et=r.event;r.event=ke;try{X.progress.call(H,ne)}finally{r.event=et}},H.header=function(ke,et){return ke=(ke+"").toLowerCase(),arguments.length<2?ce[ke]:(et==null?delete ce[ke]:ce[ke]=et+"",H)},H.mimeType=function(ke){return arguments.length?(E=ke==null?null:ke+"",H):E},H.responseType=function(ke){return arguments.length?(ve=ke,H):ve},H.response=function(ke){return M=ke,H},["get","post"].forEach(function(ke){H[ke]=function(){return H.send.apply(H,[ke].concat(h(arguments)))}}),H.send=function(ke,et,nt){if(arguments.length===2&&typeof et=="function"&&(nt=et,et=null),ne.open(ke,a,!0),E!=null&&!("accept"in ce)&&(ce.accept=E+",*/*"),ne.setRequestHeader)for(var Ut in ce)ne.setRequestHeader(Ut,ce[Ut]);return E!=null&&ne.overrideMimeType&&ne.overrideMimeType(E),ve!=null&&(ne.responseType=ve),nt!=null&&H.on("error",nt).on("load",function(Xt){nt(null,Xt)}),X.beforesend.call(H,ne),ne.send(et==null?null:et),H},H.abort=function(){return ne.abort(),H},r.rebind(H,X,"on"),z==null?H:H.get(Pn(z))}function Pn(a){return a.length===1?function(E,M){a(E==null?M:null)}:a}function en(a){var E=a.responseType;return E&&E!=="text"?a.response:a.responseText}r.dsv=function(a,E){var M=new RegExp('["'+a+`
]`),z=a.charCodeAt(0);function H(Oe,ke,et){arguments.length<3&&(et=ke,ke=null);var nt=kr(Oe,E,ke==null?X:ce(ke),et);return nt.row=function(Ut){return arguments.length?nt.response((ke=Ut)==null?X:ce(Ut)):ke},nt}function X(Oe){return H.parse(Oe.responseText)}function ce(Oe){return function(ke){return H.parse(ke.responseText,Oe)}}H.parse=function(Oe,ke){var et;return H.parseRows(Oe,function(nt,Ut){if(et)return et(nt,Ut-1);var Xt=function(ft){for(var Et={},kt=nt.length,Yt=0;Yt=Xt)return nt;if(Yt)return Yt=!1,et;var Rr=ft;if(Oe.charCodeAt(Rr)===34){for(var Yr=Rr;Yr++24?(isFinite(E)&&(clearTimeout($i),$i=setTimeout(oa,E)),di=0):(di=1,Xi(oa))}r.timer.flush=function(){na(),Da()};function na(){for(var a=Date.now(),E=Cn;E;)a>=E.t&&E.c(a-E.t)&&(E.c=null),E=E.n;return a}function Da(){for(var a,E=Cn,M=1/0;E;)E.c?(E.t=0;--ne)ft.push(H[Oe[et[ne]][2]]);for(ne=+Ut;ne1&&Ee(a[M[z-2]],a[M[z-1]],a[H])<=0;)--z;M[z++]=H}return M.slice(0,z)}function Sn(a,E){return a[0]-E[0]||a[1]-E[1]}r.geom.polygon=function(a){return it(a,qt),a};var qt=r.geom.polygon.prototype=[];qt.area=function(){for(var a=-1,E=this.length,M,z=this[E-1],H=0;++aIr)ne=ne.L;else if(ce=E-Oa(ne,M),ce>Ir){if(!ne.R){z=ne;break}ne=ne.R}else{X>-Ir?(z=ne.P,H=ne):ce>-Ir?(z=ne,H=ne.N):z=H=ne;break}var ve=Wo(a);if(In.insert(z,ve),!(!z&&!H)){if(z===H){Fa(z),H=Wo(z.site),In.insert(ve,H),ve.edge=H.edge=Gn(z.site,ve.site),xa(z),xa(H);return}if(!H){ve.edge=Gn(z.site,ve.site);return}Fa(z),Fa(H);var Oe=z.site,ke=Oe.x,et=Oe.y,nt=a.x-ke,Ut=a.y-et,Xt=H.site,ft=Xt.x-ke,Et=Xt.y-et,kt=2*(nt*Et-Ut*ft),Yt=nt*nt+Ut*Ut,$t=ft*ft+Et*Et,Lt={x:(Et*Yt-Ut*$t)/kt+ke,y:(nt*$t-ft*Yt)/kt+et};Zi(H.edge,Oe,Xt,Lt),ve.edge=Gn(Oe,a,null,Lt),H.edge=Gn(a,Xt,null,Lt),xa(z),xa(H)}}function wo(a,E){var M=a.site,z=M.x,H=M.y,X=H-E;if(!X)return z;var ce=a.P;if(!ce)return-1/0;M=ce.site;var ne=M.x,ve=M.y,Oe=ve-E;if(!Oe)return ne;var ke=ne-z,et=1/X-1/Oe,nt=ke/Oe;return et?(-nt+Math.sqrt(nt*nt-2*et*(ke*ke/(-2*Oe)-ve+Oe/2+H-X/2)))/et+z:(z+ne)/2}function Oa(a,E){var M=a.N;if(M)return wo(M,E);var z=a.site;return z.y===E?z.x:1/0}function Io(a){this.site=a,this.edges=[]}Io.prototype.prepare=function(){for(var a=this.edges,E=a.length,M;E--;)M=a[E].edge,(!M.b||!M.a)&&a.splice(E,1);return a.sort(ea),a.length};function po(a){for(var E=a[0][0],M=a[1][0],z=a[0][1],H=a[1][1],X,ce,ne,ve,Oe=Mn,ke=Oe.length,et,nt,Ut,Xt,ft,Et;ke--;)if(et=Oe[ke],!(!et||!et.prepare()))for(Ut=et.edges,Xt=Ut.length,nt=0;ntIr||x(ve-ce)>Ir)&&(Ut.splice(nt,0,new hi(Wr(et.site,Et,x(ne-E)Ir?{x:E,y:x(X-E)Ir?{x:x(ce-H)Ir?{x:M,y:x(X-M)Ir?{x:x(ce-z)=-mn)){var nt=ve*ve+Oe*Oe,Ut=ke*ke+Et*Et,Xt=(Et*nt-Oe*Ut)/et,ft=(ve*Ut-ke*nt)/et,Et=ft+ne,kt=io.pop()||new wa;kt.arc=a,kt.site=H,kt.x=Xt+ce,kt.y=Et+Math.sqrt(Xt*Xt+ft*ft),kt.cy=Et,a.circle=kt;for(var Yt=null,$t=Ki._;$t;)if(kt.y<$t.y||kt.y===$t.y&&kt.x<=$t.x)if($t.L)$t=$t.L;else{Yt=$t.P;break}else if($t.R)$t=$t.R;else{Yt=$t;break}Ki.insert(Yt,kt),Yt||(ca=kt)}}}}function Fa(a){var E=a.circle;E&&(E.P||(ca=E.N),Ki.remove(E),io.push(E),ii(E),a.circle=null)}function yi(a,E,M,z){return function(H){var X=H.a,ce=H.b,ne=X.x,ve=X.y,Oe=ce.x,ke=ce.y,et=0,nt=1,Ut=Oe-ne,Xt=ke-ve,ft;if(ft=a-ne,!(!Ut&&ft>0)){if(ft/=Ut,Ut<0){if(ft0){if(ft>nt)return;ft>et&&(et=ft)}if(ft=M-ne,!(!Ut&&ft<0)){if(ft/=Ut,Ut<0){if(ft>nt)return;ft>et&&(et=ft)}else if(Ut>0){if(ft0)){if(ft/=Xt,Xt<0){if(ft0){if(ft>nt)return;ft>et&&(et=ft)}if(ft=z-ve,!(!Xt&&ft<0)){if(ft/=Xt,Xt<0){if(ft>nt)return;ft>et&&(et=ft)}else if(Xt>0){if(ft0&&(H.a={x:ne+et*Ut,y:ve+et*Xt}),nt<1&&(H.b={x:ne+nt*Ut,y:ve+nt*Xt}),H}}}}}}function Ba(a){for(var E=_i,M=yi(a[0][0],a[0][1],a[1][0],a[1][1]),z=E.length,H;z--;)H=E[z],(!yn(H,a)||!M(H)||x(H.a.x-H.b.x)=X)return;if(ke>nt){if(!z)z={x:Xt,y:ce};else if(z.y>=ne)return;M={x:Xt,y:ne}}else{if(!z)z={x:Xt,y:ne};else if(z.y1)if(ke>nt){if(!z)z={x:(ce-kt)/Et,y:ce};else if(z.y>=ne)return;M={x:(ne-kt)/Et,y:ne}}else{if(!z)z={x:(ne-kt)/Et,y:ne};else if(z.y=X)return;M={x:X,y:Et*X+kt}}else{if(!z)z={x:X,y:Et*X+kt};else if(z.x=ke&&kt.x<=nt&&kt.y>=et&&kt.y<=Ut?[[ke,Ut],[nt,Ut],[nt,et],[ke,et]]:[];Yt.point=ve[ft]}),Oe}function ne(ve){return ve.map(function(Oe,ke){return{x:Math.round(z(Oe,ke)/Ir)*Ir,y:Math.round(H(Oe,ke)/Ir)*Ir,i:ke}})}return ce.links=function(ve){return xo(ne(ve)).edges.filter(function(Oe){return Oe.l&&Oe.r}).map(function(Oe){return{source:ve[Oe.l.i],target:ve[Oe.r.i]}})},ce.triangles=function(ve){var Oe=[];return xo(ne(ve)).cells.forEach(function(ke,et){for(var nt=ke.site,Ut=ke.edges.sort(ea),Xt=-1,ft=Ut.length,Et,kt,Yt=Ut[ft-1].edge,$t=Yt.l===nt?Yt.r:Yt.l;++Xt$t&&($t=ke.x),ke.y>Lt&&(Lt=ke.y),Ut.push(ke.x),Xt.push(ke.y);else for(ft=0;ft$t&&($t=Rr),Yr>Lt&&(Lt=Yr),Ut.push(Rr),Xt.push(Yr)}var Mr=$t-kt,rn=Lt-Yt;Mr>rn?Lt=Yt+Mr:$t=kt+rn;function gn(vn,Fn,qn,ia,Di,Kr,jn,Xn){if(!(isNaN(qn)||isNaN(ia)))if(vn.leaf){var Jn=vn.x,Bi=vn.y;if(Jn!=null)if(x(Jn-qn)+x(Bi-ia)<.01)cn(vn,Fn,qn,ia,Di,Kr,jn,Xn);else{var ua=vn.point;vn.x=vn.y=vn.point=null,cn(vn,ua,Jn,Bi,Di,Kr,jn,Xn),cn(vn,Fn,qn,ia,Di,Kr,jn,Xn)}else vn.x=qn,vn.y=ia,vn.point=Fn}else cn(vn,Fn,qn,ia,Di,Kr,jn,Xn)}function cn(vn,Fn,qn,ia,Di,Kr,jn,Xn){var Jn=(Di+jn)*.5,Bi=(Kr+Xn)*.5,ua=qn>=Jn,ma=ia>=Bi,ya=ma<<1|ua;vn.leaf=!1,vn=vn.nodes[ya]||(vn.nodes[ya]=oe()),ua?Di=Jn:jn=Jn,ma?Kr=Bi:Xn=Bi,gn(vn,Fn,qn,ia,Di,Kr,jn,Xn)}var Hn=oe();if(Hn.add=function(vn){gn(Hn,vn,+et(vn,++ft),+nt(vn,ft),kt,Yt,$t,Lt)},Hn.visit=function(vn){de(vn,Hn,kt,Yt,$t,Lt)},Hn.find=function(vn){return me(Hn,vn[0],vn[1],kt,Yt,$t,Lt)},ft=-1,E==null){for(;++ftX||nt>ce||Ut=Rr,rn=M>=Yr,gn=rn<<1|Mr,cn=gn+4;gnM&&(X=E.slice(M,X),ne[ce]?ne[ce]+=X:ne[++ce]=X),(z=z[0])===(H=H[0])?ne[ce]?ne[ce]+=H:ne[++ce]=H:(ne[++ce]=null,ve.push({i:ce,x:rt(z,H)})),M=zt.lastIndex;return M=0&&!(z=r.interpolators[M](a,E)););return z}r.interpolators=[function(a,E){var M=typeof E;return(M==="string"?st.has(E.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(E)?_e:mt:E instanceof er?_e:Array.isArray(E)?xr:M==="object"&&isNaN(E)?ut:rt)(a,E)}],r.interpolateArray=xr;function xr(a,E){var M=[],z=[],H=a.length,X=E.length,ce=Math.min(a.length,E.length),ne;for(ne=0;ne=0?a.slice(0,E):a,z=E>=0?a.slice(E+1):"in";return M=sr.get(M)||vr,z=_r.get(z)||W,Ar(z(M.apply(null,s.call(arguments,1))))};function Ar(a){return function(E){return E<=0?0:E>=1?1:a(E)}}function Er(a){return function(E){return 1-a(1-E)}}function fr(a){return function(E){return .5*(E<.5?a(2*E):2-a(2-2*E))}}function Lr(a){return a*a}function an(a){return a*a*a}function fn(a){if(a<=0)return 0;if(a>=1)return 1;var E=a*a,M=E*a;return 4*(a<.5?M:3*(a-E)+M-.75)}function On(a){return function(E){return Math.pow(E,a)}}function or(a){return 1-Math.cos(a*Zr)}function on(a){return Math.pow(2,10*(a-1))}function En(a){return 1-Math.sqrt(1-a*a)}function wn(a,E){var M;return arguments.length<2&&(E=.45),arguments.length?M=E/ln*Math.asin(1/a):(a=1,M=E/4),function(z){return 1+a*Math.pow(2,-10*z)*Math.sin((z-M)*ln/E)}}function Ni(a){return a||(a=1.70158),function(E){return E*E*((a+1)*E-a)}}function wi(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375}r.interpolateHcl=ki;function ki(a,E){a=r.hcl(a),E=r.hcl(E);var M=a.h,z=a.c,H=a.l,X=E.h-M,ce=E.c-z,ne=E.l-H;return isNaN(ce)&&(ce=0,z=isNaN(z)?E.c:z),isNaN(X)?(X=0,M=isNaN(M)?E.h:M):X>180?X-=360:X<-180&&(X+=360),function(ve){return Ur(M+X*ve,z+ce*ve,H+ne*ve)+""}}r.interpolateHsl=Ji;function Ji(a,E){a=r.hsl(a),E=r.hsl(E);var M=a.h,z=a.s,H=a.l,X=E.h-M,ce=E.s-z,ne=E.l-H;return isNaN(ce)&&(ce=0,z=isNaN(z)?E.s:z),isNaN(X)?(X=0,M=isNaN(M)?E.h:M):X>180?X-=360:X<-180&&(X+=360),function(ve){return ar(M+X*ve,z+ce*ve,H+ne*ve)+""}}r.interpolateLab=la;function la(a,E){a=r.lab(a),E=r.lab(E);var M=a.l,z=a.a,H=a.b,X=E.l-M,ce=E.a-z,ne=E.b-H;return function(ve){return ni(M+X*ve,z+ce*ve,H+ne*ve)+""}}r.interpolateRound=_;function _(a,E){return E-=a,function(M){return Math.round(a+E*M)}}r.transform=function(a){var E=u.createElementNS(r.ns.prefix.svg,"g");return(r.transform=function(M){if(M!=null){E.setAttribute("transform",M);var z=E.transform.baseVal.consolidate()}return new Y(z?z.matrix:at)})(a)};function Y(a){var E=[a.a,a.b],M=[a.c,a.d],z=Ae(E),H=fe(E,M),X=Ae(De(M,E,-H))||0;E[0]*M[1]180?E+=360:E-a>180&&(a+=360),z.push({i:M.push(Ct(M)+"rotate(",null,")")-2,x:rt(a,E)})):E&&M.push(Ct(M)+"rotate("+E+")")}function Dr(a,E,M,z){a!==E?z.push({i:M.push(Ct(M)+"skewX(",null,")")-2,x:rt(a,E)}):E&&M.push(Ct(M)+"skewX("+E+")")}function Br(a,E,M,z){if(a[0]!==E[0]||a[1]!==E[1]){var H=M.push(Ct(M)+"scale(",null,",",null,")");z.push({i:H-4,x:rt(a[0],E[0])},{i:H-2,x:rt(a[1],E[1])})}else(E[0]!==1||E[1]!==1)&&M.push(Ct(M)+"scale("+E+")")}function dn(a,E){var M=[],z=[];return a=r.transform(a),E=r.transform(E),nr(a.translate,E.translate,M,z),Tr(a.rotate,E.rotate,M,z),Dr(a.skew,E.skew,M,z),Br(a.scale,E.scale,M,z),a=E=null,function(H){for(var X=-1,ce=z.length,ne;++X0?X=Lt:(M.c=null,M.t=NaN,M=null,E.end({type:"end",alpha:X=0})):Lt>0&&(E.start({type:"start",alpha:X=Lt}),M=aa(a.tick)),a):X},a.start=function(){var Lt,Rr=Ut.length,Yr=Xt.length,Mr=z[0],rn=z[1],gn,cn;for(Lt=0;Lt=0;)X.push(ke=Oe[ve]),ke.parent=ne,ke.depth=ne.depth+1;M&&(ne.value=0),ne.children=Oe}else M&&(ne.value=+M.call(z,ne,ne.depth)||0),delete ne.children;return Wa(H,function(et){var nt,Ut;a&&(nt=et.children)&&nt.sort(a),M&&(Ut=et.parent)&&(Ut.value+=et.value)}),ce}return z.sort=function(H){return arguments.length?(a=H,z):a},z.children=function(H){return arguments.length?(E=H,z):E},z.value=function(H){return arguments.length?(M=H,z):M},z.revalue=function(H){return M&&(Ha(H,function(X){X.children&&(X.value=0)}),Wa(H,function(X){var ce;X.children||(X.value=+M.call(z,X,X.depth)||0),(ce=X.parent)&&(ce.value+=X.value)})),H},z};function cs(a,E){return r.rebind(a,E,"sort","children","value"),a.nodes=a,a.links=bs,a}function Ha(a,E){for(var M=[a];(a=M.pop())!=null;)if(E(a),(H=a.children)&&(z=H.length))for(var z,H;--z>=0;)M.push(H[z])}function Wa(a,E){for(var M=[a],z=[];(a=M.pop())!=null;)if(z.push(a),(ce=a.children)&&(X=ce.length))for(var H=-1,X,ce;++HH&&(H=ne),z.push(ne)}for(ce=0;cez&&(M=E,z=H);return M}function Rs(a){return a.reduce(ao,0)}function ao(a,E){return a+E[1]}r.layout.histogram=function(){var a=!0,E=Number,M=Vo,z=ws;function H(X,nt){for(var ne=[],ve=X.map(E,this),Oe=M.call(this,ve,nt),ke=z.call(this,Oe,ve,nt),et,nt=-1,Ut=ve.length,Xt=ke.length-1,ft=a?1:1/Ut,Et;++nt0)for(nt=-1;++nt=Oe[0]&&Et<=Oe[1]&&(et=ne[r.bisect(ke,Et,1,Xt)-1],et.y+=ft,et.push(X[nt]));return ne}return H.value=function(X){return arguments.length?(E=X,H):E},H.range=function(X){return arguments.length?(M=Tt(X),H):M},H.bins=function(X){return arguments.length?(z=typeof X=="number"?function(ce){return hs(ce,X)}:Tt(X),H):z},H.frequency=function(X){return arguments.length?(a=!!X,H):a},H};function ws(a,E){return hs(a,Math.ceil(Math.log(E.length)/Math.LN2+1))}function hs(a,E){for(var M=-1,z=+a[0],H=(a[1]-z)/E,X=[];++M<=E;)X[M]=H*M+z;return X}function Vo(a){return[r.min(a),r.max(a)]}r.layout.pack=function(){var a=r.layout.hierarchy().sort(Bo),E=0,M=[1,1],z;function H(X,ce){var ne=a.call(this,X,ce),ve=ne[0],Oe=M[0],ke=M[1],et=z==null?Math.sqrt:typeof z=="function"?z:function(){return z};if(ve.x=ve.y=0,Wa(ve,function(Ut){Ut.r=+et(Ut.value)}),Wa(ve,zr),E){var nt=E*(z?1:Math.max(2*ve.r/Oe,2*ve.r/ke))/2;Wa(ve,function(Ut){Ut.r+=nt}),Wa(ve,zr),Wa(ve,function(Ut){Ut.r-=nt})}return si(ve,Oe/2,ke/2,z?1:1/Math.max(2*ve.r/Oe,2*ve.r/ke)),ne}return H.size=function(X){return arguments.length?(M=X,H):M},H.radius=function(X){return arguments.length?(z=X==null||typeof X=="function"?X:+X,H):z},H.padding=function(X){return arguments.length?(E=+X,H):E},cs(H,a)};function Bo(a,E){return a.value-E.value}function Go(a,E){var M=a._pack_next;a._pack_next=E,E._pack_prev=a,E._pack_next=M,M._pack_prev=E}function lr(a,E){a._pack_next=E,E._pack_prev=a}function Cr(a,E){var M=E.x-a.x,z=E.y-a.y,H=a.r+E.r;return .999*H*H>M*M+z*z}function zr(a){if(!(E=a.children)||!(nt=E.length))return;var E,M=1/0,z=-1/0,H=1/0,X=-1/0,ce,ne,ve,Oe,ke,et,nt;function Ut(Lt){M=Math.min(Lt.x-Lt.r,M),z=Math.max(Lt.x+Lt.r,z),H=Math.min(Lt.y-Lt.r,H),X=Math.max(Lt.y+Lt.r,X)}if(E.forEach(sn),ce=E[0],ce.x=-ce.r,ce.y=0,Ut(ce),nt>1&&(ne=E[1],ne.x=ne.r,ne.y=0,Ut(ne),nt>2))for(ve=E[2],Zn(ce,ne,ve),Ut(ve),Go(ce,ve),ce._pack_prev=ve,Go(ve,ne),ne=ce._pack_next,Oe=3;OeEt.x&&(Et=Rr),Rr.depth>kt.depth&&(kt=Rr)});var Yt=E(ft,Et)/2-ft.x,$t=M[0]/(Et.x+E(Et,ft)/2+Yt),Lt=M[1]/(kt.depth||1);Ha(Ut,function(Rr){Rr.x=(Rr.x+Yt)*$t,Rr.y=Rr.depth*Lt})}return nt}function X(ke){for(var et={A:null,children:[ke]},nt=[et],Ut;(Ut=nt.pop())!=null;)for(var Xt=Ut.children,ft,Et=0,kt=Xt.length;Et0&&(mi(Yi(ft,ke,nt),ke,Rr),kt+=Rr,Yt+=Rr),$t+=ft.m,kt+=Ut.m,Lt+=Et.m,Yt+=Xt.m;ft&&!vi(Xt)&&(Xt.t=ft,Xt.m+=$t-Yt),Ut&&!Nn(Et)&&(Et.t=Ut,Et.m+=kt-Lt,nt=ke)}return nt}function Oe(ke){ke.x*=M[0],ke.y=ke.depth*M[1]}return H.separation=function(ke){return arguments.length?(E=ke,H):E},H.size=function(ke){return arguments.length?(z=(M=ke)==null?Oe:null,H):z?null:M},H.nodeSize=function(ke){return arguments.length?(z=(M=ke)==null?null:Oe,H):z?M:null},cs(H,a)};function Kn(a,E){return a.parent==E.parent?1:2}function Nn(a){var E=a.children;return E.length?E[0]:a.t}function vi(a){var E=a.children,M;return(M=E.length)?E[M-1]:a.t}function mi(a,E,M){var z=M/(E.i-a.i);E.c-=z,E.s+=M,a.c+=z,E.z+=M,E.m+=M}function Un(a){for(var E=0,M=0,z=a.children,H=z.length,X;--H>=0;)X=z[H],X.z+=E,X.m+=E,E+=X.s+(M+=X.c)}function Yi(a,E,M){return a.a.parent===E.parent?a.a:M}r.layout.cluster=function(){var a=r.layout.hierarchy().sort(null).value(null),E=Kn,M=[1,1],z=!1;function H(X,ce){var ne=a.call(this,X,ce),ve=ne[0],Oe,ke=0;Wa(ve,function(ft){var Et=ft.children;Et&&Et.length?(ft.x=ja(Et),ft.y=Ea(Et)):(ft.x=Oe?ke+=E(ft,Oe):0,ft.y=0,Oe=ft)});var et=ga(ve),nt=vo(ve),Ut=et.x-E(et,nt)/2,Xt=nt.x+E(nt,et)/2;return Wa(ve,z?function(ft){ft.x=(ft.x-ve.x)*M[0],ft.y=(ve.y-ft.y)*M[1]}:function(ft){ft.x=(ft.x-Ut)/(Xt-Ut)*M[0],ft.y=(1-(ve.y?ft.y/ve.y:1))*M[1]}),ne}return H.separation=function(X){return arguments.length?(E=X,H):E},H.size=function(X){return arguments.length?(z=(M=X)==null,H):z?null:M},H.nodeSize=function(X){return arguments.length?(z=(M=X)!=null,H):z?M:null},cs(H,a)};function Ea(a){return 1+r.max(a,function(E){return E.y})}function ja(a){return a.reduce(function(E,M){return E+M.x},0)/a.length}function ga(a){var E=a.children;return E&&E.length?ga(E[0]):a}function vo(a){var E=a.children,M;return E&&(M=E.length)?vo(E[M-1]):a}r.layout.treemap=function(){var a=r.layout.hierarchy(),E=Math.round,M=[1,1],z=null,H=So,X=!1,ce,ne="squarify",ve=.5*(1+Math.sqrt(5));function Oe(ft,Et){for(var kt=-1,Yt=ft.length,$t,Lt;++kt0;)Yt.push(Lt=$t[rn-1]),Yt.area+=Lt.area,ne!=="squarify"||(Yr=nt(Yt,Mr))<=Rr?($t.pop(),Rr=Yr):(Yt.area-=Yt.pop().area,Ut(Yt,Mr,kt,!1),Mr=Math.min(kt.dx,kt.dy),Yt.length=Yt.area=0,Rr=1/0);Yt.length&&(Ut(Yt,Mr,kt,!0),Yt.length=Yt.area=0),Et.forEach(ke)}}function et(ft){var Et=ft.children;if(Et&&Et.length){var kt=H(ft),Yt=Et.slice(),$t,Lt=[];for(Oe(Yt,kt.dx*kt.dy/ft.value),Lt.area=0;$t=Yt.pop();)Lt.push($t),Lt.area+=$t.area,$t.z!=null&&(Ut(Lt,$t.z?kt.dx:kt.dy,kt,!Yt.length),Lt.length=Lt.area=0);Et.forEach(et)}}function nt(ft,Et){for(var kt=ft.area,Yt,$t=0,Lt=1/0,Rr=-1,Yr=ft.length;++Rr$t&&($t=Yt));return kt*=kt,Et*=Et,kt?Math.max(Et*$t*ve/kt,kt/(Et*Lt*ve)):1/0}function Ut(ft,Et,kt,Yt){var $t=-1,Lt=ft.length,Rr=kt.x,Yr=kt.y,Mr=Et?E(ft.area/Et):0,rn;if(Et==kt.dx){for((Yt||Mr>kt.dy)&&(Mr=kt.dy);++$tkt.dx)&&(Mr=kt.dx);++$t1);return a+E*z*Math.sqrt(-2*Math.log(X)/X)}},logNormal:function(){var a=r.random.normal.apply(r,arguments);return function(){return Math.exp(a())}},bates:function(a){var E=r.random.irwinHall(a);return function(){return E()/a}},irwinHall:function(a){return function(){for(var E=0,M=0;M2?xs:eo,Oe=z?jt:xn;return H=ve(a,E,Oe,M),X=ve(E,a,Oe,Nt),ne}function ne(ve){return H(ve)}return ne.invert=function(ve){return X(ve)},ne.domain=function(ve){return arguments.length?(a=ve.map(Number),ce()):a},ne.range=function(ve){return arguments.length?(E=ve,ce()):E},ne.rangeRound=function(ve){return ne.range(ve).interpolate(_)},ne.clamp=function(ve){return arguments.length?(z=ve,ce()):z},ne.interpolate=function(ve){return arguments.length?(M=ve,ce()):M},ne.ticks=function(ve){return Co(a,ve)},ne.tickFormat=function(ve,Oe){return d3_scale_linearTickFormat(a,ve,Oe)},ne.nice=function(ve){return La(a,ve),ce()},ne.copy=function(){return Ti(a,E,M,z)},ce()}function Wi(a,E){return r.rebind(a,E,"range","rangeRound","interpolate","clamp")}function La(a,E){return to(a,_o(fa(a,E)[2])),to(a,_o(fa(a,E)[2])),a}function fa(a,E){E==null&&(E=10);var M=Ra(a),z=M[1]-M[0],H=Math.pow(10,Math.floor(Math.log(z/E)/Math.LN10)),X=E/z*H;return X<=.15?H*=10:X<=.35?H*=5:X<=.75&&(H*=2),M[0]=Math.ceil(M[0]/H)*H,M[1]=Math.floor(M[1]/H)*H+H*.5,M[2]=H,M}function Co(a,E){return r.range.apply(r,fa(a,E))}var ul={s:1,g:1,p:1,r:1,e:1};function $e(a){return-Math.floor(Math.log(a)/Math.LN10+.01)}function As(a,E){var M=$e(E[2]);return a in ul?Math.abs(M-$e(Math.max(x(E[0]),x(E[1]))))+ +(a!=="e"):M-(a==="%")*2}r.scale.log=function(){return Yo(r.scale.linear().domain([0,1]),10,!0,[1,10])};function Yo(a,E,M,z){function H(ne){return(M?Math.log(ne<0?0:ne):-Math.log(ne>0?0:-ne))/Math.log(E)}function X(ne){return M?Math.pow(E,ne):-Math.pow(E,-ne)}function ce(ne){return a(H(ne))}return ce.invert=function(ne){return X(a.invert(ne))},ce.domain=function(ne){return arguments.length?(M=ne[0]>=0,a.domain((z=ne.map(Number)).map(H)),ce):z},ce.base=function(ne){return arguments.length?(E=+ne,a.domain(z.map(H)),ce):E},ce.nice=function(){var ne=to(z.map(H),M?Math:oo);return a.domain(ne),z=ne.map(X),ce},ce.ticks=function(){var ne=Ra(z),ve=[],Oe=ne[0],ke=ne[1],et=Math.floor(H(Oe)),nt=Math.ceil(H(ke)),Ut=E%1?2:E;if(isFinite(nt-et)){if(M){for(;et0;Xt--)ve.push(X(et)*Xt);for(et=0;ve[et]ke;nt--);ve=ve.slice(et,nt)}return ve},ce.copy=function(){return Yo(a.copy(),E,M,z)},Wi(ce,a)}var oo={floor:function(a){return-Math.ceil(-a)},ceil:function(a){return-Math.floor(-a)}};r.scale.pow=function(){return Oi(r.scale.linear(),1,[0,1])};function Oi(a,E,M){var z=Hs(E),H=Hs(1/E);function X(ce){return a(z(ce))}return X.invert=function(ce){return H(a.invert(ce))},X.domain=function(ce){return arguments.length?(a.domain((M=ce.map(Number)).map(z)),X):M},X.ticks=function(ce){return Co(M,ce)},X.tickFormat=function(ce,ne){return d3_scale_linearTickFormat(M,ce,ne)},X.nice=function(ce){return X.domain(La(M,ce))},X.exponent=function(ce){return arguments.length?(z=Hs(E=ce),H=Hs(1/E),a.domain(M.map(z)),X):E},X.copy=function(){return Oi(a.copy(),E,M)},Wi(X,a)}function Hs(a){return function(E){return E<0?-Math.pow(-E,a):Math.pow(E,a)}}r.scale.sqrt=function(){return r.scale.pow().exponent(.5)},r.scale.ordinal=function(){return Cl([],{t:"range",a:[[]]})};function Cl(a,E){var M,z,H;function X(ne){return z[((M.get(ne)||(E.t==="range"?M.set(ne,a.push(ne)):NaN))-1)%z.length]}function ce(ne,ve){return r.range(a.length).map(function(Oe){return ne+ve*Oe})}return X.domain=function(ne){if(!arguments.length)return a;a=[],M=new F;for(var ve=-1,Oe=ne.length,ke;++ve0?M[X-1]:a[0],Xnt?0:1;if(ke=Jr)return ve(ke,Xt)+(Oe?ve(Oe,1-Xt):"")+"Z";var ft,Et,kt,Yt,$t=0,Lt=0,Rr,Yr,Mr,rn,gn,cn,Hn,vn,Fn=[];if((Yt=(+ce.apply(this,arguments)||0)/2)&&(kt=z===Ws?Math.sqrt(Oe*Oe+ke*ke):+z.apply(this,arguments),Xt||(Lt*=-1),ke&&(Lt=Ft(kt/ke*Math.sin(Yt))),Oe&&($t=Ft(kt/Oe*Math.sin(Yt)))),ke){Rr=ke*Math.cos(et+Lt),Yr=ke*Math.sin(et+Lt),Mr=ke*Math.cos(nt-Lt),rn=ke*Math.sin(nt-Lt);var qn=Math.abs(nt-et-2*Lt)<=An?0:1;if(Lt&&Vs(Rr,Yr,Mr,rn)===Xt^qn){var ia=(et+nt)/2;Rr=ke*Math.cos(ia),Yr=ke*Math.sin(ia),Mr=rn=null}}else Rr=Yr=0;if(Oe){gn=Oe*Math.cos(nt-$t),cn=Oe*Math.sin(nt-$t),Hn=Oe*Math.cos(et+$t),vn=Oe*Math.sin(et+$t);var Di=Math.abs(et-nt+2*$t)<=An?0:1;if($t&&Vs(gn,cn,Hn,vn)===1-Xt^Di){var Kr=(et+nt)/2;gn=Oe*Math.cos(Kr),cn=Oe*Math.sin(Kr),Hn=vn=null}}else gn=cn=0;if(Ut>Ir&&(ft=Math.min(Math.abs(ke-Oe)/2,+M.apply(this,arguments)))>.001){Et=Oe0?0:1}function Gs(a,E,M,z,H){var X=a[0]-E[0],ce=a[1]-E[1],ne=(H?z:-z)/Math.sqrt(X*X+ce*ce),ve=ne*ce,Oe=-ne*X,ke=a[0]+ve,et=a[1]+Oe,nt=E[0]+ve,Ut=E[1]+Oe,Xt=(ke+nt)/2,ft=(et+Ut)/2,Et=nt-ke,kt=Ut-et,Yt=Et*Et+kt*kt,$t=M-z,Lt=ke*Ut-nt*et,Rr=(kt<0?-1:1)*Math.sqrt(Math.max(0,$t*$t*Yt-Lt*Lt)),Yr=(Lt*kt-Et*Rr)/Yt,Mr=(-Lt*Et-kt*Rr)/Yt,rn=(Lt*kt+Et*Rr)/Yt,gn=(-Lt*Et+kt*Rr)/Yt,cn=Yr-Xt,Hn=Mr-ft,vn=rn-Xt,Fn=gn-ft;return cn*cn+Hn*Hn>vn*vn+Fn*Fn&&(Yr=rn,Mr=gn),[[Yr-ve,Mr-Oe],[Yr*M/$t,Mr*M/$t]]}function Xl(){return!0}function Ml(a){var E=ha,M=gi,z=Xl,H=$a,X=H.key,ce=.7;function ne(ve){var Oe=[],ke=[],et=-1,nt=ve.length,Ut,Xt=Tt(E),ft=Tt(M);function Et(){Oe.push("M",H(a(ke),ce))}for(;++et1?a.join("L"):a+"Z"}function Pl(a){return a.join("L")+"Z"}function so(a){for(var E=0,M=a.length,z=a[0],H=[z[0],",",z[1]];++E1&&H.push("H",z[0]),H.join("")}function hl(a){for(var E=0,M=a.length,z=a[0],H=[z[0],",",z[1]];++E1){ne=E[1],X=a[ve],ve++,z+="C"+(H[0]+ce[0])+","+(H[1]+ce[1])+","+(X[0]-ne[0])+","+(X[1]-ne[1])+","+X[0]+","+X[1];for(var Oe=2;Oe9&&(X=M*3/Math.sqrt(X),ce[ne]=X*z,ce[ne+1]=X*H));for(ne=-1;++ne<=ve;)X=(a[Math.min(ve,ne+1)][0]-a[Math.max(0,ne-1)][0])/(6*(1+ce[ne]*ce[ne])),E.push([X||0,ce[ne]*X||0]);return E}function Jl(a){return a.length<3?$a(a):a[0]+Ms(a,lo(a))}r.svg.line.radial=function(){var a=Ml(Ys);return a.radius=a.x,delete a.x,a.angle=a.y,delete a.y,a};function Ys(a){for(var E,M=-1,z=a.length,H,X;++MAn)+",1 "+et}function Oe(ke,et,nt,Ut){return"Q 0,0 "+Ut}return X.radius=function(ke){return arguments.length?(M=Tt(ke),X):M},X.source=function(ke){return arguments.length?(a=Tt(ke),X):a},X.target=function(ke){return arguments.length?(E=Tt(ke),X):E},X.startAngle=function(ke){return arguments.length?(z=Tt(ke),X):z},X.endAngle=function(ke){return arguments.length?(H=Tt(ke),X):H},X};function Bl(a){return a.radius}r.svg.diagonal=function(){var a=Es,E=ro,M=Ll;function z(H,X){var ce=a.call(this,H,X),ne=E.call(this,H,X),ve=(ce.y+ne.y)/2,Oe=[ce,{x:ce.x,y:ve},{x:ne.x,y:ve},ne];return Oe=Oe.map(M),"M"+Oe[0]+"C"+Oe[1]+" "+Oe[2]+" "+Oe[3]}return z.source=function(H){return arguments.length?(a=Tt(H),z):a},z.target=function(H){return arguments.length?(E=Tt(H),z):E},z.projection=function(H){return arguments.length?(M=H,z):M},z};function Ll(a){return[a.x,a.y]}r.svg.diagonal.radial=function(){var a=r.svg.diagonal(),E=Ll,M=a.projection;return a.projection=function(z){return arguments.length?M($s(E=z)):E},a};function $s(a){return function(){var E=a.apply(this,arguments),M=E[0],z=E[1]-Zr;return[M*Math.cos(z),M*Math.sin(z)]}}r.svg.symbol=function(){var a=Xs,E=ql;function M(z,H){return(Qs.get(a.call(this,z,H))||Ma)(E.call(this,z,H))}return M.type=function(z){return arguments.length?(a=Tt(z),M):a},M.size=function(z){return arguments.length?(E=Tt(z),M):E},M};function ql(){return 64}function Xs(){return"circle"}function Ma(a){var E=Math.sqrt(a/An);return"M0,"+E+"A"+E+","+E+" 0 1,1 0,"+-E+"A"+E+","+E+" 0 1,1 0,"+E+"Z"}var Qs=r.map({circle:Ma,cross:function(a){var E=Math.sqrt(a/5)/2;return"M"+-3*E+","+-E+"H"+-E+"V"+-3*E+"H"+E+"V"+-E+"H"+3*E+"V"+E+"H"+E+"V"+3*E+"H"+-E+"V"+E+"H"+-3*E+"Z"},diamond:function(a){var E=Math.sqrt(a/(2*Do)),M=E*Do;return"M0,"+-E+"L"+M+",0 0,"+E+" "+-M+",0Z"},square:function(a){var E=Math.sqrt(a)/2;return"M"+-E+","+-E+"L"+E+","+-E+" "+E+","+E+" "+-E+","+E+"Z"},"triangle-down":function(a){var E=Math.sqrt(a/Is),M=E*Is/2;return"M0,"+M+"L"+E+","+-M+" "+-E+","+-M+"Z"},"triangle-up":function(a){var E=Math.sqrt(a/Is),M=E*Is/2;return"M0,"+-M+"L"+E+","+M+" "+-E+","+M+"Z"}});r.svg.symbolTypes=Qs.keys();var Is=Math.sqrt(3),Do=Math.tan(30*St);J.transition=function(a){for(var E=$o||++Va,M=Fs(a),z=[],H,X,ce=Zs||{time:Date.now(),ease:fn,delay:0,duration:250},ne=-1,ve=this.length;++ne0;)et[--Yt].call(a,kt);if(Et>=1)return ce.event&&ce.event.end.call(a,a.__data__,E),--X.count?delete X[z]:delete a[M],1}ce||(ne=H.time,ve=aa(nt,0,ne),ce=X[z]={tween:new F,time:ne,timer:ve,delay:H.delay,duration:H.duration,ease:H.ease,index:E},H=null,++X.count)}r.svg.axis=function(){var a=r.scale.linear(),E=Cs,M=6,z=6,H=3,X=[10],ce=null,ne;function ve(Oe){Oe.each(function(){var ke=r.select(this),et=this.__chart__||a,nt=this.__chart__=a.copy(),Ut=ce==null?nt.ticks?nt.ticks.apply(nt,X):nt.domain():ce,Xt=ne==null?nt.tickFormat?nt.tickFormat.apply(nt,X):W:ne,ft=ke.selectAll(".tick").data(Ut,nt),Et=ft.enter().insert("g",".domain").attr("class","tick").style("opacity",Ir),kt=r.transition(ft.exit()).style("opacity",Ir).remove(),Yt=r.transition(ft.order()).style("opacity",1),$t=Math.max(M,0)+H,Lt,Rr=va(nt),Yr=ke.selectAll(".domain").data([0]),Mr=(Yr.enter().append("path").attr("class","domain"),r.transition(Yr));Et.append("line"),Et.append("text");var rn=Et.select("line"),gn=Yt.select("line"),cn=ft.select("text").text(Xt),Hn=Et.select("text"),vn=Yt.select("text"),Fn=E==="top"||E==="left"?-1:1,qn,ia,Di,Kr;if(E==="bottom"||E==="top"?(Lt=eu,qn="x",Di="y",ia="x2",Kr="y2",cn.attr("dy",Fn<0?"0em":".71em").style("text-anchor","middle"),Mr.attr("d","M"+Rr[0]+","+Fn*z+"V0H"+Rr[1]+"V"+Fn*z)):(Lt=tu,qn="y",Di="x",ia="y2",Kr="x2",cn.attr("dy",".32em").style("text-anchor",Fn<0?"end":"start"),Mr.attr("d","M"+Fn*z+","+Rr[0]+"H0V"+Rr[1]+"H"+Fn*z)),rn.attr(Kr,Fn*M),Hn.attr(Di,Fn*$t),gn.attr(ia,0).attr(Kr,Fn*M),vn.attr(qn,0).attr(Di,Fn*$t),nt.rangeBand){var jn=nt,Xn=jn.rangeBand()/2;et=nt=function(Jn){return jn(Jn)+Xn}}else et.rangeBand?et=nt:kt.call(Lt,nt,et);Et.call(Lt,et,nt),Yt.call(Lt,nt,nt)})}return ve.scale=function(Oe){return arguments.length?(a=Oe,ve):a},ve.orient=function(Oe){return arguments.length?(E=Oe in zl?Oe+"":Cs,ve):E},ve.ticks=function(){return arguments.length?(X=h(arguments),ve):X},ve.tickValues=function(Oe){return arguments.length?(ce=Oe,ve):ce},ve.tickFormat=function(Oe){return arguments.length?(ne=Oe,ve):ne},ve.tickSize=function(Oe){var ke=arguments.length;return ke?(M=+Oe,z=+arguments[ke-1],ve):M},ve.innerTickSize=function(Oe){return arguments.length?(M=+Oe,ve):M},ve.outerTickSize=function(Oe){return arguments.length?(z=+Oe,ve):z},ve.tickPadding=function(Oe){return arguments.length?(H=+Oe,ve):H},ve.tickSubdivide=function(){return arguments.length&&ve},ve};var Cs="bottom",zl={top:1,right:1,bottom:1,left:1};function eu(a,E,M){a.attr("transform",function(z){var H=E(z);return"translate("+(isFinite(H)?H:M(z))+",0)"})}function tu(a,E,M){a.attr("transform",function(z){var H=E(z);return"translate(0,"+(isFinite(H)?H:M(z))+")"})}r.svg.brush=function(){var a=Xe(ke,"brushstart","brush","brushend"),E=null,M=null,z=[0,0],H=[0,0],X,ce,ne=!0,ve=!0,Oe=qs[0];function ke(ft){ft.each(function(){var Et=r.select(this).style("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush",Xt).on("touchstart.brush",Xt),kt=Et.selectAll(".background").data([0]);kt.enter().append("rect").attr("class","background").style("visibility","hidden").style("cursor","crosshair"),Et.selectAll(".extent").data([0]).enter().append("rect").attr("class","extent").style("cursor","move");var Yt=Et.selectAll(".resize").data(Oe,W);Yt.exit().remove(),Yt.enter().append("g").attr("class",function(Yr){return"resize "+Yr}).style("cursor",function(Yr){return as[Yr]}).append("rect").attr("x",function(Yr){return/[ew]$/.test(Yr)?-3:null}).attr("y",function(Yr){return/^[ns]/.test(Yr)?-3:null}).attr("width",6).attr("height",6).style("visibility","hidden"),Yt.style("display",ke.empty()?"none":null);var $t=r.transition(Et),Lt=r.transition(kt),Rr;E&&(Rr=va(E),Lt.attr("x",Rr[0]).attr("width",Rr[1]-Rr[0]),nt($t)),M&&(Rr=va(M),Lt.attr("y",Rr[0]).attr("height",Rr[1]-Rr[0]),Ut($t)),et($t)})}ke.event=function(ft){ft.each(function(){var Et=a.of(this,arguments),kt={x:z,y:H,i:X,j:ce},Yt=this.__chart__||kt;this.__chart__=kt,$o?r.select(this).transition().each("start.brush",function(){X=Yt.i,ce=Yt.j,z=Yt.x,H=Yt.y,Et({type:"brushstart"})}).tween("brush:brush",function(){var $t=xr(z,kt.x),Lt=xr(H,kt.y);return X=ce=null,function(Rr){z=kt.x=$t(Rr),H=kt.y=Lt(Rr),Et({type:"brush",mode:"resize"})}}).each("end.brush",function(){X=kt.i,ce=kt.j,Et({type:"brush",mode:"resize"}),Et({type:"brushend"})}):(Et({type:"brushstart"}),Et({type:"brush",mode:"resize"}),Et({type:"brushend"}))})};function et(ft){ft.selectAll(".resize").attr("transform",function(Et){return"translate("+z[+/e$/.test(Et)]+","+H[+/^s/.test(Et)]+")"})}function nt(ft){ft.select(".extent").attr("x",z[0]),ft.selectAll(".extent,.n>rect,.s>rect").attr("width",z[1]-z[0])}function Ut(ft){ft.select(".extent").attr("y",H[0]),ft.selectAll(".extent,.e>rect,.w>rect").attr("height",H[1]-H[0])}function Xt(){var ft=this,Et=r.select(r.event.target),kt=a.of(ft,arguments),Yt=r.select(ft),$t=Et.datum(),Lt=!/^(n|s)$/.test($t)&&E,Rr=!/^(e|w)$/.test($t)&&M,Yr=Et.classed("extent"),Mr=mr(ft),rn,gn=r.mouse(ft),cn,Hn=r.select(S(ft)).on("keydown.brush",qn).on("keyup.brush",ia);if(r.event.changedTouches?Hn.on("touchmove.brush",Di).on("touchend.brush",jn):Hn.on("mousemove.brush",Di).on("mouseup.brush",jn),Yt.interrupt().selectAll("*").interrupt(),Yr)gn[0]=z[0]-gn[0],gn[1]=H[0]-gn[1];else if($t){var vn=+/w$/.test($t),Fn=+/^n/.test($t);cn=[z[1-vn]-gn[0],H[1-Fn]-gn[1]],gn[0]=z[vn],gn[1]=H[Fn]}else r.event.altKey&&(rn=gn.slice());Yt.style("pointer-events","none").selectAll(".resize").style("display",null),r.select("body").style("cursor",Et.style("cursor")),kt({type:"brushstart"}),Di();function qn(){r.event.keyCode==32&&(Yr||(rn=null,gn[0]-=z[1],gn[1]-=H[1],Yr=2),Qe())}function ia(){r.event.keyCode==32&&Yr==2&&(gn[0]+=z[1],gn[1]+=H[1],Yr=0,Qe())}function Di(){var Xn=r.mouse(ft),Jn=!1;cn&&(Xn[0]+=cn[0],Xn[1]+=cn[1]),Yr||(r.event.altKey?(rn||(rn=[(z[0]+z[1])/2,(H[0]+H[1])/2]),gn[0]=z[+(Xn[0]{"use strict";t.d(v,{D:()=>h});for(var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=typeof Uint8Array>"u"?[]:new Uint8Array(256),r=0;r>2],C+=n[(A[S]&3)<<4|A[S+1]>>4],C+=n[(A[S+1]&15)<<2|A[S+2]>>6],C+=n[A[S+2]&63];return l%3===2?C=C.substring(0,C.length-1)+"=":l%3===1&&(C=C.substring(0,C.length-2)+"=="),C},h=function(u){var A=u.length*.75,S=u.length,l,C=0,b,m,D,f;u[u.length-1]==="="&&(A--,u[u.length-2]==="="&&A--);var p=new ArrayBuffer(A),c=new Uint8Array(p);for(l=0;l>4,c[C++]=(m&15)<<4|D>>2,c[C++]=(D&3)<<6|f&63;return p}},jys1cE5Y:(I,v)=>{"use strict";v.byteLength=A,v.toByteArray=l,v.fromByteArray=m;for(var t=[],n=[],o=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,h=r.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var p=D.indexOf("=");p===-1&&(p=f);var c=p===f?0:4-p%4;return[p,c]}function A(D){var f=u(D),p=f[0],c=f[1];return(p+c)*3/4-c}function S(D,f,p){return(f+p)*3/4-p}function l(D){var f,p=u(D),c=p[0],d=p[1],g=new o(S(D,c,d)),w=0,x=d>0?c-4:c,T;for(T=0;T>16&255,g[w++]=f>>8&255,g[w++]=f&255;return d===2&&(f=n[D.charCodeAt(T)]<<2|n[D.charCodeAt(T+1)]>>4,g[w++]=f&255),d===1&&(f=n[D.charCodeAt(T)]<<10|n[D.charCodeAt(T+1)]<<4|n[D.charCodeAt(T+2)]>>2,g[w++]=f>>8&255,g[w++]=f&255),g}function C(D){return t[D>>18&63]+t[D>>12&63]+t[D>>6&63]+t[D&63]}function b(D,f,p){for(var c,d=[],g=f;gx?x:w+g));return c===1?(f=D[p-1],d.push(t[f>>2]+t[f<<4&63]+"==")):c===2&&(f=(D[p-2]<<8)+D[p-1],d.push(t[f>>10]+t[f>>4&63]+t[f<<2&63]+"=")),d.join("")}},"7Rmdp+Rr":(I,v,t)=>{for(var n=t("XVHOCZZ5").hp,o=Math.floor(Math.random()*16777215),r=b.index=parseInt(Math.random()*16777215,10),s=(typeof process>"u"||typeof process.pid!="number"?Math.floor(Math.random()*1e5):process.pid)%65535,h=(()=>{try{return _Buffer}catch{try{return n}catch{return null}}})(),u=function(c){return!!(c!=null&&c.constructor&&typeof c.constructor.isBuffer=="function"&&c.constructor.isBuffer(c))},A=[],S=0;S<256;S++)A[S]=(S<=15?"0":"")+S.toString(16);var l=new RegExp("^[0-9a-fA-F]{24}$"),C=[];for(S=0;S<10;)C[48+S]=S++;for(;S<16;)C[55+S]=C[87+S]=S++;function b(c){if(!(this instanceof b))return new b(c);if(c&&(c instanceof b||c._bsontype==="ObjectID"))return c;if(this._bsontype="ObjectID",c==null||typeof c=="number"){this.id=this.generate(c);return}var d=b.isValid(c);if(!d&&c!=null)throw new Error("Argument passed in must be a single String of 12 bytes or a string of 24 hex characters");if(d&&typeof c=="string"&&c.length===24)return b.createFromHexString(c);if(c!=null&&c.length===12)this.id=c;else{if(c!=null&&typeof c.toHexString=="function")return c;throw new Error("Argument passed in must be a single String of 12 bytes or a string of 24 hex characters")}}I.exports=b,b.default=b,b.createFromTime=function(c){return c=parseInt(c,10)%4294967295,new b(D(8,c)+"0000000000000000")},b.createFromHexString=function(c){if(typeof c>"u"||c!=null&&c.length!==24)throw new Error("Argument passed in must be a single String of 12 bytes or a string of 24 hex characters");for(var d="",g=0;g<24;)d+=String.fromCharCode(C[c.charCodeAt(g++)]<<4|C[c.charCodeAt(g++)]);return new b(d)},b.isValid=function(c){return c==null?!1:typeof c=="number"?!0:typeof c=="string"?c.length===12||c.length===24&&l.test(c):c instanceof b?!0:u(c)?b.isValid(c.toString("hex")):typeof c.toHexString=="function"&&h&&(c.id instanceof h||typeof c.id=="string")?c.id.length===12||c.id.length===24&&l.test(c.id):!1},b.prototype={constructor:b,toHexString:function(){if(!this.id||!this.id.length)throw new Error("invalid ObjectId, ObjectId.id must be either a string or a Buffer, but is ["+JSON.stringify(this.id)+"]");if(this.id.length===24)return this.id;if(u(this.id))return this.id.toString("hex");for(var c="",d=0;d>24&255,c>>16&255,c>>8&255,c&255,o>>16&255,o>>8&255,o&255,s>>8&255,s&255,d>>16&255,d>>8&255,d&255)}};function m(){return r=(r+1)%16777215}function D(c,d){return d=d.toString(16),d.length===c?d:"00000000".substring(d.length,c)+d}function f(c){var d=0,g=[];if(c.length===24)for(;d<24;g.push(parseInt(c[d]+c[d+1],16)),d+=2);else if(c.length===12)for(;d<12;g.push(c.charCodeAt(d)),d++);return g}var p=Symbol&&Symbol.for&&Symbol.for("nodejs.util.inspect.custom")||"inspect";b.prototype[p]=function(){return"ObjectID("+this+")"},b.prototype.toJSON=b.prototype.toHexString,b.prototype.toString=b.prototype.toHexString},XVHOCZZ5:(I,v,t)=>{"use strict";var n;/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh 
 * @license  MIT
 */var o=t("jys1cE5Y"),r=t("l0ThiG+P"),s=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;v.hp=S,n=w,v.IS=50;var h=2147483647;n=h,S.TYPED_ARRAY_SUPPORT=u(),!S.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function u(){try{var U=new Uint8Array(1),L={foo:function(){return 42}};return Object.setPrototypeOf(L,Uint8Array.prototype),Object.setPrototypeOf(U,L),U.foo()===42}catch{return!1}}Object.defineProperty(S.prototype,"parent",{enumerable:!0,get:function(){if(S.isBuffer(this))return this.buffer}}),Object.defineProperty(S.prototype,"offset",{enumerable:!0,get:function(){if(S.isBuffer(this))return this.byteOffset}});function A(U){if(U>h)throw new RangeError('The value "'+U+'" is invalid for option "size"');var L=new Uint8Array(U);return Object.setPrototypeOf(L,S.prototype),L}function S(U,L,j){if(typeof U=="number"){if(typeof L=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return m(U)}return l(U,L,j)}S.poolSize=8192;function l(U,L,j){if(typeof U=="string")return D(U,L);if(ArrayBuffer.isView(U))return p(U);if(U==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof U);if(J(U,ArrayBuffer)||U&&J(U.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(J(U,SharedArrayBuffer)||U&&J(U.buffer,SharedArrayBuffer)))return c(U,L,j);if(typeof U=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var le=U.valueOf&&U.valueOf();if(le!=null&&le!==U)return S.from(le,L,j);var Te=d(U);if(Te)return Te;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof U[Symbol.toPrimitive]=="function")return S.from(U[Symbol.toPrimitive]("string"),L,j);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof U)}S.from=function(U,L,j){return l(U,L,j)},Object.setPrototypeOf(S.prototype,Uint8Array.prototype),Object.setPrototypeOf(S,Uint8Array);function C(U){if(typeof U!="number")throw new TypeError('"size" argument must be of type number');if(U<0)throw new RangeError('The value "'+U+'" is invalid for option "size"')}function b(U,L,j){return C(U),U<=0?A(U):L!==void 0?typeof j=="string"?A(U).fill(L,j):A(U).fill(L):A(U)}S.alloc=function(U,L,j){return b(U,L,j)};function m(U){return C(U),A(U<0?0:g(U)|0)}S.allocUnsafe=function(U){return m(U)},S.allocUnsafeSlow=function(U){return m(U)};function D(U,L){if((typeof L!="string"||L==="")&&(L="utf8"),!S.isEncoding(L))throw new TypeError("Unknown encoding: "+L);var j=x(U,L)|0,le=A(j),Te=le.write(U,L);return Te!==j&&(le=le.slice(0,Te)),le}function f(U){for(var L=U.length<0?0:g(U.length)|0,j=A(L),le=0;le=h)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+h.toString(16)+" bytes");return U|0}function w(U){return+U!=U&&(U=0),S.alloc(+U)}S.isBuffer=function(L){return L!=null&&L._isBuffer===!0&&L!==S.prototype},S.compare=function(L,j){if(J(L,Uint8Array)&&(L=S.from(L,L.offset,L.byteLength)),J(j,Uint8Array)&&(j=S.from(j,j.offset,j.byteLength)),!S.isBuffer(L)||!S.isBuffer(j))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(L===j)return 0;for(var le=L.length,Te=j.length,Je=0,ot=Math.min(le,Te);JeTe.length?S.from(ot).copy(Te,Je):Uint8Array.prototype.set.call(Te,ot,Je);else if(S.isBuffer(ot))ot.copy(Te,Je);else throw new TypeError('"list" argument must be an Array of Buffers');Je+=ot.length}return Te};function x(U,L){if(S.isBuffer(U))return U.length;if(ArrayBuffer.isView(U)||J(U,ArrayBuffer))return U.byteLength;if(typeof U!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof U);var j=U.length,le=arguments.length>2&&arguments[2]===!0;if(!le&&j===0)return 0;for(var Te=!1;;)switch(L){case"ascii":case"latin1":case"binary":return j;case"utf8":case"utf-8":return it(U).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j*2;case"hex":return j>>>1;case"base64":return Le(U).length;default:if(Te)return le?-1:it(U).length;L=(""+L).toLowerCase(),Te=!0}}S.byteLength=x;function T(U,L,j){var le=!1;if((L===void 0||L<0)&&(L=0),L>this.length||((j===void 0||j>this.length)&&(j=this.length),j<=0)||(j>>>=0,L>>>=0,j<=L))return"";for(U||(U="utf8");;)switch(U){case"hex":return Q(this,L,j);case"utf8":case"utf-8":return Ne(this,L,j);case"ascii":return W(this,L,j);case"latin1":case"binary":return q(this,L,j);case"base64":return Ce(this,L,j);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,L,j);default:if(le)throw new TypeError("Unknown encoding: "+U);U=(U+"").toLowerCase(),le=!0}}S.prototype._isBuffer=!0;function O(U,L,j){var le=U[L];U[L]=U[j],U[j]=le}S.prototype.swap16=function(){var L=this.length;if(L%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var j=0;jj&&(L+=" ... "),""},s&&(S.prototype[s]=S.prototype.inspect),S.prototype.compare=function(L,j,le,Te,Je){if(J(L,Uint8Array)&&(L=S.from(L,L.offset,L.byteLength)),!S.isBuffer(L))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof L);if(j===void 0&&(j=0),le===void 0&&(le=L?L.length:0),Te===void 0&&(Te=0),Je===void 0&&(Je=this.length),j<0||le>L.length||Te<0||Je>this.length)throw new RangeError("out of range index");if(Te>=Je&&j>=le)return 0;if(Te>=Je)return-1;if(j>=le)return 1;if(j>>>=0,le>>>=0,Te>>>=0,Je>>>=0,this===L)return 0;for(var ot=Je-Te,Gt=le-j,Ye=Math.min(ot,Gt),ct=this.slice(Te,Je),We=L.slice(j,le),Ze=0;Ze2147483647?j=2147483647:j<-2147483648&&(j=-2147483648),j=+j,$(j)&&(j=Te?0:U.length-1),j<0&&(j=U.length+j),j>=U.length){if(Te)return-1;j=U.length-1}else if(j<0)if(Te)j=0;else return-1;if(typeof L=="string"&&(L=S.from(L,le)),S.isBuffer(L))return L.length===0?-1:K(U,L,j,le,Te);if(typeof L=="number")return L=L&255,typeof Uint8Array.prototype.indexOf=="function"?Te?Uint8Array.prototype.indexOf.call(U,L,j):Uint8Array.prototype.lastIndexOf.call(U,L,j):K(U,[L],j,le,Te);throw new TypeError("val must be string, number or Buffer")}function K(U,L,j,le,Te){var Je=1,ot=U.length,Gt=L.length;if(le!==void 0&&(le=String(le).toLowerCase(),le==="ucs2"||le==="ucs-2"||le==="utf16le"||le==="utf-16le")){if(U.length<2||L.length<2)return-1;Je=2,ot/=2,Gt/=2,j/=2}function Ye(lt,pt){return Je===1?lt[pt]:lt.readUInt16BE(pt*Je)}var ct;if(Te){var We=-1;for(ct=j;ctot&&(j=ot-Gt),ct=j;ct>=0;ct--){for(var Ze=!0,Re=0;ReTe&&(le=Te)):le=Te;var Je=L.length;le>Je/2&&(le=Je/2);for(var ot=0;ot>>0,isFinite(le)?(le=le>>>0,Te===void 0&&(Te="utf8")):(Te=le,le=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Je=this.length-j;if((le===void 0||le>Je)&&(le=Je),L.length>0&&(le<0||j<0)||j>this.length)throw new RangeError("Attempt to write outside buffer bounds");Te||(Te="utf8");for(var ot=!1;;)switch(Te){case"hex":return ee(this,L,j,le);case"utf8":case"utf-8":return he(this,L,j,le);case"ascii":case"latin1":case"binary":return pe(this,L,j,le);case"base64":return ie(this,L,j,le);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we(this,L,j,le);default:if(ot)throw new TypeError("Unknown encoding: "+Te);Te=(""+Te).toLowerCase(),ot=!0}},S.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ce(U,L,j){return L===0&&j===U.length?o.fromByteArray(U):o.fromByteArray(U.slice(L,j))}function Ne(U,L,j){j=Math.min(U.length,j);for(var le=[],Te=L;Te239?4:Je>223?3:Je>191?2:1;if(Te+Gt<=j){var Ye,ct,We,Ze;switch(Gt){case 1:Je<128&&(ot=Je);break;case 2:Ye=U[Te+1],(Ye&192)===128&&(Ze=(Je&31)<<6|Ye&63,Ze>127&&(ot=Ze));break;case 3:Ye=U[Te+1],ct=U[Te+2],(Ye&192)===128&&(ct&192)===128&&(Ze=(Je&15)<<12|(Ye&63)<<6|ct&63,Ze>2047&&(Ze<55296||Ze>57343)&&(ot=Ze));break;case 4:Ye=U[Te+1],ct=U[Te+2],We=U[Te+3],(Ye&192)===128&&(ct&192)===128&&(We&192)===128&&(Ze=(Je&15)<<18|(Ye&63)<<12|(ct&63)<<6|We&63,Ze>65535&&Ze<1114112&&(ot=Ze))}}ot===null?(ot=65533,Gt=1):ot>65535&&(ot-=65536,le.push(ot>>>10&1023|55296),ot=56320|ot&1023),le.push(ot),Te+=Gt}return k(le)}var B=4096;function k(U){var L=U.length;if(L<=B)return String.fromCharCode.apply(String,U);for(var j="",le=0;lele)&&(j=le);for(var Te="",Je=L;Jele&&(L=le),j<0?(j+=le,j<0&&(j=0)):j>le&&(j=le),jj)throw new RangeError("Trying to access beyond buffer length")}S.prototype.readUintLE=S.prototype.readUIntLE=function(L,j,le){L=L>>>0,j=j>>>0,le||te(L,j,this.length);for(var Te=this[L],Je=1,ot=0;++ot>>0,j=j>>>0,le||te(L,j,this.length);for(var Te=this[L+--j],Je=1;j>0&&(Je*=256);)Te+=this[L+--j]*Je;return Te},S.prototype.readUint8=S.prototype.readUInt8=function(L,j){return L=L>>>0,j||te(L,1,this.length),this[L]},S.prototype.readUint16LE=S.prototype.readUInt16LE=function(L,j){return L=L>>>0,j||te(L,2,this.length),this[L]|this[L+1]<<8},S.prototype.readUint16BE=S.prototype.readUInt16BE=function(L,j){return L=L>>>0,j||te(L,2,this.length),this[L]<<8|this[L+1]},S.prototype.readUint32LE=S.prototype.readUInt32LE=function(L,j){return L=L>>>0,j||te(L,4,this.length),(this[L]|this[L+1]<<8|this[L+2]<<16)+this[L+3]*16777216},S.prototype.readUint32BE=S.prototype.readUInt32BE=function(L,j){return L=L>>>0,j||te(L,4,this.length),this[L]*16777216+(this[L+1]<<16|this[L+2]<<8|this[L+3])},S.prototype.readIntLE=function(L,j,le){L=L>>>0,j=j>>>0,le||te(L,j,this.length);for(var Te=this[L],Je=1,ot=0;++ot=Je&&(Te-=Math.pow(2,8*j)),Te},S.prototype.readIntBE=function(L,j,le){L=L>>>0,j=j>>>0,le||te(L,j,this.length);for(var Te=j,Je=1,ot=this[L+--Te];Te>0&&(Je*=256);)ot+=this[L+--Te]*Je;return Je*=128,ot>=Je&&(ot-=Math.pow(2,8*j)),ot},S.prototype.readInt8=function(L,j){return L=L>>>0,j||te(L,1,this.length),this[L]&128?(255-this[L]+1)*-1:this[L]},S.prototype.readInt16LE=function(L,j){L=L>>>0,j||te(L,2,this.length);var le=this[L]|this[L+1]<<8;return le&32768?le|4294901760:le},S.prototype.readInt16BE=function(L,j){L=L>>>0,j||te(L,2,this.length);var le=this[L+1]|this[L]<<8;return le&32768?le|4294901760:le},S.prototype.readInt32LE=function(L,j){return L=L>>>0,j||te(L,4,this.length),this[L]|this[L+1]<<8|this[L+2]<<16|this[L+3]<<24},S.prototype.readInt32BE=function(L,j){return L=L>>>0,j||te(L,4,this.length),this[L]<<24|this[L+1]<<16|this[L+2]<<8|this[L+3]},S.prototype.readFloatLE=function(L,j){return L=L>>>0,j||te(L,4,this.length),r.read(this,L,!0,23,4)},S.prototype.readFloatBE=function(L,j){return L=L>>>0,j||te(L,4,this.length),r.read(this,L,!1,23,4)},S.prototype.readDoubleLE=function(L,j){return L=L>>>0,j||te(L,8,this.length),r.read(this,L,!0,52,8)},S.prototype.readDoubleBE=function(L,j){return L=L>>>0,j||te(L,8,this.length),r.read(this,L,!1,52,8)};function ge(U,L,j,le,Te,Je){if(!S.isBuffer(U))throw new TypeError('"buffer" argument must be a Buffer instance');if(L>Te||LU.length)throw new RangeError("Index out of range")}S.prototype.writeUintLE=S.prototype.writeUIntLE=function(L,j,le,Te){if(L=+L,j=j>>>0,le=le>>>0,!Te){var Je=Math.pow(2,8*le)-1;ge(this,L,j,le,Je,0)}var ot=1,Gt=0;for(this[j]=L&255;++Gt>>0,le=le>>>0,!Te){var Je=Math.pow(2,8*le)-1;ge(this,L,j,le,Je,0)}var ot=le-1,Gt=1;for(this[j+ot]=L&255;--ot>=0&&(Gt*=256);)this[j+ot]=L/Gt&255;return j+le},S.prototype.writeUint8=S.prototype.writeUInt8=function(L,j,le){return L=+L,j=j>>>0,le||ge(this,L,j,1,255,0),this[j]=L&255,j+1},S.prototype.writeUint16LE=S.prototype.writeUInt16LE=function(L,j,le){return L=+L,j=j>>>0,le||ge(this,L,j,2,65535,0),this[j]=L&255,this[j+1]=L>>>8,j+2},S.prototype.writeUint16BE=S.prototype.writeUInt16BE=function(L,j,le){return L=+L,j=j>>>0,le||ge(this,L,j,2,65535,0),this[j]=L>>>8,this[j+1]=L&255,j+2},S.prototype.writeUint32LE=S.prototype.writeUInt32LE=function(L,j,le){return L=+L,j=j>>>0,le||ge(this,L,j,4,4294967295,0),this[j+3]=L>>>24,this[j+2]=L>>>16,this[j+1]=L>>>8,this[j]=L&255,j+4},S.prototype.writeUint32BE=S.prototype.writeUInt32BE=function(L,j,le){return L=+L,j=j>>>0,le||ge(this,L,j,4,4294967295,0),this[j]=L>>>24,this[j+1]=L>>>16,this[j+2]=L>>>8,this[j+3]=L&255,j+4},S.prototype.writeIntLE=function(L,j,le,Te){if(L=+L,j=j>>>0,!Te){var Je=Math.pow(2,8*le-1);ge(this,L,j,le,Je-1,-Je)}var ot=0,Gt=1,Ye=0;for(this[j]=L&255;++ot>0)-Ye&255;return j+le},S.prototype.writeIntBE=function(L,j,le,Te){if(L=+L,j=j>>>0,!Te){var Je=Math.pow(2,8*le-1);ge(this,L,j,le,Je-1,-Je)}var ot=le-1,Gt=1,Ye=0;for(this[j+ot]=L&255;--ot>=0&&(Gt*=256);)L<0&&Ye===0&&this[j+ot+1]!==0&&(Ye=1),this[j+ot]=(L/Gt>>0)-Ye&255;return j+le},S.prototype.writeInt8=function(L,j,le){return L=+L,j=j>>>0,le||ge(this,L,j,1,127,-128),L<0&&(L=255+L+1),this[j]=L&255,j+1},S.prototype.writeInt16LE=function(L,j,le){return L=+L,j=j>>>0,le||ge(this,L,j,2,32767,-32768),this[j]=L&255,this[j+1]=L>>>8,j+2},S.prototype.writeInt16BE=function(L,j,le){return L=+L,j=j>>>0,le||ge(this,L,j,2,32767,-32768),this[j]=L>>>8,this[j+1]=L&255,j+2},S.prototype.writeInt32LE=function(L,j,le){return L=+L,j=j>>>0,le||ge(this,L,j,4,2147483647,-2147483648),this[j]=L&255,this[j+1]=L>>>8,this[j+2]=L>>>16,this[j+3]=L>>>24,j+4},S.prototype.writeInt32BE=function(L,j,le){return L=+L,j=j>>>0,le||ge(this,L,j,4,2147483647,-2147483648),L<0&&(L=4294967295+L+1),this[j]=L>>>24,this[j+1]=L>>>16,this[j+2]=L>>>8,this[j+3]=L&255,j+4};function Fe(U,L,j,le,Te,Je){if(j+le>U.length)throw new RangeError("Index out of range");if(j<0)throw new RangeError("Index out of range")}function Qe(U,L,j,le,Te){return L=+L,j=j>>>0,Te||Fe(U,L,j,4,34028234663852886e22,-34028234663852886e22),r.write(U,L,j,le,23,4),j+4}S.prototype.writeFloatLE=function(L,j,le){return Qe(this,L,j,!0,le)},S.prototype.writeFloatBE=function(L,j,le){return Qe(this,L,j,!1,le)};function Ke(U,L,j,le,Te){return L=+L,j=j>>>0,Te||Fe(U,L,j,8,17976931348623157e292,-17976931348623157e292),r.write(U,L,j,le,52,8),j+8}S.prototype.writeDoubleLE=function(L,j,le){return Ke(this,L,j,!0,le)},S.prototype.writeDoubleBE=function(L,j,le){return Ke(this,L,j,!1,le)},S.prototype.copy=function(L,j,le,Te){if(!S.isBuffer(L))throw new TypeError("argument should be a Buffer");if(le||(le=0),!Te&&Te!==0&&(Te=this.length),j>=L.length&&(j=L.length),j||(j=0),Te>0&&Te=this.length)throw new RangeError("Index out of range");if(Te<0)throw new RangeError("sourceEnd out of bounds");Te>this.length&&(Te=this.length),L.length-j>>0,le=le===void 0?this.length:le>>>0,L||(L=0);var ot;if(typeof L=="number")for(ot=j;ot55295&&j<57344){if(!Te){if(j>56319){(L-=3)>-1&&Je.push(239,191,189);continue}else if(ot+1===le){(L-=3)>-1&&Je.push(239,191,189);continue}Te=j;continue}if(j<56320){(L-=3)>-1&&Je.push(239,191,189),Te=j;continue}j=(Te-55296<<10|j-56320)+65536}else Te&&(L-=3)>-1&&Je.push(239,191,189);if(Te=null,j<128){if((L-=1)<0)break;Je.push(j)}else if(j<2048){if((L-=2)<0)break;Je.push(j>>6|192,j&63|128)}else if(j<65536){if((L-=3)<0)break;Je.push(j>>12|224,j>>6&63|128,j&63|128)}else if(j<1114112){if((L-=4)<0)break;Je.push(j>>18|240,j>>12&63|128,j>>6&63|128,j&63|128)}else throw new Error("Invalid code point")}return Je}function Ie(U){for(var L=[],j=0;j>8,Te=j%256,Je.push(Te),Je.push(le);return Je}function Le(U){return o.toByteArray(dt(U))}function je(U,L,j,le){for(var Te=0;Te=L.length||Te>=U.length);++Te)L[Te+j]=U[Te];return Te}function J(U,L){return U instanceof L||U!=null&&U.constructor!=null&&U.constructor.name!=null&&U.constructor.name===L.name}function $(U){return U!==U}var G=function(){for(var U="0123456789abcdef",L=new Array(256),j=0;j<16;++j)for(var le=j*16,Te=0;Te<16;++Te)L[le+Te]=U[j]+U[Te];return L}()},p58rXm8I:(I,v,t)=>{"use strict";var n=t("nfcsOxAb"),o=t("AR0sd9bb"),r=o(n("String.prototype.indexOf"));I.exports=function(h,u){var A=n(h,!!u);return typeof A=="function"&&r(h,".prototype.")>-1?o(A):A}},AR0sd9bb:(I,v,t)=>{"use strict";var n=t("cDOqdmCw"),o=t("nfcsOxAb"),r=o("%Function.prototype.apply%"),s=o("%Function.prototype.call%"),h=o("%Reflect.apply%",!0)||n.call(s,r),u=o("%Object.getOwnPropertyDescriptor%",!0),A=o("%Object.defineProperty%",!0),S=o("%Math.max%");if(A)try{A({},"a",{value:1})}catch{A=null}I.exports=function(b){var m=h(n,s,arguments);if(u&&A){var D=u(m,"length");D.configurable&&A(m,"length",{value:1+S(0,b.length-(arguments.length-1))})}return m};var l=function(){return h(n,r,arguments)};A?A(I.exports,"apply",{value:l}):I.exports.apply=l},"+bbSl/ZL":(I,v,t)=>{"use strict";t.r(v),t.d(v,{default:()=>o});function n(r){var s,h,u="";if(typeof r=="string"||typeof r=="number")u+=r;else if(typeof r=="object")if(Array.isArray(r))for(s=0;s{"use strict";t.d(v,{A:()=>m});var n=t("++xxZkkP"),o=t.n(n),r=t("Uj4UqBXp"),s=t.n(r),h=t("pQOC3olD"),u=t.n(h),A=new URL(t("WN+LQtRW"),t.b),S=new URL(t("glNHDCWm"),t.b),l=s()(o()),C=u()(A),b=u()(S);l.push([I.id,`/* DayPicker styles */

.DayPicker {
  display: inline-block;
  font-size: 1rem;
}

.DayPicker-wrapper {
  position: relative;

  flex-direction: row;
  padding-bottom: 1em;

  -webkit-user-select: none;

     -moz-user-select: none;

      -ms-user-select: none;

          user-select: none;
}

.DayPicker-Months {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.DayPicker-Month {
  display: table;
  margin: 0 1em;
  margin-top: 1em;
  border-spacing: 0;
  border-collapse: collapse;

  -webkit-user-select: none;

     -moz-user-select: none;

      -ms-user-select: none;

          user-select: none;
}

.DayPicker-NavBar {
}

.DayPicker-NavButton {
  position: absolute;
  top: 1em;
  right: 1.5em;
  left: auto;

  display: inline-block;
  margin-top: 2px;
  width: 1.25em;
  height: 1.25em;
  background-position: center;
  background-size: 50%;
  background-repeat: no-repeat;
  color: #8B9898;
  cursor: pointer;
}

.DayPicker-NavButton:hover {
  opacity: 0.8;
}

.DayPicker-NavButton--prev {
  margin-right: 1.5em;
  background-image: url(${C});
}

.DayPicker-NavButton--next {
  background-image: url(${b});
}

.DayPicker-NavButton--interactionDisabled {
  display: none;
}

.DayPicker-Caption {
  display: table-caption;
  margin-bottom: 0.5em;
  padding: 0 0.5em;
  text-align: left;
}

.DayPicker-Caption > div {
  font-weight: 500;
  font-size: 1.15em;
}

.DayPicker-Weekdays {
  display: table-header-group;
  margin-top: 1em;
}

.DayPicker-WeekdaysRow {
  display: table-row;
}

.DayPicker-Weekday {
  display: table-cell;
  padding: 0.5em;
  color: #8B9898;
  text-align: center;
  font-size: 0.875em;
}

.DayPicker-Weekday abbr[title] {
  border-bottom: none;
  text-decoration: none;
}

.DayPicker-Body {
  display: table-row-group;
}

.DayPicker-Week {
  display: table-row;
}

.DayPicker-Day {
  display: table-cell;
  padding: 0.5em;
  border-radius: 50%;
  vertical-align: middle;
  text-align: center;
  cursor: pointer;
}

.DayPicker-WeekNumber {
  display: table-cell;
  padding: 0.5em;
  min-width: 1em;
  border-right: 1px solid #EAECEC;
  color: #8B9898;
  vertical-align: middle;
  text-align: right;
  font-size: 0.75em;
  cursor: pointer;
}

.DayPicker--interactionDisabled .DayPicker-Day {
  cursor: default;
}

.DayPicker-Footer {
  padding-top: 0.5em;
}

.DayPicker-TodayButton {
  border: none;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  color: #4A90E2;
  font-size: 0.875em;
  cursor: pointer;
}

/* Default modifiers */

.DayPicker-Day--today {
  color: #D0021B;
  font-weight: 700;
}

.DayPicker-Day--outside {
  color: #8B9898;
  cursor: default;
}

.DayPicker-Day--disabled {
  color: #DCE0E0;
  cursor: default;
  /* background-color: #eff1f1; */
}

/* Example modifiers */

.DayPicker-Day--sunday {
  background-color: #F7F8F8;
}

.DayPicker-Day--sunday:not(.DayPicker-Day--today) {
  color: #DCE0E0;
}

.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside) {
  position: relative;

  background-color: #4A90E2;
  color: #F0F8FF;
}

.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside):hover {
  background-color: #51A0FA;
}

.DayPicker:not(.DayPicker--interactionDisabled)
  .DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside):hover {
  background-color: #F0F8FF;
}

/* DayPickerInput */

.DayPickerInput {
  display: inline-block;
}

.DayPickerInput-OverlayWrapper {
  position: relative;
}

.DayPickerInput-Overlay {
  position: absolute;
  left: 0;
  z-index: 1;

  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}
`,"",{version:3,sources:["webpack://./../graylog2-server/graylog2-web-interface/node_modules/react-day-picker/lib/style.css"],names:[],mappings:"AAAA,qBAAqB;;AAErB;EACE,qBAAqB;EACrB,eAAe;AACjB;;AAEA;EACE,kBAAkB;;EAElB,mBAAmB;EACnB,mBAAmB;;EAEnB,yBAAyB;;KAEtB,sBAAsB;;MAErB,qBAAqB;;UAEjB,iBAAiB;AAC3B;;AAEA;EACE,aAAa;EACb,eAAe;EACf,uBAAuB;AACzB;;AAEA;EACE,cAAc;EACd,aAAa;EACb,eAAe;EACf,iBAAiB;EACjB,yBAAyB;;EAEzB,yBAAyB;;KAEtB,sBAAsB;;MAErB,qBAAqB;;UAEjB,iBAAiB;AAC3B;;AAEA;AACA;;AAEA;EACE,kBAAkB;EAClB,QAAQ;EACR,YAAY;EACZ,UAAU;;EAEV,qBAAqB;EACrB,eAAe;EACf,aAAa;EACb,cAAc;EACd,2BAA2B;EAC3B,oBAAoB;EACpB,4BAA4B;EAC5B,cAAc;EACd,eAAe;AACjB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,mBAAmB;EACnB,yDAAulB;AACzlB;;AAEA;EACE,yDAAmoB;AACroB;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,sBAAsB;EACtB,oBAAoB;EACpB,gBAAgB;EAChB,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;EAChB,iBAAiB;AACnB;;AAEA;EACE,2BAA2B;EAC3B,eAAe;AACjB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,mBAAmB;EACnB,cAAc;EACd,cAAc;EACd,kBAAkB;EAClB,kBAAkB;AACpB;;AAEA;EACE,mBAAmB;EACnB,qBAAqB;AACvB;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,mBAAmB;EACnB,cAAc;EACd,kBAAkB;EAClB,sBAAsB;EACtB,kBAAkB;EAClB,eAAe;AACjB;;AAEA;EACE,mBAAmB;EACnB,cAAc;EACd,cAAc;EACd,+BAA+B;EAC/B,cAAc;EACd,sBAAsB;EACtB,iBAAiB;EACjB,iBAAiB;EACjB,eAAe;AACjB;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,YAAY;EACZ,6BAA6B;EAC7B,sBAAsB;EACtB,gBAAgB;EAChB,cAAc;EACd,kBAAkB;EAClB,eAAe;AACjB;;AAEA,sBAAsB;;AAEtB;EACE,cAAc;EACd,gBAAgB;AAClB;;AAEA;EACE,cAAc;EACd,eAAe;AACjB;;AAEA;EACE,cAAc;EACd,eAAe;EACf,+BAA+B;AACjC;;AAEA,sBAAsB;;AAEtB;EACE,yBAAyB;AAC3B;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,kBAAkB;;EAElB,yBAAyB;EACzB,cAAc;AAChB;;AAEA;EACE,yBAAyB;AAC3B;;AAEA;;EAEE,yBAAyB;AAC3B;;AAEA,mBAAmB;;AAEnB;EACE,qBAAqB;AACvB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,kBAAkB;EAClB,OAAO;EACP,UAAU;;EAEV,iBAAiB;EACjB,yCAAyC;AAC3C",sourcesContent:[`/* DayPicker styles */

.DayPicker {
  display: inline-block;
  font-size: 1rem;
}

.DayPicker-wrapper {
  position: relative;

  flex-direction: row;
  padding-bottom: 1em;

  -webkit-user-select: none;

     -moz-user-select: none;

      -ms-user-select: none;

          user-select: none;
}

.DayPicker-Months {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.DayPicker-Month {
  display: table;
  margin: 0 1em;
  margin-top: 1em;
  border-spacing: 0;
  border-collapse: collapse;

  -webkit-user-select: none;

     -moz-user-select: none;

      -ms-user-select: none;

          user-select: none;
}

.DayPicker-NavBar {
}

.DayPicker-NavButton {
  position: absolute;
  top: 1em;
  right: 1.5em;
  left: auto;

  display: inline-block;
  margin-top: 2px;
  width: 1.25em;
  height: 1.25em;
  background-position: center;
  background-size: 50%;
  background-repeat: no-repeat;
  color: #8B9898;
  cursor: pointer;
}

.DayPicker-NavButton:hover {
  opacity: 0.8;
}

.DayPicker-NavButton--prev {
  margin-right: 1.5em;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAwCAYAAAB5R9gVAAAABGdBTUEAALGPC/xhBQAAAVVJREFUWAnN2G0KgjAYwPHpGfRkaZeqvgQaK+hY3SUHrk1YzNLay/OiEFp92I+/Mp2F2Mh2lLISWnflFjzH263RQjzMZ19wgs73ez0o1WmtW+dgA01VxrE3p6l2GLsnBy1VYQOtVSEH/atCCgqpQgKKqYIOiq2CBkqtggLKqQIKgqgCBjpJ2Y5CdJ+zrT9A7HHSTA1dxUdHgzCqJIEwq0SDsKsEg6iqBIEoq/wEcVRZBXFV+QJxV5mBtlDFB5VjYTaGZ2sf4R9PM7U9ZU+lLuaetPP/5Die3ToO1+u+MKtHs06qODB2zBnI/jBd4MPQm1VkY79Tb18gB+C62FdBFsZR6yeIo1YQiLJWMIiqVjQIu1YSCLNWFgijVjYIuhYYCKoWKAiiFgoopxYaKLUWOii2FgkophYp6F3r42W5A9s9OcgNvva8xQaysKXlFytoqdYmQH6tF3toSUo0INq9AAAAAElFTkSuQmCC');
}

.DayPicker-NavButton--next {
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAwCAYAAAB5R9gVAAAABGdBTUEAALGPC/xhBQAAAXRJREFUWAnN119ugjAcwPHWzJ1gnmxzB/BBE0n24m4xfNkTaOL7wOtsl3AXMMb+Vjaa1BG00N8fSEibPpAP3xAKKs2yjzTPH9RAjhEo9WzPr/Vm8zgE0+gXATAxxuxtqeJ9t5tIwv5AtQAApsfT6TPdbp+kUBcgVwvO51KqVhMkXKsVJFXrOkigVhCIs1Y4iKlWZxB1rX4gwlpRIIpa8SDkWmggrFq4IIRaJKCYWnSgnrXIQV1r8YD+1Vrn+bReagysIFfLABRt31v8oBu1xEBttfRbltmfjgEcWh9snUS2kNdBK6WN1vrOWxObWsz+fjxevsxmB1GQDfINWiev83nhaoiB/CoOU438oPrhXS0WpQ9xc1ZQWxWHqUYe0I0qrKCQKjygDlXIQV2r0IF6ViEBxVTBBSFUQQNhVYkHIVeJAtkNsbQ7c1LtzP6FsObhb2rCKv7NBIGoq4SDmKoEgTirXAcJVGkFSVVpgoSrXICGUMUH/QBZNSUy5XWUhwAAAABJRU5ErkJggg==');
}

.DayPicker-NavButton--interactionDisabled {
  display: none;
}

.DayPicker-Caption {
  display: table-caption;
  margin-bottom: 0.5em;
  padding: 0 0.5em;
  text-align: left;
}

.DayPicker-Caption > div {
  font-weight: 500;
  font-size: 1.15em;
}

.DayPicker-Weekdays {
  display: table-header-group;
  margin-top: 1em;
}

.DayPicker-WeekdaysRow {
  display: table-row;
}

.DayPicker-Weekday {
  display: table-cell;
  padding: 0.5em;
  color: #8B9898;
  text-align: center;
  font-size: 0.875em;
}

.DayPicker-Weekday abbr[title] {
  border-bottom: none;
  text-decoration: none;
}

.DayPicker-Body {
  display: table-row-group;
}

.DayPicker-Week {
  display: table-row;
}

.DayPicker-Day {
  display: table-cell;
  padding: 0.5em;
  border-radius: 50%;
  vertical-align: middle;
  text-align: center;
  cursor: pointer;
}

.DayPicker-WeekNumber {
  display: table-cell;
  padding: 0.5em;
  min-width: 1em;
  border-right: 1px solid #EAECEC;
  color: #8B9898;
  vertical-align: middle;
  text-align: right;
  font-size: 0.75em;
  cursor: pointer;
}

.DayPicker--interactionDisabled .DayPicker-Day {
  cursor: default;
}

.DayPicker-Footer {
  padding-top: 0.5em;
}

.DayPicker-TodayButton {
  border: none;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  color: #4A90E2;
  font-size: 0.875em;
  cursor: pointer;
}

/* Default modifiers */

.DayPicker-Day--today {
  color: #D0021B;
  font-weight: 700;
}

.DayPicker-Day--outside {
  color: #8B9898;
  cursor: default;
}

.DayPicker-Day--disabled {
  color: #DCE0E0;
  cursor: default;
  /* background-color: #eff1f1; */
}

/* Example modifiers */

.DayPicker-Day--sunday {
  background-color: #F7F8F8;
}

.DayPicker-Day--sunday:not(.DayPicker-Day--today) {
  color: #DCE0E0;
}

.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside) {
  position: relative;

  background-color: #4A90E2;
  color: #F0F8FF;
}

.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside):hover {
  background-color: #51A0FA;
}

.DayPicker:not(.DayPicker--interactionDisabled)
  .DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside):hover {
  background-color: #F0F8FF;
}

/* DayPickerInput */

.DayPickerInput {
  display: inline-block;
}

.DayPickerInput-OverlayWrapper {
  position: relative;
}

.DayPickerInput-Overlay {
  position: absolute;
  left: 0;
  z-index: 1;

  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}
`],sourceRoot:""}]),l.locals={};const m=l},"eFeJph+H":(I,v,t)=>{"use strict";t.d(v,{A:()=>u});var n=t("++xxZkkP"),o=t.n(n),r=t("Uj4UqBXp"),s=t.n(r),h=s()(o());h.push([I.id,`.react-grid-layout {
  position: relative;
  transition: height 200ms ease;
}
.react-grid-item {
  transition: all 200ms ease;
  transition-property: left, top, width, height;
}
.react-grid-item img {
  pointer-events: none;
  user-select: none;
}
.react-grid-item.cssTransforms {
  transition-property: transform, width, height;
}
.react-grid-item.resizing {
  transition: none;
  z-index: 1;
  will-change: width, height;
}

.react-grid-item.react-draggable-dragging {
  transition: none;
  z-index: 3;
  will-change: transform;
}

.react-grid-item.dropping {
  visibility: hidden;
}

.react-grid-item.react-grid-placeholder {
  background: red;
  opacity: 0.2;
  transition-duration: 100ms;
  z-index: 2;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.react-grid-item.react-grid-placeholder.placeholder-resizing {
  transition: none;
}

.react-grid-item > .react-resizable-handle {
  position: absolute;
  width: 20px;
  height: 20px;
}

.react-grid-item > .react-resizable-handle::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 5px;
  height: 5px;
  border-right: 2px solid rgba(0, 0, 0, 0.4);
  border-bottom: 2px solid rgba(0, 0, 0, 0.4);
}

.react-resizable-hide > .react-resizable-handle {
  display: none;
}

.react-grid-item > .react-resizable-handle.react-resizable-handle-sw {
  bottom: 0;
  left: 0;
  cursor: sw-resize;
  transform: rotate(90deg);
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-se {
  bottom: 0;
  right: 0;
  cursor: se-resize;
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-nw {
  top: 0;
  left: 0;
  cursor: nw-resize;
  transform: rotate(180deg);
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-ne {
  top: 0;
  right: 0;
  cursor: ne-resize;
  transform: rotate(270deg);
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-w,
.react-grid-item > .react-resizable-handle.react-resizable-handle-e {
  top: 50%;
  margin-top: -10px;
  cursor: ew-resize;
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-w {
  left: 0;
  transform: rotate(135deg);
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-e {
  right: 0;
  transform: rotate(315deg);
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-n,
.react-grid-item > .react-resizable-handle.react-resizable-handle-s {
  left: 50%;
  margin-left: -10px;
  cursor: ns-resize;
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-n {
  top: 0;
  transform: rotate(225deg);
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-s {
  bottom: 0;
  transform: rotate(45deg);
}
`,"",{version:3,sources:["webpack://./../graylog2-server/graylog2-web-interface/node_modules/react-grid-layout/css/styles.css"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,6BAA6B;AAC/B;AACA;EACE,0BAA0B;EAC1B,6CAA6C;AAC/C;AACA;EACE,oBAAoB;EACpB,iBAAiB;AACnB;AACA;EACE,6CAA6C;AAC/C;AACA;EACE,gBAAgB;EAChB,UAAU;EACV,0BAA0B;AAC5B;;AAEA;EACE,gBAAgB;EAChB,UAAU;EACV,sBAAsB;AACxB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,eAAe;EACf,YAAY;EACZ,0BAA0B;EAC1B,UAAU;EACV,yBAAyB;EACzB,sBAAsB;EACtB,qBAAqB;EACrB,oBAAoB;EACpB,iBAAiB;AACnB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;AACd;;AAEA;EACE,WAAW;EACX,kBAAkB;EAClB,UAAU;EACV,WAAW;EACX,UAAU;EACV,WAAW;EACX,0CAA0C;EAC1C,2CAA2C;AAC7C;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,SAAS;EACT,OAAO;EACP,iBAAiB;EACjB,wBAAwB;AAC1B;AACA;EACE,SAAS;EACT,QAAQ;EACR,iBAAiB;AACnB;AACA;EACE,MAAM;EACN,OAAO;EACP,iBAAiB;EACjB,yBAAyB;AAC3B;AACA;EACE,MAAM;EACN,QAAQ;EACR,iBAAiB;EACjB,yBAAyB;AAC3B;AACA;;EAEE,QAAQ;EACR,iBAAiB;EACjB,iBAAiB;AACnB;AACA;EACE,OAAO;EACP,yBAAyB;AAC3B;AACA;EACE,QAAQ;EACR,yBAAyB;AAC3B;AACA;;EAEE,SAAS;EACT,kBAAkB;EAClB,iBAAiB;AACnB;AACA;EACE,MAAM;EACN,yBAAyB;AAC3B;AACA;EACE,SAAS;EACT,wBAAwB;AAC1B",sourcesContent:[`.react-grid-layout {
  position: relative;
  transition: height 200ms ease;
}
.react-grid-item {
  transition: all 200ms ease;
  transition-property: left, top, width, height;
}
.react-grid-item img {
  pointer-events: none;
  user-select: none;
}
.react-grid-item.cssTransforms {
  transition-property: transform, width, height;
}
.react-grid-item.resizing {
  transition: none;
  z-index: 1;
  will-change: width, height;
}

.react-grid-item.react-draggable-dragging {
  transition: none;
  z-index: 3;
  will-change: transform;
}

.react-grid-item.dropping {
  visibility: hidden;
}

.react-grid-item.react-grid-placeholder {
  background: red;
  opacity: 0.2;
  transition-duration: 100ms;
  z-index: 2;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.react-grid-item.react-grid-placeholder.placeholder-resizing {
  transition: none;
}

.react-grid-item > .react-resizable-handle {
  position: absolute;
  width: 20px;
  height: 20px;
}

.react-grid-item > .react-resizable-handle::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 5px;
  height: 5px;
  border-right: 2px solid rgba(0, 0, 0, 0.4);
  border-bottom: 2px solid rgba(0, 0, 0, 0.4);
}

.react-resizable-hide > .react-resizable-handle {
  display: none;
}

.react-grid-item > .react-resizable-handle.react-resizable-handle-sw {
  bottom: 0;
  left: 0;
  cursor: sw-resize;
  transform: rotate(90deg);
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-se {
  bottom: 0;
  right: 0;
  cursor: se-resize;
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-nw {
  top: 0;
  left: 0;
  cursor: nw-resize;
  transform: rotate(180deg);
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-ne {
  top: 0;
  right: 0;
  cursor: ne-resize;
  transform: rotate(270deg);
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-w,
.react-grid-item > .react-resizable-handle.react-resizable-handle-e {
  top: 50%;
  margin-top: -10px;
  cursor: ew-resize;
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-w {
  left: 0;
  transform: rotate(135deg);
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-e {
  right: 0;
  transform: rotate(315deg);
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-n,
.react-grid-item > .react-resizable-handle.react-resizable-handle-s {
  left: 50%;
  margin-left: -10px;
  cursor: ns-resize;
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-n {
  top: 0;
  transform: rotate(225deg);
}
.react-grid-item > .react-resizable-handle.react-resizable-handle-s {
  bottom: 0;
  transform: rotate(45deg);
}
`],sourceRoot:""}]),h.locals={};const u=h},eGpaYdjD:(I,v,t)=>{"use strict";t.d(v,{A:()=>C});var n=t("++xxZkkP"),o=t.n(n),r=t("Uj4UqBXp"),s=t.n(r),h=t("pQOC3olD"),u=t.n(h),A=new URL(t("OUOTPsAr"),t.b),S=s()(o()),l=u()(A);S.push([I.id,`.react-resizable {
  position: relative;
}
.react-resizable-handle {
  position: absolute;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-origin: content-box;
  box-sizing: border-box;
  background-image: url(${l});
  background-position: bottom right;
  padding: 0 3px 3px 0;
}
.react-resizable-handle-sw {
  bottom: 0;
  left: 0;
  cursor: sw-resize;
  transform: rotate(90deg);
}
.react-resizable-handle-se {
  bottom: 0;
  right: 0;
  cursor: se-resize;
}
.react-resizable-handle-nw {
  top: 0;
  left: 0;
  cursor: nw-resize;
  transform: rotate(180deg);
}
.react-resizable-handle-ne {
  top: 0;
  right: 0;
  cursor: ne-resize;
  transform: rotate(270deg);
}
.react-resizable-handle-w,
.react-resizable-handle-e {
  top: 50%;
  margin-top: -10px;
  cursor: ew-resize;
}
.react-resizable-handle-w {
  left: 0;
  transform: rotate(135deg);
}
.react-resizable-handle-e {
  right: 0;
  transform: rotate(315deg);
}
.react-resizable-handle-n,
.react-resizable-handle-s {
  left: 50%;
  margin-left: -10px;
  cursor: ns-resize;
}
.react-resizable-handle-n {
  top: 0;
  transform: rotate(225deg);
}
.react-resizable-handle-s {
  bottom: 0;
  transform: rotate(45deg);
}`,"",{version:3,sources:["webpack://./../graylog2-server/graylog2-web-interface/node_modules/react-resizable/css/styles.css"],names:[],mappings:"AAAA;EACE,kBAAkB;AACpB;AACA;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;EACZ,4BAA4B;EAC5B,8BAA8B;EAC9B,sBAAsB;EACtB,yDAAuY;EACvY,iCAAiC;EACjC,oBAAoB;AACtB;AACA;EACE,SAAS;EACT,OAAO;EACP,iBAAiB;EACjB,wBAAwB;AAC1B;AACA;EACE,SAAS;EACT,QAAQ;EACR,iBAAiB;AACnB;AACA;EACE,MAAM;EACN,OAAO;EACP,iBAAiB;EACjB,yBAAyB;AAC3B;AACA;EACE,MAAM;EACN,QAAQ;EACR,iBAAiB;EACjB,yBAAyB;AAC3B;AACA;;EAEE,QAAQ;EACR,iBAAiB;EACjB,iBAAiB;AACnB;AACA;EACE,OAAO;EACP,yBAAyB;AAC3B;AACA;EACE,QAAQ;EACR,yBAAyB;AAC3B;AACA;;EAEE,SAAS;EACT,kBAAkB;EAClB,iBAAiB;AACnB;AACA;EACE,MAAM;EACN,yBAAyB;AAC3B;AACA;EACE,SAAS;EACT,wBAAwB;AAC1B",sourcesContent:[`.react-resizable {
  position: relative;
}
.react-resizable-handle {
  position: absolute;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-origin: content-box;
  box-sizing: border-box;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+');
  background-position: bottom right;
  padding: 0 3px 3px 0;
}
.react-resizable-handle-sw {
  bottom: 0;
  left: 0;
  cursor: sw-resize;
  transform: rotate(90deg);
}
.react-resizable-handle-se {
  bottom: 0;
  right: 0;
  cursor: se-resize;
}
.react-resizable-handle-nw {
  top: 0;
  left: 0;
  cursor: nw-resize;
  transform: rotate(180deg);
}
.react-resizable-handle-ne {
  top: 0;
  right: 0;
  cursor: ne-resize;
  transform: rotate(270deg);
}
.react-resizable-handle-w,
.react-resizable-handle-e {
  top: 50%;
  margin-top: -10px;
  cursor: ew-resize;
}
.react-resizable-handle-w {
  left: 0;
  transform: rotate(135deg);
}
.react-resizable-handle-e {
  right: 0;
  transform: rotate(315deg);
}
.react-resizable-handle-n,
.react-resizable-handle-s {
  left: 50%;
  margin-left: -10px;
  cursor: ns-resize;
}
.react-resizable-handle-n {
  top: 0;
  transform: rotate(225deg);
}
.react-resizable-handle-s {
  bottom: 0;
  transform: rotate(45deg);
}`],sourceRoot:""}]),S.locals={};const C=S},Uj4UqBXp:I=>{"use strict";I.exports=function(v){var t=[];return t.toString=function(){return this.map(function(o){var r="",s=typeof o[5]<"u";return o[4]&&(r+="@supports (".concat(o[4],") {")),o[2]&&(r+="@media ".concat(o[2]," {")),s&&(r+="@layer".concat(o[5].length>0?" ".concat(o[5]):""," {")),r+=v(o),s&&(r+="}"),o[2]&&(r+="}"),o[4]&&(r+="}"),r}).join("")},t.i=function(o,r,s,h,u){typeof o=="string"&&(o=[[null,o,void 0]]);var A={};if(s)for(var S=0;S"u"||(b[1]="@layer".concat(b[5].length>0?" ".concat(b[5]):""," {").concat(b[1],"}")),b[5]=u),r&&(b[2]&&(b[1]="@media ".concat(b[2]," {").concat(b[1],"}")),b[2]=r),h&&(b[4]?(b[1]="@supports (".concat(b[4],") {").concat(b[1],"}"),b[4]=h):b[4]="".concat(h)),t.push(b))}},t}},pQOC3olD:I=>{"use strict";I.exports=function(v,t){return t||(t={}),v&&(v=String(v.__esModule?v.default:v),/^['"].*['"]$/.test(v)&&(v=v.slice(1,-1)),t.hash&&(v+=t.hash),/["'() \t\n]|(%20)/.test(v)||t.needQuotes?'"'.concat(v.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):v)}},"++xxZkkP":I=>{"use strict";I.exports=function(v){var t=v[1],n=v[3];if(!n)return t;if(typeof btoa=="function"){var o=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(o),s="/*# ".concat(r," */");return[t].concat([s]).join(`
`)}return[t].join(`
`)}},wWDbu37G:(I,v,t)=>{"use strict";t.d(v,{GP:()=>w});function n(O){return Math.abs(O=Math.round(O))>=1e21?O.toLocaleString("en").replace(/,/g,""):O.toString(10)}function o(O,F){if((K=(O=F?O.toExponential(F-1):O.toExponential()).indexOf("e"))<0)return null;var K,ee=O.slice(0,K);return[ee.length>1?ee[0]+ee.slice(2):ee,+O.slice(K+1)]}function r(O){return O=o(Math.abs(O)),O?O[1]:NaN}function s(O,F){return function(K,ee){for(var he=K.length,pe=[],ie=0,we=O[0],Ce=0;he>0&&we>0&&(Ce+we+1>ee&&(we=Math.max(1,ee-Ce)),pe.push(K.substring(he-=we,he+we)),!((Ce+=we+1)>ee));)we=O[ie=(ie+1)%O.length];return pe.reverse().join(F)}}function h(O){return function(F){return F.replace(/[0-9]/g,function(K){return O[+K]})}}var u=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function A(O){if(!(F=u.exec(O)))throw new Error("invalid format: "+O);var F;return new S({fill:F[1],align:F[2],sign:F[3],symbol:F[4],zero:F[5],width:F[6],comma:F[7],precision:F[8]&&F[8].slice(1),trim:F[9],type:F[10]})}A.prototype=S.prototype;function S(O){this.fill=O.fill===void 0?" ":O.fill+"",this.align=O.align===void 0?">":O.align+"",this.sign=O.sign===void 0?"-":O.sign+"",this.symbol=O.symbol===void 0?"":O.symbol+"",this.zero=!!O.zero,this.width=O.width===void 0?void 0:+O.width,this.comma=!!O.comma,this.precision=O.precision===void 0?void 0:+O.precision,this.trim=!!O.trim,this.type=O.type===void 0?"":O.type+""}S.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function l(O){e:for(var F=O.length,K=1,ee=-1,he;K0&&(ee=0);break}return ee>0?O.slice(0,ee)+O.slice(he+1):O}var C;function b(O,F){var K=o(O,F);if(!K)return O+"";var ee=K[0],he=K[1],pe=he-(C=Math.max(-8,Math.min(8,Math.floor(he/3)))*3)+1,ie=ee.length;return pe===ie?ee:pe>ie?ee+new Array(pe-ie+1).join("0"):pe>0?ee.slice(0,pe)+"."+ee.slice(pe):"0."+new Array(1-pe).join("0")+o(O,Math.max(0,F+pe-1))[0]}function m(O,F){var K=o(O,F);if(!K)return O+"";var ee=K[0],he=K[1];return he<0?"0."+new Array(-he).join("0")+ee:ee.length>he+1?ee.slice(0,he+1)+"."+ee.slice(he+1):ee+new Array(he-ee.length+2).join("0")}const D={"%":function(O,F){return(O*100).toFixed(F)},b:function(O){return Math.round(O).toString(2)},c:function(O){return O+""},d:n,e:function(O,F){return O.toExponential(F)},f:function(O,F){return O.toFixed(F)},g:function(O,F){return O.toPrecision(F)},o:function(O){return Math.round(O).toString(8)},p:function(O,F){return m(O*100,F)},r:m,s:b,X:function(O){return Math.round(O).toString(16).toUpperCase()},x:function(O){return Math.round(O).toString(16)}};function f(O){return O}var p=Array.prototype.map,c=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function d(O){var F=O.grouping===void 0||O.thousands===void 0?f:s(p.call(O.grouping,Number),O.thousands+""),K=O.currency===void 0?"":O.currency[0]+"",ee=O.currency===void 0?"":O.currency[1]+"",he=O.decimal===void 0?".":O.decimal+"",pe=O.numerals===void 0?f:h(p.call(O.numerals,String)),ie=O.percent===void 0?"%":O.percent+"",we=O.minus===void 0?"-":O.minus+"",Ce=O.nan===void 0?"NaN":O.nan+"";function Ne(k){k=A(k);var W=k.fill,q=k.align,Q=k.sign,re=k.symbol,te=k.zero,ge=k.width,Fe=k.comma,Qe=k.precision,Ke=k.trim,Xe=k.type;Xe==="n"?(Fe=!0,Xe="g"):D[Xe]||(Qe===void 0&&(Qe=12),Ke=!0,Xe="g"),(te||W==="0"&&q==="=")&&(te=!0,W="0",q="=");var dt=re==="$"?K:re==="#"&&/[boxX]/.test(Xe)?"0"+Xe.toLowerCase():"",it=re==="$"?ee:/[%p]/.test(Xe)?ie:"",Ie=D[Xe],ue=/[defgprs%]/.test(Xe);Qe=Qe===void 0?6:/[gprs]/.test(Xe)?Math.max(1,Math.min(21,Qe)):Math.max(0,Math.min(20,Qe));function Le(je){var J=dt,$=it,G,U,L;if(Xe==="c")$=Ie(je)+$,je="";else{je=+je;var j=je<0||1/je<0;if(je=isNaN(je)?Ce:Ie(Math.abs(je),Qe),Ke&&(je=l(je)),j&&+je==0&&Q!=="+"&&(j=!1),J=(j?Q==="("?Q:we:Q==="-"||Q==="("?"":Q)+J,$=(Xe==="s"?c[8+C/3]:"")+$+(j&&Q==="("?")":""),ue){for(G=-1,U=je.length;++GL||L>57){$=(L===46?he+je.slice(G+1):je.slice(G))+$,je=je.slice(0,G);break}}}Fe&&!te&&(je=F(je,1/0));var le=J.length+je.length+$.length,Te=le>1)+J+je+$+Te.slice(le);break;default:je=Te+J+je+$;break}return pe(je)}return Le.toString=function(){return k+""},Le}function B(k,W){var q=Ne((k=A(k),k.type="f",k)),Q=Math.max(-8,Math.min(8,Math.floor(r(W)/3)))*3,re=Math.pow(10,-Q),te=c[8+Q/3];return function(ge){return q(re*ge)+te}}return{format:Ne,formatPrefix:B}}var g,w,x;T({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function T(O){return g=d(O),w=g.format,x=g.formatPrefix,g}},"7kzdQo4h":(I,v,t)=>{"use strict";t.d(v,{DC:()=>ai,aL:()=>Ei});var n=new Date,o=new Date;function r(st,Tt,Sr,kr){function Pn(en){return st(en=arguments.length===0?new Date:new Date(+en)),en}return Pn.floor=function(en){return st(en=new Date(+en)),en},Pn.ceil=function(en){return st(en=new Date(en-1)),Tt(en,1),st(en),en},Pn.round=function(en){var Cn=Pn(en),ri=Pn.ceil(en);return en-Cn0))return di;do di.push($i=new Date(+en)),Tt(en,ri),st(en);while($i=Cn)for(;st(Cn),!en(Cn);)Cn.setTime(Cn-1)},function(Cn,ri){if(Cn>=Cn)if(ri<0)for(;++ri<=0;)for(;Tt(Cn,-1),!en(Cn););else for(;--ri>=0;)for(;Tt(Cn,1),!en(Cn););})},Sr&&(Pn.count=function(en,Cn){return n.setTime(+en),o.setTime(+Cn),st(n),st(o),Math.floor(Sr(n,o))},Pn.every=function(en){return en=Math.floor(en),!isFinite(en)||!(en>0)?null:en>1?Pn.filter(kr?function(Cn){return kr(Cn)%en===0}:function(Cn){return Pn.count(0,Cn)%en===0}):Pn}),Pn}var s=1e3,h=6e4,u=36e5,A=864e5,S=6048e5;function l(st){return r(function(Tt){Tt.setUTCDate(Tt.getUTCDate()-(Tt.getUTCDay()+7-st)%7),Tt.setUTCHours(0,0,0,0)},function(Tt,Sr){Tt.setUTCDate(Tt.getUTCDate()+Sr*7)},function(Tt,Sr){return(Sr-Tt)/S})}var C=l(0),b=l(1),m=l(2),D=l(3),f=l(4),p=l(5),c=l(6),d=C.range,g=b.range,w=m.range,x=D.range,T=f.range,O=p.range,F=c.range,K=r(function(st){st.setUTCHours(0,0,0,0)},function(st,Tt){st.setUTCDate(st.getUTCDate()+Tt)},function(st,Tt){return(Tt-st)/A},function(st){return st.getUTCDate()-1});const ee=K;var he=K.range;function pe(st){return r(function(Tt){Tt.setDate(Tt.getDate()-(Tt.getDay()+7-st)%7),Tt.setHours(0,0,0,0)},function(Tt,Sr){Tt.setDate(Tt.getDate()+Sr*7)},function(Tt,Sr){return(Sr-Tt-(Sr.getTimezoneOffset()-Tt.getTimezoneOffset())*h)/S})}var ie=pe(0),we=pe(1),Ce=pe(2),Ne=pe(3),B=pe(4),k=pe(5),W=pe(6),q=ie.range,Q=we.range,re=Ce.range,te=Ne.range,ge=B.range,Fe=k.range,Qe=W.range,Ke=r(function(st){st.setHours(0,0,0,0)},function(st,Tt){st.setDate(st.getDate()+Tt)},function(st,Tt){return(Tt-st-(Tt.getTimezoneOffset()-st.getTimezoneOffset())*h)/A},function(st){return st.getDate()-1});const Xe=Ke;var dt=Ke.range,it=r(function(st){st.setMonth(0,1),st.setHours(0,0,0,0)},function(st,Tt){st.setFullYear(st.getFullYear()+Tt)},function(st,Tt){return Tt.getFullYear()-st.getFullYear()},function(st){return st.getFullYear()});it.every=function(st){return!isFinite(st=Math.floor(st))||!(st>0)?null:r(function(Tt){Tt.setFullYear(Math.floor(Tt.getFullYear()/st)*st),Tt.setMonth(0,1),Tt.setHours(0,0,0,0)},function(Tt,Sr){Tt.setFullYear(Tt.getFullYear()+Sr*st)})};const Ie=it;var ue=it.range,Le=r(function(st){st.setUTCMonth(0,1),st.setUTCHours(0,0,0,0)},function(st,Tt){st.setUTCFullYear(st.getUTCFullYear()+Tt)},function(st,Tt){return Tt.getUTCFullYear()-st.getUTCFullYear()},function(st){return st.getUTCFullYear()});Le.every=function(st){return!isFinite(st=Math.floor(st))||!(st>0)?null:r(function(Tt){Tt.setUTCFullYear(Math.floor(Tt.getUTCFullYear()/st)*st),Tt.setUTCMonth(0,1),Tt.setUTCHours(0,0,0,0)},function(Tt,Sr){Tt.setUTCFullYear(Tt.getUTCFullYear()+Sr*st)})};const je=Le;var J=Le.range;function $(st){if(0<=st.y&&st.y<100){var Tt=new Date(-1,st.m,st.d,st.H,st.M,st.S,st.L);return Tt.setFullYear(st.y),Tt}return new Date(st.y,st.m,st.d,st.H,st.M,st.S,st.L)}function G(st){if(0<=st.y&&st.y<100){var Tt=new Date(Date.UTC(-1,st.m,st.d,st.H,st.M,st.S,st.L));return Tt.setUTCFullYear(st.y),Tt}return new Date(Date.UTC(st.y,st.m,st.d,st.H,st.M,st.S,st.L))}function U(st,Tt,Sr){return{y:st,m:Tt,d:Sr,H:0,M:0,S:0,L:0}}function L(st){var Tt=st.dateTime,Sr=st.date,kr=st.time,Pn=st.periods,en=st.days,Cn=st.shortDays,ri=st.months,di=st.shortMonths,$i=Ye(Pn),Xi=ct(Pn),aa=Ye(en),oa=ct(en),na=Ye(Cn),Da=ct(Cn),ha=Ye(ri),gi=ct(ri),Qi=Ye(di),Sn=ct(di),qt={a:Po,A:qi,b:wo,B:Oa,c:null,d:mn,e:mn,f:St,g:yt,G:Jt,H:An,I:ln,j:Jr,L:Zr,m:Ot,M:Pe,p:Io,q:po,Q:Mi,s:ci,S:Ee,u:Ue,U:Ft,V:ht,w:br,W:pr,x:null,X:null,y:Wt,Y:Mt,Z:Se,"%":Li},Hr={a:ea,A:wa,b:xa,B:Fa,c:null,d:qe,e:qe,f:gr,g:Qn,G:pi,H:er,I:rr,j:At,L:ar,m:dr,M:Ur,p:yi,q:Ba,Q:Mi,s:ci,S:Pr,u:Xr,U:un,V:Bn,w:Yn,W:ni,x:null,X:null,y:li,Y:ui,Z:Dn,"%":Li},pn={a:Aa,A:ca,b:Ki,B:io,c:ho,d:Ht,e:Ht,f:Or,g:Pt,G:vt,H:ir,I:ir,j:wr,L:mr,m:It,M:tr,p:In,q:Be,Q:Gr,s:Ir,S:Fr,u:Ze,U:Re,V:lt,w:We,W:pt,x:Wo,X:Ya,y:Pt,Y:vt,Z:Ge,"%":Nr};qt.x=Vn(Sr,qt),qt.X=Vn(kr,qt),qt.c=Vn(Tt,qt),Hr.x=Vn(Sr,Hr),Hr.X=Vn(kr,Hr),Hr.c=Vn(Tt,Hr);function Vn(yn,zn){return function(Gn){var Wr=[],Zi=-1,hi=0,oi=yn.length,ii,sa,bi;for(Gn instanceof Date||(Gn=new Date(+Gn));++Zi53)return null;"w"in Wr||(Wr.w=1),"Z"in Wr?(hi=G(U(Wr.y,0,1)),oi=hi.getUTCDay(),hi=oi>4||oi===0?b.ceil(hi):b(hi),hi=ee.offset(hi,(Wr.V-1)*7),Wr.y=hi.getUTCFullYear(),Wr.m=hi.getUTCMonth(),Wr.d=hi.getUTCDate()+(Wr.w+6)%7):(hi=$(U(Wr.y,0,1)),oi=hi.getDay(),hi=oi>4||oi===0?we.ceil(hi):we(hi),hi=Xe.offset(hi,(Wr.V-1)*7),Wr.y=hi.getFullYear(),Wr.m=hi.getMonth(),Wr.d=hi.getDate()+(Wr.w+6)%7)}else("W"in Wr||"U"in Wr)&&("w"in Wr||(Wr.w="u"in Wr?Wr.u%7:"W"in Wr?1:0),oi="Z"in Wr?G(U(Wr.y,0,1)).getUTCDay():$(U(Wr.y,0,1)).getDay(),Wr.m=0,Wr.d="W"in Wr?(Wr.w+6)%7+Wr.W*7-(oi+5)%7:Wr.w+Wr.U*7-(oi+6)%7);return"Z"in Wr?(Wr.H+=Wr.Z/100|0,Wr.M+=Wr.Z%100,G(Wr)):$(Wr)}}function Mn(yn,zn,Gn,Wr){for(var Zi=0,hi=zn.length,oi=Gn.length,ii,sa;Zi=oi)return-1;if(ii=zn.charCodeAt(Zi++),ii===37){if(ii=zn.charAt(Zi++),sa=pn[ii in j?zn.charAt(Zi++):ii],!sa||(Wr=sa(yn,Gn,Wr))<0)return-1}else if(ii!=Gn.charCodeAt(Wr++))return-1}return Wr}function In(yn,zn,Gn){var Wr=$i.exec(zn.slice(Gn));return Wr?(yn.p=Xi[Wr[0].toLowerCase()],Gn+Wr[0].length):-1}function Aa(yn,zn,Gn){var Wr=na.exec(zn.slice(Gn));return Wr?(yn.w=Da[Wr[0].toLowerCase()],Gn+Wr[0].length):-1}function ca(yn,zn,Gn){var Wr=aa.exec(zn.slice(Gn));return Wr?(yn.w=oa[Wr[0].toLowerCase()],Gn+Wr[0].length):-1}function Ki(yn,zn,Gn){var Wr=Qi.exec(zn.slice(Gn));return Wr?(yn.m=Sn[Wr[0].toLowerCase()],Gn+Wr[0].length):-1}function io(yn,zn,Gn){var Wr=ha.exec(zn.slice(Gn));return Wr?(yn.m=gi[Wr[0].toLowerCase()],Gn+Wr[0].length):-1}function ho(yn,zn,Gn){return Mn(yn,Tt,zn,Gn)}function Wo(yn,zn,Gn){return Mn(yn,Sr,zn,Gn)}function Ya(yn,zn,Gn){return Mn(yn,kr,zn,Gn)}function Po(yn){return Cn[yn.getDay()]}function qi(yn){return en[yn.getDay()]}function wo(yn){return di[yn.getMonth()]}function Oa(yn){return ri[yn.getMonth()]}function Io(yn){return Pn[+(yn.getHours()>=12)]}function po(yn){return 1+~~(yn.getMonth()/3)}function ea(yn){return Cn[yn.getUTCDay()]}function wa(yn){return en[yn.getUTCDay()]}function xa(yn){return di[yn.getUTCMonth()]}function Fa(yn){return ri[yn.getUTCMonth()]}function yi(yn){return Pn[+(yn.getUTCHours()>=12)]}function Ba(yn){return 1+~~(yn.getUTCMonth()/3)}return{format:function(yn){var zn=Vn(yn+="",qt);return zn.toString=function(){return yn},zn},parse:function(yn){var zn=_i(yn+="",!1);return zn.toString=function(){return yn},zn},utcFormat:function(yn){var zn=Vn(yn+="",Hr);return zn.toString=function(){return yn},zn},utcParse:function(yn){var zn=_i(yn+="",!0);return zn.toString=function(){return yn},zn}}}var j={"-":"",_:" ",0:"0"},le=/^\s*\d+/,Te=/^%/,Je=/[\\^$*+?|[\]().{}]/g;function ot(st,Tt,Sr){var kr=st<0?"-":"",Pn=(kr?-st:st)+"",en=Pn.length;return kr+(en68?1900:2e3),Sr+kr[0].length):-1}function Ge(st,Tt,Sr){var kr=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(Tt.slice(Sr,Sr+6));return kr?(st.Z=kr[1]?0:-(kr[2]+(kr[3]||"00")),Sr+kr[0].length):-1}function Be(st,Tt,Sr){var kr=le.exec(Tt.slice(Sr,Sr+1));return kr?(st.q=kr[0]*3-3,Sr+kr[0].length):-1}function It(st,Tt,Sr){var kr=le.exec(Tt.slice(Sr,Sr+2));return kr?(st.m=kr[0]-1,Sr+kr[0].length):-1}function Ht(st,Tt,Sr){var kr=le.exec(Tt.slice(Sr,Sr+2));return kr?(st.d=+kr[0],Sr+kr[0].length):-1}function wr(st,Tt,Sr){var kr=le.exec(Tt.slice(Sr,Sr+3));return kr?(st.m=0,st.d=+kr[0],Sr+kr[0].length):-1}function ir(st,Tt,Sr){var kr=le.exec(Tt.slice(Sr,Sr+2));return kr?(st.H=+kr[0],Sr+kr[0].length):-1}function tr(st,Tt,Sr){var kr=le.exec(Tt.slice(Sr,Sr+2));return kr?(st.M=+kr[0],Sr+kr[0].length):-1}function Fr(st,Tt,Sr){var kr=le.exec(Tt.slice(Sr,Sr+2));return kr?(st.S=+kr[0],Sr+kr[0].length):-1}function mr(st,Tt,Sr){var kr=le.exec(Tt.slice(Sr,Sr+3));return kr?(st.L=+kr[0],Sr+kr[0].length):-1}function Or(st,Tt,Sr){var kr=le.exec(Tt.slice(Sr,Sr+6));return kr?(st.L=Math.floor(kr[0]/1e3),Sr+kr[0].length):-1}function Nr(st,Tt,Sr){var kr=Te.exec(Tt.slice(Sr,Sr+1));return kr?Sr+kr[0].length:-1}function Gr(st,Tt,Sr){var kr=le.exec(Tt.slice(Sr));return kr?(st.Q=+kr[0],Sr+kr[0].length):-1}function Ir(st,Tt,Sr){var kr=le.exec(Tt.slice(Sr));return kr?(st.s=+kr[0],Sr+kr[0].length):-1}function mn(st,Tt){return ot(st.getDate(),Tt,2)}function An(st,Tt){return ot(st.getHours(),Tt,2)}function ln(st,Tt){return ot(st.getHours()%12||12,Tt,2)}function Jr(st,Tt){return ot(1+Xe.count(Ie(st),st),Tt,3)}function Zr(st,Tt){return ot(st.getMilliseconds(),Tt,3)}function St(st,Tt){return Zr(st,Tt)+"000"}function Ot(st,Tt){return ot(st.getMonth()+1,Tt,2)}function Pe(st,Tt){return ot(st.getMinutes(),Tt,2)}function Ee(st,Tt){return ot(st.getSeconds(),Tt,2)}function Ue(st){var Tt=st.getDay();return Tt===0?7:Tt}function Ft(st,Tt){return ot(ie.count(Ie(st)-1,st),Tt,2)}function Rt(st){var Tt=st.getDay();return Tt>=4||Tt===0?B(st):B.ceil(st)}function ht(st,Tt){return st=Rt(st),ot(B.count(Ie(st),st)+(Ie(st).getDay()===4),Tt,2)}function br(st){return st.getDay()}function pr(st,Tt){return ot(we.count(Ie(st)-1,st),Tt,2)}function Wt(st,Tt){return ot(st.getFullYear()%100,Tt,2)}function yt(st,Tt){return st=Rt(st),ot(st.getFullYear()%100,Tt,2)}function Mt(st,Tt){return ot(st.getFullYear()%1e4,Tt,4)}function Jt(st,Tt){var Sr=st.getDay();return st=Sr>=4||Sr===0?B(st):B.ceil(st),ot(st.getFullYear()%1e4,Tt,4)}function Se(st){var Tt=st.getTimezoneOffset();return(Tt>0?"-":(Tt*=-1,"+"))+ot(Tt/60|0,"0",2)+ot(Tt%60,"0",2)}function qe(st,Tt){return ot(st.getUTCDate(),Tt,2)}function er(st,Tt){return ot(st.getUTCHours(),Tt,2)}function rr(st,Tt){return ot(st.getUTCHours()%12||12,Tt,2)}function At(st,Tt){return ot(1+ee.count(je(st),st),Tt,3)}function ar(st,Tt){return ot(st.getUTCMilliseconds(),Tt,3)}function gr(st,Tt){return ar(st,Tt)+"000"}function dr(st,Tt){return ot(st.getUTCMonth()+1,Tt,2)}function Ur(st,Tt){return ot(st.getUTCMinutes(),Tt,2)}function Pr(st,Tt){return ot(st.getUTCSeconds(),Tt,2)}function Xr(st){var Tt=st.getUTCDay();return Tt===0?7:Tt}function un(st,Tt){return ot(C.count(je(st)-1,st),Tt,2)}function qr(st){var Tt=st.getUTCDay();return Tt>=4||Tt===0?f(st):f.ceil(st)}function Bn(st,Tt){return st=qr(st),ot(f.count(je(st),st)+(je(st).getUTCDay()===4),Tt,2)}function Yn(st){return st.getUTCDay()}function ni(st,Tt){return ot(b.count(je(st)-1,st),Tt,2)}function li(st,Tt){return ot(st.getUTCFullYear()%100,Tt,2)}function Qn(st,Tt){return st=qr(st),ot(st.getUTCFullYear()%100,Tt,2)}function ui(st,Tt){return ot(st.getUTCFullYear()%1e4,Tt,4)}function pi(st,Tt){var Sr=st.getUTCDay();return st=Sr>=4||Sr===0?f(st):f.ceil(st),ot(st.getUTCFullYear()%1e4,Tt,4)}function Dn(){return"+0000"}function Li(){return"%"}function Mi(st){return+st}function ci(st){return Math.floor(+st/1e3)}var fi,ai,Ui,Ei,Hi;$n({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function $n(st){return fi=L(st),ai=fi.format,Ui=fi.parse,Ei=fi.utcFormat,Hi=fi.utcParse,fi}},R8P0WRGn:function(I){/*! @license DOMPurify 3.0.9 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.9/LICENSE */(function(v,t){I.exports=t()})(this,function(){"use strict";const{entries:v,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:s,seal:h,create:u}=Object,{apply:A,construct:S}=typeof Reflect<"u"&&Reflect;s||(s=function(U){return U}),h||(h=function(U){return U}),A||(A=function(U,L,j){return U.apply(L,j)}),S||(S=function(U,L){return new U(...L)});const l=T(Array.prototype.forEach),C=T(Array.prototype.pop),b=T(Array.prototype.push),m=T(String.prototype.toLowerCase),D=T(String.prototype.toString),f=T(String.prototype.match),p=T(String.prototype.replace),c=T(String.prototype.indexOf),d=T(String.prototype.trim),g=T(Object.prototype.hasOwnProperty),w=T(RegExp.prototype.test),x=O(TypeError);function T(G){return function(U){for(var L=arguments.length,j=new Array(L>1?L-1:0),le=1;le2&&arguments[2]!==void 0?arguments[2]:m;t&&t(G,null);let j=U.length;for(;j--;){let le=U[j];if(typeof le=="string"){const Te=L(le);Te!==le&&(n(U)||(U[j]=Te),le=Te)}G[le]=!0}return G}function K(G){for(let U=0;U/gm),Fe=h(/\${[\w\W]*}/gm),Qe=h(/^data-[\-\w.\u00B7-\uFFFF]/),Ke=h(/^aria-[\-\w]+$/),Xe=h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),dt=h(/^(?:\w+script|data):/i),it=h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ie=h(/^html$/i);var ue=Object.freeze({__proto__:null,MUSTACHE_EXPR:te,ERB_EXPR:ge,TMPLIT_EXPR:Fe,DATA_ATTR:Qe,ARIA_ATTR:Ke,IS_ALLOWED_URI:Xe,IS_SCRIPT_OR_DATA:dt,ATTR_WHITESPACE:it,DOCTYPE_NAME:Ie});const Le=function(){return typeof window>"u"?null:window},je=function(U,L){if(typeof U!="object"||typeof U.createPolicy!="function")return null;let j=null;const le="data-tt-policy-suffix";L&&L.hasAttribute(le)&&(j=L.getAttribute(le));const Te="dompurify"+(j?"#"+j:"");try{return U.createPolicy(Te,{createHTML(Je){return Je},createScriptURL(Je){return Je}})}catch{return console.warn("TrustedTypes policy "+Te+" could not be created."),null}};function J(){let G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Le();const U=Sn=>J(Sn);if(U.version="3.0.9",U.removed=[],!G||!G.document||G.document.nodeType!==9)return U.isSupported=!1,U;let{document:L}=G;const j=L,le=j.currentScript,{DocumentFragment:Te,HTMLTemplateElement:Je,Node:ot,Element:Gt,NodeFilter:Ye,NamedNodeMap:ct=G.NamedNodeMap||G.MozNamedAttrMap,HTMLFormElement:We,DOMParser:Ze,trustedTypes:Re}=G,lt=Gt.prototype,pt=he(lt,"cloneNode"),vt=he(lt,"nextSibling"),Pt=he(lt,"childNodes"),Ge=he(lt,"parentNode");if(typeof Je=="function"){const Sn=L.createElement("template");Sn.content&&Sn.content.ownerDocument&&(L=Sn.content.ownerDocument)}let Be,It="";const{implementation:Ht,createNodeIterator:wr,createDocumentFragment:ir,getElementsByTagName:tr}=L,{importNode:Fr}=j;let mr={};U.isSupported=typeof v=="function"&&typeof Ge=="function"&&Ht&&Ht.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Or,ERB_EXPR:Nr,TMPLIT_EXPR:Gr,DATA_ATTR:Ir,ARIA_ATTR:mn,IS_SCRIPT_OR_DATA:An,ATTR_WHITESPACE:ln}=ue;let{IS_ALLOWED_URI:Jr}=ue,Zr=null;const St=F({},[...pe,...ie,...we,...Ne,...k]);let Ot=null;const Pe=F({},[...W,...q,...Q,...re]);let Ee=Object.seal(u(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ue=null,Ft=null,Rt=!0,ht=!0,br=!1,pr=!0,Wt=!1,yt=!1,Mt=!1,Jt=!1,Se=!1,qe=!1,er=!1,rr=!0,At=!1;const ar="user-content-";let gr=!0,dr=!1,Ur={},Pr=null;const Xr=F({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let un=null;const qr=F({},["audio","video","img","source","image","track"]);let Bn=null;const Yn=F({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ni="http://www.w3.org/1998/Math/MathML",li="http://www.w3.org/2000/svg",Qn="http://www.w3.org/1999/xhtml";let ui=Qn,pi=!1,Dn=null;const Li=F({},[ni,li,Qn],D);let Mi=null;const ci=["application/xhtml+xml","text/html"],fi="text/html";let ai=null,Ui=null;const Ei=L.createElement("form"),Hi=function(qt){return qt instanceof RegExp||qt instanceof Function},$n=function(){let qt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Ui&&Ui===qt)){if((!qt||typeof qt!="object")&&(qt={}),qt=ee(qt),Mi=ci.indexOf(qt.PARSER_MEDIA_TYPE)===-1?fi:qt.PARSER_MEDIA_TYPE,ai=Mi==="application/xhtml+xml"?D:m,Zr=g(qt,"ALLOWED_TAGS")?F({},qt.ALLOWED_TAGS,ai):St,Ot=g(qt,"ALLOWED_ATTR")?F({},qt.ALLOWED_ATTR,ai):Pe,Dn=g(qt,"ALLOWED_NAMESPACES")?F({},qt.ALLOWED_NAMESPACES,D):Li,Bn=g(qt,"ADD_URI_SAFE_ATTR")?F(ee(Yn),qt.ADD_URI_SAFE_ATTR,ai):Yn,un=g(qt,"ADD_DATA_URI_TAGS")?F(ee(qr),qt.ADD_DATA_URI_TAGS,ai):qr,Pr=g(qt,"FORBID_CONTENTS")?F({},qt.FORBID_CONTENTS,ai):Xr,Ue=g(qt,"FORBID_TAGS")?F({},qt.FORBID_TAGS,ai):{},Ft=g(qt,"FORBID_ATTR")?F({},qt.FORBID_ATTR,ai):{},Ur=g(qt,"USE_PROFILES")?qt.USE_PROFILES:!1,Rt=qt.ALLOW_ARIA_ATTR!==!1,ht=qt.ALLOW_DATA_ATTR!==!1,br=qt.ALLOW_UNKNOWN_PROTOCOLS||!1,pr=qt.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Wt=qt.SAFE_FOR_TEMPLATES||!1,yt=qt.WHOLE_DOCUMENT||!1,Se=qt.RETURN_DOM||!1,qe=qt.RETURN_DOM_FRAGMENT||!1,er=qt.RETURN_TRUSTED_TYPE||!1,Jt=qt.FORCE_BODY||!1,rr=qt.SANITIZE_DOM!==!1,At=qt.SANITIZE_NAMED_PROPS||!1,gr=qt.KEEP_CONTENT!==!1,dr=qt.IN_PLACE||!1,Jr=qt.ALLOWED_URI_REGEXP||Xe,ui=qt.NAMESPACE||Qn,Ee=qt.CUSTOM_ELEMENT_HANDLING||{},qt.CUSTOM_ELEMENT_HANDLING&&Hi(qt.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ee.tagNameCheck=qt.CUSTOM_ELEMENT_HANDLING.tagNameCheck),qt.CUSTOM_ELEMENT_HANDLING&&Hi(qt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ee.attributeNameCheck=qt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),qt.CUSTOM_ELEMENT_HANDLING&&typeof qt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Ee.allowCustomizedBuiltInElements=qt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Wt&&(ht=!1),qe&&(Se=!0),Ur&&(Zr=F({},k),Ot=[],Ur.html===!0&&(F(Zr,pe),F(Ot,W)),Ur.svg===!0&&(F(Zr,ie),F(Ot,q),F(Ot,re)),Ur.svgFilters===!0&&(F(Zr,we),F(Ot,q),F(Ot,re)),Ur.mathMl===!0&&(F(Zr,Ne),F(Ot,Q),F(Ot,re))),qt.ADD_TAGS&&(Zr===St&&(Zr=ee(Zr)),F(Zr,qt.ADD_TAGS,ai)),qt.ADD_ATTR&&(Ot===Pe&&(Ot=ee(Ot)),F(Ot,qt.ADD_ATTR,ai)),qt.ADD_URI_SAFE_ATTR&&F(Bn,qt.ADD_URI_SAFE_ATTR,ai),qt.FORBID_CONTENTS&&(Pr===Xr&&(Pr=ee(Pr)),F(Pr,qt.FORBID_CONTENTS,ai)),gr&&(Zr["#text"]=!0),yt&&F(Zr,["html","head","body"]),Zr.table&&(F(Zr,["tbody"]),delete Ue.tbody),qt.TRUSTED_TYPES_POLICY){if(typeof qt.TRUSTED_TYPES_POLICY.createHTML!="function")throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof qt.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw x('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Be=qt.TRUSTED_TYPES_POLICY,It=Be.createHTML("")}else Be===void 0&&(Be=je(Re,le)),Be!==null&&typeof It=="string"&&(It=Be.createHTML(""));s&&s(qt),Ui=qt}},st=F({},["mi","mo","mn","ms","mtext"]),Tt=F({},["foreignobject","desc","title","annotation-xml"]),Sr=F({},["title","style","font","a","script"]),kr=F({},[...ie,...we,...Ce]),Pn=F({},[...Ne,...B]),en=function(qt){let Hr=Ge(qt);(!Hr||!Hr.tagName)&&(Hr={namespaceURI:ui,tagName:"template"});const pn=m(qt.tagName),Vn=m(Hr.tagName);return Dn[qt.namespaceURI]?qt.namespaceURI===li?Hr.namespaceURI===Qn?pn==="svg":Hr.namespaceURI===ni?pn==="svg"&&(Vn==="annotation-xml"||st[Vn]):!!kr[pn]:qt.namespaceURI===ni?Hr.namespaceURI===Qn?pn==="math":Hr.namespaceURI===li?pn==="math"&&Tt[Vn]:!!Pn[pn]:qt.namespaceURI===Qn?Hr.namespaceURI===li&&!Tt[Vn]||Hr.namespaceURI===ni&&!st[Vn]?!1:!Pn[pn]&&(Sr[pn]||!kr[pn]):!!(Mi==="application/xhtml+xml"&&Dn[qt.namespaceURI]):!1},Cn=function(qt){b(U.removed,{element:qt});try{qt.parentNode.removeChild(qt)}catch{qt.remove()}},ri=function(qt,Hr){try{b(U.removed,{attribute:Hr.getAttributeNode(qt),from:Hr})}catch{b(U.removed,{attribute:null,from:Hr})}if(Hr.removeAttribute(qt),qt==="is"&&!Ot[qt])if(Se||qe)try{Cn(Hr)}catch{}else try{Hr.setAttribute(qt,"")}catch{}},di=function(qt){let Hr=null,pn=null;if(Jt)qt=""+qt;else{const Mn=f(qt,/^[\r\n\t ]+/);pn=Mn&&Mn[0]}Mi==="application/xhtml+xml"&&ui===Qn&&(qt=''+qt+"");const Vn=Be?Be.createHTML(qt):qt;if(ui===Qn)try{Hr=new Ze().parseFromString(Vn,Mi)}catch{}if(!Hr||!Hr.documentElement){Hr=Ht.createDocument(ui,"template",null);try{Hr.documentElement.innerHTML=pi?It:Vn}catch{}}const _i=Hr.body||Hr.documentElement;return qt&&pn&&_i.insertBefore(L.createTextNode(pn),_i.childNodes[0]||null),ui===Qn?tr.call(Hr,yt?"html":"body")[0]:yt?Hr.documentElement:_i},$i=function(qt){return wr.call(qt.ownerDocument||qt,qt,Ye.SHOW_ELEMENT|Ye.SHOW_COMMENT|Ye.SHOW_TEXT,null)},Xi=function(qt){return qt instanceof We&&(typeof qt.nodeName!="string"||typeof qt.textContent!="string"||typeof qt.removeChild!="function"||!(qt.attributes instanceof ct)||typeof qt.removeAttribute!="function"||typeof qt.setAttribute!="function"||typeof qt.namespaceURI!="string"||typeof qt.insertBefore!="function"||typeof qt.hasChildNodes!="function")},aa=function(qt){return typeof ot=="function"&&qt instanceof ot},oa=function(qt,Hr,pn){mr[qt]&&l(mr[qt],Vn=>{Vn.call(U,Hr,pn,Ui)})},na=function(qt){let Hr=null;if(oa("beforeSanitizeElements",qt,null),Xi(qt))return Cn(qt),!0;const pn=ai(qt.nodeName);if(oa("uponSanitizeElement",qt,{tagName:pn,allowedTags:Zr}),qt.hasChildNodes()&&!aa(qt.firstElementChild)&&w(/<[/\w]/g,qt.innerHTML)&&w(/<[/\w]/g,qt.textContent))return Cn(qt),!0;if(!Zr[pn]||Ue[pn]){if(!Ue[pn]&&ha(pn)&&(Ee.tagNameCheck instanceof RegExp&&w(Ee.tagNameCheck,pn)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(pn)))return!1;if(gr&&!Pr[pn]){const Vn=Ge(qt)||qt.parentNode,_i=Pt(qt)||qt.childNodes;if(_i&&Vn){const Mn=_i.length;for(let In=Mn-1;In>=0;--In)Vn.insertBefore(pt(_i[In],!0),vt(qt))}}return Cn(qt),!0}return qt instanceof Gt&&!en(qt)||(pn==="noscript"||pn==="noembed"||pn==="noframes")&&w(/<\/no(script|embed|frames)/i,qt.innerHTML)?(Cn(qt),!0):(Wt&&qt.nodeType===3&&(Hr=qt.textContent,l([Or,Nr,Gr],Vn=>{Hr=p(Hr,Vn," ")}),qt.textContent!==Hr&&(b(U.removed,{element:qt.cloneNode()}),qt.textContent=Hr)),oa("afterSanitizeElements",qt,null),!1)},Da=function(qt,Hr,pn){if(rr&&(Hr==="id"||Hr==="name")&&(pn in L||pn in Ei))return!1;if(!(ht&&!Ft[Hr]&&w(Ir,Hr))){if(!(Rt&&w(mn,Hr))){if(!Ot[Hr]||Ft[Hr]){if(!(ha(qt)&&(Ee.tagNameCheck instanceof RegExp&&w(Ee.tagNameCheck,qt)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(qt))&&(Ee.attributeNameCheck instanceof RegExp&&w(Ee.attributeNameCheck,Hr)||Ee.attributeNameCheck instanceof Function&&Ee.attributeNameCheck(Hr))||Hr==="is"&&Ee.allowCustomizedBuiltInElements&&(Ee.tagNameCheck instanceof RegExp&&w(Ee.tagNameCheck,pn)||Ee.tagNameCheck instanceof Function&&Ee.tagNameCheck(pn))))return!1}else if(!Bn[Hr]){if(!w(Jr,p(pn,ln,""))){if(!((Hr==="src"||Hr==="xlink:href"||Hr==="href")&&qt!=="script"&&c(pn,"data:")===0&&un[qt])){if(!(br&&!w(An,p(pn,ln,"")))){if(pn)return!1}}}}}}return!0},ha=function(qt){return qt!=="annotation-xml"&&qt.indexOf("-")>0},gi=function(qt){oa("beforeSanitizeAttributes",qt,null);const{attributes:Hr}=qt;if(!Hr)return;const pn={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ot};let Vn=Hr.length;for(;Vn--;){const _i=Hr[Vn],{name:Mn,namespaceURI:In,value:Aa}=_i,ca=ai(Mn);let Ki=Mn==="value"?Aa:d(Aa);if(pn.attrName=ca,pn.attrValue=Ki,pn.keepAttr=!0,pn.forceKeepAttr=void 0,oa("uponSanitizeAttribute",qt,pn),Ki=pn.attrValue,pn.forceKeepAttr||(ri(Mn,qt),!pn.keepAttr))continue;if(!pr&&w(/\/>/i,Ki)){ri(Mn,qt);continue}Wt&&l([Or,Nr,Gr],ho=>{Ki=p(Ki,ho," ")});const io=ai(qt.nodeName);if(Da(io,ca,Ki)){if(At&&(ca==="id"||ca==="name")&&(ri(Mn,qt),Ki=ar+Ki),Be&&typeof Re=="object"&&typeof Re.getAttributeType=="function"&&!In)switch(Re.getAttributeType(io,ca)){case"TrustedHTML":{Ki=Be.createHTML(Ki);break}case"TrustedScriptURL":{Ki=Be.createScriptURL(Ki);break}}try{In?qt.setAttributeNS(In,Mn,Ki):qt.setAttribute(Mn,Ki),C(U.removed)}catch{}}}oa("afterSanitizeAttributes",qt,null)},Qi=function Sn(qt){let Hr=null;const pn=$i(qt);for(oa("beforeSanitizeShadowDOM",qt,null);Hr=pn.nextNode();)oa("uponSanitizeShadowNode",Hr,null),!na(Hr)&&(Hr.content instanceof Te&&Sn(Hr.content),gi(Hr));oa("afterSanitizeShadowDOM",qt,null)};return U.sanitize=function(Sn){let qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Hr=null,pn=null,Vn=null,_i=null;if(pi=!Sn,pi&&(Sn=""),typeof Sn!="string"&&!aa(Sn))if(typeof Sn.toString=="function"){if(Sn=Sn.toString(),typeof Sn!="string")throw x("dirty is not a string, aborting")}else throw x("toString is not a function");if(!U.isSupported)return Sn;if(Mt||$n(qt),U.removed=[],typeof Sn=="string"&&(dr=!1),dr){if(Sn.nodeName){const Aa=ai(Sn.nodeName);if(!Zr[Aa]||Ue[Aa])throw x("root node is forbidden and cannot be sanitized in-place")}}else if(Sn instanceof ot)Hr=di(""),pn=Hr.ownerDocument.importNode(Sn,!0),pn.nodeType===1&&pn.nodeName==="BODY"||pn.nodeName==="HTML"?Hr=pn:Hr.appendChild(pn);else{if(!Se&&!Wt&&!yt&&Sn.indexOf("<")===-1)return Be&&er?Be.createHTML(Sn):Sn;if(Hr=di(Sn),!Hr)return Se?null:er?It:""}Hr&&Jt&&Cn(Hr.firstChild);const Mn=$i(dr?Sn:Hr);for(;Vn=Mn.nextNode();)na(Vn)||(Vn.content instanceof Te&&Qi(Vn.content),gi(Vn));if(dr)return Sn;if(Se){if(qe)for(_i=ir.call(Hr.ownerDocument);Hr.firstChild;)_i.appendChild(Hr.firstChild);else _i=Hr;return(Ot.shadowroot||Ot.shadowrootmode)&&(_i=Fr.call(j,_i,!0)),_i}let In=yt?Hr.outerHTML:Hr.innerHTML;return yt&&Zr["!doctype"]&&Hr.ownerDocument&&Hr.ownerDocument.doctype&&Hr.ownerDocument.doctype.name&&w(Ie,Hr.ownerDocument.doctype.name)&&(In="
`+In),Wt&&l([Or,Nr,Gr],Aa=>{In=p(In,Aa," ")}),Be&&er?Be.createHTML(In):In},U.setConfig=function(){let Sn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$n(Sn),Mt=!0},U.clearConfig=function(){Ui=null,Mt=!1},U.isValidAttribute=function(Sn,qt,Hr){Ui||$n({});const pn=ai(Sn),Vn=ai(qt);return Da(pn,Vn,Hr)},U.addHook=function(Sn,qt){typeof qt=="function"&&(mr[Sn]=mr[Sn]||[],b(mr[Sn],qt))},U.removeHook=function(Sn){if(mr[Sn])return C(mr[Sn])},U.removeHooks=function(Sn){mr[Sn]&&(mr[Sn]=[])},U.removeAllHooks=function(){mr={}},U}var $=J();return $})},"+tbjyxvx":I=>{"use strict";I.exports=TypeError},c6cF5anj:(I,v,t)=>{"use strict";t.d(v,{A:()=>ct});var n=[],o=function(){return n.some(function(We){return We.activeTargets.length>0})},r=function(){return n.some(function(We){return We.skippedTargets.length>0})},s="ResizeObserver loop completed with undelivered notifications.",h=function(){var We;typeof ErrorEvent=="function"?We=new ErrorEvent("error",{message:s}):(We=document.createEvent("Event"),We.initEvent("error",!1,!1),We.message=s),window.dispatchEvent(We)},u;(function(We){We.BORDER_BOX="border-box",We.CONTENT_BOX="content-box",We.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(u||(u={}));var A=function(We){return Object.freeze(We)},S=function(){function We(Ze,Re){this.inlineSize=Ze,this.blockSize=Re,A(this)}return We}(),l=function(){function We(Ze,Re,lt,pt){return this.x=Ze,this.y=Re,this.width=lt,this.height=pt,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,A(this)}return We.prototype.toJSON=function(){var Ze=this,Re=Ze.x,lt=Ze.y,pt=Ze.top,vt=Ze.right,Pt=Ze.bottom,Ge=Ze.left,Be=Ze.width,It=Ze.height;return{x:Re,y:lt,top:pt,right:vt,bottom:Pt,left:Ge,width:Be,height:It}},We.fromRect=function(Ze){return new We(Ze.x,Ze.y,Ze.width,Ze.height)},We}(),C=function(We){return We instanceof SVGElement&&"getBBox"in We},b=function(We){if(C(We)){var Ze=We.getBBox(),Re=Ze.width,lt=Ze.height;return!Re&&!lt}var pt=We,vt=pt.offsetWidth,Pt=pt.offsetHeight;return!(vt||Pt||We.getClientRects().length)},m=function(We){var Ze,Re;if(We instanceof Element)return!0;var lt=(Re=(Ze=We)===null||Ze===void 0?void 0:Ze.ownerDocument)===null||Re===void 0?void 0:Re.defaultView;return!!(lt&&We instanceof lt.Element)},D=function(We){switch(We.tagName){case"INPUT":if(We.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},f=typeof window<"u"?window:{},p=new WeakMap,c=/auto|scroll/,d=/^tb|vertical/,g=/msie|trident/i.test(f.navigator&&f.navigator.userAgent),w=function(We){return parseFloat(We||"0")},x=function(We,Ze,Re){return We===void 0&&(We=0),Ze===void 0&&(Ze=0),Re===void 0&&(Re=!1),new S((Re?Ze:We)||0,(Re?We:Ze)||0)},T=A({devicePixelContentBoxSize:x(),borderBoxSize:x(),contentBoxSize:x(),contentRect:new l(0,0,0,0)}),O=function(We,Ze){if(Ze===void 0&&(Ze=!1),p.has(We)&&!Ze)return p.get(We);if(b(We))return p.set(We,T),T;var Re=getComputedStyle(We),lt=C(We)&&We.ownerSVGElement&&We.getBBox(),pt=!g&&Re.boxSizing==="border-box",vt=d.test(Re.writingMode||""),Pt=!lt&&c.test(Re.overflowY||""),Ge=!lt&&c.test(Re.overflowX||""),Be=lt?0:w(Re.paddingTop),It=lt?0:w(Re.paddingRight),Ht=lt?0:w(Re.paddingBottom),wr=lt?0:w(Re.paddingLeft),ir=lt?0:w(Re.borderTopWidth),tr=lt?0:w(Re.borderRightWidth),Fr=lt?0:w(Re.borderBottomWidth),mr=lt?0:w(Re.borderLeftWidth),Or=wr+It,Nr=Be+Ht,Gr=mr+tr,Ir=ir+Fr,mn=Ge?We.offsetHeight-Ir-We.clientHeight:0,An=Pt?We.offsetWidth-Gr-We.clientWidth:0,ln=pt?Or+Gr:0,Jr=pt?Nr+Ir:0,Zr=lt?lt.width:w(Re.width)-ln-An,St=lt?lt.height:w(Re.height)-Jr-mn,Ot=Zr+Or+An+Gr,Pe=St+Nr+mn+Ir,Ee=A({devicePixelContentBoxSize:x(Math.round(Zr*devicePixelRatio),Math.round(St*devicePixelRatio),vt),borderBoxSize:x(Ot,Pe,vt),contentBoxSize:x(Zr,St,vt),contentRect:new l(wr,Be,Zr,St)});return p.set(We,Ee),Ee},F=function(We,Ze,Re){var lt=O(We,Re),pt=lt.borderBoxSize,vt=lt.contentBoxSize,Pt=lt.devicePixelContentBoxSize;switch(Ze){case u.DEVICE_PIXEL_CONTENT_BOX:return Pt;case u.BORDER_BOX:return pt;default:return vt}},K=function(){function We(Ze){var Re=O(Ze);this.target=Ze,this.contentRect=Re.contentRect,this.borderBoxSize=A([Re.borderBoxSize]),this.contentBoxSize=A([Re.contentBoxSize]),this.devicePixelContentBoxSize=A([Re.devicePixelContentBoxSize])}return We}(),ee=function(We){if(b(We))return 1/0;for(var Ze=0,Re=We.parentNode;Re;)Ze+=1,Re=Re.parentNode;return Ze},he=function(){var We=1/0,Ze=[];n.forEach(function(Pt){if(Pt.activeTargets.length!==0){var Ge=[];Pt.activeTargets.forEach(function(It){var Ht=new K(It.target),wr=ee(It.target);Ge.push(Ht),It.lastReportedSize=F(It.target,It.observedBox),wrWe?Re.activeTargets.push(pt):Re.skippedTargets.push(pt))})})},ie=function(){var We=0;for(pe(We);o();)We=he(),pe(We);return r()&&h(),We>0},we,Ce=[],Ne=function(){return Ce.splice(0).forEach(function(We){return We()})},B=function(We){if(!we){var Ze=0,Re=document.createTextNode(""),lt={characterData:!0};new MutationObserver(function(){return Ne()}).observe(Re,lt),we=function(){Re.textContent=""+(Ze?Ze--:Ze++)}}Ce.push(We),we()},k=function(We){B(function(){requestAnimationFrame(We)})},W=0,q=function(){return!!W},Q=250,re={attributes:!0,characterData:!0,childList:!0,subtree:!0},te=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],ge=function(We){return We===void 0&&(We=0),Date.now()+We},Fe=!1,Qe=function(){function We(){var Ze=this;this.stopped=!0,this.listener=function(){return Ze.schedule()}}return We.prototype.run=function(Ze){var Re=this;if(Ze===void 0&&(Ze=Q),!Fe){Fe=!0;var lt=ge(Ze);k(function(){var pt=!1;try{pt=ie()}finally{if(Fe=!1,Ze=lt-ge(),!q())return;pt?Re.run(1e3):Ze>0?Re.run(Ze):Re.start()}})}},We.prototype.schedule=function(){this.stop(),this.run()},We.prototype.observe=function(){var Ze=this,Re=function(){return Ze.observer&&Ze.observer.observe(document.body,re)};document.body?Re():f.addEventListener("DOMContentLoaded",Re)},We.prototype.start=function(){var Ze=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),te.forEach(function(Re){return f.addEventListener(Re,Ze.listener,!0)}))},We.prototype.stop=function(){var Ze=this;this.stopped||(this.observer&&this.observer.disconnect(),te.forEach(function(Re){return f.removeEventListener(Re,Ze.listener,!0)}),this.stopped=!0)},We}(),Ke=new Qe,Xe=function(We){!W&&We>0&&Ke.start(),W+=We,!W&&Ke.stop()},dt=function(We){return!C(We)&&!D(We)&&getComputedStyle(We).display==="inline"},it=function(){function We(Ze,Re){this.target=Ze,this.observedBox=Re||u.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return We.prototype.isActive=function(){var Ze=F(this.target,this.observedBox,!0);return dt(this.target)&&(this.lastReportedSize=Ze),this.lastReportedSize.inlineSize!==Ze.inlineSize||this.lastReportedSize.blockSize!==Ze.blockSize},We}(),Ie=function(){function We(Ze,Re){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=Ze,this.callback=Re}return We}(),ue=new WeakMap,Le=function(We,Ze){for(var Re=0;Re=0&&(vt&&n.splice(n.indexOf(lt),1),lt.observationTargets.splice(pt,1),Xe(-1))},We.disconnect=function(Ze){var Re=this,lt=ue.get(Ze);lt.observationTargets.slice().forEach(function(pt){return Re.unobserve(Ze,pt.target)}),lt.activeTargets.splice(0,lt.activeTargets.length)},We}(),J=function(){function We(Ze){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof Ze!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");je.connect(this,Ze)}return We.prototype.observe=function(Ze,Re){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!m(Ze))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");je.observe(this,Ze,Re)},We.prototype.unobserve=function(Ze){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!m(Ze))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");je.unobserve(this,Ze)},We.prototype.disconnect=function(){je.disconnect(this)},We.toString=function(){return"function ResizeObserver () { [polyfill code] }"},We}(),$=t("Z7aTuO5B");const U=$[typeof document<"u"&&document.createElement!==void 0?"useLayoutEffect":"useEffect"],j=We=>{const Ze=$.useRef(We);return $.useEffect(()=>{Ze.current=We}),Ze},le=typeof window<"u"&&"ResizeObserver"in window?window.ResizeObserver:J;function Te(){}function Je(We,Ze){const Re=Ye(),lt=j(Ze);return U(()=>{let pt=!1;const vt=We&&"current"in We?We.current:We;if(!vt)return Te;function Pt(Ge,Be){pt||lt.current(Ge,Be)}return Re.subscribe(vt,Pt),()=>{pt=!0,Re.unsubscribe(vt,Pt)}},[We,Re,lt]),Re.observer}function ot(){let We=!1,Ze=[];const Re=new Map,lt=new le((pt,vt)=>{Ze=Ze.concat(pt);function Pt(){const Ge=new Set;for(let Be=0;BeHt(Ze[Be],vt))}Ze=[],We=!1}We||window.requestAnimationFrame(Pt),We=!0});return{observer:lt,subscribe(pt,vt){var Pt;lt.observe(pt);const Ge=(Pt=Re.get(pt))!==null&&Pt!==void 0?Pt:[];Ge.push(vt),Re.set(pt,Ge)},unsubscribe(pt,vt){var Pt;const Ge=(Pt=Re.get(pt))!==null&&Pt!==void 0?Pt:[];if(Ge.length===1){lt.unobserve(pt),Re.delete(pt);return}const Be=Ge.indexOf(vt);Be!==-1&&Ge.splice(Be,1),Re.set(pt,Ge)}}}let Gt;const Ye=()=>Gt||(Gt=ot()),ct=Je},"2HTbuIYx":(I,v,t)=>{"use strict";t.d(v,{b:()=>o(),d:()=>s});var n=t("sFv1NS+e"),o=t.n(n);class r{static register(u){window.plugins||(window.plugins=[]),window.plugins.push(u)}static unregister(u){window.plugins&&window.plugins.forEach((A,S)=>{A.metadata&&u.metadata&&A.metadata.name===u.metadata.name&&window.plugins.splice(S,1)})}static get(){return window.plugins||(window.plugins=[]),window.plugins}static exports(u){return[].concat.apply([],this.get().map(A=>A.exports&&A.exports[u]?A.exports[u]:[]))}}const s=r},"sFv1NS+e":I=>{class v{constructor(n,o){this._metadata=n,this._exports=o}get metadata(){return this._metadata}get exports(){return this._exports}}I.exports=v},"0miigXwP":(I,v,t)=>{"use strict";t.d(v,{A:()=>b});const o={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let r;const s=new Uint8Array(16);function h(){if(!r&&(r=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!r))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(s)}const u=[];for(let m=0;m<256;++m)u.push((m+256).toString(16).slice(1));function A(m,D=0){return u[m[D+0]]+u[m[D+1]]+u[m[D+2]]+u[m[D+3]]+"-"+u[m[D+4]]+u[m[D+5]]+"-"+u[m[D+6]]+u[m[D+7]]+"-"+u[m[D+8]]+u[m[D+9]]+"-"+u[m[D+10]]+u[m[D+11]]+u[m[D+12]]+u[m[D+13]]+u[m[D+14]]+u[m[D+15]]}function S(m,D=0){const f=A(m,D);if(!validate(f))throw TypeError("Stringified UUID is invalid");return f}const l=null;function C(m,D,f){if(o.randomUUID&&!D&&!m)return o.randomUUID();m=m||{};const p=m.random||(m.rng||h)();if(p[6]=p[6]&15|64,p[8]=p[8]&63|128,D){f=f||0;for(let c=0;c<16;++c)D[f+c]=p[c];return D}return A(p)}const b=C},wUWFEZdH:function(I,v){(function(t,n){n(v)})(this,function(t){"use strict";function n(Ke){return function(dt,it,Ie,ue,Le,je,J){return Ke(dt,it,J)}}function o(Ke){return function(dt,it,Ie,ue){if(!dt||!it||typeof dt!="object"||typeof it!="object")return Ke(dt,it,Ie,ue);var Le=ue.get(dt),je=ue.get(it);if(Le&&je)return Le===it&&je===dt;ue.set(dt,it),ue.set(it,dt);var J=Ke(dt,it,Ie,ue);return ue.delete(dt),ue.delete(it),J}}function r(Ke,Xe){var dt={};for(var it in Ke)dt[it]=Ke[it];for(var it in Xe)dt[it]=Xe[it];return dt}function s(Ke){return Ke.constructor===Object||Ke.constructor==null}function h(Ke){return typeof Ke.then=="function"}function u(Ke,Xe){return Ke===Xe||Ke!==Ke&&Xe!==Xe}var A="[object Arguments]",S="[object Boolean]",l="[object Date]",C="[object RegExp]",b="[object Map]",m="[object Number]",D="[object Object]",f="[object Set]",p="[object String]",c=Object.prototype.toString;function d(Ke){var Xe=Ke.areArraysEqual,dt=Ke.areDatesEqual,it=Ke.areMapsEqual,Ie=Ke.areObjectsEqual,ue=Ke.areRegExpsEqual,Le=Ke.areSetsEqual,je=Ke.createIsNestedEqual,J=je($);function $(G,U,L){if(G===U)return!0;if(!G||!U||typeof G!="object"||typeof U!="object")return G!==G&&U!==U;if(s(G)&&s(U))return Ie(G,U,J,L);var j=Array.isArray(G),le=Array.isArray(U);if(j||le)return j===le&&Xe(G,U,J,L);var Te=c.call(G);return Te!==c.call(U)?!1:Te===l?dt(G,U,J,L):Te===C?ue(G,U,J,L):Te===b?it(G,U,J,L):Te===f?Le(G,U,J,L):Te===D||Te===A?h(G)||h(U)?!1:Ie(G,U,J,L):Te===S||Te===m||Te===p?u(G.valueOf(),U.valueOf()):!1}return $}function g(Ke,Xe,dt,it){var Ie=Ke.length;if(Xe.length!==Ie)return!1;for(;Ie-- >0;)if(!dt(Ke[Ie],Xe[Ie],Ie,Ie,Ke,Xe,it))return!1;return!0}var w=o(g);function x(Ke,Xe){return u(Ke.valueOf(),Xe.valueOf())}function T(Ke,Xe,dt,it){var Ie=Ke.size===Xe.size;if(!Ie)return!1;if(!Ke.size)return!0;var ue={},Le=0;return Ke.forEach(function(je,J){if(Ie){var $=!1,G=0;Xe.forEach(function(U,L){!$&&!ue[G]&&($=dt(J,L,Le,G,Ke,Xe,it)&&dt(je,U,J,L,Ke,Xe,it))&&(ue[G]=!0),G++}),Le++,Ie=$}}),Ie}var O=o(T),F="_owner",K=Object.prototype.hasOwnProperty;function ee(Ke,Xe,dt,it){var Ie=Object.keys(Ke),ue=Ie.length;if(Object.keys(Xe).length!==ue)return!1;for(var Le;ue-- >0;){if(Le=Ie[ue],Le===F){var je=!!Ke.$$typeof,J=!!Xe.$$typeof;if((je||J)&&je!==J)return!1}if(!K.call(Xe,Le)||!dt(Ke[Le],Xe[Le],Le,Le,Ke,Xe,it))return!1}return!0}var he=o(ee);function pe(Ke,Xe){return Ke.source===Xe.source&&Ke.flags===Xe.flags}function ie(Ke,Xe,dt,it){var Ie=Ke.size===Xe.size;if(!Ie)return!1;if(!Ke.size)return!0;var ue={};return Ke.forEach(function(Le,je){if(Ie){var J=!1,$=0;Xe.forEach(function(G,U){!J&&!ue[$]&&(J=dt(Le,G,je,U,Ke,Xe,it))&&(ue[$]=!0),$++}),Ie=J}}),Ie}var we=o(ie),Ce=Object.freeze({areArraysEqual:g,areDatesEqual:x,areMapsEqual:T,areObjectsEqual:ee,areRegExpsEqual:pe,areSetsEqual:ie,createIsNestedEqual:n}),Ne=Object.freeze({areArraysEqual:w,areDatesEqual:x,areMapsEqual:O,areObjectsEqual:he,areRegExpsEqual:pe,areSetsEqual:we,createIsNestedEqual:n}),B=d(Ce);function k(Ke,Xe){return B(Ke,Xe,void 0)}var W=d(r(Ce,{createIsNestedEqual:function(){return u}}));function q(Ke,Xe){return W(Ke,Xe,void 0)}var Q=d(Ne);function re(Ke,Xe){return Q(Ke,Xe,new WeakMap)}var te=d(r(Ne,{createIsNestedEqual:function(){return u}}));function ge(Ke,Xe){return te(Ke,Xe,new WeakMap)}function Fe(Ke){return d(r(Ce,Ke(Ce)))}function Qe(Ke){var Xe=d(r(Ne,Ke(Ne)));return function(dt,it,Ie){return Ie===void 0&&(Ie=new WeakMap),Xe(dt,it,Ie)}}t.circularDeepEqual=re,t.circularShallowEqual=ge,t.createCustomCircularEqual=Qe,t.createCustomEqual=Fe,t.deepEqual=k,t.sameValueZeroEqual=u,t.shallowEqual=q,Object.defineProperty(t,"__esModule",{value:!0})})},"j6yQIY+r":(I,v,t)=>{"use strict";var n=t("VtR63BhO");I.exports=function(o){var r=typeof o;if(r==="string"){var s=o;if(o=+o,o===0&&n(s))return!1}else if(r!=="number")return!1;return o-o<1}},RfRQxd5h:I=>{function v(C,b){var m=b&&b.cache?b.cache:l,D=b&&b.serializer?b.serializer:A,f=b&&b.strategy?b.strategy:s;return f(C,{cache:m,serializer:D})}function t(C){return C==null||typeof C=="number"||typeof C=="boolean"}function n(C,b,m,D){var f=t(D)?D:m(D),p=b.get(f);return typeof p>"u"&&(p=C.call(this,D),b.set(f,p)),p}function o(C,b,m){var D=Array.prototype.slice.call(arguments,3),f=m(D),p=b.get(f);return typeof p>"u"&&(p=C.apply(this,D),b.set(f,p)),p}function r(C,b,m,D,f){return m.bind(b,C,D,f)}function s(C,b){var m=C.length===1?n:o;return r(C,this,m,b.cache.create(),b.serializer)}function h(C,b){var m=o;return r(C,this,m,b.cache.create(),b.serializer)}function u(C,b){var m=n;return r(C,this,m,b.cache.create(),b.serializer)}function A(){return JSON.stringify(arguments)}function S(){this.cache=Object.create(null)}S.prototype.has=function(C){return C in this.cache},S.prototype.get=function(C){return this.cache[C]},S.prototype.set=function(C,b){this.cache[C]=b};var l={create:function(){return new S}};I.exports=v,I.exports.strategies={variadic:h,monadic:u}},dWXpeJ2m:I=>{"use strict";var v="Function.prototype.bind called on incompatible ",t=Array.prototype.slice,n=Object.prototype.toString,o="[object Function]";I.exports=function(s){var h=this;if(typeof h!="function"||n.call(h)!==o)throw new TypeError(v+h);for(var u=t.call(arguments,1),A,S=function(){if(this instanceof A){var D=h.apply(this,u.concat(t.call(arguments)));return Object(D)===D?D:this}else return h.apply(s,u.concat(t.call(arguments)))},l=Math.max(0,h.length-u.length),C=[],b=0;b{"use strict";var n=t("dWXpeJ2m");I.exports=Function.prototype.bind||n},nfcsOxAb:(I,v,t)=>{"use strict";var n,o=SyntaxError,r=Function,s=TypeError,h=function(we){try{return r('"use strict"; return ('+we+").constructor;")()}catch{}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch{u=null}var A=function(){throw new s},S=u?function(){try{return arguments.callee,A}catch{try{return u(arguments,"callee").get}catch{return A}}}():A,l=t("TVq5NeGd")(),C=t("y67+G4bV")(),b=Object.getPrototypeOf||(C?function(we){return we.__proto__}:null),m={},D=typeof Uint8Array>"u"||!b?n:b(Uint8Array),f={"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":l&&b?b([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":m,"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":m,"%AsyncIteratorPrototype%":m,"%Atomics%":typeof Atomics>"u"?n:Atomics,"%BigInt%":typeof BigInt>"u"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?n:Float32Array,"%Float64Array%":typeof Float64Array>"u"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?n:FinalizationRegistry,"%Function%":r,"%GeneratorFunction%":m,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l&&b?b(b([][Symbol.iterator]())):n,"%JSON%":typeof JSON=="object"?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!l||!b?n:b(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?n:Promise,"%Proxy%":typeof Proxy>"u"?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?n:Set,"%SetIteratorPrototype%":typeof Set>"u"||!l||!b?n:b(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":l&&b?b(""[Symbol.iterator]()):n,"%Symbol%":l?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":S,"%TypedArray%":D,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?n:WeakMap,"%WeakRef%":typeof WeakRef>"u"?n:WeakRef,"%WeakSet%":typeof WeakSet>"u"?n:WeakSet};if(b)try{null.error}catch(we){var p=b(b(we));f["%Error.prototype%"]=p}var c=function we(Ce){var Ne;if(Ce==="%AsyncFunction%")Ne=h("async function () {}");else if(Ce==="%GeneratorFunction%")Ne=h("function* () {}");else if(Ce==="%AsyncGeneratorFunction%")Ne=h("async function* () {}");else if(Ce==="%AsyncGenerator%"){var B=we("%AsyncGeneratorFunction%");B&&(Ne=B.prototype)}else if(Ce==="%AsyncIteratorPrototype%"){var k=we("%AsyncGenerator%");k&&b&&(Ne=b(k.prototype))}return f[Ce]=Ne,Ne},d={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},g=t("cDOqdmCw"),w=t("gIeVmqS0"),x=g.call(Function.call,Array.prototype.concat),T=g.call(Function.apply,Array.prototype.splice),O=g.call(Function.call,String.prototype.replace),F=g.call(Function.call,String.prototype.slice),K=g.call(Function.call,RegExp.prototype.exec),ee=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,he=/\\(\\)?/g,pe=function(Ce){var Ne=F(Ce,0,1),B=F(Ce,-1);if(Ne==="%"&&B!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(B==="%"&&Ne!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var k=[];return O(Ce,ee,function(W,q,Q,re){k[k.length]=Q?O(re,he,"$1"):q||W}),k},ie=function(Ce,Ne){var B=Ce,k;if(w(d,B)&&(k=d[B],B="%"+k[0]+"%"),w(f,B)){var W=f[B];if(W===m&&(W=c(B)),typeof W>"u"&&!Ne)throw new s("intrinsic "+Ce+" exists, but is not available. Please file an issue!");return{alias:k,name:B,value:W}}throw new o("intrinsic "+Ce+" does not exist!")};I.exports=function(Ce,Ne){if(typeof Ce!="string"||Ce.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Ne!="boolean")throw new s('"allowMissing" argument must be a boolean');if(K(/^%?[^%]*%?$/,Ce)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var B=pe(Ce),k=B.length>0?B[0]:"",W=ie("%"+k+"%",Ne),q=W.name,Q=W.value,re=!1,te=W.alias;te&&(k=te[0],T(B,x([0,1],te)));for(var ge=1,Fe=!0;ge=B.length){var dt=u(Q,Qe);Fe=!!dt,Fe&&"get"in dt&&!("originalValue"in dt.get)?Q=dt.get:Q=Q[Qe]}else Fe=w(Q,Qe),Q=Q[Qe];Fe&&!re&&(f[q]=Q)}}return Q}},"/lejAXuQ":I=>{I.exports=v;function v(t,n){var o=n[0],r=n[1],s=n[2],h=n[3],u=n[4],A=n[5],S=n[6],l=n[7],C=n[8],b=n[9],m=n[10],D=n[11],f=n[12],p=n[13],c=n[14],d=n[15];return t[0]=A*(m*d-D*c)-b*(S*d-l*c)+p*(S*D-l*m),t[1]=-(r*(m*d-D*c)-b*(s*d-h*c)+p*(s*D-h*m)),t[2]=r*(S*d-l*c)-A*(s*d-h*c)+p*(s*l-h*S),t[3]=-(r*(S*D-l*m)-A*(s*D-h*m)+b*(s*l-h*S)),t[4]=-(u*(m*d-D*c)-C*(S*d-l*c)+f*(S*D-l*m)),t[5]=o*(m*d-D*c)-C*(s*d-h*c)+f*(s*D-h*m),t[6]=-(o*(S*d-l*c)-u*(s*d-h*c)+f*(s*l-h*S)),t[7]=o*(S*D-l*m)-u*(s*D-h*m)+C*(s*l-h*S),t[8]=u*(b*d-D*p)-C*(A*d-l*p)+f*(A*D-l*b),t[9]=-(o*(b*d-D*p)-C*(r*d-h*p)+f*(r*D-h*b)),t[10]=o*(A*d-l*p)-u*(r*d-h*p)+f*(r*l-h*A),t[11]=-(o*(A*D-l*b)-u*(r*D-h*b)+C*(r*l-h*A)),t[12]=-(u*(b*c-m*p)-C*(A*c-S*p)+f*(A*m-S*b)),t[13]=o*(b*c-m*p)-C*(r*c-s*p)+f*(r*m-s*b),t[14]=-(o*(A*c-S*p)-u*(r*c-s*p)+f*(r*S-s*A)),t[15]=o*(A*m-S*b)-u*(r*m-s*b)+C*(r*S-s*A),t}},sNn8anan:I=>{I.exports=v;function v(t){var n=new Float32Array(16);return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n[4]=t[4],n[5]=t[5],n[6]=t[6],n[7]=t[7],n[8]=t[8],n[9]=t[9],n[10]=t[10],n[11]=t[11],n[12]=t[12],n[13]=t[13],n[14]=t[14],n[15]=t[15],n}},yI9wyRzQ:I=>{I.exports=v;function v(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}},Ot6sMf6N:I=>{I.exports=v;function v(){var t=new Float32Array(16);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},MgKdmxtI:I=>{I.exports=v;function v(t){var n=t[0],o=t[1],r=t[2],s=t[3],h=t[4],u=t[5],A=t[6],S=t[7],l=t[8],C=t[9],b=t[10],m=t[11],D=t[12],f=t[13],p=t[14],c=t[15],d=n*u-o*h,g=n*A-r*h,w=n*S-s*h,x=o*A-r*u,T=o*S-s*u,O=r*S-s*A,F=l*f-C*D,K=l*p-b*D,ee=l*c-m*D,he=C*p-b*f,pe=C*c-m*f,ie=b*c-m*p;return d*ie-g*pe+w*he+x*ee-T*K+O*F}},Octaz5Sg:I=>{I.exports=v;function v(t,n){var o=n[0],r=n[1],s=n[2],h=n[3],u=o+o,A=r+r,S=s+s,l=o*u,C=r*u,b=r*A,m=s*u,D=s*A,f=s*S,p=h*u,c=h*A,d=h*S;return t[0]=1-b-f,t[1]=C+d,t[2]=m-c,t[3]=0,t[4]=C-d,t[5]=1-l-f,t[6]=D+p,t[7]=0,t[8]=m+c,t[9]=D-p,t[10]=1-l-b,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},fhH0n7L4:I=>{I.exports=v;function v(t,n,o){var r,s,h,u=o[0],A=o[1],S=o[2],l=Math.sqrt(u*u+A*A+S*S);return Math.abs(l)<1e-6?null:(l=1/l,u*=l,A*=l,S*=l,r=Math.sin(n),s=Math.cos(n),h=1-s,t[0]=u*u*h+s,t[1]=A*u*h+S*r,t[2]=S*u*h-A*r,t[3]=0,t[4]=u*A*h-S*r,t[5]=A*A*h+s,t[6]=S*A*h+u*r,t[7]=0,t[8]=u*S*h+A*r,t[9]=A*S*h-u*r,t[10]=S*S*h+s,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t)}},"IsaJDA+P":I=>{I.exports=v;function v(t,n,o){var r=n[0],s=n[1],h=n[2],u=n[3],A=r+r,S=s+s,l=h+h,C=r*A,b=r*S,m=r*l,D=s*S,f=s*l,p=h*l,c=u*A,d=u*S,g=u*l;return t[0]=1-(D+p),t[1]=b+g,t[2]=m-d,t[3]=0,t[4]=b-g,t[5]=1-(C+p),t[6]=f+c,t[7]=0,t[8]=m+d,t[9]=f-c,t[10]=1-(C+D),t[11]=0,t[12]=o[0],t[13]=o[1],t[14]=o[2],t[15]=1,t}},iFZ5M58i:I=>{I.exports=v;function v(t,n){return t[0]=n[0],t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=n[1],t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=n[2],t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},"naUCx/ct":I=>{I.exports=v;function v(t,n){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=n[0],t[13]=n[1],t[14]=n[2],t[15]=1,t}},RmR55HhW:I=>{I.exports=v;function v(t,n){var o=Math.sin(n),r=Math.cos(n);return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=r,t[6]=o,t[7]=0,t[8]=0,t[9]=-o,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},ZTrLko0d:I=>{I.exports=v;function v(t,n){var o=Math.sin(n),r=Math.cos(n);return t[0]=r,t[1]=0,t[2]=-o,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=o,t[9]=0,t[10]=r,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},IzyIMyrO:I=>{I.exports=v;function v(t,n){var o=Math.sin(n),r=Math.cos(n);return t[0]=r,t[1]=o,t[2]=0,t[3]=0,t[4]=-o,t[5]=r,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},Nh6oYPAD:I=>{I.exports=v;function v(t,n,o,r,s,h,u){var A=1/(o-n),S=1/(s-r),l=1/(h-u);return t[0]=h*2*A,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=h*2*S,t[6]=0,t[7]=0,t[8]=(o+n)*A,t[9]=(s+r)*S,t[10]=(u+h)*l,t[11]=-1,t[12]=0,t[13]=0,t[14]=u*h*2*l,t[15]=0,t}},e8hf73zC:I=>{I.exports=v;function v(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t}},"846O9Cno":(I,v,t)=>{I.exports={create:t("Ot6sMf6N"),clone:t("sNn8anan"),copy:t("yI9wyRzQ"),identity:t("e8hf73zC"),transpose:t("t98fJTnB"),invert:t("e2jmVUHG"),adjoint:t("/lejAXuQ"),determinant:t("MgKdmxtI"),multiply:t("xyzyxEaD"),translate:t("rX0TroSX"),scale:t("DCbB3NMd"),rotate:t("Ei8zoChE"),rotateX:t("6N3+Fk3i"),rotateY:t("vgKJ24vF"),rotateZ:t("KNkF149N"),fromRotation:t("fhH0n7L4"),fromRotationTranslation:t("IsaJDA+P"),fromScaling:t("iFZ5M58i"),fromTranslation:t("naUCx/ct"),fromXRotation:t("RmR55HhW"),fromYRotation:t("ZTrLko0d"),fromZRotation:t("IzyIMyrO"),fromQuat:t("Octaz5Sg"),frustum:t("Nh6oYPAD"),perspective:t("0eQC1Tyz"),perspectiveFromFieldOfView:t("ayDfvjeX"),ortho:t("oG1Dhaq6"),lookAt:t("c24wwqml"),str:t("275D9pww")}},e2jmVUHG:I=>{I.exports=v;function v(t,n){var o=n[0],r=n[1],s=n[2],h=n[3],u=n[4],A=n[5],S=n[6],l=n[7],C=n[8],b=n[9],m=n[10],D=n[11],f=n[12],p=n[13],c=n[14],d=n[15],g=o*A-r*u,w=o*S-s*u,x=o*l-h*u,T=r*S-s*A,O=r*l-h*A,F=s*l-h*S,K=C*p-b*f,ee=C*c-m*f,he=C*d-D*f,pe=b*c-m*p,ie=b*d-D*p,we=m*d-D*c,Ce=g*we-w*ie+x*pe+T*he-O*ee+F*K;return Ce?(Ce=1/Ce,t[0]=(A*we-S*ie+l*pe)*Ce,t[1]=(s*ie-r*we-h*pe)*Ce,t[2]=(p*F-c*O+d*T)*Ce,t[3]=(m*O-b*F-D*T)*Ce,t[4]=(S*he-u*we-l*ee)*Ce,t[5]=(o*we-s*he+h*ee)*Ce,t[6]=(c*x-f*F-d*w)*Ce,t[7]=(C*F-m*x+D*w)*Ce,t[8]=(u*ie-A*he+l*K)*Ce,t[9]=(r*he-o*ie-h*K)*Ce,t[10]=(f*O-p*x+d*g)*Ce,t[11]=(b*x-C*O-D*g)*Ce,t[12]=(A*ee-u*pe-S*K)*Ce,t[13]=(o*pe-r*ee+s*K)*Ce,t[14]=(p*w-f*T-c*g)*Ce,t[15]=(C*T-b*w+m*g)*Ce,t):null}},c24wwqml:(I,v,t)=>{var n=t("e8hf73zC");I.exports=o;function o(r,s,h,u){var A,S,l,C,b,m,D,f,p,c,d=s[0],g=s[1],w=s[2],x=u[0],T=u[1],O=u[2],F=h[0],K=h[1],ee=h[2];return Math.abs(d-F)<1e-6&&Math.abs(g-K)<1e-6&&Math.abs(w-ee)<1e-6?n(r):(D=d-F,f=g-K,p=w-ee,c=1/Math.sqrt(D*D+f*f+p*p),D*=c,f*=c,p*=c,A=T*p-O*f,S=O*D-x*p,l=x*f-T*D,c=Math.sqrt(A*A+S*S+l*l),c?(c=1/c,A*=c,S*=c,l*=c):(A=0,S=0,l=0),C=f*l-p*S,b=p*A-D*l,m=D*S-f*A,c=Math.sqrt(C*C+b*b+m*m),c?(c=1/c,C*=c,b*=c,m*=c):(C=0,b=0,m=0),r[0]=A,r[1]=C,r[2]=D,r[3]=0,r[4]=S,r[5]=b,r[6]=f,r[7]=0,r[8]=l,r[9]=m,r[10]=p,r[11]=0,r[12]=-(A*d+S*g+l*w),r[13]=-(C*d+b*g+m*w),r[14]=-(D*d+f*g+p*w),r[15]=1,r)}},xyzyxEaD:I=>{I.exports=v;function v(t,n,o){var r=n[0],s=n[1],h=n[2],u=n[3],A=n[4],S=n[5],l=n[6],C=n[7],b=n[8],m=n[9],D=n[10],f=n[11],p=n[12],c=n[13],d=n[14],g=n[15],w=o[0],x=o[1],T=o[2],O=o[3];return t[0]=w*r+x*A+T*b+O*p,t[1]=w*s+x*S+T*m+O*c,t[2]=w*h+x*l+T*D+O*d,t[3]=w*u+x*C+T*f+O*g,w=o[4],x=o[5],T=o[6],O=o[7],t[4]=w*r+x*A+T*b+O*p,t[5]=w*s+x*S+T*m+O*c,t[6]=w*h+x*l+T*D+O*d,t[7]=w*u+x*C+T*f+O*g,w=o[8],x=o[9],T=o[10],O=o[11],t[8]=w*r+x*A+T*b+O*p,t[9]=w*s+x*S+T*m+O*c,t[10]=w*h+x*l+T*D+O*d,t[11]=w*u+x*C+T*f+O*g,w=o[12],x=o[13],T=o[14],O=o[15],t[12]=w*r+x*A+T*b+O*p,t[13]=w*s+x*S+T*m+O*c,t[14]=w*h+x*l+T*D+O*d,t[15]=w*u+x*C+T*f+O*g,t}},oG1Dhaq6:I=>{I.exports=v;function v(t,n,o,r,s,h,u){var A=1/(n-o),S=1/(r-s),l=1/(h-u);return t[0]=-2*A,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*S,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*l,t[11]=0,t[12]=(n+o)*A,t[13]=(s+r)*S,t[14]=(u+h)*l,t[15]=1,t}},"0eQC1Tyz":I=>{I.exports=v;function v(t,n,o,r,s){var h=1/Math.tan(n/2),u=1/(r-s);return t[0]=h/o,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=h,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=(s+r)*u,t[11]=-1,t[12]=0,t[13]=0,t[14]=2*s*r*u,t[15]=0,t}},ayDfvjeX:I=>{I.exports=v;function v(t,n,o,r){var s=Math.tan(n.upDegrees*Math.PI/180),h=Math.tan(n.downDegrees*Math.PI/180),u=Math.tan(n.leftDegrees*Math.PI/180),A=Math.tan(n.rightDegrees*Math.PI/180),S=2/(u+A),l=2/(s+h);return t[0]=S,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=l,t[6]=0,t[7]=0,t[8]=-((u-A)*S*.5),t[9]=(s-h)*l*.5,t[10]=r/(o-r),t[11]=-1,t[12]=0,t[13]=0,t[14]=r*o/(o-r),t[15]=0,t}},Ei8zoChE:I=>{I.exports=v;function v(t,n,o,r){var s=r[0],h=r[1],u=r[2],A=Math.sqrt(s*s+h*h+u*u),S,l,C,b,m,D,f,p,c,d,g,w,x,T,O,F,K,ee,he,pe,ie,we,Ce,Ne;return Math.abs(A)<1e-6?null:(A=1/A,s*=A,h*=A,u*=A,S=Math.sin(o),l=Math.cos(o),C=1-l,b=n[0],m=n[1],D=n[2],f=n[3],p=n[4],c=n[5],d=n[6],g=n[7],w=n[8],x=n[9],T=n[10],O=n[11],F=s*s*C+l,K=h*s*C+u*S,ee=u*s*C-h*S,he=s*h*C-u*S,pe=h*h*C+l,ie=u*h*C+s*S,we=s*u*C+h*S,Ce=h*u*C-s*S,Ne=u*u*C+l,t[0]=b*F+p*K+w*ee,t[1]=m*F+c*K+x*ee,t[2]=D*F+d*K+T*ee,t[3]=f*F+g*K+O*ee,t[4]=b*he+p*pe+w*ie,t[5]=m*he+c*pe+x*ie,t[6]=D*he+d*pe+T*ie,t[7]=f*he+g*pe+O*ie,t[8]=b*we+p*Ce+w*Ne,t[9]=m*we+c*Ce+x*Ne,t[10]=D*we+d*Ce+T*Ne,t[11]=f*we+g*Ce+O*Ne,n!==t&&(t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t)}},"6N3+Fk3i":I=>{I.exports=v;function v(t,n,o){var r=Math.sin(o),s=Math.cos(o),h=n[4],u=n[5],A=n[6],S=n[7],l=n[8],C=n[9],b=n[10],m=n[11];return n!==t&&(t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[4]=h*s+l*r,t[5]=u*s+C*r,t[6]=A*s+b*r,t[7]=S*s+m*r,t[8]=l*s-h*r,t[9]=C*s-u*r,t[10]=b*s-A*r,t[11]=m*s-S*r,t}},vgKJ24vF:I=>{I.exports=v;function v(t,n,o){var r=Math.sin(o),s=Math.cos(o),h=n[0],u=n[1],A=n[2],S=n[3],l=n[8],C=n[9],b=n[10],m=n[11];return n!==t&&(t[4]=n[4],t[5]=n[5],t[6]=n[6],t[7]=n[7],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=h*s-l*r,t[1]=u*s-C*r,t[2]=A*s-b*r,t[3]=S*s-m*r,t[8]=h*r+l*s,t[9]=u*r+C*s,t[10]=A*r+b*s,t[11]=S*r+m*s,t}},KNkF149N:I=>{I.exports=v;function v(t,n,o){var r=Math.sin(o),s=Math.cos(o),h=n[0],u=n[1],A=n[2],S=n[3],l=n[4],C=n[5],b=n[6],m=n[7];return n!==t&&(t[8]=n[8],t[9]=n[9],t[10]=n[10],t[11]=n[11],t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15]),t[0]=h*s+l*r,t[1]=u*s+C*r,t[2]=A*s+b*r,t[3]=S*s+m*r,t[4]=l*s-h*r,t[5]=C*s-u*r,t[6]=b*s-A*r,t[7]=m*s-S*r,t}},DCbB3NMd:I=>{I.exports=v;function v(t,n,o){var r=o[0],s=o[1],h=o[2];return t[0]=n[0]*r,t[1]=n[1]*r,t[2]=n[2]*r,t[3]=n[3]*r,t[4]=n[4]*s,t[5]=n[5]*s,t[6]=n[6]*s,t[7]=n[7]*s,t[8]=n[8]*h,t[9]=n[9]*h,t[10]=n[10]*h,t[11]=n[11]*h,t[12]=n[12],t[13]=n[13],t[14]=n[14],t[15]=n[15],t}},"275D9pww":I=>{I.exports=v;function v(t){return"mat4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+", "+t[9]+", "+t[10]+", "+t[11]+", "+t[12]+", "+t[13]+", "+t[14]+", "+t[15]+")"}},rX0TroSX:I=>{I.exports=v;function v(t,n,o){var r=o[0],s=o[1],h=o[2],u,A,S,l,C,b,m,D,f,p,c,d;return n===t?(t[12]=n[0]*r+n[4]*s+n[8]*h+n[12],t[13]=n[1]*r+n[5]*s+n[9]*h+n[13],t[14]=n[2]*r+n[6]*s+n[10]*h+n[14],t[15]=n[3]*r+n[7]*s+n[11]*h+n[15]):(u=n[0],A=n[1],S=n[2],l=n[3],C=n[4],b=n[5],m=n[6],D=n[7],f=n[8],p=n[9],c=n[10],d=n[11],t[0]=u,t[1]=A,t[2]=S,t[3]=l,t[4]=C,t[5]=b,t[6]=m,t[7]=D,t[8]=f,t[9]=p,t[10]=c,t[11]=d,t[12]=u*r+C*s+f*h+n[12],t[13]=A*r+b*s+p*h+n[13],t[14]=S*r+m*s+c*h+n[14],t[15]=l*r+D*s+d*h+n[15]),t}},t98fJTnB:I=>{I.exports=v;function v(t,n){if(t===n){var o=n[1],r=n[2],s=n[3],h=n[6],u=n[7],A=n[11];t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=o,t[6]=n[9],t[7]=n[13],t[8]=r,t[9]=h,t[11]=n[14],t[12]=s,t[13]=u,t[14]=A}else t[0]=n[0],t[1]=n[4],t[2]=n[8],t[3]=n[12],t[4]=n[1],t[5]=n[5],t[6]=n[9],t[7]=n[13],t[8]=n[2],t[9]=n[6],t[10]=n[10],t[11]=n[14],t[12]=n[3],t[13]=n[7],t[14]=n[11],t[15]=n[15];return t}},"y67+G4bV":I=>{"use strict";var v={foo:{}},t=Object;I.exports=function(){return{__proto__:v}.foo===v.foo&&!({__proto__:null}instanceof t)}},TVq5NeGd:(I,v,t)=>{"use strict";var n=typeof Symbol<"u"&&Symbol,o=t("ZlaUBCYP");I.exports=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:o()}},ZlaUBCYP:I=>{"use strict";I.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var r=42;t[n]=r;for(n in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var s=Object.getOwnPropertySymbols(t);if(s.length!==1||s[0]!==n||!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var h=Object.getOwnPropertyDescriptor(t,n);if(h.value!==r||h.enumerable!==!0)return!1}return!0}},gIeVmqS0:(I,v,t)=>{"use strict";var n=t("cDOqdmCw");I.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},"l0ThiG+P":(I,v)=>{v.read=function(t,n,o,r,s){var h,u,A=s*8-r-1,S=(1<>1,C=-7,b=o?s-1:0,m=o?-1:1,D=t[n+b];for(b+=m,h=D&(1<<-C)-1,D>>=-C,C+=A;C>0;h=h*256+t[n+b],b+=m,C-=8);for(u=h&(1<<-C)-1,h>>=-C,C+=r;C>0;u=u*256+t[n+b],b+=m,C-=8);if(h===0)h=1-l;else{if(h===S)return u?NaN:(D?-1:1)*(1/0);u=u+Math.pow(2,r),h=h-l}return(D?-1:1)*u*Math.pow(2,h-r)},v.write=function(t,n,o,r,s,h){var u,A,S,l=h*8-s-1,C=(1<>1,m=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,D=r?0:h-1,f=r?1:-1,p=n<0||n===0&&1/n<0?1:0;for(n=Math.abs(n),isNaN(n)||n===1/0?(A=isNaN(n)?1:0,u=C):(u=Math.floor(Math.log(n)/Math.LN2),n*(S=Math.pow(2,-u))<1&&(u--,S*=2),u+b>=1?n+=m/S:n+=m*Math.pow(2,1-b),n*S>=2&&(u++,S/=2),u+b>=C?(A=0,u=C):u+b>=1?(A=(n*S-1)*Math.pow(2,s),u=u+b):(A=n*Math.pow(2,b-1)*Math.pow(2,s),u=0));s>=8;t[o+D]=A&255,D+=f,A/=256,s-=8);for(u=u<0;t[o+D]=u&255,D+=f,u/=256,l-=8);t[o+D-f]|=p*128}},"H/eHg5XM":function(I){(function(v,t){I.exports=t()})(this,function(){"use strict";var v=Array.prototype.slice;function t(_,Y){Y&&(_.prototype=Object.create(Y.prototype)),_.prototype.constructor=_}function n(_){return h(_)?_:Ie(_)}t(o,n);function o(_){return u(_)?_:ue(_)}t(r,n);function r(_){return A(_)?_:Le(_)}t(s,n);function s(_){return h(_)&&!S(_)?_:je(_)}function h(_){return!!(_&&_[C])}function u(_){return!!(_&&_[b])}function A(_){return!!(_&&_[m])}function S(_){return u(_)||A(_)}function l(_){return!!(_&&_[D])}n.isIterable=h,n.isKeyed=u,n.isIndexed=A,n.isAssociative=S,n.isOrdered=l,n.Keyed=o,n.Indexed=r,n.Set=s;var C="@@__IMMUTABLE_ITERABLE__@@",b="@@__IMMUTABLE_KEYED__@@",m="@@__IMMUTABLE_INDEXED__@@",D="@@__IMMUTABLE_ORDERED__@@",f="delete",p=5,c=1<>>0;if(""+fe!==Y||fe===4294967295)return NaN;Y=fe}return Y<0?ee(_)+Y:Y}function pe(){return!0}function ie(_,Y,fe){return(_===0||fe!==void 0&&_<=-fe)&&(Y===void 0||fe!==void 0&&Y>=fe)}function we(_,Y){return Ne(_,Y,0)}function Ce(_,Y){return Ne(_,Y,Y)}function Ne(_,Y,fe){return _===void 0?fe:_<0?Math.max(0,Y+_):Y===void 0?_:Math.min(Y,_)}var B=0,k=1,W=2,q=typeof Symbol=="function"&&Symbol.iterator,Q="@@iterator",re=q||Q;function te(_){this.next=_}te.prototype.toString=function(){return"[Iterator]"},te.KEYS=B,te.VALUES=k,te.ENTRIES=W,te.prototype.inspect=te.prototype.toSource=function(){return this.toString()},te.prototype[re]=function(){return this};function ge(_,Y,fe,Ae){var De=_===0?Y:_===1?fe:[Y,fe];return Ae?Ae.value=De:Ae={value:De,done:!1},Ae}function Fe(){return{value:void 0,done:!0}}function Qe(_){return!!dt(_)}function Ke(_){return _&&typeof _.next=="function"}function Xe(_){var Y=dt(_);return Y&&Y.call(_)}function dt(_){var Y=_&&(q&&_[q]||_[Q]);if(typeof Y=="function")return Y}function it(_){return _&&typeof _.length=="number"}t(Ie,n);function Ie(_){return _==null?Te():h(_)?_.toSeq():Gt(_)}Ie.of=function(){return Ie(arguments)},Ie.prototype.toSeq=function(){return this},Ie.prototype.toString=function(){return this.__toString("Seq {","}")},Ie.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Ie.prototype.__iterate=function(_,Y){return ct(this,_,Y,!0)},Ie.prototype.__iterator=function(_,Y){return We(this,_,Y,!0)},t(ue,Ie);function ue(_){return _==null?Te().toKeyedSeq():h(_)?u(_)?_.toSeq():_.fromEntrySeq():Je(_)}ue.prototype.toKeyedSeq=function(){return this},t(Le,Ie);function Le(_){return _==null?Te():h(_)?u(_)?_.entrySeq():_.toIndexedSeq():ot(_)}Le.of=function(){return Le(arguments)},Le.prototype.toIndexedSeq=function(){return this},Le.prototype.toString=function(){return this.__toString("Seq [","]")},Le.prototype.__iterate=function(_,Y){return ct(this,_,Y,!1)},Le.prototype.__iterator=function(_,Y){return We(this,_,Y,!1)},t(je,Ie);function je(_){return(_==null?Te():h(_)?u(_)?_.entrySeq():_:ot(_)).toSetSeq()}je.of=function(){return je(arguments)},je.prototype.toSetSeq=function(){return this},Ie.isSeq=j,Ie.Keyed=ue,Ie.Set=je,Ie.Indexed=Le;var J="@@__IMMUTABLE_SEQ__@@";Ie.prototype[J]=!0,t($,Le);function $(_){this._array=_,this.size=_.length}$.prototype.get=function(_,Y){return this.has(_)?this._array[he(this,_)]:Y},$.prototype.__iterate=function(_,Y){for(var fe=this._array,Ae=fe.length-1,De=0;De<=Ae;De++)if(_(fe[Y?Ae-De:De],De,this)===!1)return De+1;return De},$.prototype.__iterator=function(_,Y){var fe=this._array,Ae=fe.length-1,De=0;return new te(function(){return De>Ae?Fe():ge(_,De,fe[Y?Ae-De++:De++])})},t(G,ue);function G(_){var Y=Object.keys(_);this._object=_,this._keys=Y,this.size=Y.length}G.prototype.get=function(_,Y){return Y!==void 0&&!this.has(_)?Y:this._object[_]},G.prototype.has=function(_){return this._object.hasOwnProperty(_)},G.prototype.__iterate=function(_,Y){for(var fe=this._object,Ae=this._keys,De=Ae.length-1,at=0;at<=De;at++){var Ct=Ae[Y?De-at:at];if(_(fe[Ct],Ct,this)===!1)return at+1}return at},G.prototype.__iterator=function(_,Y){var fe=this._object,Ae=this._keys,De=Ae.length-1,at=0;return new te(function(){var Ct=Ae[Y?De-at:at];return at++>De?Fe():ge(_,Ct,fe[Ct])})},G.prototype[D]=!0,t(U,Le);function U(_){this._iterable=_,this.size=_.length||_.size}U.prototype.__iterateUncached=function(_,Y){if(Y)return this.cacheResult().__iterate(_,Y);var fe=this._iterable,Ae=Xe(fe),De=0;if(Ke(Ae))for(var at;!(at=Ae.next()).done&&_(at.value,De++,this)!==!1;);return De},U.prototype.__iteratorUncached=function(_,Y){if(Y)return this.cacheResult().__iterator(_,Y);var fe=this._iterable,Ae=Xe(fe);if(!Ke(Ae))return new te(Fe);var De=0;return new te(function(){var at=Ae.next();return at.done?at:ge(_,De++,at.value)})},t(L,Le);function L(_){this._iterator=_,this._iteratorCache=[]}L.prototype.__iterateUncached=function(_,Y){if(Y)return this.cacheResult().__iterate(_,Y);for(var fe=this._iterator,Ae=this._iteratorCache,De=0;De=Ae.length){var at=fe.next();if(at.done)return at;Ae[De]=at.value}return ge(_,De,Ae[De++])})};function j(_){return!!(_&&_[J])}var le;function Te(){return le||(le=new $([]))}function Je(_){var Y=Array.isArray(_)?new $(_).fromEntrySeq():Ke(_)?new L(_).fromEntrySeq():Qe(_)?new U(_).fromEntrySeq():typeof _=="object"?new G(_):void 0;if(!Y)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+_);return Y}function ot(_){var Y=Ye(_);if(!Y)throw new TypeError("Expected Array or iterable object of values: "+_);return Y}function Gt(_){var Y=Ye(_)||typeof _=="object"&&new G(_);if(!Y)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+_);return Y}function Ye(_){return it(_)?new $(_):Ke(_)?new L(_):Qe(_)?new U(_):void 0}function ct(_,Y,fe,Ae){var De=_._cache;if(De){for(var at=De.length-1,Ct=0;Ct<=at;Ct++){var nr=De[fe?at-Ct:Ct];if(Y(nr[1],Ae?nr[0]:Ct,_)===!1)return Ct+1}return Ct}return _.__iterateUncached(Y,fe)}function We(_,Y,fe,Ae){var De=_._cache;if(De){var at=De.length-1,Ct=0;return new te(function(){var nr=De[fe?at-Ct:Ct];return Ct++>at?Fe():ge(Y,Ae?nr[0]:Ct-1,nr[1])})}return _.__iteratorUncached(Y,fe)}function Ze(_,Y){return Y?Re(Y,_,"",{"":_}):lt(_)}function Re(_,Y,fe,Ae){return Array.isArray(Y)?_.call(Ae,fe,Le(Y).map(function(De,at){return Re(_,De,at,Y)})):pt(Y)?_.call(Ae,fe,ue(Y).map(function(De,at){return Re(_,De,at,Y)})):Y}function lt(_){return Array.isArray(_)?Le(_).map(lt).toList():pt(_)?ue(_).map(lt).toMap():_}function pt(_){return _&&(_.constructor===Object||_.constructor===void 0)}function vt(_,Y){if(_===Y||_!==_&&Y!==Y)return!0;if(!_||!Y)return!1;if(typeof _.valueOf=="function"&&typeof Y.valueOf=="function"){if(_=_.valueOf(),Y=Y.valueOf(),_===Y||_!==_&&Y!==Y)return!0;if(!_||!Y)return!1}return!!(typeof _.equals=="function"&&typeof Y.equals=="function"&&_.equals(Y))}function Pt(_,Y){if(_===Y)return!0;if(!h(Y)||_.size!==void 0&&Y.size!==void 0&&_.size!==Y.size||_.__hash!==void 0&&Y.__hash!==void 0&&_.__hash!==Y.__hash||u(_)!==u(Y)||A(_)!==A(Y)||l(_)!==l(Y))return!1;if(_.size===0&&Y.size===0)return!0;var fe=!S(_);if(l(_)){var Ae=_.entries();return Y.every(function(Tr,Dr){var Br=Ae.next().value;return Br&&vt(Br[1],Tr)&&(fe||vt(Br[0],Dr))})&&Ae.next().done}var De=!1;if(_.size===void 0)if(Y.size===void 0)typeof _.cacheResult=="function"&&_.cacheResult();else{De=!0;var at=_;_=Y,Y=at}var Ct=!0,nr=Y.__iterate(function(Tr,Dr){if(fe?!_.has(Tr):De?!vt(Tr,_.get(Dr,g)):!vt(_.get(Dr,g),Tr))return Ct=!1,!1});return Ct&&_.size===nr}t(Ge,Le);function Ge(_,Y){if(!(this instanceof Ge))return new Ge(_,Y);if(this._value=_,this.size=Y===void 0?1/0:Math.max(0,Y),this.size===0){if(Be)return Be;Be=this}}Ge.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Ge.prototype.get=function(_,Y){return this.has(_)?this._value:Y},Ge.prototype.includes=function(_){return vt(this._value,_)},Ge.prototype.slice=function(_,Y){var fe=this.size;return ie(_,Y,fe)?this:new Ge(this._value,Ce(Y,fe)-we(_,fe))},Ge.prototype.reverse=function(){return this},Ge.prototype.indexOf=function(_){return vt(this._value,_)?0:-1},Ge.prototype.lastIndexOf=function(_){return vt(this._value,_)?this.size:-1},Ge.prototype.__iterate=function(_,Y){for(var fe=0;fe=0&&Y=0&&fefe?Fe():ge(_,at++,Ct)})},Ht.prototype.equals=function(_){return _ instanceof Ht?this._start===_._start&&this._end===_._end&&this._step===_._step:Pt(this,_)};var wr;t(ir,n);function ir(){throw TypeError("Abstract")}t(tr,ir);function tr(){}t(Fr,ir);function Fr(){}t(mr,ir);function mr(){}ir.Keyed=tr,ir.Indexed=Fr,ir.Set=mr;var Or=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(Y,fe){Y=Y|0,fe=fe|0;var Ae=Y&65535,De=fe&65535;return Ae*De+((Y>>>16)*De+Ae*(fe>>>16)<<16>>>0)|0};function Nr(_){return _>>>1&1073741824|_&3221225471}function Gr(_){if(_===!1||_===null||_===void 0||typeof _.valueOf=="function"&&(_=_.valueOf(),_===!1||_===null||_===void 0))return 0;if(_===!0)return 1;var Y=typeof _;if(Y==="number"){if(_!==_||_===1/0)return 0;var fe=_|0;for(fe!==_&&(fe^=_*4294967295);_>4294967295;)_/=4294967295,fe^=_;return Nr(fe)}if(Y==="string")return _.length>Ue?Ir(_):mn(_);if(typeof _.hashCode=="function")return _.hashCode();if(Y==="object")return An(_);if(typeof _.toString=="function")return mn(_.toString());throw new Error("Value type "+Y+" cannot be hashed.")}function Ir(_){var Y=ht[_];return Y===void 0&&(Y=mn(_),Rt===Ft&&(Rt=0,ht={}),Rt++,ht[_]=Y),Y}function mn(_){for(var Y=0,fe=0;fe<_.length;fe++)Y=31*Y+_.charCodeAt(fe)|0;return Nr(Y)}function An(_){var Y;if(St&&(Y=Ot.get(_),Y!==void 0)||(Y=_[Ee],Y!==void 0)||!Jr&&(Y=_.propertyIsEnumerable&&_.propertyIsEnumerable[Ee],Y!==void 0||(Y=Zr(_),Y!==void 0)))return Y;if(Y=++Pe,Pe&1073741824&&(Pe=0),St)Ot.set(_,Y);else{if(ln!==void 0&&ln(_)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(Jr)Object.defineProperty(_,Ee,{enumerable:!1,configurable:!1,writable:!1,value:Y});else if(_.propertyIsEnumerable!==void 0&&_.propertyIsEnumerable===_.constructor.prototype.propertyIsEnumerable)_.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},_.propertyIsEnumerable[Ee]=Y;else if(_.nodeType!==void 0)_[Ee]=Y;else throw new Error("Unable to set a non-enumerable property on object.")}return Y}var ln=Object.isExtensible,Jr=function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}}();function Zr(_){if(_&&_.nodeType>0)switch(_.nodeType){case 1:return _.uniqueID;case 9:return _.documentElement&&_.documentElement.uniqueID}}var St=typeof WeakMap=="function",Ot;St&&(Ot=new WeakMap);var Pe=0,Ee="__immutablehash__";typeof Symbol=="function"&&(Ee=Symbol(Ee));var Ue=16,Ft=255,Rt=0,ht={};function br(_){It(_!==1/0,"Cannot perform this action with an infinite size.")}t(pr,tr);function pr(_){return _==null?Pr():Wt(_)&&!l(_)?_:Pr().withMutations(function(Y){var fe=o(_);br(fe.size),fe.forEach(function(Ae,De){return Y.set(De,Ae)})})}pr.of=function(){var _=v.call(arguments,0);return Pr().withMutations(function(Y){for(var fe=0;fe<_.length;fe+=2){if(fe+1>=_.length)throw new Error("Missing value for key: "+_[fe]);Y.set(_[fe],_[fe+1])}})},pr.prototype.toString=function(){return this.__toString("Map {","}")},pr.prototype.get=function(_,Y){return this._root?this._root.get(0,void 0,_,Y):Y},pr.prototype.set=function(_,Y){return Xr(this,_,Y)},pr.prototype.setIn=function(_,Y){return this.updateIn(_,g,function(){return Y})},pr.prototype.remove=function(_){return Xr(this,_,g)},pr.prototype.deleteIn=function(_){return this.updateIn(_,function(){return g})},pr.prototype.update=function(_,Y,fe){return arguments.length===1?_(this):this.updateIn([_],Y,fe)},pr.prototype.updateIn=function(_,Y,fe){fe||(fe=Y,Y=void 0);var Ae=Li(this,hi(_),Y,fe);return Ae===g?void 0:Ae},pr.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Pr()},pr.prototype.merge=function(){return Qn(this,void 0,arguments)},pr.prototype.mergeWith=function(_){var Y=v.call(arguments,1);return Qn(this,_,Y)},pr.prototype.mergeIn=function(_){var Y=v.call(arguments,1);return this.updateIn(_,Pr(),function(fe){return typeof fe.merge=="function"?fe.merge.apply(fe,Y):Y[Y.length-1]})},pr.prototype.mergeDeep=function(){return Qn(this,ui,arguments)},pr.prototype.mergeDeepWith=function(_){var Y=v.call(arguments,1);return Qn(this,pi(_),Y)},pr.prototype.mergeDeepIn=function(_){var Y=v.call(arguments,1);return this.updateIn(_,Pr(),function(fe){return typeof fe.mergeDeep=="function"?fe.mergeDeep.apply(fe,Y):Y[Y.length-1]})},pr.prototype.sort=function(_){return gi(ea(this,_))},pr.prototype.sortBy=function(_,Y){return gi(ea(this,Y,_))},pr.prototype.withMutations=function(_){var Y=this.asMutable();return _(Y),Y.wasAltered()?Y.__ensureOwner(this.__ownerID):this},pr.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new F)},pr.prototype.asImmutable=function(){return this.__ensureOwner()},pr.prototype.wasAltered=function(){return this.__altered},pr.prototype.__iterator=function(_,Y){return new At(this,_,Y)},pr.prototype.__iterate=function(_,Y){var fe=this,Ae=0;return this._root&&this._root.iterate(function(De){return Ae++,_(De[1],De[0],fe)},Y),Ae},pr.prototype.__ensureOwner=function(_){return _===this.__ownerID?this:_?dr(this.size,this._root,_,this.__hash):(this.__ownerID=_,this.__altered=!1,this)};function Wt(_){return!!(_&&_[yt])}pr.isMap=Wt;var yt="@@__IMMUTABLE_MAP__@@",Mt=pr.prototype;Mt[yt]=!0,Mt[f]=Mt.remove,Mt.removeIn=Mt.deleteIn;function Jt(_,Y){this.ownerID=_,this.entries=Y}Jt.prototype.get=function(_,Y,fe,Ae){for(var De=this.entries,at=0,Ct=De.length;at=Ui)return Yn(_,Tr,Ae,De);var xn=_&&_===this.ownerID,jt=xn?Tr:K(Tr);return dn?nr?Dr===Br-1?jt.pop():jt[Dr]=jt.pop():jt[Dr]=[Ae,De]:jt.push([Ae,De]),xn?(this.entries=jt,this):new Jt(_,jt)}};function Se(_,Y,fe){this.ownerID=_,this.bitmap=Y,this.nodes=fe}Se.prototype.get=function(_,Y,fe,Ae){Y===void 0&&(Y=Gr(fe));var De=1<<((_===0?Y:Y>>>_)&d),at=this.bitmap;return at&De?this.nodes[Mi(at&De-1)].get(_+p,Y,fe,Ae):Ae},Se.prototype.update=function(_,Y,fe,Ae,De,at,Ct){fe===void 0&&(fe=Gr(Ae));var nr=(Y===0?fe:fe>>>Y)&d,Tr=1<=Ei)return li(_,xn,Dr,nr,hr);if(Br&&!hr&&xn.length===2&&qr(xn[dn^1]))return xn[dn^1];if(Br&&hr&&xn.length===1&&qr(hr))return hr;var ur=_&&_===this.ownerID,tn=Br?hr?Dr:Dr^Tr:Dr|Tr,kn=Br?hr?ci(xn,dn,hr,ur):ai(xn,dn,ur):fi(xn,dn,hr,ur);return ur?(this.bitmap=tn,this.nodes=kn,this):new Se(_,tn,kn)};function qe(_,Y,fe){this.ownerID=_,this.count=Y,this.nodes=fe}qe.prototype.get=function(_,Y,fe,Ae){Y===void 0&&(Y=Gr(fe));var De=(_===0?Y:Y>>>_)&d,at=this.nodes[De];return at?at.get(_+p,Y,fe,Ae):Ae},qe.prototype.update=function(_,Y,fe,Ae,De,at,Ct){fe===void 0&&(fe=Gr(Ae));var nr=(Y===0?fe:fe>>>Y)&d,Tr=De===g,Dr=this.nodes,Br=Dr[nr];if(Tr&&!Br)return this;var dn=un(Br,_,Y+p,fe,Ae,De,at,Ct);if(dn===Br)return this;var xn=this.count;if(!Br)xn++;else if(!dn&&(xn--,xn>>fe)&d,Ct=(fe===0?Ae:Ae>>>fe)&d,nr,Tr=at===Ct?[Bn(_,Y,fe+p,Ae,De)]:(nr=new rr(Y,Ae,De),at>>=1)Ct[nr]=fe&1?Y[at++]:void 0;return Ct[Ae]=De,new qe(_,at+1,Ct)}function Qn(_,Y,fe){for(var Ae=[],De=0;De>1&1431655765),_=(_&858993459)+(_>>2&858993459),_=_+(_>>4)&252645135,_=_+(_>>8),_=_+(_>>16),_&127}function ci(_,Y,fe,Ae){var De=Ae?_:K(_);return De[Y]=fe,De}function fi(_,Y,fe,Ae){var De=_.length+1;if(Ae&&Y+1===De)return _[Y]=fe,_;for(var at=new Array(De),Ct=0,nr=0;nr0&&Ae=0&&_>>Y&d;if(Ae>=this.array.length)return new kr([],_);var De=Ae===0,at;if(Y>0){var Ct=this.array[Ae];if(at=Ct&&Ct.removeBefore(_,Y-p,fe),at===Ct&&De)return this}if(De&&!at)return this;var nr=aa(this,_);if(!De)for(var Tr=0;Tr>>Y&d;if(Ae>=this.array.length)return this;var De;if(Y>0){var at=this.array[Ae];if(De=at&&at.removeAfter(_,Y-p,fe),De===at&&Ae===this.array.length-1)return this}var Ct=aa(this,_);return Ct.array.splice(Ae+1),De&&(Ct.array[Ae]=De),Ct};var Pn={};function en(_,Y){var fe=_._origin,Ae=_._capacity,De=ha(Ae),at=_._tail;return Ct(_._root,_._level,0);function Ct(Dr,Br,dn){return Br===0?nr(Dr,dn):Tr(Dr,Br,dn)}function nr(Dr,Br){var dn=Br===De?at&&at.array:Dr&&Dr.array,xn=Br>fe?0:fe-Br,jt=Ae-Br;return jt>c&&(jt=c),function(){if(xn===jt)return Pn;var hr=Y?--jt:xn++;return dn&&dn[hr]}}function Tr(Dr,Br,dn){var xn,jt=Dr&&Dr.array,hr=dn>fe?0:fe-dn>>Br,ur=(Ae-dn>>Br)+1;return ur>c&&(ur=c),function(){do{if(xn){var tn=xn();if(tn!==Pn)return tn;xn=null}if(hr===ur)return Pn;var kn=Y?--ur:hr++;xn=Ct(jt&&jt[kn],Br-p,dn+(kn<=_.size||Y<0)return _.withMutations(function(Ct){Y<0?na(Ct,Y).set(0,fe):na(Ct,0,Y+1).set(Y,fe)});Y+=_._origin;var Ae=_._tail,De=_._root,at=T(x);return Y>=ha(_._capacity)?Ae=Xi(Ae,_.__ownerID,0,Y,fe,at):De=Xi(De,_.__ownerID,_._level,Y,fe,at),at.value?_.__ownerID?(_._root=De,_._tail=Ae,_.__hash=void 0,_.__altered=!0,_):Cn(_._origin,_._capacity,_._level,De,Ae):_}function Xi(_,Y,fe,Ae,De,at){var Ct=Ae>>>fe&d,nr=_&&Ct<_.array.length;if(!nr&&De===void 0)return _;var Tr;if(fe>0){var Dr=_&&_.array[Ct],Br=Xi(Dr,Y,fe-p,Ae,De,at);return Br===Dr?_:(Tr=aa(_,Y),Tr.array[Ct]=Br,Tr)}return nr&&_.array[Ct]===De?_:(O(at),Tr=aa(_,Y),De===void 0&&Ct===Tr.array.length-1?Tr.array.pop():Tr.array[Ct]=De,Tr)}function aa(_,Y){return Y&&_&&Y===_.ownerID?_:new kr(_?_.array.slice():[],Y)}function oa(_,Y){if(Y>=ha(_._capacity))return _._tail;if(Y<1<<_._level+p){for(var fe=_._root,Ae=_._level;fe&&Ae>0;)fe=fe.array[Y>>>Ae&d],Ae-=p;return fe}}function na(_,Y,fe){Y!==void 0&&(Y=Y|0),fe!==void 0&&(fe=fe|0);var Ae=_.__ownerID||new F,De=_._origin,at=_._capacity,Ct=De+Y,nr=fe===void 0?at:fe<0?at+fe:De+fe;if(Ct===De&&nr===at)return _;if(Ct>=nr)return _.clear();for(var Tr=_._level,Dr=_._root,Br=0;Ct+Br<0;)Dr=new kr(Dr&&Dr.array.length?[void 0,Dr]:[],Ae),Tr+=p,Br+=1<=1<dn?new kr([],Ae):jt;if(jt&&xn>dn&&Ctp;tn-=p){var kn=dn>>>tn&d;ur=ur.array[kn]=aa(ur.array[kn],Ae)}ur.array[dn>>>p&d]=jt}if(nr=xn)Ct-=xn,nr-=xn,Tr=p,Dr=null,hr=hr&&hr.removeBefore(Ae,0,Ct);else if(Ct>De||xn>>Tr&d;if(xi!==xn>>>Tr&d)break;xi&&(Br+=(1<De&&(Dr=Dr.removeBefore(Ae,Tr,Ct-Br)),Dr&&xnDe&&(De=nr.size),h(Ct)||(nr=nr.map(function(Tr){return Ze(Tr)})),Ae.push(nr)}return De>_.size&&(_=_.setSize(De)),Dn(_,Y,Ae)}function ha(_){return _>>p<=c&&De.size>=Ae.size*2?(Tr=De.filter(function(Dr,Br){return Dr!==void 0&&at!==Br}),nr=Tr.toKeyedSeq().map(function(Dr){return Dr[0]}).flip().toMap(),_.__ownerID&&(nr.__ownerID=Tr.__ownerID=_.__ownerID)):(nr=Ae.remove(Y),Tr=at===De.size-1?De.pop():De.set(at,void 0))}else if(Ct){if(fe===De.get(at)[1])return _;nr=Ae,Tr=De.set(at,[Y,fe])}else nr=Ae.set(Y,De.size),Tr=De.set(De.size,[Y,fe]);return _.__ownerID?(_.size=nr.size,_._map=nr,_._list=Tr,_.__hash=void 0,_):Sn(nr,Tr)}t(Vn,ue);function Vn(_,Y){this._iter=_,this._useKeys=Y,this.size=_.size}Vn.prototype.get=function(_,Y){return this._iter.get(_,Y)},Vn.prototype.has=function(_){return this._iter.has(_)},Vn.prototype.valueSeq=function(){return this._iter.valueSeq()},Vn.prototype.reverse=function(){var _=this,Y=Ki(this,!0);return this._useKeys||(Y.valueSeq=function(){return _._iter.toSeq().reverse()}),Y},Vn.prototype.map=function(_,Y){var fe=this,Ae=ca(this,_,Y);return this._useKeys||(Ae.valueSeq=function(){return fe._iter.toSeq().map(_,Y)}),Ae},Vn.prototype.__iterate=function(_,Y){var fe=this,Ae;return this._iter.__iterate(this._useKeys?function(De,at){return _(De,at,fe)}:(Ae=Y?yn(this):0,function(De){return _(De,Y?--Ae:Ae++,fe)}),Y)},Vn.prototype.__iterator=function(_,Y){if(this._useKeys)return this._iter.__iterator(_,Y);var fe=this._iter.__iterator(k,Y),Ae=Y?yn(this):0;return new te(function(){var De=fe.next();return De.done?De:ge(_,Y?--Ae:Ae++,De.value,De)})},Vn.prototype[D]=!0,t(_i,Le);function _i(_){this._iter=_,this.size=_.size}_i.prototype.includes=function(_){return this._iter.includes(_)},_i.prototype.__iterate=function(_,Y){var fe=this,Ae=0;return this._iter.__iterate(function(De){return _(De,Ae++,fe)},Y)},_i.prototype.__iterator=function(_,Y){var fe=this._iter.__iterator(k,Y),Ae=0;return new te(function(){var De=fe.next();return De.done?De:ge(_,Ae++,De.value,De)})},t(Mn,je);function Mn(_){this._iter=_,this.size=_.size}Mn.prototype.has=function(_){return this._iter.includes(_)},Mn.prototype.__iterate=function(_,Y){var fe=this;return this._iter.__iterate(function(Ae){return _(Ae,Ae,fe)},Y)},Mn.prototype.__iterator=function(_,Y){var fe=this._iter.__iterator(k,Y);return new te(function(){var Ae=fe.next();return Ae.done?Ae:ge(_,Ae.value,Ae.value,Ae)})},t(In,ue);function In(_){this._iter=_,this.size=_.size}In.prototype.entrySeq=function(){return this._iter.toSeq()},In.prototype.__iterate=function(_,Y){var fe=this;return this._iter.__iterate(function(Ae){if(Ae){Ba(Ae);var De=h(Ae);return _(De?Ae.get(1):Ae[1],De?Ae.get(0):Ae[0],fe)}},Y)},In.prototype.__iterator=function(_,Y){var fe=this._iter.__iterator(k,Y);return new te(function(){for(;;){var Ae=fe.next();if(Ae.done)return Ae;var De=Ae.value;if(De){Ba(De);var at=h(De);return ge(_,at?De.get(0):De[0],at?De.get(1):De[1],Ae)}}})},_i.prototype.cacheResult=Vn.prototype.cacheResult=Mn.prototype.cacheResult=In.prototype.cacheResult=Wr;function Aa(_){var Y=Gn(_);return Y._iter=_,Y.size=_.size,Y.flip=function(){return _},Y.reverse=function(){var fe=_.reverse.apply(this);return fe.flip=function(){return _.reverse()},fe},Y.has=function(fe){return _.includes(fe)},Y.includes=function(fe){return _.has(fe)},Y.cacheResult=Wr,Y.__iterateUncached=function(fe,Ae){var De=this;return _.__iterate(function(at,Ct){return fe(Ct,at,De)!==!1},Ae)},Y.__iteratorUncached=function(fe,Ae){if(fe===W){var De=_.__iterator(fe,Ae);return new te(function(){var at=De.next();if(!at.done){var Ct=at.value[0];at.value[0]=at.value[1],at.value[1]=Ct}return at})}return _.__iterator(fe===k?B:k,Ae)},Y}function ca(_,Y,fe){var Ae=Gn(_);return Ae.size=_.size,Ae.has=function(De){return _.has(De)},Ae.get=function(De,at){var Ct=_.get(De,g);return Ct===g?at:Y.call(fe,Ct,De,_)},Ae.__iterateUncached=function(De,at){var Ct=this;return _.__iterate(function(nr,Tr,Dr){return De(Y.call(fe,nr,Tr,Dr),Tr,Ct)!==!1},at)},Ae.__iteratorUncached=function(De,at){var Ct=_.__iterator(W,at);return new te(function(){var nr=Ct.next();if(nr.done)return nr;var Tr=nr.value,Dr=Tr[0];return ge(De,Dr,Y.call(fe,Tr[1],Dr,_),nr)})},Ae}function Ki(_,Y){var fe=Gn(_);return fe._iter=_,fe.size=_.size,fe.reverse=function(){return _},_.flip&&(fe.flip=function(){var Ae=Aa(_);return Ae.reverse=function(){return _.flip()},Ae}),fe.get=function(Ae,De){return _.get(Y?Ae:-1-Ae,De)},fe.has=function(Ae){return _.has(Y?Ae:-1-Ae)},fe.includes=function(Ae){return _.includes(Ae)},fe.cacheResult=Wr,fe.__iterate=function(Ae,De){var at=this;return _.__iterate(function(Ct,nr){return Ae(Ct,nr,at)},!De)},fe.__iterator=function(Ae,De){return _.__iterator(Ae,!De)},fe}function io(_,Y,fe,Ae){var De=Gn(_);return Ae&&(De.has=function(at){var Ct=_.get(at,g);return Ct!==g&&!!Y.call(fe,Ct,at,_)},De.get=function(at,Ct){var nr=_.get(at,g);return nr!==g&&Y.call(fe,nr,at,_)?nr:Ct}),De.__iterateUncached=function(at,Ct){var nr=this,Tr=0;return _.__iterate(function(Dr,Br,dn){if(Y.call(fe,Dr,Br,dn))return Tr++,at(Dr,Ae?Br:Tr-1,nr)},Ct),Tr},De.__iteratorUncached=function(at,Ct){var nr=_.__iterator(W,Ct),Tr=0;return new te(function(){for(;;){var Dr=nr.next();if(Dr.done)return Dr;var Br=Dr.value,dn=Br[0],xn=Br[1];if(Y.call(fe,xn,dn,_))return ge(at,Ae?dn:Tr++,xn,Dr)}})},De}function ho(_,Y,fe){var Ae=pr().asMutable();return _.__iterate(function(De,at){Ae.update(Y.call(fe,De,at,_),0,function(Ct){return Ct+1})}),Ae.asImmutable()}function Wo(_,Y,fe){var Ae=u(_),De=(l(_)?gi():pr()).asMutable();_.__iterate(function(Ct,nr){De.update(Y.call(fe,Ct,nr,_),function(Tr){return Tr=Tr||[],Tr.push(Ae?[nr,Ct]:Ct),Tr})});var at=zn(_);return De.map(function(Ct){return yi(_,at(Ct))})}function Ya(_,Y,fe,Ae){var De=_.size;if(Y!==void 0&&(Y=Y|0),fe!==void 0&&(fe===1/0?fe=De:fe=fe|0),ie(Y,fe,De))return _;var at=we(Y,De),Ct=Ce(fe,De);if(at!==at||Ct!==Ct)return Ya(_.toSeq().cacheResult(),Y,fe,Ae);var nr=Ct-at,Tr;nr===nr&&(Tr=nr<0?0:nr);var Dr=Gn(_);return Dr.size=Tr===0?Tr:_.size&&Tr||void 0,!Ae&&j(_)&&Tr>=0&&(Dr.get=function(Br,dn){return Br=he(this,Br),Br>=0&&BrTr)return Fe();var ur=xn.next();return Ae||Br===k?ur:Br===B?ge(Br,hr-1,void 0,ur):ge(Br,hr-1,ur.value[1],ur)})},Dr}function Po(_,Y,fe){var Ae=Gn(_);return Ae.__iterateUncached=function(De,at){var Ct=this;if(at)return this.cacheResult().__iterate(De,at);var nr=0;return _.__iterate(function(Tr,Dr,Br){return Y.call(fe,Tr,Dr,Br)&&++nr&&De(Tr,Dr,Ct)}),nr},Ae.__iteratorUncached=function(De,at){var Ct=this;if(at)return this.cacheResult().__iterator(De,at);var nr=_.__iterator(W,at),Tr=!0;return new te(function(){if(!Tr)return Fe();var Dr=nr.next();if(Dr.done)return Dr;var Br=Dr.value,dn=Br[0],xn=Br[1];return Y.call(fe,xn,dn,Ct)?De===W?Dr:ge(De,dn,xn,Dr):(Tr=!1,Fe())})},Ae}function qi(_,Y,fe,Ae){var De=Gn(_);return De.__iterateUncached=function(at,Ct){var nr=this;if(Ct)return this.cacheResult().__iterate(at,Ct);var Tr=!0,Dr=0;return _.__iterate(function(Br,dn,xn){if(!(Tr&&(Tr=Y.call(fe,Br,dn,xn))))return Dr++,at(Br,Ae?dn:Dr-1,nr)}),Dr},De.__iteratorUncached=function(at,Ct){var nr=this;if(Ct)return this.cacheResult().__iterator(at,Ct);var Tr=_.__iterator(W,Ct),Dr=!0,Br=0;return new te(function(){var dn,xn,jt;do{if(dn=Tr.next(),dn.done)return Ae||at===k?dn:at===B?ge(at,Br++,void 0,dn):ge(at,Br++,dn.value[1],dn);var hr=dn.value;xn=hr[0],jt=hr[1],Dr&&(Dr=Y.call(fe,jt,xn,nr))}while(Dr);return at===W?dn:ge(at,xn,jt,dn)})},De}function wo(_,Y){var fe=u(_),Ae=[_].concat(Y).map(function(Ct){return h(Ct)?fe&&(Ct=o(Ct)):Ct=fe?Je(Ct):ot(Array.isArray(Ct)?Ct:[Ct]),Ct}).filter(function(Ct){return Ct.size!==0});if(Ae.length===0)return _;if(Ae.length===1){var De=Ae[0];if(De===_||fe&&u(De)||A(_)&&A(De))return De}var at=new $(Ae);return fe?at=at.toKeyedSeq():A(_)||(at=at.toSetSeq()),at=at.flatten(!0),at.size=Ae.reduce(function(Ct,nr){if(Ct!==void 0){var Tr=nr.size;if(Tr!==void 0)return Ct+Tr}},0),at}function Oa(_,Y,fe){var Ae=Gn(_);return Ae.__iterateUncached=function(De,at){var Ct=0,nr=!1;function Tr(Dr,Br){var dn=this;Dr.__iterate(function(xn,jt){return(!Y||Br0}function Fa(_,Y,fe){var Ae=Gn(_);return Ae.size=new $(fe).map(function(De){return De.size}).min(),Ae.__iterate=function(De,at){for(var Ct=this.__iterator(k,at),nr,Tr=0;!(nr=Ct.next()).done&&De(nr.value,Tr++,this)!==!1;);return Tr},Ae.__iteratorUncached=function(De,at){var Ct=fe.map(function(Dr){return Dr=n(Dr),Xe(at?Dr.reverse():Dr)}),nr=0,Tr=!1;return new te(function(){var Dr;return Tr||(Dr=Ct.map(function(Br){return Br.next()}),Tr=Dr.some(function(Br){return Br.done})),Tr?Fe():ge(De,nr++,Y.apply(null,Dr.map(function(Br){return Br.value})))})},Ae}function yi(_,Y){return j(_)?Y:_.constructor(Y)}function Ba(_){if(_!==Object(_))throw new TypeError("Expected [K, V] tuple: "+_)}function yn(_){return br(_.size),ee(_)}function zn(_){return u(_)?o:A(_)?r:s}function Gn(_){return Object.create((u(_)?ue:A(_)?Le:je).prototype)}function Wr(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Ie.prototype.cacheResult.call(this)}function Zi(_,Y){return _>Y?1:_=0;fe--)Y={value:arguments[fe],next:Y};return this.__ownerID?(this.size=_,this._head=Y,this.__hash=void 0,this.__altered=!0,this):_r(_,Y)},Nt.prototype.pushAll=function(_){if(_=r(_),_.size===0)return this;br(_.size);var Y=this.size,fe=this._head;return _.reverse().forEach(function(Ae){Y++,fe={value:Ae,next:fe}}),this.__ownerID?(this.size=Y,this._head=fe,this.__hash=void 0,this.__altered=!0,this):_r(Y,fe)},Nt.prototype.pop=function(){return this.slice(1)},Nt.prototype.unshift=function(){return this.push.apply(this,arguments)},Nt.prototype.unshiftAll=function(_){return this.pushAll(_)},Nt.prototype.shift=function(){return this.pop.apply(this,arguments)},Nt.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Er()},Nt.prototype.slice=function(_,Y){if(ie(_,Y,this.size))return this;var fe=we(_,this.size),Ae=Ce(Y,this.size);if(Ae!==this.size)return Fr.prototype.slice.call(this,_,Y);for(var De=this.size-fe,at=this._head;fe--;)at=at.next;return this.__ownerID?(this.size=De,this._head=at,this.__hash=void 0,this.__altered=!0,this):_r(De,at)},Nt.prototype.__ensureOwner=function(_){return _===this.__ownerID?this:_?_r(this.size,this._head,_,this.__hash):(this.__ownerID=_,this.__altered=!1,this)},Nt.prototype.__iterate=function(_,Y){if(Y)return this.reverse().__iterate(_);for(var fe=0,Ae=this._head;Ae&&_(Ae.value,fe++,this)!==!1;)Ae=Ae.next;return fe},Nt.prototype.__iterator=function(_,Y){if(Y)return this.reverse().__iterator(_);var fe=0,Ae=this._head;return new te(function(){if(Ae){var De=Ae.value;return Ae=Ae.next,ge(_,fe++,De)}return Fe()})};function xr(_){return!!(_&&_[vr])}Nt.isStack=xr;var vr="@@__IMMUTABLE_STACK__@@",sr=Nt.prototype;sr[vr]=!0,sr.withMutations=Mt.withMutations,sr.asMutable=Mt.asMutable,sr.asImmutable=Mt.asImmutable,sr.wasAltered=Mt.wasAltered;function _r(_,Y,fe,Ae){var De=Object.create(sr);return De.size=_,De._head=Y,De.__ownerID=fe,De.__hash=Ae,De.__altered=!1,De}var Ar;function Er(){return Ar||(Ar=_r(0))}function fr(_,Y){var fe=function(Ae){_.prototype[Ae]=Y[Ae]};return Object.keys(Y).forEach(fe),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(Y).forEach(fe),_}n.Iterator=te,fr(n,{toArray:function(){br(this.size);var _=new Array(this.size||0);return this.valueSeq().__iterate(function(Y,fe){_[fe]=Y}),_},toIndexedSeq:function(){return new _i(this)},toJS:function(){return this.toSeq().map(function(_){return _&&typeof _.toJS=="function"?_.toJS():_}).__toJS()},toJSON:function(){return this.toSeq().map(function(_){return _&&typeof _.toJSON=="function"?_.toJSON():_}).__toJS()},toKeyedSeq:function(){return new Vn(this,!0)},toMap:function(){return pr(this.toKeyedSeq())},toObject:function(){br(this.size);var _={};return this.__iterate(function(Y,fe){_[fe]=Y}),_},toOrderedMap:function(){return gi(this.toKeyedSeq())},toOrderedSet:function(){return _e(u(this)?this.valueSeq():this)},toSet:function(){return Ve(u(this)?this.valueSeq():this)},toSetSeq:function(){return new Mn(this)},toSeq:function(){return A(this)?this.toIndexedSeq():u(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Nt(u(this)?this.valueSeq():this)},toList:function(){return $n(u(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(_,Y){return this.size===0?_+Y:_+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+Y},concat:function(){var _=v.call(arguments,0);return yi(this,wo(this,_))},includes:function(_){return this.some(function(Y){return vt(Y,_)})},entries:function(){return this.__iterator(W)},every:function(_,Y){br(this.size);var fe=!0;return this.__iterate(function(Ae,De,at){if(!_.call(Y,Ae,De,at))return fe=!1,!1}),fe},filter:function(_,Y){return yi(this,io(this,_,Y,!0))},find:function(_,Y,fe){var Ae=this.findEntry(_,Y);return Ae?Ae[1]:fe},forEach:function(_,Y){return br(this.size),this.__iterate(Y?_.bind(Y):_)},join:function(_){br(this.size),_=_!==void 0?""+_:",";var Y="",fe=!0;return this.__iterate(function(Ae){fe?fe=!1:Y+=_,Y+=Ae!=null?Ae.toString():""}),Y},keys:function(){return this.__iterator(B)},map:function(_,Y){return yi(this,ca(this,_,Y))},reduce:function(_,Y,fe){br(this.size);var Ae,De;return arguments.length<2?De=!0:Ae=Y,this.__iterate(function(at,Ct,nr){De?(De=!1,Ae=at):Ae=_.call(fe,Ae,at,Ct,nr)}),Ae},reduceRight:function(_,Y,fe){var Ae=this.toKeyedSeq().reverse();return Ae.reduce.apply(Ae,arguments)},reverse:function(){return yi(this,Ki(this,!0))},slice:function(_,Y){return yi(this,Ya(this,_,Y,!0))},some:function(_,Y){return!this.every(or(_),Y)},sort:function(_){return yi(this,ea(this,_))},values:function(){return this.__iterator(k)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some(function(){return!0})},count:function(_,Y){return ee(_?this.toSeq().filter(_,Y):this)},countBy:function(_,Y){return ho(this,_,Y)},equals:function(_){return Pt(this,_)},entrySeq:function(){var _=this;if(_._cache)return new $(_._cache);var Y=_.toSeq().map(On).toIndexedSeq();return Y.fromEntrySeq=function(){return _.toSeq()},Y},filterNot:function(_,Y){return this.filter(or(_),Y)},findEntry:function(_,Y,fe){var Ae=fe;return this.__iterate(function(De,at,Ct){if(_.call(Y,De,at,Ct))return Ae=[at,De],!1}),Ae},findKey:function(_,Y){var fe=this.findEntry(_,Y);return fe&&fe[0]},findLast:function(_,Y,fe){return this.toKeyedSeq().reverse().find(_,Y,fe)},findLastEntry:function(_,Y,fe){return this.toKeyedSeq().reverse().findEntry(_,Y,fe)},findLastKey:function(_,Y){return this.toKeyedSeq().reverse().findKey(_,Y)},first:function(){return this.find(pe)},flatMap:function(_,Y){return yi(this,Io(this,_,Y))},flatten:function(_){return yi(this,Oa(this,_,!0))},fromEntrySeq:function(){return new In(this)},get:function(_,Y){return this.find(function(fe,Ae){return vt(Ae,_)},void 0,Y)},getIn:function(_,Y){for(var fe=this,Ae=hi(_),De;!(De=Ae.next()).done;){var at=De.value;if(fe=fe&&fe.get?fe.get(at,g):g,fe===g)return Y}return fe},groupBy:function(_,Y){return Wo(this,_,Y)},has:function(_){return this.get(_,g)!==g},hasIn:function(_){return this.getIn(_,g)!==g},isSubset:function(_){return _=typeof _.includes=="function"?_:n(_),this.every(function(Y){return _.includes(Y)})},isSuperset:function(_){return _=typeof _.isSubset=="function"?_:n(_),_.isSubset(this)},keyOf:function(_){return this.findKey(function(Y){return vt(Y,_)})},keySeq:function(){return this.toSeq().map(fn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(_){return this.toKeyedSeq().reverse().keyOf(_)},max:function(_){return wa(this,_)},maxBy:function(_,Y){return wa(this,Y,_)},min:function(_){return wa(this,_?on(_):Ni)},minBy:function(_,Y){return wa(this,Y?on(Y):Ni,_)},rest:function(){return this.slice(1)},skip:function(_){return this.slice(Math.max(0,_))},skipLast:function(_){return yi(this,this.toSeq().reverse().skip(_).reverse())},skipWhile:function(_,Y){return yi(this,qi(this,_,Y,!0))},skipUntil:function(_,Y){return this.skipWhile(or(_),Y)},sortBy:function(_,Y){return yi(this,ea(this,Y,_))},take:function(_){return this.slice(0,Math.max(0,_))},takeLast:function(_){return yi(this,this.toSeq().reverse().take(_).reverse())},takeWhile:function(_,Y){return yi(this,Po(this,_,Y))},takeUntil:function(_,Y){return this.takeWhile(or(_),Y)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=wi(this))}});var Lr=n.prototype;Lr[C]=!0,Lr[re]=Lr.values,Lr.__toJS=Lr.toArray,Lr.__toStringMapper=En,Lr.inspect=Lr.toSource=function(){return this.toString()},Lr.chain=Lr.flatMap,Lr.contains=Lr.includes,fr(o,{flip:function(){return yi(this,Aa(this))},mapEntries:function(_,Y){var fe=this,Ae=0;return yi(this,this.toSeq().map(function(De,at){return _.call(Y,[at,De],Ae++,fe)}).fromEntrySeq())},mapKeys:function(_,Y){var fe=this;return yi(this,this.toSeq().flip().map(function(Ae,De){return _.call(Y,Ae,De,fe)}).flip())}});var an=o.prototype;an[b]=!0,an[re]=Lr.entries,an.__toJS=Lr.toObject,an.__toStringMapper=function(_,Y){return JSON.stringify(Y)+": "+En(_)},fr(r,{toKeyedSeq:function(){return new Vn(this,!1)},filter:function(_,Y){return yi(this,io(this,_,Y,!1))},findIndex:function(_,Y){var fe=this.findEntry(_,Y);return fe?fe[0]:-1},indexOf:function(_){var Y=this.keyOf(_);return Y===void 0?-1:Y},lastIndexOf:function(_){var Y=this.lastKeyOf(_);return Y===void 0?-1:Y},reverse:function(){return yi(this,Ki(this,!1))},slice:function(_,Y){return yi(this,Ya(this,_,Y,!1))},splice:function(_,Y){var fe=arguments.length;if(Y=Math.max(Y|0,0),fe===0||fe===2&&!Y)return this;_=we(_,_<0?this.count():this.size);var Ae=this.slice(0,_);return yi(this,fe===1?Ae:Ae.concat(K(arguments,2),this.slice(_+Y)))},findLastIndex:function(_,Y){var fe=this.findLastEntry(_,Y);return fe?fe[0]:-1},first:function(){return this.get(0)},flatten:function(_){return yi(this,Oa(this,_,!1))},get:function(_,Y){return _=he(this,_),_<0||this.size===1/0||this.size!==void 0&&_>this.size?Y:this.find(function(fe,Ae){return Ae===_},void 0,Y)},has:function(_){return _=he(this,_),_>=0&&(this.size!==void 0?this.size===1/0||_Y?-1:0}function wi(_){if(_.size===1/0)return 0;var Y=l(_),fe=u(_),Ae=Y?1:0,De=_.__iterate(fe?Y?function(at,Ct){Ae=31*Ae+Ji(Gr(at),Gr(Ct))|0}:function(at,Ct){Ae=Ae+Ji(Gr(at),Gr(Ct))|0}:Y?function(at){Ae=31*Ae+Gr(at)|0}:function(at){Ae=Ae+Gr(at)|0});return ki(De,Ae)}function ki(_,Y){return Y=Or(Y,3432918353),Y=Or(Y<<15|Y>>>-15,461845907),Y=Or(Y<<13|Y>>>-13,5),Y=(Y+3864292196|0)^_,Y=Or(Y^Y>>>16,2246822507),Y=Or(Y^Y>>>13,3266489909),Y=Nr(Y^Y>>>16),Y}function Ji(_,Y){return _^Y+2654435769+(_<<6)+(_>>2)|0}var la={Iterable:n,Seq:Ie,Collection:ir,Map:pr,OrderedMap:gi,List:$n,Stack:Nt,Set:Ve,OrderedSet:_e,Record:oi,Range:Ht,Repeat:Ge,is:vt,fromJS:Ze};return la})},"euHX/qmX":I=>{"use strict";I.exports=o,I.exports.isMobile=o,I.exports.default=o;const v=/(android|bb\d+|meego).+mobile|armv7l|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[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,t=/CrOS/,n=/android|ipad|playbook|silk/i;function o(r){r||(r={});let s=r.ua;if(!s&&typeof navigator<"u"&&(s=navigator.userAgent),s&&s.headers&&typeof s.headers["user-agent"]=="string"&&(s=s.headers["user-agent"]),typeof s!="string")return!1;let h=v.test(s)&&!t.test(s)||!!r.tablet&&n.test(s);return!h&&r.tablet&&r.featureDetect&&navigator&&navigator.maxTouchPoints>1&&s.indexOf("Macintosh")!==-1&&s.indexOf("Safari")!==-1&&(h=!0),h}},VtR63BhO:I=>{"use strict";I.exports=function(v){for(var t=v.length,n,o=0;o13)&&n!==32&&n!==133&&n!==160&&n!==5760&&n!==6158&&(n<8192||n>8205)&&n!==8232&&n!==8233&&n!==8239&&n!==8287&&n!==8288&&n!==12288&&n!==65279)return!1;return!0}},xDDmSnG9:(I,v)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0});var t=function(r){var s=r.offsetHeight,h=getComputedStyle(r),u=h.marginTop,A=h.marginBottom;return s+=parseInt(u,10)+parseInt(A,10),s},n=function(r){return function(s){var h=r.scrollTop,u=r.scrollHeight,A=s.type,S=s.detail,l=s.wheelDelta,C=t(r),b=A==="DOMMouseScroll"?S*-40:l,m=b>0,D=function(){return s.stopPropagation(),s.preventDefault(),s.returnValue=!1,!1};if(!m&&-b>u-C-h)return r.scrollTop=u,D();if(m&&b>h)return r.scrollTop=0,D()}};v.default=function(o){var r=n(o),s=(o.addEventListener||o.attachEvent).bind(o),h=(o.removeEventListener||o.detachEvent).bind(o);return s("mousewheel",r),s("DOMMouseScroll",r),function(){h("mousewheel",r),h("DOMMouseScroll",r)}},I.exports=v.default},"CupN+4mD":(I,v,t)=>{var n=t("C14Xp2Ng"),o=t("RMa3hR3V"),r=n(o,"DataView");I.exports=r},xSIpMwES:(I,v,t)=>{var n=t("molWVcsd"),o=t("Np/uUz3h"),r=t("l6cjUH6r"),s=t("BfCHtAmD"),h=t("Y2k8MD7+");function u(A){var S=-1,l=A==null?0:A.length;for(this.clear();++S{var n=t("36gvFkyC"),o=t("PIvmiIaU"),r=t("RNZ0AJ6u"),s=t("ujvxbrYf"),h=t("eor5MVfv");function u(A){var S=-1,l=A==null?0:A.length;for(this.clear();++S{var n=t("C14Xp2Ng"),o=t("RMa3hR3V"),r=n(o,"Map");I.exports=r},"+UVuVHRt":(I,v,t)=>{var n=t("dmHg9sC/"),o=t("O7WwaaiA"),r=t("MH5e4+91"),s=t("XbJIAQJx"),h=t("ikzlDpcK");function u(A){var S=-1,l=A==null?0:A.length;for(this.clear();++S{var n=t("C14Xp2Ng"),o=t("RMa3hR3V"),r=n(o,"Promise");I.exports=r},Eom51AvC:(I,v,t)=>{var n=t("C14Xp2Ng"),o=t("RMa3hR3V"),r=n(o,"Set");I.exports=r},Qf0Q7TmK:(I,v,t)=>{var n=t("+UVuVHRt"),o=t("Zz5qLMgh"),r=t("2LGZhEqn");function s(h){var u=-1,A=h==null?0:h.length;for(this.__data__=new n;++u{var n=t("jBfUYu/J"),o=t("pL6zch2t"),r=t("nIQP9B2F"),s=t("8NIKrZOh"),h=t("50XfFAhE"),u=t("8H4J8m+L");function A(S){var l=this.__data__=new n(S);this.size=l.size}A.prototype.clear=o,A.prototype.delete=r,A.prototype.get=s,A.prototype.has=h,A.prototype.set=u,I.exports=A},mCEiX8iM:(I,v,t)=>{var n=t("RMa3hR3V"),o=n.Symbol;I.exports=o},"2r49OBLU":(I,v,t)=>{var n=t("RMa3hR3V"),o=n.Uint8Array;I.exports=o},bYbldQND:(I,v,t)=>{var n=t("C14Xp2Ng"),o=t("RMa3hR3V"),r=n(o,"WeakMap");I.exports=r},Qg78R79P:I=>{function v(t,n,o){switch(o.length){case 0:return t.call(n);case 1:return t.call(n,o[0]);case 2:return t.call(n,o[0],o[1]);case 3:return t.call(n,o[0],o[1],o[2])}return t.apply(n,o)}I.exports=v},JouGXtoV:I=>{function v(t,n,o,r){for(var s=-1,h=t==null?0:t.length;++s{function v(t,n){for(var o=-1,r=t==null?0:t.length;++o{function v(t,n){for(var o=-1,r=t==null?0:t.length,s=0,h=[];++o{var n=t("2tBalWps");function o(r,s){var h=r==null?0:r.length;return!!h&&n(r,s,0)>-1}I.exports=o},eCP9gG8B:I=>{function v(t,n,o){for(var r=-1,s=t==null?0:t.length;++r{var n=t("tCcfpTJd"),o=t("K9urbY79"),r=t("Ai8uwR4r"),s=t("FTyHBy/Q"),h=t("03o60v9D"),u=t("5OQmTD4y"),A=Object.prototype,S=A.hasOwnProperty;function l(C,b){var m=r(C),D=!m&&o(C),f=!m&&!D&&s(C),p=!m&&!D&&!f&&u(C),c=m||D||f||p,d=c?n(C.length,String):[],g=d.length;for(var w in C)(b||S.call(C,w))&&!(c&&(w=="length"||f&&(w=="offset"||w=="parent")||p&&(w=="buffer"||w=="byteLength"||w=="byteOffset")||h(w,g)))&&d.push(w);return d}I.exports=l},REt7egjG:I=>{function v(t,n){for(var o=-1,r=t==null?0:t.length,s=Array(r);++o{function v(t,n){for(var o=-1,r=n.length,s=t.length;++o{function v(t,n,o,r){var s=-1,h=t==null?0:t.length;for(r&&h&&(o=t[++s]);++s{function v(t,n){for(var o=-1,r=t==null?0:t.length;++o{function v(t){return t.split("")}I.exports=v},FnVD3SpD:I=>{var v=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function t(n){return n.match(v)||[]}I.exports=t},ASzZCGNz:(I,v,t)=>{var n=t("rAowb+TC"),o=t("pfEsQUpv");function r(s,h,u){(u!==void 0&&!o(s[h],u)||u===void 0&&!(h in s))&&n(s,h,u)}I.exports=r},KKpMMHa1:(I,v,t)=>{var n=t("rAowb+TC"),o=t("pfEsQUpv"),r=Object.prototype,s=r.hasOwnProperty;function h(u,A,S){var l=u[A];(!(s.call(u,A)&&o(l,S))||S===void 0&&!(A in u))&&n(u,A,S)}I.exports=h},wZCk8eAc:(I,v,t)=>{var n=t("pfEsQUpv");function o(r,s){for(var h=r.length;h--;)if(n(r[h][0],s))return h;return-1}I.exports=o},"/ee2iprX":(I,v,t)=>{var n=t("MGws0FP1");function o(r,s,h,u){return n(r,function(A,S,l){s(u,A,h(A),l)}),u}I.exports=o},pP8FZxkQ:(I,v,t)=>{var n=t("yiYgn92r"),o=t("S0mlcvmt");function r(s,h){return s&&n(h,o(h),s)}I.exports=r},hlVUI3ji:(I,v,t)=>{var n=t("yiYgn92r"),o=t("Dd9klwgo");function r(s,h){return s&&n(h,o(h),s)}I.exports=r},"rAowb+TC":(I,v,t)=>{var n=t("dgL6+KuW");function o(r,s,h){s=="__proto__"&&n?n(r,s,{configurable:!0,enumerable:!0,value:h,writable:!0}):r[s]=h}I.exports=o},SzBuSUKx:(I,v,t)=>{var n=t("4cLJWkbQ"),o=t("r2wD/9dB"),r=t("KKpMMHa1"),s=t("pP8FZxkQ"),h=t("hlVUI3ji"),u=t("lDA9+fNM"),A=t("3pf0Mfw6"),S=t("ui+Kt1aD"),l=t("AeW2TpB9"),C=t("LY2ULR/B"),b=t("Io424lOR"),m=t("hkYW3t1d"),D=t("HElhGzSN"),f=t("OHZO+S3J"),p=t("WXSjd/Yh"),c=t("Ai8uwR4r"),d=t("FTyHBy/Q"),g=t("x/55OylA"),w=t("u2mgHbaT"),x=t("PfQ9rIGA"),T=t("S0mlcvmt"),O=t("Dd9klwgo"),F=1,K=2,ee=4,he="[object Arguments]",pe="[object Array]",ie="[object Boolean]",we="[object Date]",Ce="[object Error]",Ne="[object Function]",B="[object GeneratorFunction]",k="[object Map]",W="[object Number]",q="[object Object]",Q="[object RegExp]",re="[object Set]",te="[object String]",ge="[object Symbol]",Fe="[object WeakMap]",Qe="[object ArrayBuffer]",Ke="[object DataView]",Xe="[object Float32Array]",dt="[object Float64Array]",it="[object Int8Array]",Ie="[object Int16Array]",ue="[object Int32Array]",Le="[object Uint8Array]",je="[object Uint8ClampedArray]",J="[object Uint16Array]",$="[object Uint32Array]",G={};G[he]=G[pe]=G[Qe]=G[Ke]=G[ie]=G[we]=G[Xe]=G[dt]=G[it]=G[Ie]=G[ue]=G[k]=G[W]=G[q]=G[Q]=G[re]=G[te]=G[ge]=G[Le]=G[je]=G[J]=G[$]=!0,G[Ce]=G[Ne]=G[Fe]=!1;function U(L,j,le,Te,Je,ot){var Gt,Ye=j&F,ct=j&K,We=jⅇif(le&&(Gt=Je?le(L,Te,Je,ot):le(L)),Gt!==void 0)return Gt;if(!w(L))return L;var Ze=c(L);if(Ze){if(Gt=D(L),!Ye)return A(L,Gt)}else{var Re=m(L),lt=Re==Ne||Re==B;if(d(L))return u(L,Ye);if(Re==q||Re==he||lt&&!Je){if(Gt=ct||lt?{}:p(L),!Ye)return ct?l(L,h(Gt,L)):S(L,s(Gt,L))}else{if(!G[Re])return Je?L:{};Gt=f(L,Re,Ye)}}ot||(ot=new n);var pt=ot.get(L);if(pt)return pt;ot.set(L,Gt),x(L)?L.forEach(function(Ge){Gt.add(U(Ge,j,le,Ge,L,ot))}):g(L)&&L.forEach(function(Ge,Be){Gt.set(Be,U(Ge,j,le,Be,L,ot))});var vt=We?ct?b:C:ct?O:T,Pt=Ze?void 0:vt(L);return o(Pt||L,function(Ge,Be){Pt&&(Be=Ge,Ge=L[Be]),r(Gt,Be,U(Ge,j,le,Be,L,ot))}),Gt}I.exports=U},Ewbhy0hc:(I,v,t)=>{var n=t("u2mgHbaT"),o=Object.create,r=function(){function s(){}return function(h){if(!n(h))return{};if(o)return o(h);s.prototype=h;var u=new s;return s.prototype=void 0,u}}();I.exports=r},mKUXduhk:(I,v,t)=>{var n=t("Qf0Q7TmK"),o=t("gI5LzRMl"),r=t("eCP9gG8B"),s=t("REt7egjG"),h=t("VX7NnWTC"),u=t("CPEza9Tj"),A=200;function S(l,C,b,m){var D=-1,f=o,p=!0,c=l.length,d=[],g=C.length;if(!c)return d;b&&(C=s(C,h(b))),m?(f=r,p=!1):C.length>=A&&(f=u,p=!1,C=new n(C));e:for(;++D{var n=t("wVKZhHVI"),o=t("aDh5U/HU"),r=o(n);I.exports=r},ab0ZNIE7:(I,v,t)=>{var n=t("O+YxuZGn");function o(r,s,h){for(var u=-1,A=r.length;++u{function v(t,n,o,r){for(var s=t.length,h=o+(r?1:-1);r?h--:++h{var n=t("ZwIJ+u++"),o=t("80Blr2v5");function r(s,h,u,A,S){var l=-1,C=s.length;for(u||(u=o),S||(S=[]);++l0&&u(b)?h>1?r(b,h-1,u,A,S):n(S,b):A||(S[S.length]=b)}return S}I.exports=r},qAefrEwE:(I,v,t)=>{var n=t("LsNTLhVP"),o=n();I.exports=o},wVKZhHVI:(I,v,t)=>{var n=t("qAefrEwE"),o=t("S0mlcvmt");function r(s,h){return s&&n(s,h,o)}I.exports=r},MrH38Aof:(I,v,t)=>{var n=t("8DtZho62"),o=t("hgg5N7gh");function r(s,h){h=n(h,s);for(var u=0,A=h.length;s!=null&&u{var n=t("ZwIJ+u++"),o=t("Ai8uwR4r");function r(s,h,u){var A=h(s);return o(s)?A:n(A,u(s))}I.exports=r},yRXRscZV:(I,v,t)=>{var n=t("mCEiX8iM"),o=t("7nYOdoup"),r=t("r5em9lfo"),s="[object Null]",h="[object Undefined]",u=n?n.toStringTag:void 0;function A(S){return S==null?S===void 0?h:s:u&&u in Object(S)?o(S):r(S)}I.exports=A},aF7P5jKh:I=>{function v(t,n){return t>n}I.exports=v},iz46sUwP:I=>{function v(t,n){return t!=null&&n in Object(t)}I.exports=v},"2tBalWps":(I,v,t)=>{var n=t("+8zy/hiB"),o=t("EICXoGH6"),r=t("JasirbXS");function s(h,u,A){return u===u?r(h,u,A):n(h,o,A)}I.exports=s},ovuE086Q:I=>{function v(t,n,o,r){for(var s=o-1,h=t.length;++s{var n=t("yRXRscZV"),o=t("8qRsGgWC"),r="[object Arguments]";function s(h){return o(h)&&n(h)==r}I.exports=s},TZbuAMSu:(I,v,t)=>{var n=t("v7Leiqji"),o=t("8qRsGgWC");function r(s,h,u,A,S){return s===h?!0:s==null||h==null||!o(s)&&!o(h)?s!==s&&h!==h:n(s,h,u,A,r,S)}I.exports=r},v7Leiqji:(I,v,t)=>{var n=t("4cLJWkbQ"),o=t("Kgd3s3VL"),r=t("FCNzzYog"),s=t("taFwQE02"),h=t("hkYW3t1d"),u=t("Ai8uwR4r"),A=t("FTyHBy/Q"),S=t("5OQmTD4y"),l=1,C="[object Arguments]",b="[object Array]",m="[object Object]",D=Object.prototype,f=D.hasOwnProperty;function p(c,d,g,w,x,T){var O=u(c),F=u(d),K=O?b:h(c),ee=F?b:h(d);K=K==C?m:K,ee=ee==C?m:ee;var he=K==m,pe=ee==m,ie=K==ee;if(ie&&A(c)){if(!A(d))return!1;O=!0,he=!1}if(ie&&!he)return T||(T=new n),O||S(c)?o(c,d,g,w,x,T):r(c,d,K,g,w,x,T);if(!(g&l)){var we=he&&f.call(c,"__wrapped__"),Ce=pe&&f.call(d,"__wrapped__");if(we||Ce){var Ne=we?c.value():c,B=Ce?d.value():d;return T||(T=new n),x(Ne,B,g,w,T)}}return ie?(T||(T=new n),s(c,d,g,w,x,T)):!1}I.exports=p},vA5QEKni:(I,v,t)=>{var n=t("hkYW3t1d"),o=t("8qRsGgWC"),r="[object Map]";function s(h){return o(h)&&n(h)==r}I.exports=s},rmNt5wnL:(I,v,t)=>{var n=t("4cLJWkbQ"),o=t("TZbuAMSu"),r=1,s=2;function h(u,A,S,l){var C=S.length,b=C,m=!l;if(u==null)return!b;for(u=Object(u);C--;){var D=S[C];if(m&&D[2]?D[1]!==u[D[0]]:!(D[0]in u))return!1}for(;++C{function v(t){return t!==t}I.exports=v},Bb7LHlWw:(I,v,t)=>{var n=t("oDdu0vts"),o=t("qmPJWXAk"),r=t("u2mgHbaT"),s=t("owiykrTV"),h=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,A=Function.prototype,S=Object.prototype,l=A.toString,C=S.hasOwnProperty,b=RegExp("^"+l.call(C).replace(h,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function m(D){if(!r(D)||o(D))return!1;var f=n(D)?b:u;return f.test(s(D))}I.exports=m},"z/HNFIk2":(I,v,t)=>{var n=t("hkYW3t1d"),o=t("8qRsGgWC"),r="[object Set]";function s(h){return o(h)&&n(h)==r}I.exports=s},mkEuoKCD:(I,v,t)=>{var n=t("yRXRscZV"),o=t("NYE3wwKJ"),r=t("8qRsGgWC"),s="[object Arguments]",h="[object Array]",u="[object Boolean]",A="[object Date]",S="[object Error]",l="[object Function]",C="[object Map]",b="[object Number]",m="[object Object]",D="[object RegExp]",f="[object Set]",p="[object String]",c="[object WeakMap]",d="[object ArrayBuffer]",g="[object DataView]",w="[object Float32Array]",x="[object Float64Array]",T="[object Int8Array]",O="[object Int16Array]",F="[object Int32Array]",K="[object Uint8Array]",ee="[object Uint8ClampedArray]",he="[object Uint16Array]",pe="[object Uint32Array]",ie={};ie[w]=ie[x]=ie[T]=ie[O]=ie[F]=ie[K]=ie[ee]=ie[he]=ie[pe]=!0,ie[s]=ie[h]=ie[d]=ie[u]=ie[g]=ie[A]=ie[S]=ie[l]=ie[C]=ie[b]=ie[m]=ie[D]=ie[f]=ie[p]=ie[c]=!1;function we(Ce){return r(Ce)&&o(Ce.length)&&!!ie[n(Ce)]}I.exports=we},"2OyJXB+x":(I,v,t)=>{var n=t("Hf0/7Zwg"),o=t("Bg2B2Aqm"),r=t("9GW11MM0"),s=t("Ai8uwR4r"),h=t("XgCIusGB");function u(A){return typeof A=="function"?A:A==null?r:typeof A=="object"?s(A)?o(A[0],A[1]):n(A):h(A)}I.exports=u},"3QTVJl0r":(I,v,t)=>{var n=t("iRVW1B0q"),o=t("5L8v9Sbf"),r=Object.prototype,s=r.hasOwnProperty;function h(u){if(!n(u))return o(u);var A=[];for(var S in Object(u))s.call(u,S)&&S!="constructor"&&A.push(S);return A}I.exports=h},ZkkxUotJ:(I,v,t)=>{var n=t("u2mgHbaT"),o=t("iRVW1B0q"),r=t("cjIFmnMQ"),s=Object.prototype,h=s.hasOwnProperty;function u(A){if(!n(A))return r(A);var S=o(A),l=[];for(var C in A)C=="constructor"&&(S||!h.call(A,C))||l.push(C);return l}I.exports=u},"ao+ziWVX":(I,v,t)=>{var n=t("MGws0FP1"),o=t("yVnb1Yom");function r(s,h){var u=-1,A=o(s)?Array(s.length):[];return n(s,function(S,l,C){A[++u]=h(S,l,C)}),A}I.exports=r},"Hf0/7Zwg":(I,v,t)=>{var n=t("rmNt5wnL"),o=t("TBgxJZXR"),r=t("0EhpJg7d");function s(h){var u=o(h);return u.length==1&&u[0][2]?r(u[0][0],u[0][1]):function(A){return A===h||n(A,h,u)}}I.exports=s},Bg2B2Aqm:(I,v,t)=>{var n=t("TZbuAMSu"),o=t("htp0RzwN"),r=t("Txpn8yrL"),s=t("HJaIYHi4"),h=t("bDBSvNud"),u=t("0EhpJg7d"),A=t("hgg5N7gh"),S=1,l=2;function C(b,m){return s(b)&&h(m)?u(A(b),m):function(D){var f=o(D,b);return f===void 0&&f===m?r(D,b):n(m,f,S|l)}}I.exports=C},mJIYXQlj:(I,v,t)=>{var n=t("4cLJWkbQ"),o=t("ASzZCGNz"),r=t("qAefrEwE"),s=t("8nlt2VmX"),h=t("u2mgHbaT"),u=t("Dd9klwgo"),A=t("9He16nBk");function S(l,C,b,m,D){l!==C&&r(C,function(f,p){if(D||(D=new n),h(f))s(l,C,p,b,S,m,D);else{var c=m?m(A(l,p),f,p+"",l,C,D):void 0;c===void 0&&(c=f),o(l,p,c)}},u)}I.exports=S},"8nlt2VmX":(I,v,t)=>{var n=t("ASzZCGNz"),o=t("lDA9+fNM"),r=t("/e/meXvl"),s=t("3pf0Mfw6"),h=t("WXSjd/Yh"),u=t("K9urbY79"),A=t("Ai8uwR4r"),S=t("xp3VIIRX"),l=t("FTyHBy/Q"),C=t("oDdu0vts"),b=t("u2mgHbaT"),m=t("uTpwwmj/"),D=t("5OQmTD4y"),f=t("9He16nBk"),p=t("6BSwo193");function c(d,g,w,x,T,O,F){var K=f(d,w),ee=f(g,w),he=F.get(ee);if(he){n(d,w,he);return}var pe=O?O(K,ee,w+"",d,g,F):void 0,ie=pe===void 0;if(ie){var we=A(ee),Ce=!we&&l(ee),Ne=!we&&!Ce&&D(ee);pe=ee,we||Ce||Ne?A(K)?pe=K:S(K)?pe=s(K):Ce?(ie=!1,pe=o(ee,!0)):Ne?(ie=!1,pe=r(ee,!0)):pe=[]:m(ee)||u(ee)?(pe=K,u(K)?pe=p(K):(!b(K)||C(K))&&(pe=h(ee))):ie=!1}ie&&(F.set(ee,pe),T(pe,ee,x,O,F),F.delete(ee)),n(d,w,pe)}I.exports=c},g6aMs2Jp:(I,v,t)=>{var n=t("MrH38Aof"),o=t("SLlbWKUG"),r=t("8DtZho62");function s(h,u,A){for(var S=-1,l=u.length,C={};++S{function v(t){return function(n){return n==null?void 0:n[t]}}I.exports=v},KoX0lWTH:(I,v,t)=>{var n=t("MrH38Aof");function o(r){return function(s){return n(s,r)}}I.exports=o},"7wlnsihR":I=>{function v(t){return function(n){return t==null?void 0:t[n]}}I.exports=v},FoO07lKo:(I,v,t)=>{var n=t("REt7egjG"),o=t("2tBalWps"),r=t("ovuE086Q"),s=t("VX7NnWTC"),h=t("3pf0Mfw6"),u=Array.prototype,A=u.splice;function S(l,C,b,m){var D=m?r:o,f=-1,p=C.length,c=l;for(l===C&&(C=h(C)),b&&(c=n(l,s(b)));++f-1;)c!==l&&A.call(c,d,1),A.call(l,d,1);return l}I.exports=S},"oPTuas+D":(I,v,t)=>{var n=t("9GW11MM0"),o=t("tIY68Q+U"),r=t("KiHc5gqA");function s(h,u){return r(o(h,u,n),h+"")}I.exports=s},SLlbWKUG:(I,v,t)=>{var n=t("KKpMMHa1"),o=t("8DtZho62"),r=t("03o60v9D"),s=t("u2mgHbaT"),h=t("hgg5N7gh");function u(A,S,l,C){if(!s(A))return A;S=o(S,A);for(var b=-1,m=S.length,D=m-1,f=A;f!=null&&++b{var n=t("nvPhAoN7"),o=t("dgL6+KuW"),r=t("9GW11MM0"),s=o?function(h,u){return o(h,"toString",{configurable:!0,enumerable:!1,value:n(u),writable:!0})}:r;I.exports=s},JHW3Q7Yc:I=>{function v(t,n,o){var r=-1,s=t.length;n<0&&(n=-n>s?0:s+n),o=o>s?s:o,o<0&&(o+=s),s=n>o?0:o-n>>>0,n>>>=0;for(var h=Array(s);++r{function v(t,n){for(var o=-1,r=Array(t);++o{var n=t("mCEiX8iM"),o=t("REt7egjG"),r=t("Ai8uwR4r"),s=t("O+YxuZGn"),h=1/0,u=n?n.prototype:void 0,A=u?u.toString:void 0;function S(l){if(typeof l=="string")return l;if(r(l))return o(l,S)+"";if(s(l))return A?A.call(l):"";var C=l+"";return C=="0"&&1/l==-h?"-0":C}I.exports=S},uqejFBDj:(I,v,t)=>{var n=t("Oq3mzCjZ"),o=/^\s+/;function r(s){return s&&s.slice(0,n(s)+1).replace(o,"")}I.exports=r},VX7NnWTC:I=>{function v(t){return function(n){return t(n)}}I.exports=v},BROiy16s:(I,v,t)=>{var n=t("Qf0Q7TmK"),o=t("gI5LzRMl"),r=t("eCP9gG8B"),s=t("CPEza9Tj"),h=t("lAxVS0uB"),u=t("lC7W8rzW"),A=200;function S(l,C,b){var m=-1,D=o,f=l.length,p=!0,c=[],d=c;if(b)p=!1,D=r;else if(f>=A){var g=C?null:h(l);if(g)return u(g);p=!1,D=s,d=new n}else d=C?[]:c;e:for(;++m{function v(t,n){return t.has(n)}I.exports=v},"5wyyxSBR":(I,v,t)=>{var n=t("9GW11MM0");function o(r){return typeof r=="function"?r:n}I.exports=o},"8DtZho62":(I,v,t)=>{var n=t("Ai8uwR4r"),o=t("HJaIYHi4"),r=t("E7RS5CCu"),s=t("baojvMiO");function h(u,A){return n(u)?u:o(u,A)?[u]:r(s(u))}I.exports=h},jSmk3Idv:(I,v,t)=>{var n=t("JHW3Q7Yc");function o(r,s,h){var u=r.length;return h=h===void 0?u:h,!s&&h>=u?r:n(r,s,h)}I.exports=o},ZET5oXQP:(I,v,t)=>{var n=t("2tBalWps");function o(r,s){for(var h=r.length;h--&&n(s,r[h],0)>-1;);return h}I.exports=o},eyiVkd5W:(I,v,t)=>{var n=t("2tBalWps");function o(r,s){for(var h=-1,u=r.length;++h-1;);return h}I.exports=o},P4tOE5v3:(I,v,t)=>{var n=t("2r49OBLU");function o(r){var s=new r.constructor(r.byteLength);return new n(s).set(new n(r)),s}I.exports=o},"lDA9+fNM":(I,v,t)=>{I=t.nmd(I);var n=t("RMa3hR3V"),o=v&&!v.nodeType&&v,r=o&&!0&&I&&!I.nodeType&&I,s=r&&r.exports===o,h=s?n.Buffer:void 0,u=h?h.allocUnsafe:void 0;function A(S,l){if(l)return S.slice();var C=S.length,b=u?u(C):new S.constructor(C);return S.copy(b),b}I.exports=A},KpUuxpHv:(I,v,t)=>{var n=t("P4tOE5v3");function o(r,s){var h=s?n(r.buffer):r.buffer;return new r.constructor(h,r.byteOffset,r.byteLength)}I.exports=o},tfeLNlKy:I=>{var v=/\w*$/;function t(n){var o=new n.constructor(n.source,v.exec(n));return o.lastIndex=n.lastIndex,o}I.exports=t},hA40zY5f:(I,v,t)=>{var n=t("mCEiX8iM"),o=n?n.prototype:void 0,r=o?o.valueOf:void 0;function s(h){return r?Object(r.call(h)):{}}I.exports=s},"/e/meXvl":(I,v,t)=>{var n=t("P4tOE5v3");function o(r,s){var h=s?n(r.buffer):r.buffer;return new r.constructor(h,r.byteOffset,r.length)}I.exports=o},"3pf0Mfw6":I=>{function v(t,n){var o=-1,r=t.length;for(n||(n=Array(r));++o{var n=t("KKpMMHa1"),o=t("rAowb+TC");function r(s,h,u,A){var S=!u;u||(u={});for(var l=-1,C=h.length;++l{var n=t("yiYgn92r"),o=t("PjrWv4IS");function r(s,h){return n(s,o(s),h)}I.exports=r},AeW2TpB9:(I,v,t)=>{var n=t("yiYgn92r"),o=t("SufxOAG9");function r(s,h){return n(s,o(s),h)}I.exports=r},wF2fOgH3:(I,v,t)=>{var n=t("RMa3hR3V"),o=n["__core-js_shared__"];I.exports=o},UnpQTkaX:(I,v,t)=>{var n=t("JouGXtoV"),o=t("/ee2iprX"),r=t("2OyJXB+x"),s=t("Ai8uwR4r");function h(u,A){return function(S,l){var C=s(S)?n:o,b=A?A():{};return C(S,u,r(l,2),b)}}I.exports=h},"cHkQCe+v":(I,v,t)=>{var n=t("oPTuas+D"),o=t("BhV0e01c");function r(s){return n(function(h,u){var A=-1,S=u.length,l=S>1?u[S-1]:void 0,C=S>2?u[2]:void 0;for(l=s.length>3&&typeof l=="function"?(S--,l):void 0,C&&o(u[0],u[1],C)&&(l=S<3?void 0:l,S=1),h=Object(h);++A{var n=t("yVnb1Yom");function o(r,s){return function(h,u){if(h==null)return h;if(!n(h))return r(h,u);for(var A=h.length,S=s?A:-1,l=Object(h);(s?S--:++S{function v(t){return function(n,o,r){for(var s=-1,h=Object(n),u=r(n),A=u.length;A--;){var S=u[t?A:++s];if(o(h[S],S,h)===!1)break}return n}}I.exports=v},"jz/qawZM":(I,v,t)=>{var n=t("jSmk3Idv"),o=t("vLRBYnW0"),r=t("lC0bY3Ff"),s=t("baojvMiO");function h(u){return function(A){A=s(A);var S=o(A)?r(A):void 0,l=S?S[0]:A.charAt(0),C=S?n(S,1).join(""):A.slice(1);return l[u]()+C}}I.exports=h},BEkFdMP7:(I,v,t)=>{var n=t("X4/11u1p"),o=t("bk16uxB3"),r=t("x37JfILs"),s="['\u2019]",h=RegExp(s,"g");function u(A){return function(S){return n(r(o(S).replace(h,"")),A,"")}}I.exports=u},JA49IaUv:(I,v,t)=>{var n=t("2OyJXB+x"),o=t("yVnb1Yom"),r=t("S0mlcvmt");function s(h){return function(u,A,S){var l=Object(u);if(!o(u)){var C=n(A,3);u=r(u),A=function(m){return C(l[m],m,l)}}var b=h(u,A,S);return b>-1?l[C?u[b]:b]:void 0}}I.exports=s},lAxVS0uB:(I,v,t)=>{var n=t("Eom51AvC"),o=t("PNF6DnrT"),r=t("lC7W8rzW"),s=1/0,h=n&&1/r(new n([,-0]))[1]==s?function(u){return new n(u)}:o;I.exports=h},NjtDklS8:(I,v,t)=>{var n=t("7wlnsihR"),o={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},r=n(o);I.exports=r},"dgL6+KuW":(I,v,t)=>{var n=t("C14Xp2Ng"),o=function(){try{var r=n(Object,"defineProperty");return r({},"",{}),r}catch{}}();I.exports=o},Kgd3s3VL:(I,v,t)=>{var n=t("Qf0Q7TmK"),o=t("o4/dKci7"),r=t("CPEza9Tj"),s=1,h=2;function u(A,S,l,C,b,m){var D=l&s,f=A.length,p=S.length;if(f!=p&&!(D&&p>f))return!1;var c=m.get(A),d=m.get(S);if(c&&d)return c==S&&d==A;var g=-1,w=!0,x=l&h?new n:void 0;for(m.set(A,S),m.set(S,A);++g{var n=t("mCEiX8iM"),o=t("2r49OBLU"),r=t("pfEsQUpv"),s=t("Kgd3s3VL"),h=t("7PCskGWS"),u=t("lC7W8rzW"),A=1,S=2,l="[object Boolean]",C="[object Date]",b="[object Error]",m="[object Map]",D="[object Number]",f="[object RegExp]",p="[object Set]",c="[object String]",d="[object Symbol]",g="[object ArrayBuffer]",w="[object DataView]",x=n?n.prototype:void 0,T=x?x.valueOf:void 0;function O(F,K,ee,he,pe,ie,we){switch(ee){case w:if(F.byteLength!=K.byteLength||F.byteOffset!=K.byteOffset)return!1;F=F.buffer,K=K.buffer;case g:return!(F.byteLength!=K.byteLength||!ie(new o(F),new o(K)));case l:case C:case D:return r(+F,+K);case b:return F.name==K.name&&F.message==K.message;case f:case c:return F==K+"";case m:var Ce=h;case p:var Ne=he&A;if(Ce||(Ce=u),F.size!=K.size&&!Ne)return!1;var B=we.get(F);if(B)return B==K;he|=S,we.set(F,K);var k=s(Ce(F),Ce(K),he,pe,ie,we);return we.delete(F),k;case d:if(T)return T.call(F)==T.call(K)}return!1}I.exports=O},taFwQE02:(I,v,t)=>{var n=t("LY2ULR/B"),o=1,r=Object.prototype,s=r.hasOwnProperty;function h(u,A,S,l,C,b){var m=S&o,D=n(u),f=D.length,p=n(A),c=p.length;if(f!=c&&!m)return!1;for(var d=f;d--;){var g=D[d];if(!(m?g in A:s.call(A,g)))return!1}var w=b.get(u),x=b.get(A);if(w&&x)return w==A&&x==u;var T=!0;b.set(u,A),b.set(A,u);for(var O=m;++d{var n=t("7wlnsihR"),o={"&":"&","<":"<",">":">",'"':""","'":"'"},r=n(o);I.exports=r},"4b8PWZxA":(I,v,t)=>{var n=typeof t.g=="object"&&t.g&&t.g.Object===Object&&t.g;I.exports=n},"LY2ULR/B":(I,v,t)=>{var n=t("yxRspkDm"),o=t("PjrWv4IS"),r=t("S0mlcvmt");function s(h){return n(h,r,o)}I.exports=s},Io424lOR:(I,v,t)=>{var n=t("yxRspkDm"),o=t("SufxOAG9"),r=t("Dd9klwgo");function s(h){return n(h,r,o)}I.exports=s},eXnMMeS9:(I,v,t)=>{var n=t("a7swBJz8");function o(r,s){var h=r.__data__;return n(s)?h[typeof s=="string"?"string":"hash"]:h.map}I.exports=o},TBgxJZXR:(I,v,t)=>{var n=t("bDBSvNud"),o=t("S0mlcvmt");function r(s){for(var h=o(s),u=h.length;u--;){var A=h[u],S=s[A];h[u]=[A,S,n(S)]}return h}I.exports=r},C14Xp2Ng:(I,v,t)=>{var n=t("Bb7LHlWw"),o=t("DAtDB7HU");function r(s,h){var u=o(s,h);return n(u)?u:void 0}I.exports=r},QoaPbia1:(I,v,t)=>{var n=t("rpdyzHjD"),o=n(Object.getPrototypeOf,Object);I.exports=o},"7nYOdoup":(I,v,t)=>{var n=t("mCEiX8iM"),o=Object.prototype,r=o.hasOwnProperty,s=o.toString,h=n?n.toStringTag:void 0;function u(A){var S=r.call(A,h),l=A[h];try{A[h]=void 0;var C=!0}catch{}var b=s.call(A);return C&&(S?A[h]=l:delete A[h]),b}I.exports=u},PjrWv4IS:(I,v,t)=>{var n=t("6tfh/myx"),o=t("wj7wmF19"),r=Object.prototype,s=r.propertyIsEnumerable,h=Object.getOwnPropertySymbols,u=h?function(A){return A==null?[]:(A=Object(A),n(h(A),function(S){return s.call(A,S)}))}:o;I.exports=u},SufxOAG9:(I,v,t)=>{var n=t("ZwIJ+u++"),o=t("QoaPbia1"),r=t("PjrWv4IS"),s=t("wj7wmF19"),h=Object.getOwnPropertySymbols,u=h?function(A){for(var S=[];A;)n(S,r(A)),A=o(A);return S}:s;I.exports=u},hkYW3t1d:(I,v,t)=>{var n=t("CupN+4mD"),o=t("U1UKruUk"),r=t("IF7lHyDi"),s=t("Eom51AvC"),h=t("bYbldQND"),u=t("yRXRscZV"),A=t("owiykrTV"),S="[object Map]",l="[object Object]",C="[object Promise]",b="[object Set]",m="[object WeakMap]",D="[object DataView]",f=A(n),p=A(o),c=A(r),d=A(s),g=A(h),w=u;(n&&w(new n(new ArrayBuffer(1)))!=D||o&&w(new o)!=S||r&&w(r.resolve())!=C||s&&w(new s)!=b||h&&w(new h)!=m)&&(w=function(x){var T=u(x),O=T==l?x.constructor:void 0,F=O?A(O):"";if(F)switch(F){case f:return D;case p:return S;case c:return C;case d:return b;case g:return m}return T}),I.exports=w},DAtDB7HU:I=>{function v(t,n){return t==null?void 0:t[n]}I.exports=v},"9vY6THJy":(I,v,t)=>{var n=t("8DtZho62"),o=t("K9urbY79"),r=t("Ai8uwR4r"),s=t("03o60v9D"),h=t("NYE3wwKJ"),u=t("hgg5N7gh");function A(S,l,C){l=n(l,S);for(var b=-1,m=l.length,D=!1;++b{var v="\\ud800-\\udfff",t="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",o="\\u20d0-\\u20ff",r=t+n+o,s="\\ufe0e\\ufe0f",h="\\u200d",u=RegExp("["+h+v+r+s+"]");function A(S){return u.test(S)}I.exports=A},SyoGty74:I=>{var v=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function t(n){return v.test(n)}I.exports=t},molWVcsd:(I,v,t)=>{var n=t("c9pzQvgA");function o(){this.__data__=n?n(null):{},this.size=0}I.exports=o},"Np/uUz3h":I=>{function v(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}I.exports=v},l6cjUH6r:(I,v,t)=>{var n=t("c9pzQvgA"),o="__lodash_hash_undefined__",r=Object.prototype,s=r.hasOwnProperty;function h(u){var A=this.__data__;if(n){var S=A[u];return S===o?void 0:S}return s.call(A,u)?A[u]:void 0}I.exports=h},BfCHtAmD:(I,v,t)=>{var n=t("c9pzQvgA"),o=Object.prototype,r=o.hasOwnProperty;function s(h){var u=this.__data__;return n?u[h]!==void 0:r.call(u,h)}I.exports=s},"Y2k8MD7+":(I,v,t)=>{var n=t("c9pzQvgA"),o="__lodash_hash_undefined__";function r(s,h){var u=this.__data__;return this.size+=this.has(s)?0:1,u[s]=n&&h===void 0?o:h,this}I.exports=r},HElhGzSN:I=>{var v=Object.prototype,t=v.hasOwnProperty;function n(o){var r=o.length,s=new o.constructor(r);return r&&typeof o[0]=="string"&&t.call(o,"index")&&(s.index=o.index,s.input=o.input),s}I.exports=n},"OHZO+S3J":(I,v,t)=>{var n=t("P4tOE5v3"),o=t("KpUuxpHv"),r=t("tfeLNlKy"),s=t("hA40zY5f"),h=t("/e/meXvl"),u="[object Boolean]",A="[object Date]",S="[object Map]",l="[object Number]",C="[object RegExp]",b="[object Set]",m="[object String]",D="[object Symbol]",f="[object ArrayBuffer]",p="[object DataView]",c="[object Float32Array]",d="[object Float64Array]",g="[object Int8Array]",w="[object Int16Array]",x="[object Int32Array]",T="[object Uint8Array]",O="[object Uint8ClampedArray]",F="[object Uint16Array]",K="[object Uint32Array]";function ee(he,pe,ie){var we=he.constructor;switch(pe){case f:return n(he);case u:case A:return new we(+he);case p:return o(he,ie);case c:case d:case g:case w:case x:case T:case O:case F:case K:return h(he,ie);case S:return new we;case l:case m:return new we(he);case C:return r(he);case b:return new we;case D:return s(he)}}I.exports=ee},"WXSjd/Yh":(I,v,t)=>{var n=t("Ewbhy0hc"),o=t("QoaPbia1"),r=t("iRVW1B0q");function s(h){return typeof h.constructor=="function"&&!r(h)?n(o(h)):{}}I.exports=s},"80Blr2v5":(I,v,t)=>{var n=t("mCEiX8iM"),o=t("K9urbY79"),r=t("Ai8uwR4r"),s=n?n.isConcatSpreadable:void 0;function h(u){return r(u)||o(u)||!!(s&&u&&u[s])}I.exports=h},"03o60v9D":I=>{var v=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function n(o,r){var s=typeof o;return r=r==null?v:r,!!r&&(s=="number"||s!="symbol"&&t.test(o))&&o>-1&&o%1==0&&o{var n=t("pfEsQUpv"),o=t("yVnb1Yom"),r=t("03o60v9D"),s=t("u2mgHbaT");function h(u,A,S){if(!s(S))return!1;var l=typeof A;return(l=="number"?o(S)&&r(A,S.length):l=="string"&&A in S)?n(S[A],u):!1}I.exports=h},HJaIYHi4:(I,v,t)=>{var n=t("Ai8uwR4r"),o=t("O+YxuZGn"),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;function h(u,A){if(n(u))return!1;var S=typeof u;return S=="number"||S=="symbol"||S=="boolean"||u==null||o(u)?!0:s.test(u)||!r.test(u)||A!=null&&u in Object(A)}I.exports=h},a7swBJz8:I=>{function v(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}I.exports=v},qmPJWXAk:(I,v,t)=>{var n=t("wF2fOgH3"),o=function(){var s=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}();function r(s){return!!o&&o in s}I.exports=r},iRVW1B0q:I=>{var v=Object.prototype;function t(n){var o=n&&n.constructor,r=typeof o=="function"&&o.prototype||v;return n===r}I.exports=t},bDBSvNud:(I,v,t)=>{var n=t("u2mgHbaT");function o(r){return r===r&&!n(r)}I.exports=o},"36gvFkyC":I=>{function v(){this.__data__=[],this.size=0}I.exports=v},PIvmiIaU:(I,v,t)=>{var n=t("wZCk8eAc"),o=Array.prototype,r=o.splice;function s(h){var u=this.__data__,A=n(u,h);if(A<0)return!1;var S=u.length-1;return A==S?u.pop():r.call(u,A,1),--this.size,!0}I.exports=s},RNZ0AJ6u:(I,v,t)=>{var n=t("wZCk8eAc");function o(r){var s=this.__data__,h=n(s,r);return h<0?void 0:s[h][1]}I.exports=o},ujvxbrYf:(I,v,t)=>{var n=t("wZCk8eAc");function o(r){return n(this.__data__,r)>-1}I.exports=o},eor5MVfv:(I,v,t)=>{var n=t("wZCk8eAc");function o(r,s){var h=this.__data__,u=n(h,r);return u<0?(++this.size,h.push([r,s])):h[u][1]=s,this}I.exports=o},"dmHg9sC/":(I,v,t)=>{var n=t("xSIpMwES"),o=t("jBfUYu/J"),r=t("U1UKruUk");function s(){this.size=0,this.__data__={hash:new n,map:new(r||o),string:new n}}I.exports=s},O7WwaaiA:(I,v,t)=>{var n=t("eXnMMeS9");function o(r){var s=n(this,r).delete(r);return this.size-=s?1:0,s}I.exports=o},"MH5e4+91":(I,v,t)=>{var n=t("eXnMMeS9");function o(r){return n(this,r).get(r)}I.exports=o},XbJIAQJx:(I,v,t)=>{var n=t("eXnMMeS9");function o(r){return n(this,r).has(r)}I.exports=o},ikzlDpcK:(I,v,t)=>{var n=t("eXnMMeS9");function o(r,s){var h=n(this,r),u=h.size;return h.set(r,s),this.size+=h.size==u?0:1,this}I.exports=o},"7PCskGWS":I=>{function v(t){var n=-1,o=Array(t.size);return t.forEach(function(r,s){o[++n]=[s,r]}),o}I.exports=v},"0EhpJg7d":I=>{function v(t,n){return function(o){return o==null?!1:o[t]===n&&(n!==void 0||t in Object(o))}}I.exports=v},BeUPpiLA:(I,v,t)=>{var n=t("2fG0j4rQ"),o=500;function r(s){var h=n(s,function(A){return u.size===o&&u.clear(),A}),u=h.cache;return h}I.exports=r},c9pzQvgA:(I,v,t)=>{var n=t("C14Xp2Ng"),o=n(Object,"create");I.exports=o},"5L8v9Sbf":(I,v,t)=>{var n=t("rpdyzHjD"),o=n(Object.keys,Object);I.exports=o},cjIFmnMQ:I=>{function v(t){var n=[];if(t!=null)for(var o in Object(t))n.push(o);return n}I.exports=v},"4y+VVb9w":(I,v,t)=>{I=t.nmd(I);var n=t("4b8PWZxA"),o=v&&!v.nodeType&&v,r=o&&!0&&I&&!I.nodeType&&I,s=r&&r.exports===o,h=s&&n.process,u=function(){try{var A=r&&r.require&&r.require("util").types;return A||h&&h.binding&&h.binding("util")}catch{}}();I.exports=u},r5em9lfo:I=>{var v=Object.prototype,t=v.toString;function n(o){return t.call(o)}I.exports=n},rpdyzHjD:I=>{function v(t,n){return function(o){return t(n(o))}}I.exports=v},"tIY68Q+U":(I,v,t)=>{var n=t("Qg78R79P"),o=Math.max;function r(s,h,u){return h=o(h===void 0?s.length-1:h,0),function(){for(var A=arguments,S=-1,l=o(A.length-h,0),C=Array(l);++S{var n=t("4b8PWZxA"),o=typeof self=="object"&&self&&self.Object===Object&&self,r=n||o||Function("return this")();I.exports=r},"9He16nBk":I=>{function v(t,n){if(!(n==="constructor"&&typeof t[n]=="function")&&n!="__proto__")return t[n]}I.exports=v},Zz5qLMgh:I=>{var v="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,v),this}I.exports=t},"2LGZhEqn":I=>{function v(t){return this.__data__.has(t)}I.exports=v},lC7W8rzW:I=>{function v(t){var n=-1,o=Array(t.size);return t.forEach(function(r){o[++n]=r}),o}I.exports=v},KiHc5gqA:(I,v,t)=>{var n=t("47mU6c8f"),o=t("q7uYAeXD"),r=o(n);I.exports=r},q7uYAeXD:I=>{var v=800,t=16,n=Date.now;function o(r){var s=0,h=0;return function(){var u=n(),A=t-(u-h);if(h=u,A>0){if(++s>=v)return arguments[0]}else s=0;return r.apply(void 0,arguments)}}I.exports=o},pL6zch2t:(I,v,t)=>{var n=t("jBfUYu/J");function o(){this.__data__=new n,this.size=0}I.exports=o},nIQP9B2F:I=>{function v(t){var n=this.__data__,o=n.delete(t);return this.size=n.size,o}I.exports=v},"8NIKrZOh":I=>{function v(t){return this.__data__.get(t)}I.exports=v},"50XfFAhE":I=>{function v(t){return this.__data__.has(t)}I.exports=v},"8H4J8m+L":(I,v,t)=>{var n=t("jBfUYu/J"),o=t("U1UKruUk"),r=t("+UVuVHRt"),s=200;function h(u,A){var S=this.__data__;if(S instanceof n){var l=S.__data__;if(!o||l.length{function v(t,n,o){for(var r=o-1,s=t.length;++r{var n=t("1pH6c0it"),o=t("vLRBYnW0"),r=t("38UD1Gh7");function s(h){return o(h)?r(h):n(h)}I.exports=s},E7RS5CCu:(I,v,t)=>{var n=t("BeUPpiLA"),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,s=n(function(h){var u=[];return h.charCodeAt(0)===46&&u.push(""),h.replace(o,function(A,S,l,C){u.push(l?C.replace(r,"$1"):S||A)}),u});I.exports=s},hgg5N7gh:(I,v,t)=>{var n=t("O+YxuZGn"),o=1/0;function r(s){if(typeof s=="string"||n(s))return s;var h=s+"";return h=="0"&&1/s==-o?"-0":h}I.exports=r},owiykrTV:I=>{var v=Function.prototype,t=v.toString;function n(o){if(o!=null){try{return t.call(o)}catch{}try{return o+""}catch{}}return""}I.exports=n},Oq3mzCjZ:I=>{var v=/\s/;function t(n){for(var o=n.length;o--&&v.test(n.charAt(o)););return o}I.exports=t},"38UD1Gh7":I=>{var v="\\ud800-\\udfff",t="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",o="\\u20d0-\\u20ff",r=t+n+o,s="\\ufe0e\\ufe0f",h="["+v+"]",u="["+r+"]",A="\\ud83c[\\udffb-\\udfff]",S="(?:"+u+"|"+A+")",l="[^"+v+"]",C="(?:\\ud83c[\\udde6-\\uddff]){2}",b="[\\ud800-\\udbff][\\udc00-\\udfff]",m="\\u200d",D=S+"?",f="["+s+"]?",p="(?:"+m+"(?:"+[l,C,b].join("|")+")"+f+D+")*",c=f+D+p,d="(?:"+[l+u+"?",u,C,b,h].join("|")+")",g=RegExp(A+"(?="+A+")|"+d+c,"g");function w(x){return x.match(g)||[]}I.exports=w},j5XZnuwL:I=>{var v="\\ud800-\\udfff",t="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",o="\\u20d0-\\u20ff",r=t+n+o,s="\\u2700-\\u27bf",h="a-z\\xdf-\\xf6\\xf8-\\xff",u="\\xac\\xb1\\xd7\\xf7",A="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",S="\\u2000-\\u206f",l=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",C="A-Z\\xc0-\\xd6\\xd8-\\xde",b="\\ufe0e\\ufe0f",m=u+A+S+l,D="['\u2019]",f="["+m+"]",p="["+r+"]",c="\\d+",d="["+s+"]",g="["+h+"]",w="[^"+v+m+c+s+h+C+"]",x="\\ud83c[\\udffb-\\udfff]",T="(?:"+p+"|"+x+")",O="[^"+v+"]",F="(?:\\ud83c[\\udde6-\\uddff]){2}",K="[\\ud800-\\udbff][\\udc00-\\udfff]",ee="["+C+"]",he="\\u200d",pe="(?:"+g+"|"+w+")",ie="(?:"+ee+"|"+w+")",we="(?:"+D+"(?:d|ll|m|re|s|t|ve))?",Ce="(?:"+D+"(?:D|LL|M|RE|S|T|VE))?",Ne=T+"?",B="["+b+"]?",k="(?:"+he+"(?:"+[O,F,K].join("|")+")"+B+Ne+")*",W="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",q="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Q=B+Ne+k,re="(?:"+[d,F,K].join("|")+")"+Q,te=RegExp([ee+"?"+g+"+"+we+"(?="+[f,ee,"$"].join("|")+")",ie+"+"+Ce+"(?="+[f,ee+pe,"$"].join("|")+")",ee+"?"+pe+"+"+we,ee+"+"+Ce,q,W,c,re].join("|"),"g");function ge(Fe){return Fe.match(te)||[]}I.exports=ge},OZcvNQmv:(I,v,t)=>{var n=t("RG+JoztX"),o=t("BEkFdMP7"),r=o(function(s,h,u){return h=h.toLowerCase(),s+(u?n(h):h)});I.exports=r},"RG+JoztX":(I,v,t)=>{var n=t("baojvMiO"),o=t("VYuQb9st");function r(s){return o(n(s).toLowerCase())}I.exports=r},iG1AjSQm:(I,v,t)=>{var n=t("SzBuSUKx"),o=1,r=4;function s(h){return n(h,o|r)}I.exports=s},EeemBwNM:(I,v,t)=>{var n=t("ZwIJ+u++"),o=t("rXvH2Tfh"),r=t("3pf0Mfw6"),s=t("Ai8uwR4r");function h(){var u=arguments.length;if(!u)return[];for(var A=Array(u-1),S=arguments[0],l=u;l--;)A[l-1]=arguments[l];return n(s(S)?r(S):[S],o(A,1))}I.exports=h},nvPhAoN7:I=>{function v(t){return function(){return t}}I.exports=v},"+V9FPWJ/":(I,v,t)=>{var n=t("u2mgHbaT"),o=t("/Wu+DgFK"),r=t("r0XEdTWG"),s="Expected a function",h=Math.max,u=Math.min;function A(S,l,C){var b,m,D,f,p,c,d=0,g=!1,w=!1,x=!0;if(typeof S!="function")throw new TypeError(s);l=r(l)||0,n(C)&&(g=!!C.leading,w="maxWait"in C,D=w?h(r(C.maxWait)||0,l):D,x="trailing"in C?!!C.trailing:x);function T(Ce){var Ne=b,B=m;return b=m=void 0,d=Ce,f=S.apply(B,Ne),f}function O(Ce){return d=Ce,p=setTimeout(ee,l),g?T(Ce):f}function F(Ce){var Ne=Ce-c,B=Ce-d,k=l-Ne;return w?u(k,D-B):k}function K(Ce){var Ne=Ce-c,B=Ce-d;return c===void 0||Ne>=l||Ne<0||w&&B>=D}function ee(){var Ce=o();if(K(Ce))return he(Ce);p=setTimeout(ee,F(Ce))}function he(Ce){return p=void 0,x&&b?T(Ce):(b=m=void 0,f)}function pe(){p!==void 0&&clearTimeout(p),d=0,b=c=m=p=void 0}function ie(){return p===void 0?f:he(o())}function we(){var Ce=o(),Ne=K(Ce);if(b=arguments,m=this,c=Ce,Ne){if(p===void 0)return O(c);if(w)return clearTimeout(p),p=setTimeout(ee,l),T(c)}return p===void 0&&(p=setTimeout(ee,l)),f}return we.cancel=pe,we.flush=ie,we}I.exports=A},bk16uxB3:(I,v,t)=>{var n=t("NjtDklS8"),o=t("baojvMiO"),r=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s="\\u0300-\\u036f",h="\\ufe20-\\ufe2f",u="\\u20d0-\\u20ff",A=s+h+u,S="["+A+"]",l=RegExp(S,"g");function C(b){return b=o(b),b&&b.replace(r,n).replace(l,"")}I.exports=C},M09juI6U:I=>{function v(t,n){return t==null||t!==t?n:t}I.exports=v},xzK3tCcD:(I,v,t)=>{I.exports=t("Lj8fRClR")},pfEsQUpv:I=>{function v(t,n){return t===n||t!==t&&n!==n}I.exports=v},zwqkL7eo:(I,v,t)=>{var n=t("QEP6ehok"),o=t("baojvMiO"),r=/[&<>"']/g,s=RegExp(r.source);function h(u){return u=o(u),u&&s.test(u)?u.replace(r,n):u}I.exports=h},zz8lN1pr:(I,v,t)=>{var n=t("JA49IaUv"),o=t("qaXBRAsw"),r=n(o);I.exports=r},qaXBRAsw:(I,v,t)=>{var n=t("+8zy/hiB"),o=t("2OyJXB+x"),r=t("8q5ssxs1"),s=Math.max;function h(u,A,S){var l=u==null?0:u.length;if(!l)return-1;var C=S==null?0:r(S);return C<0&&(C=s(l+C,0)),n(u,o(A,3),C)}I.exports=h},Lj8fRClR:(I,v,t)=>{var n=t("r2wD/9dB"),o=t("MGws0FP1"),r=t("5wyyxSBR"),s=t("Ai8uwR4r");function h(u,A){var S=s(u)?n:o;return S(u,r(A))}I.exports=h},"2HNCJt8Q":(I,v,t)=>{var n=t("wVKZhHVI"),o=t("5wyyxSBR");function r(s,h){return s&&n(s,o(h))}I.exports=r},htp0RzwN:(I,v,t)=>{var n=t("MrH38Aof");function o(r,s,h){var u=r==null?void 0:n(r,s);return u===void 0?h:u}I.exports=o},Txpn8yrL:(I,v,t)=>{var n=t("iz46sUwP"),o=t("9vY6THJy");function r(s,h){return s!=null&&o(s,h,n)}I.exports=r},"9GW11MM0":I=>{function v(t){return t}I.exports=v},K9urbY79:(I,v,t)=>{var n=t("zsaqPi8I"),o=t("8qRsGgWC"),r=Object.prototype,s=r.hasOwnProperty,h=r.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(A){return o(A)&&s.call(A,"callee")&&!h.call(A,"callee")};I.exports=u},Ai8uwR4r:I=>{var v=Array.isArray;I.exports=v},yVnb1Yom:(I,v,t)=>{var n=t("oDdu0vts"),o=t("NYE3wwKJ");function r(s){return s!=null&&o(s.length)&&!n(s)}I.exports=r},xp3VIIRX:(I,v,t)=>{var n=t("yVnb1Yom"),o=t("8qRsGgWC");function r(s){return o(s)&&n(s)}I.exports=r},"FTyHBy/Q":(I,v,t)=>{I=t.nmd(I);var n=t("RMa3hR3V"),o=t("JXajPUSn"),r=v&&!v.nodeType&&v,s=r&&!0&&I&&!I.nodeType&&I,h=s&&s.exports===r,u=h?n.Buffer:void 0,A=u?u.isBuffer:void 0,S=A||o;I.exports=S},A56N27Uq:(I,v,t)=>{var n=t("3QTVJl0r"),o=t("hkYW3t1d"),r=t("K9urbY79"),s=t("Ai8uwR4r"),h=t("yVnb1Yom"),u=t("FTyHBy/Q"),A=t("iRVW1B0q"),S=t("5OQmTD4y"),l="[object Map]",C="[object Set]",b=Object.prototype,m=b.hasOwnProperty;function D(f){if(f==null)return!0;if(h(f)&&(s(f)||typeof f=="string"||typeof f.splice=="function"||u(f)||S(f)||r(f)))return!f.length;var p=o(f);if(p==l||p==C)return!f.size;if(A(f))return!n(f).length;for(var c in f)if(m.call(f,c))return!1;return!0}I.exports=D},FtmMm3gp:(I,v,t)=>{var n=t("TZbuAMSu");function o(r,s){return n(r,s)}I.exports=o},"ZtpRma/a":(I,v,t)=>{var n=t("TZbuAMSu");function o(r,s,h){h=typeof h=="function"?h:void 0;var u=h?h(r,s):void 0;return u===void 0?n(r,s,void 0,h):!!u}I.exports=o},oDdu0vts:(I,v,t)=>{var n=t("yRXRscZV"),o=t("u2mgHbaT"),r="[object AsyncFunction]",s="[object Function]",h="[object GeneratorFunction]",u="[object Proxy]";function A(S){if(!o(S))return!1;var l=n(S);return l==s||l==h||l==r||l==u}I.exports=A},"FWpQ+Wjd":(I,v,t)=>{var n=t("8q5ssxs1");function o(r){return typeof r=="number"&&r==n(r)}I.exports=o},NYE3wwKJ:I=>{var v=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=v}I.exports=t},"x/55OylA":(I,v,t)=>{var n=t("vA5QEKni"),o=t("VX7NnWTC"),r=t("4y+VVb9w"),s=r&&r.isMap,h=s?o(s):n;I.exports=h},u2mgHbaT:I=>{function v(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}I.exports=v},"8qRsGgWC":I=>{function v(t){return t!=null&&typeof t=="object"}I.exports=v},"uTpwwmj/":(I,v,t)=>{var n=t("yRXRscZV"),o=t("QoaPbia1"),r=t("8qRsGgWC"),s="[object Object]",h=Function.prototype,u=Object.prototype,A=h.toString,S=u.hasOwnProperty,l=A.call(Object);function C(b){if(!r(b)||n(b)!=s)return!1;var m=o(b);if(m===null)return!0;var D=S.call(m,"constructor")&&m.constructor;return typeof D=="function"&&D instanceof D&&A.call(D)==l}I.exports=C},PfQ9rIGA:(I,v,t)=>{var n=t("z/HNFIk2"),o=t("VX7NnWTC"),r=t("4y+VVb9w"),s=r&&r.isSet,h=s?o(s):n;I.exports=h},"yviUsp+Y":(I,v,t)=>{var n=t("yRXRscZV"),o=t("Ai8uwR4r"),r=t("8qRsGgWC"),s="[object String]";function h(u){return typeof u=="string"||!o(u)&&r(u)&&n(u)==s}I.exports=h},"O+YxuZGn":(I,v,t)=>{var n=t("yRXRscZV"),o=t("8qRsGgWC"),r="[object Symbol]";function s(h){return typeof h=="symbol"||o(h)&&n(h)==r}I.exports=s},"5OQmTD4y":(I,v,t)=>{var n=t("mkEuoKCD"),o=t("VX7NnWTC"),r=t("4y+VVb9w"),s=r&&r.isTypedArray,h=s?o(s):n;I.exports=h},WqoGzrLC:I=>{function v(t){return t===void 0}I.exports=v},"8FiOsj1x":(I,v,t)=>{var n=t("rAowb+TC"),o=t("UnpQTkaX"),r=o(function(s,h,u){n(s,u,h)});I.exports=r},S0mlcvmt:(I,v,t)=>{var n=t("UXl6fvh7"),o=t("3QTVJl0r"),r=t("yVnb1Yom");function s(h){return r(h)?n(h):o(h)}I.exports=s},Dd9klwgo:(I,v,t)=>{var n=t("UXl6fvh7"),o=t("ZkkxUotJ"),r=t("yVnb1Yom");function s(h){return r(h)?n(h,!0):o(h)}I.exports=s},p60vwpDe:I=>{function v(t){var n=t==null?0:t.length;return n?t[n-1]:void 0}I.exports=v},NV2C8ebe:function(I,v,t){I=t.nmd(I);var n;/**
* @license
* Lodash 
* Copyright OpenJS Foundation and other contributors 
* Released under MIT license 
* Based on Underscore.js 1.8.3 
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/(function(){var o,r="4.17.21",s=200,h="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",A="Invalid `variable` option passed into `_.template`",S="__lodash_hash_undefined__",l=500,C="__lodash_placeholder__",b=1,m=2,D=4,f=1,p=2,c=1,d=2,g=4,w=8,x=16,T=32,O=64,F=128,K=256,ee=512,he=30,pe="...",ie=800,we=16,Ce=1,Ne=2,B=3,k=1/0,W=9007199254740991,q=17976931348623157e292,Q=NaN,re=4294967295,te=re-1,ge=re>>>1,Fe=[["ary",F],["bind",c],["bindKey",d],["curry",w],["curryRight",x],["flip",ee],["partial",T],["partialRight",O],["rearg",K]],Qe="[object Arguments]",Ke="[object Array]",Xe="[object AsyncFunction]",dt="[object Boolean]",it="[object Date]",Ie="[object DOMException]",ue="[object Error]",Le="[object Function]",je="[object GeneratorFunction]",J="[object Map]",$="[object Number]",G="[object Null]",U="[object Object]",L="[object Promise]",j="[object Proxy]",le="[object RegExp]",Te="[object Set]",Je="[object String]",ot="[object Symbol]",Gt="[object Undefined]",Ye="[object WeakMap]",ct="[object WeakSet]",We="[object ArrayBuffer]",Ze="[object DataView]",Re="[object Float32Array]",lt="[object Float64Array]",pt="[object Int8Array]",vt="[object Int16Array]",Pt="[object Int32Array]",Ge="[object Uint8Array]",Be="[object Uint8ClampedArray]",It="[object Uint16Array]",Ht="[object Uint32Array]",wr=/\b__p \+= '';/g,ir=/\b(__p \+=) '' \+/g,tr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Fr=/&(?:amp|lt|gt|quot|#39);/g,mr=/[&<>"']/g,Or=RegExp(Fr.source),Nr=RegExp(mr.source),Gr=/<%-([\s\S]+?)%>/g,Ir=/<%([\s\S]+?)%>/g,mn=/<%=([\s\S]+?)%>/g,An=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ln=/^\w*$/,Jr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Zr=/[\\^$.*+?()[\]{}|]/g,St=RegExp(Zr.source),Ot=/^\s+/,Pe=/\s/,Ee=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ue=/\{\n\/\* \[wrapped with (.+)\] \*/,Ft=/,? & /,Rt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ht=/[()=,{}\[\]\/\s]/,br=/\\(\\)?/g,pr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Wt=/\w*$/,yt=/^[-+]0x[0-9a-f]+$/i,Mt=/^0b[01]+$/i,Jt=/^\[object .+?Constructor\]$/,Se=/^0o[0-7]+$/i,qe=/^(?:0|[1-9]\d*)$/,er=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,rr=/($^)/,At=/['\n\r\u2028\u2029\\]/g,ar="\\ud800-\\udfff",gr="\\u0300-\\u036f",dr="\\ufe20-\\ufe2f",Ur="\\u20d0-\\u20ff",Pr=gr+dr+Ur,Xr="\\u2700-\\u27bf",un="a-z\\xdf-\\xf6\\xf8-\\xff",qr="\\xac\\xb1\\xd7\\xf7",Bn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Yn="\\u2000-\\u206f",ni=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",li="A-Z\\xc0-\\xd6\\xd8-\\xde",Qn="\\ufe0e\\ufe0f",ui=qr+Bn+Yn+ni,pi="['\u2019]",Dn="["+ar+"]",Li="["+ui+"]",Mi="["+Pr+"]",ci="\\d+",fi="["+Xr+"]",ai="["+un+"]",Ui="[^"+ar+ui+ci+Xr+un+li+"]",Ei="\\ud83c[\\udffb-\\udfff]",Hi="(?:"+Mi+"|"+Ei+")",$n="[^"+ar+"]",st="(?:\\ud83c[\\udde6-\\uddff]){2}",Tt="[\\ud800-\\udbff][\\udc00-\\udfff]",Sr="["+li+"]",kr="\\u200d",Pn="(?:"+ai+"|"+Ui+")",en="(?:"+Sr+"|"+Ui+")",Cn="(?:"+pi+"(?:d|ll|m|re|s|t|ve))?",ri="(?:"+pi+"(?:D|LL|M|RE|S|T|VE))?",di=Hi+"?",$i="["+Qn+"]?",Xi="(?:"+kr+"(?:"+[$n,st,Tt].join("|")+")"+$i+di+")*",aa="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",oa="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",na=$i+di+Xi,Da="(?:"+[fi,st,Tt].join("|")+")"+na,ha="(?:"+[$n+Mi+"?",Mi,st,Tt,Dn].join("|")+")",gi=RegExp(pi,"g"),Qi=RegExp(Mi,"g"),Sn=RegExp(Ei+"(?="+Ei+")|"+ha+na,"g"),qt=RegExp([Sr+"?"+ai+"+"+Cn+"(?="+[Li,Sr,"$"].join("|")+")",en+"+"+ri+"(?="+[Li,Sr+Pn,"$"].join("|")+")",Sr+"?"+Pn+"+"+Cn,Sr+"+"+ri,oa,aa,ci,Da].join("|"),"g"),Hr=RegExp("["+kr+ar+Pr+Qn+"]"),pn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Vn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],_i=-1,Mn={};Mn[Re]=Mn[lt]=Mn[pt]=Mn[vt]=Mn[Pt]=Mn[Ge]=Mn[Be]=Mn[It]=Mn[Ht]=!0,Mn[Qe]=Mn[Ke]=Mn[We]=Mn[dt]=Mn[Ze]=Mn[it]=Mn[ue]=Mn[Le]=Mn[J]=Mn[$]=Mn[U]=Mn[le]=Mn[Te]=Mn[Je]=Mn[Ye]=!1;var In={};In[Qe]=In[Ke]=In[We]=In[Ze]=In[dt]=In[it]=In[Re]=In[lt]=In[pt]=In[vt]=In[Pt]=In[J]=In[$]=In[U]=In[le]=In[Te]=In[Je]=In[ot]=In[Ge]=In[Be]=In[It]=In[Ht]=!0,In[ue]=In[Le]=In[Ye]=!1;var Aa={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},ca={"&":"&","<":"<",">":">",'"':""","'":"'"},Ki={"&":"&","<":"<",">":">",""":'"',"'":"'"},io={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ho=parseFloat,Wo=parseInt,Ya=typeof t.g=="object"&&t.g&&t.g.Object===Object&&t.g,Po=typeof self=="object"&&self&&self.Object===Object&&self,qi=Ya||Po||Function("return this")(),wo=v&&!v.nodeType&&v,Oa=wo&&!0&&I&&!I.nodeType&&I,Io=Oa&&Oa.exports===wo,po=Io&&Ya.process,ea=function(){try{var jt=Oa&&Oa.require&&Oa.require("util").types;return jt||po&&po.binding&&po.binding("util")}catch{}}(),wa=ea&&ea.isArrayBuffer,xa=ea&&ea.isDate,Fa=ea&&ea.isMap,yi=ea&&ea.isRegExp,Ba=ea&&ea.isSet,yn=ea&&ea.isTypedArray;function zn(jt,hr,ur){switch(ur.length){case 0:return jt.call(hr);case 1:return jt.call(hr,ur[0]);case 2:return jt.call(hr,ur[0],ur[1]);case 3:return jt.call(hr,ur[0],ur[1],ur[2])}return jt.apply(hr,ur)}function Gn(jt,hr,ur,tn){for(var kn=-1,xi=jt==null?0:jt.length;++kn-1}function sa(jt,hr,ur){for(var tn=-1,kn=jt==null?0:jt.length;++tn-1;);return ur}function an(jt,hr){for(var ur=jt.length;ur--&&me(hr,jt[ur],0)>-1;);return ur}function fn(jt,hr){for(var ur=jt.length,tn=0;ur--;)jt[ur]===hr&&++tn;return tn}var On=Dt(Aa),or=Dt(ca);function on(jt){return"\\"+io[jt]}function En(jt,hr){return jt==null?o:jt[hr]}function wn(jt){return Hr.test(jt)}function Ni(jt){return pn.test(jt)}function wi(jt){for(var hr,ur=[];!(hr=jt.next()).done;)ur.push(hr.value);return ur}function ki(jt){var hr=-1,ur=Array(jt.size);return jt.forEach(function(tn,kn){ur[++hr]=[kn,tn]}),ur}function Ji(jt,hr){return function(ur){return jt(hr(ur))}}function la(jt,hr){for(var ur=-1,tn=jt.length,kn=0,xi=[];++ur-1}function Ol(i,y){var N=this.__data__,se=Xa(N,i);return se<0?(++this.size,N.push([i,y])):N[se][1]=y,this}Lo.prototype.clear=dl,Lo.prototype.delete=Ws,Lo.prototype.get=$l,Lo.prototype.has=js,Lo.prototype.set=Ol;function No(i){var y=-1,N=i==null?0:i.length;for(this.clear();++y=y?i:y)),i}function lo(i,y,N,se,Me,tt){var Bt,Zt=y&b,cr=y&m,jr=y&D;if(N&&(Bt=Me?N(i,se,Me,tt):N(i)),Bt!==o)return Bt;if(!Ta(i))return i;var Vr=Si(i);if(Vr){if(Bt=nl(i),!Zt)return co(i,Bt)}else{var Qr=ta(i),_n=Qr==Le||Qr==je;if(ol(i))return uo(i,Zt);if(Qr==U||Qr==Qe||_n&&!Me){if(Bt=cr||_n?{}:il(i),!Zt)return cr?Mu(i,rs(Bt,i)):Ru(i,Ss(Bt,i))}else{if(!In[Qr])return Me?i:{};Bt=ku(i,Qr,Zt)}}tt||(tt=new so);var Wn=tt.get(i);if(Wn)return Wn;tt.set(i,Bt),Rc(i)?i.forEach(function(ti){Bt.add(lo(ti,y,N,ti,i,tt))}):Dc(i)&&i.forEach(function(ti,zi){Bt.set(zi,lo(ti,y,N,zi,i,tt))});var ei=jr?cr?hn:nn:cr?Uo:no,Ii=Vr?o:ei(i);return Wr(Ii||i,function(ti,zi){Ii&&(zi=ti,ti=i[zi]),Ps(Bt,zi,lo(ti,y,N,zi,i,tt))}),Bt}function Jl(i){var y=no(i);return function(N){return Ys(N,i,y)}}function Ys(i,y,N){var se=N.length;if(i==null)return!se;for(i=Fi(i);se--;){var Me=N[se],tt=y[Me],Bt=i[Me];if(Bt===o&&!(Me in i)||!tt(Bt))return!1}return!0}function ml(i,y,N){if(typeof i!="function")throw new qa(u);return uu(function(){i.apply(o,N)},y)}function Es(i,y,N,se){var Me=-1,tt=ii,Bt=!0,Zt=i.length,cr=[],jr=y.length;if(!Zt)return cr;N&&(y=bi(y,Ar(N))),se?(tt=sa,Bt=!1):y.length>=s&&(tt=fr,Bt=!1,y=new ts(y));e:for(;++MeMe?0:Me+N),se=se===o||se>Me?Me:Ri(se),se<0&&(se+=Me),se=N>se?0:Pc(se);N0&&N(Zt)?y>1?Ma(Zt,y-1,N,se,Me):Sa(Me,Zt):se||(Me[Me.length]=Zt)}return Me}var Qs=hu(),Is=hu(!0);function Do(i,y){return i&&Qs(i,y,no)}function _s(i,y){return i&&Is(i,y,no)}function ks(i,y){return oi(y,function(N){return Ns(i[N])})}function Oo(i,y){y=Za(y,i);for(var N=0,se=y.length;i!=null&&Ny}function Zs(i,y){return i!=null&&Ci.call(i,y)}function yl(i,y){return i!=null&&y in Fi(i)}function Nl(i,y,N){return i>=Un(y,N)&&i=120&&Vr.length>=120)?new ts(Bt&&Vr):o}Vr=i[0];var Qr=-1,_n=Zt[0];e:for(;++Qr-1;)Zt!==i&&ws.call(Zt,cr,1),ws.call(i,cr,1);return i}function $t(i,y){for(var N=i?y.length:0,se=N-1;N--;){var Me=y[N];if(N==se||Me!==tt){var tt=Me;ss(Me)?ws.call(i,Me,1):ua(i,Me)}}return i}function Lt(i,y){return i+Rn(ja()*(y-i+1))}function Rr(i,y,N,se){for(var Me=-1,tt=mi(sn((y-i)/(N||1)),0),Bt=ur(tt);tt--;)Bt[se?tt:++Me]=i,i+=N;return Bt}function Yr(i,y){var N="";if(!i||y<1||y>W)return N;do y%2&&(N+=i),y=Rn(y/2),y&&(i+=i);while(y);return N}function Mr(i,y){return Uu(ic(i,y,Ho),i+"")}function rn(i){return Ks(Gl(i))}function gn(i,y){var N=Gl(i);return wu(N,is(y,0,N.length))}function cn(i,y,N,se){if(!Ta(i))return i;y=Za(y,i);for(var Me=-1,tt=y.length,Bt=tt-1,Zt=i;Zt!=null&&++MeMe?0:Me+y),N=N>Me?Me:N,N<0&&(N+=Me),Me=y>N?0:N-y>>>0,y>>>=0;for(var tt=ur(Me);++se>>1,Bt=i[tt];Bt!==null&&!Qo(Bt)&&(N?Bt<=y:Bt=s){var jr=y?null:be(i);if(jr)return _(jr);Bt=!1,Me=fr,cr=new ts}else cr=y?[]:Zt;e:for(;++se=se?i:qn(i,y,N)}var Ca=lr||function(i){return qi.clearTimeout(i)};function uo(i,y){if(y)return i.slice();var N=i.length,se=ds?ds(N):new i.constructor(N);return i.copy(se),se}function yo(i){var y=new i.constructor(i.byteLength);return new es(y).set(new es(i)),y}function bo(i,y){var N=y?yo(i.buffer):i.buffer;return new i.constructor(N,i.byteOffset,i.byteLength)}function Ts(i){var y=new i.constructor(i.source,Wt.exec(i));return y.lastIndex=i.lastIndex,y}function ps(i){return Co?Fi(Co.call(i)):{}}function Xo(i,y){var N=y?yo(i.buffer):i.buffer;return new i.constructor(N,i.byteOffset,i.length)}function Bs(i,y){if(i!==y){var N=i!==o,se=i===null,Me=i===i,tt=Qo(i),Bt=y!==o,Zt=y===null,cr=y===y,jr=Qo(y);if(!Zt&&!jr&&!tt&&i>y||tt&&Bt&&cr&&!Zt&&!jr||se&&Bt&&cr||!N&&cr||!Me)return 1;if(!se&&!tt&&!jr&&i=Zt)return cr;var jr=N[se];return cr*(jr=="desc"?-1:1)}}return i.index-y.index}function fu(i,y,N,se){for(var Me=-1,tt=i.length,Bt=N.length,Zt=-1,cr=y.length,jr=mi(tt-Bt,0),Vr=ur(cr+jr),Qr=!se;++Zt1?N[Me-1]:o,Bt=Me>2?N[2]:o;for(tt=i.length>3&&typeof tt=="function"?(Me--,tt):o,Bt&&fo(N[0],N[1],Bt)&&(tt=Me<3?o:tt,Me=1),y=Fi(y);++se-1?Me[tt?y[Bt]:Bt]:o}}function au(i){return yr(function(y){var N=y.length,se=N,Me=oo.prototype.thru;for(i&&y.reverse();se--;){var tt=y[se];if(typeof tt!="function")throw new qa(u);if(Me&&!Bt&&Tn(tt)=="wrapper")var Bt=new oo([],!0)}for(se=Bt?se:N;++se1&&Gi.reverse(),Vr&&crZt))return!1;var jr=tt.get(i),Vr=tt.get(y);if(jr&&Vr)return jr==y&&Vr==i;var Qr=-1,_n=!0,Wn=N&p?new ts:o;for(tt.set(i,y),tt.set(y,i);++Qr1?"& ":"")+y[se],y=y.join(N>2?", ":" "),i.replace(Ee,`{
/* [wrapped with `+y+`] */
`)}function mu(i){return Si(i)||_l(i)||!!(hs&&i&&i[hs])}function ss(i,y){var N=typeof i;return y=y==null?W:y,!!y&&(N=="number"||N!="symbol"&&qe.test(i))&&i>-1&&i%1==0&&i0){if(++y>=ie)return arguments[0]}else y=0;return i.apply(o,arguments)}}function wu(i,y){var N=-1,se=i.length,Me=se-1;for(y=y===o?se:y;++N1?i[y-1]:o;return N=typeof N=="function"?(i.pop(),N):o,vc(i,N)});function mc(i){var y=$e(i);return y.__chain__=!0,y}function Jf(i,y){return y(i),i}function xu(i,y){return y(i)}var qf=yr(function(i){var y=i.length,N=y?i[0]:0,se=this.__wrapped__,Me=function(tt){return ns(tt,i)};return y>1||this.__actions__.length||!(se instanceof Oi)||!ss(N)?this.thru(Me):(se=se.slice(N,+N+(y?1:0)),se.__actions__.push({func:xu,args:[Me],thisArg:o}),new oo(se,this.__chain__).thru(function(tt){return y&&!tt.length&&tt.push(o),tt}))});function ed(){return mc(this)}function td(){return new oo(this.value(),this.__chain__)}function rd(){this.__values__===o&&(this.__values__=Mc(this.value()));var i=this.__index__>=this.__values__.length,y=i?o:this.__values__[this.__index__++];return{done:i,value:y}}function nd(){return this}function id(i){for(var y,N=this;N instanceof Yo;){var se=cc(N);se.__index__=0,se.__values__=o,y?Me.__wrapped__=se:y=se;var Me=se;N=N.__wrapped__}return Me.__wrapped__=i,y}function ad(){var i=this.__wrapped__;if(i instanceof Oi){var y=i;return this.__actions__.length&&(y=new Oi(this)),y=y.reverse(),y.__actions__.push({func:xu,args:[Hu],thisArg:o}),new oo(y,this.__chain__)}return this.thru(Hu)}function od(){return Ga(this.__wrapped__,this.__actions__)}var sd=wl(function(i,y,N){Ci.call(i,N)?++i[N]:mo(i,N,1)});function ld(i,y,N){var se=Si(i)?hi:Ll;return N&&fo(i,y,N)&&(y=o),se(i,$r(y,3))}function ud(i,y){var N=Si(i)?oi:Xs;return N(i,$r(y,3))}var cd=Hl(fc),fd=Hl(dc);function dd(i,y){return Ma(Au(i,y),1)}function hd(i,y){return Ma(Au(i,y),k)}function pd(i,y,N){return N=N===o?1:Ri(N),Ma(Au(i,y),N)}function yc(i,y){var N=Si(i)?Wr:ro;return N(i,$r(y,3))}function bc(i,y){var N=Si(i)?Zi:Bl;return N(i,$r(y,3))}var gd=wl(function(i,y,N){Ci.call(i,N)?i[N].push(y):mo(i,N,[y])});function vd(i,y,N,se){i=zo(i)?i:Gl(i),N=N&&!se?Ri(N):0;var Me=i.length;return N<0&&(N=mi(Me+N,0)),Tu(i)?N<=Me&&i.indexOf(y,N)>-1:!!Me&&me(i,y,N)>-1}var md=Mr(function(i,y,N){var se=-1,Me=typeof y=="function",tt=zo(i)?ur(i.length):[];return ro(i,function(Bt){tt[++se]=Me?zn(y,Bt,N):Cs(Bt,y,N)}),tt}),yd=wl(function(i,y,N){mo(i,N,y)});function Au(i,y){var N=Si(i)?bi:ve;return N(i,$r(y,3))}function bd(i,y,N,se){return i==null?[]:(Si(y)||(y=y==null?[]:[y]),N=se?o:N,Si(N)||(N=N==null?[]:[N]),Xt(i,y,N))}var wd=wl(function(i,y,N){i[N?0:1].push(y)},function(){return[[],[]]});function xd(i,y,N){var se=Si(i)?xo:zt,Me=arguments.length<3;return se(i,$r(y,4),N,Me,ro)}function Ad(i,y,N){var se=Si(i)?Ve:zt,Me=arguments.length<3;return se(i,$r(y,4),N,Me,Bl)}function Sd(i,y){var N=Si(i)?oi:Xs;return N(i,_u($r(y,3)))}function Ed(i){var y=Si(i)?Ks:rn;return y(i)}function _d(i,y,N){(N?fo(i,y,N):y===o)?y=1:y=Ri(y);var se=Si(i)?kl:gn;return se(i,y)}function Cd(i){var y=Si(i)?Zl:Fn;return y(i)}function Td(i){if(i==null)return 0;if(zo(i))return Tu(i)?De(i):i.length;var y=ta(i);return y==J||y==Te?i.size:X(i).length}function Dd(i,y,N){var se=Si(i)?xe:ia;return N&&fo(i,y,N)&&(y=o),se(i,$r(y,3))}var Od=Mr(function(i,y){if(i==null)return[];var N=y.length;return N>1&&fo(i,y[0],y[1])?y=[]:N>2&&fo(y[0],y[1],y[2])&&(y=[y[0]]),Xt(i,Ma(y,1),[])}),Su=Cr||function(){return qi.Date.now()};function Rd(i,y){if(typeof y!="function")throw new qa(u);return i=Ri(i),function(){if(--i<1)return y.apply(this,arguments)}}function wc(i,y,N){return y=N?o:y,y=i&&y==null?i.length:y,ze(i,F,o,o,o,o,y)}function xc(i,y){var N;if(typeof y!="function")throw new qa(u);return i=Ri(i),function(){return--i>0&&(N=y.apply(this,arguments)),i<=1&&(y=o),N}}var ju=Mr(function(i,y,N){var se=c;if(N.length){var Me=la(N,Ln(ju));se|=T}return ze(i,se,y,N,Me)}),Ac=Mr(function(i,y,N){var se=c|d;if(N.length){var Me=la(N,Ln(Ac));se|=T}return ze(y,se,i,N,Me)});function Sc(i,y,N){y=N?o:y;var se=ze(i,w,o,o,o,o,o,y);return se.placeholder=Sc.placeholder,se}function Ec(i,y,N){y=N?o:y;var se=ze(i,x,o,o,o,o,o,y);return se.placeholder=Ec.placeholder,se}function _c(i,y,N){var se,Me,tt,Bt,Zt,cr,jr=0,Vr=!1,Qr=!1,_n=!0;if(typeof i!="function")throw new qa(u);y=us(y)||0,Ta(N)&&(Vr=!!N.leading,Qr="maxWait"in N,tt=Qr?mi(us(N.maxWait)||0,y):tt,_n="trailing"in N?!!N.trailing:_n);function Wn(Ua){var vs=se,Us=Me;return se=Me=o,jr=Ua,Bt=i.apply(Us,vs),Bt}function ei(Ua){return jr=Ua,Zt=uu(zi,y),Vr?Wn(Ua):Bt}function Ii(Ua){var vs=Ua-cr,Us=Ua-jr,Vc=y-vs;return Qr?Un(Vc,tt-Us):Vc}function ti(Ua){var vs=Ua-cr,Us=Ua-jr;return cr===o||vs>=y||vs<0||Qr&&Us>=tt}function zi(){var Ua=Su();if(ti(Ua))return Gi(Ua);Zt=uu(zi,Ii(Ua))}function Gi(Ua){return Zt=o,_n&&se?Wn(Ua):(se=Me=o,Bt)}function Zo(){Zt!==o&&Ca(Zt),jr=0,se=cr=Me=Zt=o}function Mo(){return Zt===o?Bt:Gi(Su())}function Jo(){var Ua=Su(),vs=ti(Ua);if(se=arguments,Me=this,cr=Ua,vs){if(Zt===o)return ei(cr);if(Qr)return Ca(Zt),Zt=uu(zi,y),Wn(cr)}return Zt===o&&(Zt=uu(zi,y)),Bt}return Jo.cancel=Zo,Jo.flush=Mo,Jo}var Md=Mr(function(i,y){return ml(i,1,y)}),Pd=Mr(function(i,y,N){return ml(i,us(y)||0,N)});function Id(i){return ze(i,ee)}function Eu(i,y){if(typeof i!="function"||y!=null&&typeof y!="function")throw new qa(u);var N=function(){var se=arguments,Me=y?y.apply(this,se):se[0],tt=N.cache;if(tt.has(Me))return tt.get(Me);var Bt=i.apply(this,se);return N.cache=tt.set(Me,Bt)||tt,Bt};return N.cache=new(Eu.Cache||No),N}Eu.Cache=No;function _u(i){if(typeof i!="function")throw new qa(u);return function(){var y=arguments;switch(y.length){case 0:return!i.call(this);case 1:return!i.call(this,y[0]);case 2:return!i.call(this,y[0],y[1]);case 3:return!i.call(this,y[0],y[1],y[2])}return!i.apply(this,y)}}function kd(i){return xc(2,i)}var Fd=nu(function(i,y){y=y.length==1&&Si(y[0])?bi(y[0],Ar($r())):bi(Ma(y,1),Ar($r()));var N=y.length;return Mr(function(se){for(var Me=-1,tt=Un(se.length,N);++Me=y}),_l=zl(function(){return arguments}())?zl:function(i){return ka(i)&&Ci.call(i,"callee")&&!ao.call(i,"callee")},Si=ur.isArray,Qd=wa?Ar(wa):eu;function zo(i){return i!=null&&Cu(i.length)&&!Ns(i)}function za(i){return ka(i)&&zo(i)}function Zd(i){return i===!0||i===!1||ka(i)&&Va(i)==dt}var ol=Zn||tc,Jd=xa?Ar(xa):tu;function qd(i){return ka(i)&&i.nodeType===1&&!cu(i)}function eh(i){if(i==null)return!0;if(zo(i)&&(Si(i)||typeof i=="string"||typeof i.splice=="function"||ol(i)||Vl(i)||_l(i)))return!i.length;var y=ta(i);if(y==J||y==Te)return!i.size;if(Sl(i))return!X(i).length;for(var N in i)if(Ci.call(i,N))return!1;return!0}function th(i,y){return as(i,y)}function rh(i,y,N){N=typeof N=="function"?N:o;var se=N?N(i,y):o;return se===o?as(i,y,o,N):!!se}function Gu(i){if(!ka(i))return!1;var y=Va(i);return y==ue||y==Ie||typeof i.message=="string"&&typeof i.name=="string"&&!cu(i)}function nh(i){return typeof i=="number"&&Kn(i)}function Ns(i){if(!Ta(i))return!1;var y=Va(i);return y==Le||y==je||y==Xe||y==j}function Tc(i){return typeof i=="number"&&i==Ri(i)}function Cu(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=W}function Ta(i){var y=typeof i;return i!=null&&(y=="object"||y=="function")}function ka(i){return i!=null&&typeof i=="object"}var Dc=Fa?Ar(Fa):ru;function ih(i,y){return i===y||bl(i,y,Ai(y))}function ah(i,y,N){return N=typeof N=="function"?N:o,bl(i,y,Ai(y),N)}function oh(i){return Oc(i)&&i!=+i}function sh(i){if(Bu(i))throw new kn(h);return a(i)}function lh(i){return i===null}function uh(i){return i==null}function Oc(i){return typeof i=="number"||ka(i)&&Va(i)==$}function cu(i){if(!ka(i)||Va(i)!=U)return!1;var y=jo(i);if(y===null)return!0;var N=Ci.call(y,"constructor")&&y.constructor;return typeof N=="function"&&N instanceof N&&ko.call(N)==ll}var Ku=yi?Ar(yi):E;function ch(i){return Tc(i)&&i>=-W&&i<=W}var Rc=Ba?Ar(Ba):M;function Tu(i){return typeof i=="string"||!Si(i)&&ka(i)&&Va(i)==Je}function Qo(i){return typeof i=="symbol"||ka(i)&&Va(i)==ot}var Vl=yn?Ar(yn):z;function fh(i){return i===o}function dh(i){return ka(i)&&ta(i)==Ye}function hh(i){return ka(i)&&Va(i)==ct}var ph=V(ne),gh=V(function(i,y){return i<=y});function Mc(i){if(!i)return[];if(zo(i))return Tu(i)?at(i):co(i);if(Vo&&i[Vo])return wi(i[Vo]());var y=ta(i),N=y==J?ki:y==Te?_:Gl;return N(i)}function zs(i){if(!i)return i===0?i:0;if(i=us(i),i===k||i===-k){var y=i<0?-1:1;return y*q}return i===i?i:0}function Ri(i){var y=zs(i),N=y%1;return y===y?N?y-N:y:0}function Pc(i){return i?is(Ri(i),0,re):0}function us(i){if(typeof i=="number")return i;if(Qo(i))return Q;if(Ta(i)){var y=typeof i.valueOf=="function"?i.valueOf():i;i=Ta(y)?y+"":y}if(typeof i!="string")return i===0?i:+i;i=_r(i);var N=Mt.test(i);return N||Se.test(i)?Wo(i.slice(2),N?2:8):yt.test(i)?Q:+i}function Ic(i){return os(i,Uo(i))}function vh(i){return i?is(Ri(i),-W,W):i===0?i:0}function ra(i){return i==null?"":Jn(i)}var mh=el(function(i,y){if(Sl(y)||zo(y)){os(y,no(y),i);return}for(var N in y)Ci.call(y,N)&&Ps(i,N,y[N])}),kc=el(function(i,y){os(y,Uo(y),i)}),Du=el(function(i,y,N,se){os(y,Uo(y),i,se)}),yh=el(function(i,y,N,se){os(y,no(y),i,se)}),bh=yr(ns);function wh(i,y){var N=As(i);return y==null?N:Ss(N,y)}var xh=Mr(function(i,y){i=Fi(i);var N=-1,se=y.length,Me=se>2?y[2]:o;for(Me&&fo(y[0],y[1],Me)&&(se=1);++N1),tt}),os(i,hn(i),N),se&&(N=lo(N,b|m|D,Kt));for(var Me=y.length;Me--;)ua(N,y[Me]);return N});function zh(i,y){return Bc(i,_u($r(y)))}var Uh=yr(function(i,y){return i==null?{}:ft(i,y)});function Bc(i,y){if(i==null)return{};var N=bi(hn(i),function(se){return[se]});return y=$r(y),Et(i,N,function(se,Me){return y(se,Me[0])})}function Hh(i,y,N){y=Za(y,i);var se=-1,Me=y.length;for(Me||(Me=1,i=o);++sey){var se=i;i=y,y=se}if(N||i%1||y%1){var Me=ja();return Un(i+Me*(y-i+ho("1e-"+((Me+"").length-1))),y)}return Lt(i,y)}var Jh=Ls(function(i,y,N){return y=y.toLowerCase(),i+(N?zc(y):y)});function zc(i){return Xu(ra(i).toLowerCase())}function Uc(i){return i=ra(i),i&&i.replace(er,On).replace(Qi,"")}function qh(i,y,N){i=ra(i),y=Jn(y);var se=i.length;N=N===o?se:is(Ri(N),0,se);var Me=N;return N-=y.length,N>=0&&i.slice(N,Me)==y}function ep(i){return i=ra(i),i&&Nr.test(i)?i.replace(mr,or):i}function tp(i){return i=ra(i),i&&St.test(i)?i.replace(Zr,"\\$&"):i}var rp=Ls(function(i,y,N){return i+(N?"-":"")+y.toLowerCase()}),np=Ls(function(i,y,N){return i+(N?" ":"")+y.toLowerCase()}),ip=pu("toLowerCase");function ap(i,y,N){i=ra(i),y=Ri(y);var se=y?De(i):0;if(!y||se>=y)return i;var Me=(y-se)/2;return Al(Rn(Me),N)+i+Al(sn(Me),N)}function op(i,y,N){i=ra(i),y=Ri(y);var se=y?De(i):0;return y&&se>>0,N?(i=ra(i),i&&(typeof y=="string"||y!=null&&!Ku(y))&&(y=Jn(y),!y&&wn(i))?Ia(at(i),0,N):i.split(y,N)):[]}var hp=Ls(function(i,y,N){return i+(N?" ":"")+Xu(y)});function pp(i,y,N){return i=ra(i),N=N==null?0:is(Ri(N),0,i.length),y=Jn(y),i.slice(N,N+y.length)==y}function gp(i,y,N){var se=$e.templateSettings;N&&fo(i,y,N)&&(y=o),i=ra(i),y=Du({},y,se,bt);var Me=Du({},y.imports,se.imports,bt),tt=no(Me),Bt=Er(Me,tt),Zt,cr,jr=0,Vr=y.interpolate||rr,Qr="__p += '",_n=ms((y.escape||rr).source+"|"+Vr.source+"|"+(Vr===mn?pr:rr).source+"|"+(y.evaluate||rr).source+"|$","g"),Wn="//# sourceURL="+(Ci.call(y,"sourceURL")?(y.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++_i+"]")+`
`;i.replace(_n,function(ti,zi,Gi,Zo,Mo,Jo){return Gi||(Gi=Zo),Qr+=i.slice(jr,Jo).replace(At,on),zi&&(Zt=!0,Qr+=`' +
__e(`+zi+`) +
'`),Mo&&(cr=!0,Qr+=`';
`+Mo+`;
__p += '`),Gi&&(Qr+=`' +
((__t = (`+Gi+`)) == null ? '' : __t) +
'`),jr=Jo+ti.length,ti}),Qr+=`';
`;var ei=Ci.call(y,"variable")&&y.variable;if(!ei)Qr=`with (obj) {
`+Qr+`
}
`;else if(ht.test(ei))throw new kn(A);Qr=(cr?Qr.replace(wr,""):Qr).replace(ir,"$1").replace(tr,"$1;"),Qr="function("+(ei||"obj")+`) {
`+(ei?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(Zt?", __e = _.escape":"")+(cr?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+Qr+`return __p
}`;var Ii=Wc(function(){return xi(tt,Wn+"return "+Qr).apply(o,Bt)});if(Ii.source=Qr,Gu(Ii))throw Ii;return Ii}function vp(i){return ra(i).toLowerCase()}function mp(i){return ra(i).toUpperCase()}function yp(i,y,N){if(i=ra(i),i&&(N||y===o))return _r(i);if(!i||!(y=Jn(y)))return i;var se=at(i),Me=at(y),tt=Lr(se,Me),Bt=an(se,Me)+1;return Ia(se,tt,Bt).join("")}function bp(i,y,N){if(i=ra(i),i&&(N||y===o))return i.slice(0,Ct(i)+1);if(!i||!(y=Jn(y)))return i;var se=at(i),Me=an(se,at(y))+1;return Ia(se,0,Me).join("")}function wp(i,y,N){if(i=ra(i),i&&(N||y===o))return i.replace(Ot,"");if(!i||!(y=Jn(y)))return i;var se=at(i),Me=Lr(se,at(y));return Ia(se,Me).join("")}function xp(i,y){var N=he,se=pe;if(Ta(y)){var Me="separator"in y?y.separator:Me;N="length"in y?Ri(y.length):N,se="omission"in y?Jn(y.omission):se}i=ra(i);var tt=i.length;if(wn(i)){var Bt=at(i);tt=Bt.length}if(N>=tt)return i;var Zt=N-De(se);if(Zt<1)return se;var cr=Bt?Ia(Bt,0,Zt).join(""):i.slice(0,Zt);if(Me===o)return cr+se;if(Bt&&(Zt+=cr.length-Zt),Ku(Me)){if(i.slice(Zt).search(Me)){var jr,Vr=cr;for(Me.global||(Me=ms(Me.source,ra(Wt.exec(Me))+"g")),Me.lastIndex=0;jr=Me.exec(Vr);)var Qr=jr.index;cr=cr.slice(0,Qr===o?Zt:Qr)}}else if(i.indexOf(Jn(Me),Zt)!=Zt){var _n=cr.lastIndexOf(Me);_n>-1&&(cr=cr.slice(0,_n))}return cr+se}function Ap(i){return i=ra(i),i&&Or.test(i)?i.replace(Fr,nr):i}var Sp=Ls(function(i,y,N){return i+(N?" ":"")+y.toUpperCase()}),Xu=pu("toUpperCase");function Hc(i,y,N){return i=ra(i),y=N?o:y,y===o?Ni(i)?Br(i):Z(i):i.match(y)||[]}var Wc=Mr(function(i,y){try{return zn(i,o,y)}catch(N){return Gu(N)?N:new kn(N)}}),Ep=yr(function(i,y){return Wr(y,function(N){N=Ds(N),mo(i,N,ju(i[N],i))}),i});function _p(i){var y=i==null?0:i.length,N=$r();return i=y?bi(i,function(se){if(typeof se[1]!="function")throw new qa(u);return[N(se[0]),se[1]]}):[],Mr(function(se){for(var Me=-1;++MeW)return[];var N=re,se=Un(i,re);y=$r(y),i-=re;for(var Me=vr(se,y);++N0||y<0)?new Oi(N):(i<0?N=N.takeRight(-i):i&&(N=N.drop(i)),y!==o&&(y=Ri(y),N=y<0?N.dropRight(-y):N.take(y-i)),N)},Oi.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},Oi.prototype.toArray=function(){return this.take(re)},Do(Oi.prototype,function(i,y){var N=/^(?:filter|find|map|reject)|While$/.test(y),se=/^(?:head|last)$/.test(y),Me=$e[se?"take"+(y=="last"?"Right":""):y],tt=se||/^find/.test(y);Me&&($e.prototype[y]=function(){var Bt=this.__wrapped__,Zt=se?[1]:arguments,cr=Bt instanceof Oi,jr=Zt[0],Vr=cr||Si(Bt),Qr=function(zi){var Gi=Me.apply($e,Sa([zi],Zt));return se&&_n?Gi[0]:Gi};Vr&&N&&typeof jr=="function"&&jr.length!=1&&(cr=Vr=!1);var _n=this.__chain__,Wn=!!this.__actions__.length,ei=tt&&!_n,Ii=cr&&!Wn;if(!tt&&Vr){Bt=Ii?Bt:new Oi(this);var ti=i.apply(Bt,Zt);return ti.__actions__.push({func:xu,args:[Qr],thisArg:o}),new oo(ti,_n)}return ei&&Ii?i.apply(this,Zt):(ti=this.thru(Qr),ei?se?ti.value()[0]:ti.value():ti)})}),Wr(["pop","push","shift","sort","splice","unshift"],function(i){var y=ys[i],N=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",se=/^(?:pop|shift)$/.test(i);$e.prototype[i]=function(){var Me=arguments;if(se&&!this.__chain__){var tt=this.value();return y.apply(Si(tt)?tt:[],Me)}return this[N](function(Bt){return y.apply(Si(Bt)?Bt:[],Me)})}}),Do(Oi.prototype,function(i,y){var N=$e[y];if(N){var se=N.name+"";Ci.call(_o,se)||(_o[se]=[]),_o[se].push({name:y,func:N})}}),_o[Wl(o,d).name]=[{name:"wrapper",func:o}],Oi.prototype.clone=Hs,Oi.prototype.reverse=Cl,Oi.prototype.value=cl,$e.prototype.at=qf,$e.prototype.chain=ed,$e.prototype.commit=td,$e.prototype.next=rd,$e.prototype.plant=id,$e.prototype.reverse=ad,$e.prototype.toJSON=$e.prototype.valueOf=$e.prototype.value=od,$e.prototype.first=$e.prototype.head,Vo&&($e.prototype[Vo]=nd),$e},xn=dn();qi._=xn,n=function(){return xn}.call(v,t,v,I),n!==o&&(I.exports=n)}).call(this)},PHWUskn4:(I,v,t)=>{var n=t("REt7egjG"),o=t("2OyJXB+x"),r=t("ao+ziWVX"),s=t("Ai8uwR4r");function h(u,A){var S=s(u)?n:r;return S(u,o(A,3))}I.exports=h},kgwXBAoN:(I,v,t)=>{var n=t("rAowb+TC"),o=t("wVKZhHVI"),r=t("2OyJXB+x");function s(h,u){var A={};return u=r(u,3),o(h,function(S,l,C){n(A,l,u(S,l,C))}),A}I.exports=s},rIfZdGtU:(I,v,t)=>{var n=t("ab0ZNIE7"),o=t("aF7P5jKh"),r=t("9GW11MM0");function s(h){return h&&h.length?n(h,r,o):void 0}I.exports=s},"2fG0j4rQ":(I,v,t)=>{var n=t("+UVuVHRt"),o="Expected a function";function r(s,h){if(typeof s!="function"||h!=null&&typeof h!="function")throw new TypeError(o);var u=function(){var A=arguments,S=h?h.apply(this,A):A[0],l=u.cache;if(l.has(S))return l.get(S);var C=s.apply(this,A);return u.cache=l.set(S,C)||l,C};return u.cache=new(r.Cache||n),u}r.Cache=n,I.exports=r},C19pcrjQ:(I,v,t)=>{var n=t("mJIYXQlj"),o=t("cHkQCe+v"),r=o(function(s,h,u){n(s,h,u)});I.exports=r},"SeIis/g6":I=>{var v="Expected a function";function t(n){if(typeof n!="function")throw new TypeError(v);return function(){var o=arguments;switch(o.length){case 0:return!n.call(this);case 1:return!n.call(this,o[0]);case 2:return!n.call(this,o[0],o[1]);case 3:return!n.call(this,o[0],o[1],o[2])}return!n.apply(this,o)}}I.exports=t},PNF6DnrT:I=>{function v(){}I.exports=v},"/Wu+DgFK":(I,v,t)=>{var n=t("RMa3hR3V"),o=function(){return n.Date.now()};I.exports=o},"+yMRtROX":(I,v,t)=>{var n=t("2OyJXB+x"),o=t("SeIis/g6"),r=t("WQGU2LhV");function s(h,u){return r(h,o(n(u)))}I.exports=s},WQGU2LhV:(I,v,t)=>{var n=t("REt7egjG"),o=t("2OyJXB+x"),r=t("g6aMs2Jp"),s=t("Io424lOR");function h(u,A){if(u==null)return{};var S=n(s(u),function(l){return[l]});return A=o(A),r(u,S,function(l,C){return A(l,C[0])})}I.exports=h},XgCIusGB:(I,v,t)=>{var n=t("CzXCwJO7"),o=t("KoX0lWTH"),r=t("HJaIYHi4"),s=t("hgg5N7gh");function h(u){return r(u)?n(s(u)):o(u)}I.exports=h},"3VgbVypm":(I,v,t)=>{var n=t("oPTuas+D"),o=t("Q+Ptm7Sq"),r=n(o);I.exports=r},"Q+Ptm7Sq":(I,v,t)=>{var n=t("FoO07lKo");function o(r,s){return r&&r.length&&s&&s.length?n(r,s):r}I.exports=o},wj7wmF19:I=>{function v(){return[]}I.exports=v},JXajPUSn:I=>{function v(){return!1}I.exports=v},"8r2MpjbV":(I,v,t)=>{var n=t("+V9FPWJ/"),o=t("u2mgHbaT"),r="Expected a function";function s(h,u,A){var S=!0,l=!0;if(typeof h!="function")throw new TypeError(r);return o(A)&&(S="leading"in A?!!A.leading:S,l="trailing"in A?!!A.trailing:l),n(h,u,{leading:S,maxWait:u,trailing:l})}I.exports=s},"xODYE/oT":(I,v,t)=>{var n=t("r0XEdTWG"),o=1/0,r=17976931348623157e292;function s(h){if(!h)return h===0?h:0;if(h=n(h),h===o||h===-o){var u=h<0?-1:1;return u*r}return h===h?h:0}I.exports=s},"8q5ssxs1":(I,v,t)=>{var n=t("xODYE/oT");function o(r){var s=n(r),h=s%1;return s===s?h?s-h:s:0}I.exports=o},r0XEdTWG:(I,v,t)=>{var n=t("uqejFBDj"),o=t("u2mgHbaT"),r=t("O+YxuZGn"),s=NaN,h=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,A=/^0o[0-7]+$/i,S=parseInt;function l(C){if(typeof C=="number")return C;if(r(C))return s;if(o(C)){var b=typeof C.valueOf=="function"?C.valueOf():C;C=o(b)?b+"":b}if(typeof C!="string")return C===0?C:+C;C=n(C);var m=u.test(C);return m||A.test(C)?S(C.slice(2),m?2:8):h.test(C)?s:+C}I.exports=l},"6BSwo193":(I,v,t)=>{var n=t("yiYgn92r"),o=t("Dd9klwgo");function r(s){return n(s,o(s))}I.exports=r},baojvMiO:(I,v,t)=>{var n=t("mYJxd2R1");function o(r){return r==null?"":n(r)}I.exports=o},"eh/hLw98":(I,v,t)=>{var n=t("mYJxd2R1"),o=t("uqejFBDj"),r=t("jSmk3Idv"),s=t("ZET5oXQP"),h=t("eyiVkd5W"),u=t("lC0bY3Ff"),A=t("baojvMiO");function S(l,C,b){if(l=A(l),l&&(b||C===void 0))return o(l);if(!l||!(C=n(C)))return l;var m=u(l),D=u(C),f=h(m,D),p=s(m,D)+1;return r(m,f,p).join("")}I.exports=S},XAlhTQ1W:(I,v,t)=>{var n=t("rXvH2Tfh"),o=t("oPTuas+D"),r=t("BROiy16s"),s=t("xp3VIIRX"),h=o(function(u){return r(n(u,1,s,!0))});I.exports=h},KhtSIDKH:(I,v,t)=>{var n=t("BROiy16s");function o(r){return r&&r.length?n(r):[]}I.exports=o},VYuQb9st:(I,v,t)=>{var n=t("jz/qawZM"),o=n("toUpperCase");I.exports=o},YHdXwNS6:(I,v,t)=>{var n=t("mKUXduhk"),o=t("oPTuas+D"),r=t("xp3VIIRX"),s=o(function(h,u){return r(h)?n(h,u):[]});I.exports=s},x37JfILs:(I,v,t)=>{var n=t("FnVD3SpD"),o=t("SyoGty74"),r=t("baojvMiO"),s=t("j5XZnuwL");function h(u,A,S){return u=r(u),A=S?void 0:A,A===void 0?o(u)?s(u):n(u):u.match(A)||[]}I.exports=h},"sbzPTQ5+":(I,v,t)=>{"use strict";t.r(v),t.d(v,{amber:()=>f,black:()=>ee,blue:()=>u,blueGrey:()=>w,brown:()=>d,cyan:()=>S,darkIcons:()=>O,darkText:()=>x,deepOrange:()=>c,deepPurple:()=>s,default:()=>he,green:()=>C,grey:()=>g,indigo:()=>h,lightBlue:()=>A,lightGreen:()=>b,lightIcons:()=>F,lightText:()=>T,lime:()=>m,orange:()=>p,pink:()=>o,purple:()=>r,red:()=>n,teal:()=>l,white:()=>K,yellow:()=>D});var n={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},o={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},r={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},s={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},h={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},u={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},A={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},S={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},l={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},C={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},b={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},m={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},D={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},f={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},p={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},c={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},d={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},g={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},w={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},x={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},T={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},O={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},F={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},K="#ffffff",ee="#000000";const he={red:n,pink:o,purple:r,deepPurple:s,indigo:h,blue:u,lightBlue:A,cyan:S,teal:l,green:C,lightGreen:b,lime:m,yellow:D,amber:f,orange:p,deepOrange:c,brown:d,grey:g,blueGrey:w,darkText:x,lightText:T,darkIcons:O,lightIcons:F,white:K,black:ee}},"aoUhF/h/":(I,v,t)=>{"use strict";t.d(v,{A:()=>r});function n(s,h){if(s.length!==h.length)return!1;for(var u=0;uit.length?!1:it.indexOf(Ie)!==-1}function m(it){for(var Ie="";it;)Ie+="0",it-=1;return Ie}function D(it){for(var Ie=it.split("").reverse(),ue=0,Le=!0;Le&&ue0&&(le.maximumSignificantDigits=$),A){if(!S){var Te=B({},Ie);Te.useGrouping=!1,Te.decimalSeparator=".",it=parseFloat(p(it,Te),10)}return f(ue,le).format(it)}else{if(!u){var Te=B({},Ie);Te.useGrouping=!1,Te.decimalSeparator=".",it=parseFloat(p(it,Te),10)}return it.toLocaleString(ue,le)}}var Je;$?Je=it.toPrecision($+1):Je=it.toFixed(U+1);var ot,Gt,Ye,ct=Je.split("e");Ye=ct[1]||"",ct=ct[0].split("."),Gt=ct[1]||"",ot=ct[0]||"";var We=ot.length,Ze=Gt.length,Re=We+Ze,lt=ot+Gt;($&&Re===$+1||!$&&Ze===U+1)&&(lt=D(lt),lt.length===Re+1&&(We=We+1),Ze&&(lt=lt.slice(0,-1)),ot=lt.slice(0,We),Gt=lt.slice(We)),$&&(Gt=Gt.replace(/0*$/,""));var pt=parseInt(Ye,10);pt>0?Gt.length<=pt?(Gt=Gt+m(pt-Gt.length),ot=ot+Gt,Gt=""):(ot=ot+Gt.slice(0,pt),Gt=Gt.slice(pt)):pt<0&&(Gt=m(Math.abs(pt)-ot.length)+ot+Gt,ot="0"),$||(Gt=Gt.slice(0,U),Gt.lengthIe.label.length?-1:it.label.length0,Ge=Pt?Ie.precision:0,Be=Ge,It=Ie.minValue,Ht=!1,wr=Ie.maxValue,ir=!1,tr=Ie.useToLocaleString,Fr=Ie.groupingSeparator,mr=Ie.decimalSeparator,Or=Ie.grouping;tr=tr&&(h||A);var Nr=Ie.trim;x(Nr)&&(Nr=Nr.join(" ")),Nr===null&&(ot||wr||Pt)&&(Nr="all"),(Nr===null||Nr===!0||Nr==="left"||Nr==="right")&&(Nr="large"),Nr===!1&&(Nr="");var Gr=function(qe){return qe.test(Nr)},Ir=/large/,mn=/small/,An=/both/,ln=/mid/,Jr=/^all|[^sm]all/,Zr=/final/,St=ot>0||W([Ir,An,Jr],Gr),Ot=W([mn,An,Jr],Gr),Pe=W([ln,Jr],Gr),Ee=W([Zr,Jr],Gr),Ue=ee(le.match(j),function(qe,er){var rr=L(qe);return qe.slice(0,1)==="*"&&(qe=qe.slice(1),rr!=="escape"&&rr!=="general"&&Gt.push(rr)),{index:er,length:qe.length,text:"",token:rr==="escape"?qe.replace(U.escape,"$1"):qe,type:rr==="escape"||rr==="general"?null:rr}}),Ft={index:0,length:0,token:"",text:"",type:null},Rt=[];We&&Ue.reverse(),K(Ue,function(qe){if(qe.type){(Ft.type||Ft.text)&&Rt.push(Ft),Ft=qe;return}We?Ft.text=qe.token+Ft.text:Ft.text+=qe.token}),(Ft.type||Ft.text)&&Rt.push(Ft),We&&Rt.reverse();var ht=we(l,ie(pe(he(Rt,"type"))));if(!ht.length)return he(Rt,"text").join("");ht=ee(ht,function(qe,er){var rr=er+1===ht.length,At=!er,ar;qe==="years"||qe==="months"?ar=$.as(qe):ar=J.as(qe);var gr=Math.floor(ar),dr=ar-gr,Ur=F(Rt,function(Pr){return qe===Pr.type});return At&&wr&&ar>wr&&(ir=!0),rr&&It&&Math.abs(Ie.duration.as(qe))1&&(lt=!0),J.subtract(gr,qe),$.subtract(gr,qe),{rawValue:ar,wholeValue:gr,decimalValue:rr?dr:0,isSmallest:rr,isLargest:At,type:qe,tokenLength:Ur.length}});var br=vt?Math.floor:Math.round,pr=function(qe,er){var rr=Math.pow(10,er);return br(qe*rr)/rr},Wt=!1,yt=!1,Mt=function(qe,er){var rr={useGrouping:pt,groupingSeparator:Fr,decimalSeparator:mr,grouping:Or,useToLocaleString:tr};return Pt&&(Ge<=0?(qe.rawValue=0,qe.wholeValue=0,qe.decimalValue=0):(rr.maximumSignificantDigits=Ge,qe.significantDigits=Ge)),ir&&!yt&&(qe.isLargest?(qe.wholeValue=wr,qe.decimalValue=0):(qe.wholeValue=0,qe.decimalValue=0)),Ht&&!yt&&(qe.isSmallest?(qe.wholeValue=It,qe.decimalValue=0):(qe.wholeValue=0,qe.decimalValue=0)),qe.isSmallest||qe.significantDigits&&qe.significantDigits-qe.wholeValue.toString().length<=0?Re<0?qe.value=pr(qe.wholeValue,Re):Re===0?qe.value=br(qe.wholeValue+qe.decimalValue):Pt?(vt?qe.value=pr(qe.rawValue,Ge-qe.wholeValue.toString().length):qe.value=qe.rawValue,qe.wholeValue&&(Ge-=qe.wholeValue.toString().length)):(rr.fractionDigits=Re,vt?qe.value=qe.wholeValue+pr(qe.decimalValue,Re):qe.value=qe.wholeValue+qe.decimalValue):Pt&&qe.wholeValue?(qe.value=Math.round(pr(qe.wholeValue,qe.significantDigits-qe.wholeValue.toString().length)),Ge-=qe.wholeValue.toString().length):qe.value=qe.wholeValue,qe.tokenLength>1&&(lt||Wt)&&(rr.minimumIntegerDigits=qe.tokenLength,yt&&rr.maximumSignificantDigits0||Nr===""||F(Gt,qe.type)||F(Te,qe.type))&&(Wt=!0),qe.formattedValue=p(qe.value,rr,ct),rr.useGrouping=!1,rr.decimalSeparator=".",qe.formattedValueEn=p(qe.value,rr,"en"),qe.tokenLength===2&&qe.type==="milliseconds"&&(qe.formattedValueMS=p(qe.value,{minimumIntegerDigits:3,useGrouping:!1},"en").slice(0,2)),qe};if(ht=ee(ht,Mt),ht=pe(ht),ht.length>1){var Jt=function(qe){return F(ht,function(er){return er.type===qe})},Se=function(qe){var er=Jt(qe.type);er&&K(qe.targets,function(rr){var At=Jt(rr.type);At&&parseInt(er.formattedValueEn,10)===rr.value&&(er.rawValue=0,er.wholeValue=0,er.decimalValue=0,At.rawValue+=1,At.wholeValue+=1,At.decimalValue=0,At.formattedValueEn=At.wholeValue.toString(),yt=!0)})};K(C,Se)}return yt&&(Wt=!1,Ge=Be,ht=ee(ht,Mt),ht=pe(ht)),Te&&!(ir&&!Ie.trim)?(ht=ee(ht,function(qe){return F(Te,function(er){return qe.type===er})?qe:null}),ht=pe(ht)):(St&&(ht=Ce(ht,function(qe){return!qe.isSmallest&&!qe.wholeValue&&!F(Gt,qe.type)})),ot&&ht.length&&(ht=ht.slice(0,ot)),Ot&&ht.length>1&&(ht=Ne(ht,function(qe){return!qe.wholeValue&&!F(Gt,qe.type)&&!qe.isLargest})),Pe&&(ht=ee(ht,function(qe,er){return er>0&&er ",ir=!1,Ht=!1),je&&(er.value>0||Nr===""||F(Gt,er.type)||F(Te,er.type))&&(rr+="-",je=!1),qe.type==="milliseconds"&&er.formattedValueMS?rr+=er.formattedValueMS:rr+=er.formattedValue,We||(rr+=qe.text),rr}),Rt.join("").replace(/(,| |:|\.)*$/,"").replace(/^(,| |:|\.)*/,""))}function Qe(){var it=this.duration,Ie=function(J){return it._data[J]},ue=F(this.types,Ie),Le=O(this.types,Ie);switch(ue){case"milliseconds":return"S __";case"seconds":case"minutes":return"*_MS_";case"hours":return"_HMS_";case"days":if(ue===Le)return"d __";case"weeks":return ue===Le?"w __":(this.trim===null&&(this.trim="both"),"w __, d __, h __");case"months":if(ue===Le)return"M __";case"years":return ue===Le?"y __":(this.trim===null&&(this.trim="both"),"y __, M __, d __");default:return this.trim===null&&(this.trim="both"),"y __, d __, h __, m __, s __"}}function Ke(it){if(!it)throw"Moment Duration Format init cannot find moment instance.";it.duration.format=ge,it.duration.fn.format=Fe,it.duration.fn.format.defaults={trim:null,stopTrim:null,largest:null,maxValue:null,minValue:null,precision:0,trunc:!1,forceLength:null,userLocale:null,usePlural:!0,useLeftUnits:!1,useGrouping:!0,useSignificantDigits:!1,template:Qe,useToLocaleString:!0,groupingSeparator:",",decimalSeparator:".",grouping:[3]},it.updateLocale("en",w)}var Xe=function(it,Ie,ue){return it.toLocaleString(Ie,ue)};h=Q()&&te(Xe),u=h&&re(Xe);var dt=function(it,Ie,ue){if(typeof window<"u"&&window&&window.Intl&&window.Intl.NumberFormat)return window.Intl.NumberFormat(Ie,ue).format(it)};return A=te(dt),S=A&&re(dt),Ke(s),Ke})},Ept3tno1:function(I,v,t){var n,o;/*! @preserve
* numeral.js
* version : 2.0.6
* author : Adam Draper
* license : MIT
* http://adamwdraper.github.com/Numeral-js/
*/(function(r,s){n=s,o=typeof n=="function"?n.call(v,t,v,I):n,o!==void 0&&(I.exports=o)})(this,function(){var r,s,h="2.0.6",u={},A={},S={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},l={currentLocale:S.currentLocale,zeroFormat:S.zeroFormat,nullFormat:S.nullFormat,defaultFormat:S.defaultFormat,scalePercentBy100:S.scalePercentBy100};function C(b,m){this._input=b,this._value=m}return r=function(b){var m,D,f,p;if(r.isNumeral(b))m=b.value();else if(b===0||typeof b>"u")m=0;else if(b===null||s.isNaN(b))m=null;else if(typeof b=="string")if(l.zeroFormat&&b===l.zeroFormat)m=0;else if(l.nullFormat&&b===l.nullFormat||!b.replace(/[^0-9]+/g,"").length)m=null;else{for(D in u)if(p=typeof u[D].regexps.unformat=="function"?u[D].regexps.unformat():u[D].regexps.unformat,p&&b.match(p)){f=u[D].unformat;break}f=f||r._.stringToNumber,m=f(b)}else m=Number(b)||null;return new C(b,m)},r.version=h,r.isNumeral=function(b){return b instanceof C},r._=s={numberToFormat:function(b,m,D){var f=A[r.options.currentLocale],p=!1,c=!1,d=0,g="",w=1e12,x=1e9,T=1e6,O=1e3,F="",K=!1,ee,he,pe,ie,we,Ce,Ne,B,k,W;if(b=b||0,he=Math.abs(b),r._.includes(m,"(")?(p=!0,m=m.replace(/[\(|\)]/g,"")):(r._.includes(m,"+")||r._.includes(m,"-"))&&(B=r._.includes(m,"+")?m.indexOf("+"):b<0?m.indexOf("-"):-1,m=m.replace(/[\+|\-]/g,"")),r._.includes(m,"a")&&(ee=m.match(/a(k|m|b|t)?/),ee=ee?ee[1]:!1,r._.includes(m," a")&&(g=" "),m=m.replace(new RegExp(g+"a[kmbt]?"),""),he>=w&&!ee||ee==="t"?(g+=f.abbreviations.trillion,b=b/w):he=x&&!ee||ee==="b"?(g+=f.abbreviations.billion,b=b/x):he=T&&!ee||ee==="m"?(g+=f.abbreviations.million,b=b/T):(he=O&&!ee||ee==="k")&&(g+=f.abbreviations.thousand,b=b/O)),r._.includes(m,"[.]")&&(c=!0,m=m.replace("[.]",".")),Ce=b.toString().split(".")[0],Ne=m.split(".")[1],k=m.indexOf(","),d=(m.split(".")[0].split(",")[0].match(/0/g)||[]).length,Ne?(r._.includes(Ne,"[")?(Ne=Ne.replace("]",""),Ne=Ne.split("["),F=r._.toFixed(b,Ne[0].length+Ne[1].length,D,Ne[1].length)):F=r._.toFixed(b,Ne.length,D),Ce=F.split(".")[0],r._.includes(F,".")?F=f.delimiters.decimal+F.split(".")[1]:F="",c&&Number(F.slice(1))===0&&(F="")):Ce=r._.toFixed(b,0,D),g&&!ee&&Number(Ce)>=1e3&&g!==f.abbreviations.trillion)switch(Ce=String(Number(Ce)/1e3),g){case f.abbreviations.thousand:g=f.abbreviations.million;break;case f.abbreviations.million:g=f.abbreviations.billion;break;case f.abbreviations.billion:g=f.abbreviations.trillion;break}if(r._.includes(Ce,"-")&&(Ce=Ce.slice(1),K=!0),Ce.length0;q--)Ce="0"+Ce;return k>-1&&(Ce=Ce.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+f.delimiters.thousands)),m.indexOf(".")===0&&(Ce=""),W=Ce+F+(g||""),p?W=(p&&K?"(":"")+W+(p&&K?")":""):B>=0?W=B===0?(K?"-":"+")+W:W+(K?"-":"+"):K&&(W="-"+W),W},stringToNumber:function(b){var m=A[l.currentLocale],D=b,f={thousand:3,million:6,billion:9,trillion:12},p,c,d,g;if(l.zeroFormat&&b===l.zeroFormat)c=0;else if(l.nullFormat&&b===l.nullFormat||!b.replace(/[^0-9]+/g,"").length)c=null;else{c=1,m.delimiters.decimal!=="."&&(b=b.replace(/\./g,"").replace(m.delimiters.decimal,"."));for(p in f)if(g=new RegExp("[^a-zA-Z]"+m.abbreviations[p]+"(?:\\)|(\\"+m.currency.symbol+")?(?:\\))?)?$"),D.match(g)){c*=Math.pow(10,f[p]);break}c*=(b.split("-").length+Math.min(b.split("(").length-1,b.split(")").length-1))%2?1:-1,b=b.replace(/[^0-9\.]+/g,""),c*=Number(b)}return c},isNaN:function(b){return typeof b=="number"&&isNaN(b)},includes:function(b,m){return b.indexOf(m)!==-1},insert:function(b,m,D){return b.slice(0,D)+m+b.slice(D)},reduce:function(b,m){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof m!="function")throw new TypeError(m+" is not a function");var D=Object(b),f=D.length>>>0,p=0,c;if(arguments.length===3)c=arguments[2];else{for(;p=f)throw new TypeError("Reduce of empty array with no initial value");c=D[p++]}for(;pf?m:f},1)},toFixed:function(b,m,D,f){var p=b.toString().split("."),c=m-(f||0),d,g,w,x;return p.length===2?d=Math.min(Math.max(p[1].length,c),m):d=c,w=Math.pow(10,d),x=(D(b+"e+"+d)/w).toFixed(d),f>m-d&&(g=new RegExp("\\.?0{1,"+(f-(m-d))+"}$"),x=x.replace(g,"")),x}},r.options=l,r.formats=u,r.locales=A,r.locale=function(b){return b&&(l.currentLocale=b.toLowerCase()),l.currentLocale},r.localeData=function(b){if(!b)return A[l.currentLocale];if(b=b.toLowerCase(),!A[b])throw new Error("Unknown locale : "+b);return A[b]},r.reset=function(){for(var b in S)l[b]=S[b]},r.zeroFormat=function(b){l.zeroFormat=typeof b=="string"?b:null},r.nullFormat=function(b){l.nullFormat=typeof b=="string"?b:null},r.defaultFormat=function(b){l.defaultFormat=typeof b=="string"?b:"0.0"},r.register=function(b,m,D){if(m=m.toLowerCase(),this[b+"s"][m])throw new TypeError(m+" "+b+" already registered.");return this[b+"s"][m]=D,D},r.validate=function(b,m){var D,f,p,c,d,g,w,x;if(typeof b!="string"&&(b+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",b)),b=b.trim(),b.match(/^\d+$/))return!0;if(b==="")return!1;try{w=r.localeData(m)}catch{w=r.localeData(r.locale())}return p=w.currency.symbol,d=w.abbreviations,D=w.delimiters.decimal,w.delimiters.thousands==="."?f="\\.":f=w.delimiters.thousands,x=b.match(/^[^\d]+/),x!==null&&(b=b.substr(1),x[0]!==p)||(x=b.match(/[^\d]+$/),x!==null&&(b=b.slice(0,-1),x[0]!==d.thousand&&x[0]!==d.million&&x[0]!==d.billion&&x[0]!==d.trillion))?!1:(g=new RegExp(f+"{2}"),b.match(/[^\d.,]/g)?!1:(c=b.split(D),c.length>2?!1:c.length<2?!!c[0].match(/^\d+.*\d$/)&&!c[0].match(g):c[0].length===1?!!c[0].match(/^\d+$/)&&!c[0].match(g)&&!!c[1].match(/^\d+$/):!!c[0].match(/^\d+.*\d$/)&&!c[0].match(g)&&!!c[1].match(/^\d+$/)))},r.fn=C.prototype={clone:function(){return r(this)},format:function(b,m){var D=this._value,f=b||l.defaultFormat,p,c,d;if(m=m||Math.round,D===0&&l.zeroFormat!==null)c=l.zeroFormat;else if(D===null&&l.nullFormat!==null)c=l.nullFormat;else{for(p in u)if(f.match(u[p].regexps.format)){d=u[p].format;break}d=d||r._.numberToFormat,c=d(D,f,m)}return c},value:function(){return this._value},input:function(){return this._input},set:function(b){return this._value=Number(b),this},add:function(b){var m=s.correctionFactor.call(null,this._value,b);function D(f,p,c,d){return f+Math.round(m*p)}return this._value=s.reduce([this._value,b],D,0)/m,this},subtract:function(b){var m=s.correctionFactor.call(null,this._value,b);function D(f,p,c,d){return f-Math.round(m*p)}return this._value=s.reduce([b],D,Math.round(this._value*m))/m,this},multiply:function(b){function m(D,f,p,c){var d=s.correctionFactor(D,f);return Math.round(D*d)*Math.round(f*d)/Math.round(d*d)}return this._value=s.reduce([this._value,b],m,1),this},divide:function(b){function m(D,f,p,c){var d=s.correctionFactor(D,f);return Math.round(D*d)/Math.round(f*d)}return this._value=s.reduce([this._value,b],m),this},difference:function(b){return Math.abs(r(this._value).subtract(b).value())}},r.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(b){var m=b%10;return~~(b%100/10)===1?"th":m===1?"st":m===2?"nd":m===3?"rd":"th"},currency:{symbol:"$"}}),function(){r.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(b,m,D){var f=r._.includes(m," BPS")?" ":"",p;return b=b*1e4,m=m.replace(/\s?BPS/,""),p=r._.numberToFormat(b,m,D),r._.includes(p,")")?(p=p.split(""),p.splice(-1,0,f+"BPS"),p=p.join("")):p=p+f+"BPS",p},unformat:function(b){return+(r._.stringToNumber(b)*1e-4).toFixed(15)}})}(),function(){var b={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},m={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},D=b.suffixes.concat(m.suffixes.filter(function(p){return b.suffixes.indexOf(p)<0})),f=D.join("|");f="("+f.replace("B","B(?!PS)")+")",r.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(f)},format:function(p,c,d){var g,w=r._.includes(c,"ib")?m:b,x=r._.includes(c," b")||r._.includes(c," ib")?" ":"",T,O,F;for(c=c.replace(/\s?i?b/,""),T=0;T<=w.suffixes.length;T++)if(O=Math.pow(w.base,T),F=Math.pow(w.base,T+1),p===null||p===0||p>=O&&p0&&(p=p/O);break}return g=r._.numberToFormat(p,c,d),g+x},unformat:function(p){var c=r._.stringToNumber(p),d,g;if(c){for(d=b.suffixes.length-1;d>=0;d--){if(r._.includes(p,b.suffixes[d])){g=Math.pow(b.base,d);break}if(r._.includes(p,m.suffixes[d])){g=Math.pow(m.base,d);break}}c*=g||1}return c}})}(),function(){r.register("format","currency",{regexps:{format:/(\$)/},format:function(b,m,D){var f=r.locales[r.options.currentLocale],p={before:m.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:m.match(/([\+|\-|\)|\s|\$]*)$/)[0]},c,d,g;for(m=m.replace(/\s?\$\s?/,""),c=r._.numberToFormat(b,m,D),b>=0?(p.before=p.before.replace(/[\-\(]/,""),p.after=p.after.replace(/[\-\)]/,"")):b<0&&!r._.includes(p.before,"-")&&!r._.includes(p.before,"(")&&(p.before="-"+p.before),g=0;g=0;g--)switch(d=p.after[g],d){case"$":c=g===p.after.length-1?c+f.currency.symbol:r._.insert(c,f.currency.symbol,-(p.after.length-(1+g)));break;case" ":c=g===p.after.length-1?c+" ":r._.insert(c," ",-(p.after.length-(1+g)+f.currency.symbol.length-1));break}return c}})}(),function(){r.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(b,m,D){var f,p=typeof b=="number"&&!r._.isNaN(b)?b.toExponential():"0e+0",c=p.split("e");return m=m.replace(/e[\+|\-]{1}0/,""),f=r._.numberToFormat(Number(c[0]),m,D),f+"e"+c[1]},unformat:function(b){var m=r._.includes(b,"e+")?b.split("e+"):b.split("e-"),D=Number(m[0]),f=Number(m[1]);f=r._.includes(b,"e-")?f*=-1:f;function p(c,d,g,w){var x=r._.correctionFactor(c,d),T=c*x*(d*x)/(x*x);return T}return r._.reduce([D,Math.pow(10,f)],p,1)}})}(),function(){r.register("format","ordinal",{regexps:{format:/(o)/},format:function(b,m,D){var f=r.locales[r.options.currentLocale],p,c=r._.includes(m," o")?" ":"";return m=m.replace(/\s?o/,""),c+=f.ordinal(b),p=r._.numberToFormat(b,m,D),p+c}})}(),function(){r.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(b,m,D){var f=r._.includes(m," %")?" ":"",p;return r.options.scalePercentBy100&&(b=b*100),m=m.replace(/\s?\%/,""),p=r._.numberToFormat(b,m,D),r._.includes(p,")")?(p=p.split(""),p.splice(-1,0,f+"%"),p=p.join("")):p=p+f+"%",p},unformat:function(b){var m=r._.stringToNumber(b);return r.options.scalePercentBy100?m*.01:m}})}(),function(){r.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(b,m,D){var f=Math.floor(b/60/60),p=Math.floor((b-f*60*60)/60),c=Math.round(b-f*60*60-p*60);return f+":"+(p<10?"0"+p:p)+":"+(c<10?"0"+c:c)},unformat:function(b){var m=b.split(":"),D=0;return m.length===3?(D=D+Number(m[0])*60*60,D=D+Number(m[1])*60,D=D+Number(m[2])):m.length===2&&(D=D+Number(m[0])*60,D=D+Number(m[1])),Number(D)}})}(),r})},HNbMu1z2:(I,v,t)=>{var n=typeof Map=="function"&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=n&&o&&typeof o.get=="function"?o.get:null,s=n&&Map.prototype.forEach,h=typeof Set=="function"&&Set.prototype,u=Object.getOwnPropertyDescriptor&&h?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,A=h&&u&&typeof u.get=="function"?u.get:null,S=h&&Set.prototype.forEach,l=typeof WeakMap=="function"&&WeakMap.prototype,C=l?WeakMap.prototype.has:null,b=typeof WeakSet=="function"&&WeakSet.prototype,m=b?WeakSet.prototype.has:null,D=typeof WeakRef=="function"&&WeakRef.prototype,f=D?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,c=Object.prototype.toString,d=Function.prototype.toString,g=String.prototype.match,w=String.prototype.slice,x=String.prototype.replace,T=String.prototype.toUpperCase,O=String.prototype.toLowerCase,F=RegExp.prototype.test,K=Array.prototype.concat,ee=Array.prototype.join,he=Array.prototype.slice,pe=Math.floor,ie=typeof BigInt=="function"?BigInt.prototype.valueOf:null,we=Object.getOwnPropertySymbols,Ce=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Ne=typeof Symbol=="function"&&typeof Symbol.iterator=="object",B=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Ne||!0)?Symbol.toStringTag:null,k=Object.prototype.propertyIsEnumerable,W=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(Ge){return Ge.__proto__}:null);function q(Ge,Be){if(Ge===1/0||Ge===-1/0||Ge!==Ge||Ge&&Ge>-1e3&&Ge<1e3||F.call(/e/,Be))return Be;var It=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof Ge=="number"){var Ht=Ge<0?-pe(-Ge):pe(Ge);if(Ht!==Ge){var wr=String(Ht),ir=w.call(Be,wr.length+1);return x.call(wr,It,"$&_")+"."+x.call(x.call(ir,/([0-9]{3})/g,"$&_"),/_$/,"")}}return x.call(Be,It,"$&_")}var Q=t("/Gr37E0h"),re=Q.custom,te=Le(re)?re:null;I.exports=function Ge(Be,It,Ht,wr){var ir=It||{};if($(ir,"quoteStyle")&&ir.quoteStyle!=="single"&&ir.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if($(ir,"maxStringLength")&&(typeof ir.maxStringLength=="number"?ir.maxStringLength<0&&ir.maxStringLength!==1/0:ir.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var tr=$(ir,"customInspect")?ir.customInspect:!0;if(typeof tr!="boolean"&&tr!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if($(ir,"indent")&&ir.indent!==null&&ir.indent!=="	"&&!(parseInt(ir.indent,10)===ir.indent&&ir.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if($(ir,"numericSeparator")&&typeof ir.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Fr=ir.numericSeparator;if(typeof Be>"u")return"undefined";if(Be===null)return"null";if(typeof Be=="boolean")return Be?"true":"false";if(typeof Be=="string")return Ye(Be,ir);if(typeof Be=="number"){if(Be===0)return 1/0/Be>0?"0":"-0";var mr=String(Be);return Fr?q(Be,mr):mr}if(typeof Be=="bigint"){var Or=String(Be)+"n";return Fr?q(Be,Or):Or}var Nr=typeof ir.depth>"u"?5:ir.depth;if(typeof Ht>"u"&&(Ht=0),Ht>=Nr&&Nr>0&&typeof Be=="object")return Qe(Be)?"[Array]":"[Object]";var Gr=pt(ir,Ht);if(typeof wr>"u")wr=[];else if(L(wr,Be)>=0)return"[Circular]";function Ir(yt,Mt,Jt){if(Mt&&(wr=he.call(wr),wr.push(Mt)),Jt){var Se={depth:ir.depth};return $(ir,"quoteStyle")&&(Se.quoteStyle=ir.quoteStyle),Ge(yt,Se,Ht+1,wr)}return Ge(yt,ir,Ht+1,wr)}if(typeof Be=="function"&&!Xe(Be)){var mn=U(Be),An=Pt(Be,Ir);return"[Function"+(mn?": "+mn:" (anonymous)")+"]"+(An.length>0?" { "+ee.call(An,", ")+" }":"")}if(Le(Be)){var ln=Ne?x.call(String(Be),/^(Symbol\(.*\))_[^)]*$/,"$1"):Ce.call(Be);return typeof Be=="object"&&!Ne?We(ln):ln}if(Gt(Be)){for(var Jr="<"+O.call(String(Be.nodeName)),Zr=Be.attributes||[],St=0;St",Jr}if(Qe(Be)){if(Be.length===0)return"[]";var Ot=Pt(Be,Ir);return Gr&&!lt(Ot)?"["+vt(Ot,Gr)+"]":"[ "+ee.call(Ot,", ")+" ]"}if(dt(Be)){var Pe=Pt(Be,Ir);return!("cause"in Error.prototype)&&"cause"in Be&&!k.call(Be,"cause")?"{ ["+String(Be)+"] "+ee.call(K.call("[cause]: "+Ir(Be.cause),Pe),", ")+" }":Pe.length===0?"["+String(Be)+"]":"{ ["+String(Be)+"] "+ee.call(Pe,", ")+" }"}if(typeof Be=="object"&&tr){if(te&&typeof Be[te]=="function"&&Q)return Q(Be,{depth:Nr-Ht});if(tr!=="symbol"&&typeof Be.inspect=="function")return Be.inspect()}if(j(Be)){var Ee=[];return s&&s.call(Be,function(yt,Mt){Ee.push(Ir(Mt,Be,!0)+" => "+Ir(yt,Be))}),Re("Map",r.call(Be),Ee,Gr)}if(Je(Be)){var Ue=[];return S&&S.call(Be,function(yt){Ue.push(Ir(yt,Be))}),Re("Set",A.call(Be),Ue,Gr)}if(le(Be))return Ze("WeakMap");if(ot(Be))return Ze("WeakSet");if(Te(Be))return Ze("WeakRef");if(Ie(Be))return We(Ir(Number(Be)));if(je(Be))return We(Ir(ie.call(Be)));if(ue(Be))return We(p.call(Be));if(it(Be))return We(Ir(String(Be)));if(typeof window<"u"&&Be===window)return"{ [object Window] }";if(Be===t.g)return"{ [object globalThis] }";if(!Ke(Be)&&!Xe(Be)){var Ft=Pt(Be,Ir),Rt=W?W(Be)===Object.prototype:Be instanceof Object||Be.constructor===Object,ht=Be instanceof Object?"":"null prototype",br=!Rt&&B&&Object(Be)===Be&&B in Be?w.call(G(Be),8,-1):ht?"Object":"",pr=Rt||typeof Be.constructor!="function"?"":Be.constructor.name?Be.constructor.name+" ":"",Wt=pr+(br||ht?"["+ee.call(K.call([],br||[],ht||[]),": ")+"] ":"");return Ft.length===0?Wt+"{}":Gr?Wt+"{"+vt(Ft,Gr)+"}":Wt+"{ "+ee.call(Ft,", ")+" }"}return String(Be)};function ge(Ge,Be,It){var Ht=(It.quoteStyle||Be)==="double"?'"':"'";return Ht+Ge+Ht}function Fe(Ge){return x.call(String(Ge),/"/g,""")}function Qe(Ge){return G(Ge)==="[object Array]"&&(!B||!(typeof Ge=="object"&&B in Ge))}function Ke(Ge){return G(Ge)==="[object Date]"&&(!B||!(typeof Ge=="object"&&B in Ge))}function Xe(Ge){return G(Ge)==="[object RegExp]"&&(!B||!(typeof Ge=="object"&&B in Ge))}function dt(Ge){return G(Ge)==="[object Error]"&&(!B||!(typeof Ge=="object"&&B in Ge))}function it(Ge){return G(Ge)==="[object String]"&&(!B||!(typeof Ge=="object"&&B in Ge))}function Ie(Ge){return G(Ge)==="[object Number]"&&(!B||!(typeof Ge=="object"&&B in Ge))}function ue(Ge){return G(Ge)==="[object Boolean]"&&(!B||!(typeof Ge=="object"&&B in Ge))}function Le(Ge){if(Ne)return Ge&&typeof Ge=="object"&&Ge instanceof Symbol;if(typeof Ge=="symbol")return!0;if(!Ge||typeof Ge!="object"||!Ce)return!1;try{return Ce.call(Ge),!0}catch{}return!1}function je(Ge){if(!Ge||typeof Ge!="object"||!ie)return!1;try{return ie.call(Ge),!0}catch{}return!1}var J=Object.prototype.hasOwnProperty||function(Ge){return Ge in this};function $(Ge,Be){return J.call(Ge,Be)}function G(Ge){return c.call(Ge)}function U(Ge){if(Ge.name)return Ge.name;var Be=g.call(d.call(Ge),/^function\s*([\w$]+)/);return Be?Be[1]:null}function L(Ge,Be){if(Ge.indexOf)return Ge.indexOf(Be);for(var It=0,Ht=Ge.length;ItBe.maxStringLength){var It=Ge.length-Be.maxStringLength,Ht="... "+It+" more character"+(It>1?"s":"");return Ye(w.call(Ge,0,Be.maxStringLength),Be)+Ht}var wr=x.call(x.call(Ge,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ct);return ge(wr,"single",Be)}function ct(Ge){var Be=Ge.charCodeAt(0),It={8:"b",9:"t",10:"n",12:"f",13:"r"}[Be];return It?"\\"+It:"\\x"+(Be<16?"0":"")+T.call(Be.toString(16))}function We(Ge){return"Object("+Ge+")"}function Ze(Ge){return Ge+" { ? }"}function Re(Ge,Be,It,Ht){var wr=Ht?vt(It,Ht):ee.call(It,", ");return Ge+" ("+Be+") {"+wr+"}"}function lt(Ge){for(var Be=0;Be=0)return!1;return!0}function pt(Ge,Be){var It;if(Ge.indent==="	")It="	";else if(typeof Ge.indent=="number"&&Ge.indent>0)It=ee.call(Array(Ge.indent+1)," ");else return null;return{base:It,prev:ee.call(Array(Be+1),It)}}function vt(Ge,Be){if(Ge.length===0)return"";var It=`
`+Be.prev+Be.base;return It+ee.call(Ge,","+It)+`
`+Be.prev}function Pt(Ge,Be){var It=Qe(Ge),Ht=[];if(It){Ht.length=Ge.length;for(var wr=0;wr{"use strict";v.defaults=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],v.defaultLine="#444",v.lightLine="#eee",v.background="#fff",v.borderLine="#BEC8D9",v.lightFraction=100*10/11},dDrLnjiw:(I,v,t)=>{"use strict";var n=t("DFnakCUV"),o=t("j6yQIY+r"),r=t("0BDZSqpM").isTypedArray,s=I.exports={},h=t("V1/HMom/");s.defaults=h.defaults;var u=s.defaultLine=h.defaultLine;s.lightLine=h.lightLine;var A=s.background=h.background;s.tinyRGB=function(l){var C=l.toRgb();return"rgb("+Math.round(C.r)+", "+Math.round(C.g)+", "+Math.round(C.b)+")"},s.rgb=function(l){return s.tinyRGB(n(l))},s.opacity=function(l){return l?n(l).getAlpha():0},s.addOpacity=function(l,C){var b=n(l).toRgb();return"rgba("+Math.round(b.r)+", "+Math.round(b.g)+", "+Math.round(b.b)+", "+C+")"},s.combine=function(l,C){var b=n(l).toRgb();if(b.a===1)return n(l).toRgbString();var m=n(C||A).toRgb(),D=m.a===1?m:{r:255*(1-m.a)+m.r*m.a,g:255*(1-m.a)+m.g*m.a,b:255*(1-m.a)+m.b*m.a},f={r:D.r*(1-b.a)+b.r*b.a,g:D.g*(1-b.a)+b.g*b.a,b:D.b*(1-b.a)+b.b*b.a};return n(f).toRgbString()},s.interpolate=function(l,C,b){var m=n(l).toRgb(),D=n(C).toRgb(),f={r:b*m.r+(1-b)*D.r,g:b*m.g+(1-b)*D.g,b:b*m.b+(1-b)*D.b};return n(f).toRgbString()},s.contrast=function(l,C,b){var m=n(l);m.getAlpha()!==1&&(m=n(s.combine(l,A)));var D=m.isDark()?C?m.lighten(C):A:b?m.darken(b):u;return D.toString()},s.stroke=function(l,C){var b=n(C);l.style({stroke:s.tinyRGB(b),"stroke-opacity":b.getAlpha()})},s.fill=function(l,C){var b=n(C);l.style({fill:s.tinyRGB(b),"fill-opacity":b.getAlpha()})},s.clean=function(l){if(!(!l||typeof l!="object")){var C=Object.keys(l),b,m,D,f;for(b=0;b=0)))return l;if(f===3)m[f]>1&&(m[f]=1);else if(m[f]>=1)return l}var p=Math.round(m[0]*255)+", "+Math.round(m[1]*255)+", "+Math.round(m[2]*255);return D?"rgba("+p+", "+m[3]+")":"rgb("+p+")"}},"3fNtVRbs":(I,v,t)=>{"use strict";var n=t("7a73G6xA"),o=t("iNVXrAXN"),r=t("TfssAhrc").extendFlat,s=t("2POXedf6").overrideAll;I.exports=s({orientation:{valType:"enumerated",values:["h","v"],dflt:"v",description:"Sets the orientation of the colorbar."},thicknessmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"pixels",description:["Determines whether this color bar's thickness","(i.e. the measure in the constant color direction)","is set in units of plot *fraction* or in *pixels*.","Use `thickness` to set the value."].join(" ")},thickness:{valType:"number",min:0,dflt:30,description:["Sets the thickness of the color bar","This measure excludes the size of the padding, ticks and labels."].join(" ")},lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction",description:["Determines whether this color bar's length","(i.e. the measure in the color variation direction)","is set in units of plot *fraction* or in *pixels.","Use `len` to set the value."].join(" ")},len:{valType:"number",min:0,dflt:1,description:["Sets the length of the color bar","This measure excludes the padding of both ends.","That is, the color bar length is this length minus the","padding on both ends."].join(" ")},x:{valType:"number",description:["Sets the x position with respect to `xref` of the color bar (in plot fraction).","When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and","0.5 when `orientation` is *h*.","When `xref` is *container*, defaults to *1* when `orientation` is *v* and","0.5 when `orientation` is *h*.","Must be between *0* and *1* if `xref` is *container*","and between *-2* and *3* if `xref` is *paper*."].join(" ")},xref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle",description:["Sets the container `x` refers to.","*container* spans the entire `width` of the plot.","*paper* refers to the width of the plotting area only."].join(" ")},xanchor:{valType:"enumerated",values:["left","center","right"],description:["Sets this color bar's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the color bar.","Defaults to *left* when `orientation` is *v* and","*center* when `orientation` is *h*."].join(" ")},xpad:{valType:"number",min:0,dflt:10,description:"Sets the amount of padding (in px) along the x direction."},y:{valType:"number",description:["Sets the y position with respect to `yref` of the color bar (in plot fraction).","When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and","1.02 when `orientation` is *h*.","When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and","1 when `orientation` is *h*.","Must be between *0* and *1* if `yref` is *container*","and between *-2* and *3* if `yref` is *paper*."].join(" ")},yref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle",description:["Sets the container `y` refers to.","*container* spans the entire `height` of the plot.","*paper* refers to the height of the plotting area only."].join(" ")},yanchor:{valType:"enumerated",values:["top","middle","bottom"],description:["Sets this color bar's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the color bar.","Defaults to *middle* when `orientation` is *v* and","*bottom* when `orientation` is *h*."].join(" ")},ypad:{valType:"number",min:0,dflt:10,description:"Sets the amount of padding (in px) along the y direction."},outlinecolor:n.linecolor,outlinewidth:n.linewidth,bordercolor:n.linecolor,borderwidth:{valType:"number",min:0,dflt:0,description:["Sets the width (in px) or the border enclosing this color bar."].join(" ")},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",description:"Sets the color of padded area."},tickmode:n.minor.tickmode,nticks:n.nticks,tick0:n.tick0,dtick:n.dtick,tickvals:n.tickvals,ticktext:n.ticktext,ticks:r({},n.ticks,{dflt:""}),ticklabeloverflow:r({},n.ticklabeloverflow,{description:["Determines how we handle tick labels that would overflow either the graph div or the domain of the axis.","The default value for inside tick labels is *hide past domain*.","In other cases the default is *hide past div*."].join(" ")}),ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside left","inside left","outside right","inside right","outside bottom","inside bottom"],dflt:"outside",description:["Determines where tick labels are drawn relative to the ticks.","Left and right options are used when `orientation` is *h*,","top and bottom when `orientation` is *v*."].join(" ")},ticklen:n.ticklen,tickwidth:n.tickwidth,tickcolor:n.tickcolor,ticklabelstep:n.ticklabelstep,showticklabels:n.showticklabels,labelalias:n.labelalias,tickfont:o({description:"Sets the color bar's tick label font"}),tickangle:n.tickangle,tickformat:n.tickformat,tickformatstops:n.tickformatstops,tickprefix:n.tickprefix,showtickprefix:n.showtickprefix,ticksuffix:n.ticksuffix,showticksuffix:n.showticksuffix,separatethousands:n.separatethousands,exponentformat:n.exponentformat,minexponent:n.minexponent,showexponent:n.showexponent,title:{text:{valType:"string",description:["Sets the title of the color bar.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:o({description:["Sets this color bar's title font.","Note that the title's font used to be set","by the now deprecated `titlefont` attribute."].join(" ")}),side:{valType:"enumerated",values:["right","top","bottom"],description:["Determines the location of color bar's title","with respect to the color bar.","Defaults to *top* when `orientation` if *v* and ","defaults to *right* when `orientation` if *h*.","Note that the title's location used to be set","by the now deprecated `titleside` attribute."].join(" ")}},_deprecated:{title:{valType:"string",description:["Deprecated in favor of color bar's `title.text`.","Note that value of color bar's `title` is no longer a simple","*string* but a set of sub-attributes."].join(" ")},titlefont:o({description:"Deprecated in favor of color bar's `title.font`."}),titleside:{valType:"enumerated",values:["right","top","bottom"],dflt:"top",description:"Deprecated in favor of color bar's `title.side`."}}},"colorbars","from-root")},r36KvtXM:(I,v,t)=>{"use strict";var n=t("5/7eUVNk"),o=t("OQCOsJIy"),r=t("y6uxiAkU"),s=t("b7wv4AKD"),h=t("9KsbdorZ"),u=t("5R+gcorB"),A=t("3fNtVRbs");I.exports=function(l,C,b){var m=o.newContainer(C,"colorbar"),D=l.colorbar||{};function f(q,Q){return n.coerce(D,m,A,q,Q)}var p=b.margin||{t:0,b:0,l:0,r:0},c=b.width-p.l-p.r,d=b.height-p.t-p.b,g=f("orientation"),w=g==="v",x=f("thicknessmode");f("thickness",x==="fraction"?30/(w?c:d):30);var T=f("lenmode");f("len",T==="fraction"?1:w?d:c);var O=f("yref"),F=f("xref"),K=O==="paper",ee=F==="paper",he,pe,ie,we="left";w?(ie="middle",we=ee?"left":"right",he=ee?1.02:1,pe=.5):(ie=K?"bottom":"top",we="center",he=.5,pe=K?1.02:1),n.coerce(D,m,{x:{valType:"number",min:ee?-2:0,max:ee?3:1,dflt:he}},"x"),n.coerce(D,m,{y:{valType:"number",min:K?-2:0,max:K?3:1,dflt:pe}},"y"),f("xanchor",we),f("xpad"),f("yanchor",ie),f("ypad"),n.noneOrAll(D,m,["x","y"]),f("outlinecolor"),f("outlinewidth"),f("bordercolor"),f("borderwidth"),f("bgcolor");var Ce=n.coerce(D,m,{ticklabelposition:{valType:"enumerated",dflt:"outside",values:w?["outside","inside","outside top","inside top","outside bottom","inside bottom"]:["outside","inside","outside left","inside left","outside right","inside right"]}},"ticklabelposition");f("ticklabeloverflow",Ce.indexOf("inside")!==-1?"hide past domain":"hide past div"),r(D,m,f,"linear");var Ne=b.font,B={noAutotickangles:!0,outerTicks:!1,font:Ne};Ce.indexOf("inside")!==-1&&(B.bgColor="black"),u(D,m,f,"linear",B),h(D,m,f,"linear",B),s(D,m,f,"linear",B),f("title.text",b._dfltTitle.colorbar);var k=m.showticklabels?m.tickfont:Ne,W=n.extendFlat({},k,{color:Ne.color,size:n.bigFont(k.size)});n.coerceFont(f,"title.font",W),f("title.side",w?"top":"right")}},"6aJIT9SO":(I,v,t)=>{"use strict";var n=t("5/7eUVNk");I.exports=function(r){return n.isPlainObject(r.colorbar)}},"tC5iIzG/":(I,v,t)=>{"use strict";var n=t("3fNtVRbs"),o=t("hIYhsYNd").counter,r=t("uZ1jKsxY"),s=t("l6Py6PBr").scales,h=r(s);function u(A){return"`"+A+"`"}I.exports=function(S,l){S=S||"",l=l||{};var C=l.cLetter||"c",b="onlyIfNumerical"in l?l.onlyIfNumerical:!!S,m="noScale"in l?l.noScale:S==="marker.line",D="showScaleDflt"in l?l.showScaleDflt:C==="z",f=typeof l.colorscaleDflt=="string"?s[l.colorscaleDflt]:null,p=l.editTypeOverride||"",c=S?S+".":"",d,g;"colorAttr"in l?(d=l.colorAttr,g=l.colorAttr):(d={z:"z",c:"color"}[C],g="in "+u(c+d));var w=b?" Has an effect only if "+g+" is set to a numerical array.":"",x=C+"auto",T=C+"min",O=C+"max",F=C+"mid",K=u(c+x),ee=u(c+T),he=u(c+O),pe=ee+" and "+he,ie={};ie[T]=ie[O]=void 0;var we={};we[x]=!1;var Ce={};return d==="color"&&(Ce.color={valType:"color",arrayOk:!0,editType:p||"style",description:["Sets the",S,"color.","It accepts either a specific color","or an array of numbers that are mapped to the colorscale","relative to the max and min values of the array or relative to",pe,"if set."].join(" ")},l.anim&&(Ce.color.anim=!0)),Ce[x]={valType:"boolean",dflt:!0,editType:"calc",impliedEdits:ie,description:["Determines whether or not the color domain is computed","with respect to the input data (here "+g+") or the bounds set in",pe+w,"Defaults to `false` when",pe,"are set by the user."].join(" ")},Ce[T]={valType:"number",dflt:null,editType:p||"plot",impliedEdits:we,description:["Sets the lower bound of the color domain."+w,"Value should have the same units as",g,"and if set,",he,"must be set as well."].join(" ")},Ce[O]={valType:"number",dflt:null,editType:p||"plot",impliedEdits:we,description:["Sets the upper bound of the color domain."+w,"Value should have the same units as",g,"and if set,",ee,"must be set as well."].join(" ")},Ce[F]={valType:"number",dflt:null,editType:"calc",impliedEdits:ie,description:["Sets the mid-point of the color domain by scaling",ee,"and/or",he,"to be equidistant to this point."+w,"Value should have the same units as",g+".","Has no effect when",K,"is `false`."].join(" ")},Ce.colorscale={valType:"colorscale",editType:"calc",dflt:f,impliedEdits:{autocolorscale:!1},description:["Sets the colorscale."+w,"The colorscale must be an array containing","arrays mapping a normalized value to an","rgb, rgba, hex, hsl, hsv, or named color string.","At minimum, a mapping for the lowest (0) and highest (1)","values are required. For example,","`[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`.","To control the bounds of the colorscale in color space,","use",pe+".","Alternatively, `colorscale` may be a palette name string","of the following list: "+h+"."].join(" ")},Ce.autocolorscale={valType:"boolean",dflt:l.autoColorDflt!==!1,editType:"calc",impliedEdits:{colorscale:void 0},description:["Determines whether the colorscale is a default palette (`autocolorscale: true`)","or the palette determined by",u(c+"colorscale")+"."+w,"In case `colorscale` is unspecified or `autocolorscale` is true, the default","palette will be chosen according to whether numbers in the `color` array are","all positive, all negative or mixed."].join(" ")},Ce.reversescale={valType:"boolean",dflt:!1,editType:"plot",description:["Reverses the color mapping if true."+w,"If true,",ee,"will correspond to the last color","in the array and",he,"will correspond to the first color."].join(" ")},m||(Ce.showscale={valType:"boolean",dflt:D,editType:"calc",description:["Determines whether or not a colorbar is displayed for this trace."+w].join(" ")},Ce.colorbar=n),l.noColorAxis||(Ce.coloraxis={valType:"subplotid",regex:o("coloraxis"),dflt:null,editType:"calc",description:["Sets a reference to a shared color axis.","References to these shared color axes are *coloraxis*, *coloraxis2*, *coloraxis3*, etc.","Settings for these shared color axes are set in the layout, under","`layout.coloraxis`, `layout.coloraxis2`, etc.","Note that multiple color scales can be linked to the same color axis."].join(" ")}),Ce}},apgeUDk5:(I,v,t)=>{"use strict";var n=t("j6yQIY+r"),o=t("5/7eUVNk"),r=t("J/bOp/5I").extractOpts;I.exports=function(h,u,A){var S=h._fullLayout,l=A.vals,C=A.containerStr,b=C?o.nestedProperty(u,C).get():u,m=r(b),D=m.auto!==!1,f=m.min,p=m.max,c=m.mid,d=function(){return o.aggNums(Math.min,null,l)},g=function(){return o.aggNums(Math.max,null,l)};if(f===void 0?f=d():D&&(b._colorAx&&n(f)?f=Math.min(f,d()):f=d()),p===void 0?p=g():D&&(b._colorAx&&n(p)?p=Math.max(p,g()):p=g()),D&&c!==void 0&&(p-c>c-f?f=c-(p-c):p-c=0?w=S.colorscale.sequential:w=S.colorscale.sequentialminus,m._sync("colorscale",w)}}},XFcTBNTp:(I,v,t)=>{"use strict";var n=t("5/7eUVNk"),o=t("J/bOp/5I").hasColorscale,r=t("J/bOp/5I").extractOpts;I.exports=function(h,u){function A(f,p){var c=f["_"+p];c!==void 0&&(f[p]=c)}function S(f,p){var c=p.container?n.nestedProperty(f,p.container).get():f;if(c)if(c.coloraxis)c._colorAx=u[c.coloraxis];else{var d=r(c),g=d.auto;(g||d.min===void 0)&&A(c,p.min),(g||d.max===void 0)&&A(c,p.max),d.autocolorscale&&A(c,"colorscale")}}for(var l=0;l{"use strict";var n=t("j6yQIY+r"),o=t("5/7eUVNk"),r=t("6aJIT9SO"),s=t("r36KvtXM"),h=t("l6Py6PBr").isValid,u=t("Bm/lNwZF").traceIs;function A(S,l){var C=l.slice(0,l.length-1);return l?o.nestedProperty(S,C).get()||{}:S}I.exports=function S(l,C,b,m,D){var f=D.prefix,p=D.cLetter,c="_module"in C,d=A(l,f),g=A(C,f),w=A(C._template||{},f)||{},x=function(){return delete l.coloraxis,delete C.coloraxis,S(l,C,b,m,D)};if(c){var T=b._colorAxes||{},O=m(f+"coloraxis");if(O){var F=u(C,"contour")&&o.nestedProperty(C,"contours.coloring").get()||"heatmap",K=T[O];K?(K[2].push(x),K[0]!==F&&(K[0]=!1,o.warn(["Ignoring coloraxis:",O,"setting","as it is linked to incompatible colorscales."].join(" ")))):T[O]=[F,C,[x]];return}}var ee=d[p+"min"],he=d[p+"max"],pe=n(ee)&&n(he)&&ee{"use strict";var n=t("BsFWGRIE"),o=t("DFnakCUV"),r=t("j6yQIY+r"),s=t("5/7eUVNk"),h=t("dDrLnjiw"),u=t("l6Py6PBr").isValid;function A(c,d,g){var w=d?s.nestedProperty(c,d).get()||{}:c,x=w[g||"color"];x&&x._inputArray&&(x=x._inputArray);var T=!1;if(s.isArrayOrTypedArray(x)){for(var O=0;O=0;w--,x++){var T=c[w];g[x]=[1-T[0],T[1]]}return g}function D(c,d){d=d||{};for(var g=c.domain,w=c.range,x=w.length,T=new Array(x),O=0;O{"use strict";var n=t("l6Py6PBr"),o=t("J/bOp/5I");I.exports={moduleType:"component",name:"colorscale",attributes:t("tC5iIzG/"),layoutAttributes:t("XRfRdMuy"),supplyLayoutDefaults:t("mZMPD1Fo"),handleDefaults:t("m0Hv6p+F"),crossTraceDefaults:t("XFcTBNTp"),calc:t("apgeUDk5"),scales:n.scales,defaultScale:n.defaultScale,getScale:n.get,isValidScale:n.isValid,hasColorscale:o.hasColorscale,extractOpts:o.extractOpts,extractScale:o.extractScale,flipScale:o.flipScale,makeColorScaleFunc:o.makeColorScaleFunc,makeColorScaleFuncFromTrace:o.makeColorScaleFuncFromTrace}},XRfRdMuy:(I,v,t)=>{"use strict";var n=t("TfssAhrc").extendFlat,o=t("tC5iIzG/"),r=t("l6Py6PBr").scales,s="Note that `autocolorscale` must be true for this attribute to work.";I.exports={editType:"calc",colorscale:{editType:"calc",sequential:{valType:"colorscale",dflt:r.Reds,editType:"calc",description:["Sets the default sequential colorscale for positive values.",s].join(" ")},sequentialminus:{valType:"colorscale",dflt:r.Blues,editType:"calc",description:["Sets the default sequential colorscale for negative values.",s].join(" ")},diverging:{valType:"colorscale",dflt:r.RdBu,editType:"calc",description:["Sets the default diverging colorscale.",s].join(" ")}},coloraxis:n({_isSubplotObj:!0,editType:"calc",description:[""].join(" ")},o("",{colorAttr:"corresponding trace color array(s)",noColorAxis:!0,showScaleDflt:!0}))}},mZMPD1Fo:(I,v,t)=>{"use strict";var n=t("5/7eUVNk"),o=t("OQCOsJIy"),r=t("XRfRdMuy"),s=t("m0Hv6p+F");I.exports=function(u,A){function S(c,d){return n.coerce(u,A,r,c,d)}S("colorscale.sequential"),S("colorscale.sequentialminus"),S("colorscale.diverging");var l=A._colorAxes,C,b;function m(c,d){return n.coerce(C,b,r.coloraxis,c,d)}for(var D in l){var f=l[D];if(f[0])C=u[D]||{},b=o.newContainer(A,D,"coloraxis"),b._name=D,s(C,b,A,m,{prefix:"",cLetter:"c"});else{for(var p=0;p{"use strict";var n=t("DFnakCUV"),o={Greys:[[0,"rgb(0,0,0)"],[1,"rgb(255,255,255)"]],YlGnBu:[[0,"rgb(8,29,88)"],[.125,"rgb(37,52,148)"],[.25,"rgb(34,94,168)"],[.375,"rgb(29,145,192)"],[.5,"rgb(65,182,196)"],[.625,"rgb(127,205,187)"],[.75,"rgb(199,233,180)"],[.875,"rgb(237,248,217)"],[1,"rgb(255,255,217)"]],Greens:[[0,"rgb(0,68,27)"],[.125,"rgb(0,109,44)"],[.25,"rgb(35,139,69)"],[.375,"rgb(65,171,93)"],[.5,"rgb(116,196,118)"],[.625,"rgb(161,217,155)"],[.75,"rgb(199,233,192)"],[.875,"rgb(229,245,224)"],[1,"rgb(247,252,245)"]],YlOrRd:[[0,"rgb(128,0,38)"],[.125,"rgb(189,0,38)"],[.25,"rgb(227,26,28)"],[.375,"rgb(252,78,42)"],[.5,"rgb(253,141,60)"],[.625,"rgb(254,178,76)"],[.75,"rgb(254,217,118)"],[.875,"rgb(255,237,160)"],[1,"rgb(255,255,204)"]],Bluered:[[0,"rgb(0,0,255)"],[1,"rgb(255,0,0)"]],RdBu:[[0,"rgb(5,10,172)"],[.35,"rgb(106,137,247)"],[.5,"rgb(190,190,190)"],[.6,"rgb(220,170,132)"],[.7,"rgb(230,145,90)"],[1,"rgb(178,10,28)"]],Reds:[[0,"rgb(220,220,220)"],[.2,"rgb(245,195,157)"],[.4,"rgb(245,160,105)"],[1,"rgb(178,10,28)"]],Blues:[[0,"rgb(5,10,172)"],[.35,"rgb(40,60,190)"],[.5,"rgb(70,100,245)"],[.6,"rgb(90,120,245)"],[.7,"rgb(106,137,247)"],[1,"rgb(220,220,220)"]],Picnic:[[0,"rgb(0,0,255)"],[.1,"rgb(51,153,255)"],[.2,"rgb(102,204,255)"],[.3,"rgb(153,204,255)"],[.4,"rgb(204,204,255)"],[.5,"rgb(255,255,255)"],[.6,"rgb(255,204,255)"],[.7,"rgb(255,153,255)"],[.8,"rgb(255,102,204)"],[.9,"rgb(255,102,102)"],[1,"rgb(255,0,0)"]],Rainbow:[[0,"rgb(150,0,90)"],[.125,"rgb(0,0,200)"],[.25,"rgb(0,25,255)"],[.375,"rgb(0,152,255)"],[.5,"rgb(44,255,150)"],[.625,"rgb(151,255,0)"],[.75,"rgb(255,234,0)"],[.875,"rgb(255,111,0)"],[1,"rgb(255,0,0)"]],Portland:[[0,"rgb(12,51,131)"],[.25,"rgb(10,136,186)"],[.5,"rgb(242,211,56)"],[.75,"rgb(242,143,56)"],[1,"rgb(217,30,30)"]],Jet:[[0,"rgb(0,0,131)"],[.125,"rgb(0,60,170)"],[.375,"rgb(5,255,255)"],[.625,"rgb(255,255,0)"],[.875,"rgb(250,0,0)"],[1,"rgb(128,0,0)"]],Hot:[[0,"rgb(0,0,0)"],[.3,"rgb(230,0,0)"],[.6,"rgb(255,210,0)"],[1,"rgb(255,255,255)"]],Blackbody:[[0,"rgb(0,0,0)"],[.2,"rgb(230,0,0)"],[.4,"rgb(230,210,0)"],[.7,"rgb(255,255,255)"],[1,"rgb(160,200,255)"]],Earth:[[0,"rgb(0,0,130)"],[.1,"rgb(0,180,180)"],[.2,"rgb(40,210,40)"],[.4,"rgb(230,230,50)"],[.6,"rgb(120,70,20)"],[1,"rgb(255,255,255)"]],Electric:[[0,"rgb(0,0,0)"],[.15,"rgb(30,0,100)"],[.4,"rgb(120,0,100)"],[.6,"rgb(160,90,0)"],[.8,"rgb(230,200,0)"],[1,"rgb(255,250,220)"]],Viridis:[[0,"#440154"],[.06274509803921569,"#48186a"],[.12549019607843137,"#472d7b"],[.18823529411764706,"#424086"],[.25098039215686274,"#3b528b"],[.3137254901960784,"#33638d"],[.3764705882352941,"#2c728e"],[.4392156862745098,"#26828e"],[.5019607843137255,"#21918c"],[.5647058823529412,"#1fa088"],[.6274509803921569,"#28ae80"],[.6901960784313725,"#3fbc73"],[.7529411764705882,"#5ec962"],[.8156862745098039,"#84d44b"],[.8784313725490196,"#addc30"],[.9411764705882353,"#d8e219"],[1,"#fde725"]],Cividis:[[0,"rgb(0,32,76)"],[.058824,"rgb(0,42,102)"],[.117647,"rgb(0,52,110)"],[.176471,"rgb(39,63,108)"],[.235294,"rgb(60,74,107)"],[.294118,"rgb(76,85,107)"],[.352941,"rgb(91,95,109)"],[.411765,"rgb(104,106,112)"],[.470588,"rgb(117,117,117)"],[.529412,"rgb(131,129,120)"],[.588235,"rgb(146,140,120)"],[.647059,"rgb(161,152,118)"],[.705882,"rgb(176,165,114)"],[.764706,"rgb(192,177,109)"],[.823529,"rgb(209,191,102)"],[.882353,"rgb(225,204,92)"],[.941176,"rgb(243,219,79)"],[1,"rgb(255,233,69)"]]},r=o.RdBu;function s(A,S){if(S||(S=r),!A)return S;function l(){try{A=o[A]||JSON.parse(A)}catch{A=S}}return typeof A=="string"&&(l(),typeof A=="string"&&l()),h(A)?A:S}function h(A){var S=0;if(!Array.isArray(A)||A.length<2||!A[0]||!A[A.length-1]||+A[0][0]!=0||+A[A.length-1][0]!=1)return!1;for(var l=0;l{"use strict";var t;v.T={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style",description:["Sets the dash style of lines. Set to a dash type string","(*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*)","or a dash length list in px (eg *5px,10px,2px,2px*)."].join(" ")},t={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style",description:["Sets the shape of the pattern fill.","By default, no pattern is used for filling the area."].join(" ")},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style",description:["Determines whether `marker.color` should be used","as a default to `bgcolor` or a `fgcolor`."].join(" ")},bgcolor:{valType:"color",arrayOk:!0,editType:"style",description:["When there is no colorscale sets the color of background pattern fill.","Defaults to a `marker.color` background when `fillmode` is *overlay*.","Otherwise, defaults to a transparent background."].join(" ")},fgcolor:{valType:"color",arrayOk:!0,editType:"style",description:["When there is no colorscale sets the color of foreground pattern fill.","Defaults to a `marker.color` background when `fillmode` is *replace*.","Otherwise, defaults to dark grey or white","to increase contrast with the `bgcolor`."].join(" ")},fgopacity:{valType:"number",editType:"style",min:0,max:1,description:["Sets the opacity of the foreground pattern fill.","Defaults to a 0.5 when `fillmode` is *overlay*.","Otherwise, defaults to 1."].join(" ")},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style",description:["Sets the size of unit squares of the pattern fill in pixels,","which corresponds to the interval of repetition of the pattern."].join(" ")},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style",description:["Sets the solidity of the pattern fill.","Solidity is roughly the fraction of the area filled by the pattern.","Solidity of 0 shows only the background color without pattern","and solidty of 1 shows only the foreground color without pattern."].join(" ")},editType:"style",description:["Sets the pattern within the marker."].join(" ")}},"iCaN1/dF":(I,v,t)=>{"use strict";var n=t("iNVXrAXN"),o=t("6W6WqWjy").hoverlabel,r=t("TfssAhrc").extendFlat;I.exports={hoverlabel:{bgcolor:r({},o.bgcolor,{arrayOk:!0,description:"Sets the background color of the hover labels for this trace"}),bordercolor:r({},o.bordercolor,{arrayOk:!0,description:"Sets the border color of the hover labels for this trace."}),font:n({arrayOk:!0,editType:"none",description:"Sets the font used in hover labels."}),align:r({},o.align,{arrayOk:!0}),namelength:r({},o.namelength,{arrayOk:!0}),editType:"none"}}},AZTJ59pn:I=>{"use strict";I.exports={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:"Arial, sans-serif",HOVERMINTIME:50,HOVERID:"-hover"}},"6W6WqWjy":(I,v,t)=>{"use strict";var n=t("AZTJ59pn"),o=t("iNVXrAXN"),r=o({editType:"none",description:"Sets the default hover label font used by all traces on the graph."});r.family.dflt=n.HOVERFONT,r.size.dflt=n.HOVERFONTSIZE,I.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"],description:["Determines the mode of single click interactions.","*event* is the default value and emits the `plotly_click`","event. In addition this mode emits the `plotly_selected` event","in drag modes *lasso* and *select*, but with no event data attached","(kept for compatibility reasons).","The *select* flag enables selecting single","data points via click. This mode also supports persistent selections,","meaning that pressing Shift while clicking, adds to / subtracts from an","existing selection. *select* with `hovermode`: *x* can be confusing, consider","explicitly setting `hovermode`: *closest* when using this feature.","Selection events are sent accordingly as long as *event* flag is set as well.","When the *event* flag is missing, `plotly_click` and `plotly_selected`","events are not fired."].join(" ")},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar",description:["Determines the mode of drag interactions.","*select* and *lasso* apply only to scatter traces with","markers or text. *orbit* and *turntable* apply only to","3D scenes."].join(" ")},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar",description:["Determines the mode of hover interactions.","If *closest*, a single hoverlabel will appear","for the *closest* point within the `hoverdistance`.","If *x* (or *y*), multiple hoverlabels will appear for multiple points","at the *closest* x- (or y-) coordinate within the `hoverdistance`,","with the caveat that no more than one hoverlabel will appear per trace.","If *x unified* (or *y unified*), a single hoverlabel will appear","multiple points at the closest x- (or y-) coordinate within the `hoverdistance`","with the caveat that no more than one hoverlabel will appear per trace.","In this mode, spikelines are enabled by default perpendicular to the specified axis.","If false, hover interactions are disabled."].join(" ")},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none",description:["Sets the default distance (in pixels) to look for data","to add hover labels (-1 means no cutoff, 0 means no looking for data).","This is only a real distance for hovering on point-like objects,","like scatter points. For area-like objects (bars, scatter fills, etc)","hovering is on inside the area and off outside, but these objects","will not supersede hover on point-like objects in case of conflict."].join(" ")},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none",description:["Sets the default distance (in pixels) to look for data to draw","spikelines to (-1 means no cutoff, 0 means no looking for data).","As with hoverdistance, distance does not apply to area-like objects.","In addition, some objects can be hovered on but will not generate","spikelines, such as scatter fills."].join(" ")},hoverlabel:{bgcolor:{valType:"color",editType:"none",description:["Sets the background color of all hover labels on graph"].join(" ")},bordercolor:{valType:"color",editType:"none",description:["Sets the border color of all hover labels on graph."].join(" ")},font:r,grouptitlefont:o({editType:"none",description:["Sets the font for group titles in hover (unified modes).","Defaults to `hoverlabel.font`."].join(" ")}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none",description:["Sets the horizontal alignment of the text content within hover label box.","Has an effect only if the hover label text spans more two or more lines"].join(" ")},namelength:{valType:"integer",min:-1,dflt:15,editType:"none",description:["Sets the default length (in number of characters) of the trace name in","the hover labels for all traces. -1 shows the whole name","regardless of length. 0-3 shows the first 0-3 characters, and","an integer >3 will show the whole name if it is less than that","many characters, but if it is longer, will truncate to","`namelength - 3` characters and add an ellipsis."].join(" ")},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",description:["When `dragmode` is set to *select*, this limits the selection of the drag to","horizontal, vertical or diagonal. *h* only allows horizontal selection,","*v* only vertical, *d* only diagonal and *any* sets no limit."].join(" "),editType:"none"}}},KLiTPZCa:(I,v,t)=>{"use strict";var n=t("aVcyJLJW").T,o=t("TfssAhrc").extendFlat;I.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none",description:["Describes how a new selection is created.","If `immediate`, a new selection is created after first mouse up.","If `gradual`, a new selection is not created after first mouse.","By adding to and subtracting from the initial selection,","this option allows declaring extra outlines of the selection."].join(" ")},line:{color:{valType:"color",editType:"none",description:["Sets the line color.","By default uses either dark grey or white","to increase contrast with background color."].join(" ")},width:{valType:"number",min:1,dflt:1,editType:"none",description:"Sets the line width (in px)."},dash:o({},n,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none",description:"Sets the color filling the active selection' interior."},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none",description:"Sets the opacity of the active selection."},editType:"none"}}},"yo7D+ph3":(I,v,t)=>{"use strict";var n=t("2POXedf6").overrideAll,o=t("lERw8KBg"),r=t("iNVXrAXN"),s=t("aVcyJLJW").T,h=t("TfssAhrc").extendFlat,u=t("QshEd6Ts").LF,A=t("N2cfJBD8");I.exports=n({newshape:{visible:h({},o.visible,{description:["Determines whether or not new shape is visible.","If *legendonly*, the shape is not drawn,","but can appear as a legend item","(provided that the legend itself is visible)."].join(" ")}),showlegend:{valType:"boolean",dflt:!1,description:["Determines whether or not new","shape is shown in the legend."].join(" ")},legend:h({},o.legend,{description:["Sets the reference to a legend to show new shape in.","References to these legends are *legend*, *legend2*, *legend3*, etc.","Settings for these legends are set in the layout, under","`layout.legend`, `layout.legend2`, etc."].join(" ")}),legendgroup:h({},o.legendgroup,{description:["Sets the legend group for new shape.","Traces and shapes part of the same legend group hide/show at the same time","when toggling legend items."].join(" ")}),legendgrouptitle:{text:h({},o.legendgrouptitle.text,{}),font:r({description:["Sets this legend group's title font."].join(" ")})},legendrank:h({},o.legendrank,{description:["Sets the legend rank for new shape.","Items and groups with smaller ranks are presented on top/left side while","with *reversed* `legend.traceorder` they are on bottom/right side.","The default legendrank is 1000,","so that you can use ranks less than 1000 to place certain items before all unranked items,","and ranks greater than 1000 to go after all unranked items."].join(" ")}),legendwidth:h({},o.legendwidth,{description:"Sets the width (in px or fraction) of the legend for new shape."}),line:{color:{valType:"color",description:["Sets the line color.","By default uses either dark grey or white","to increase contrast with background color."].join(" ")},width:{valType:"number",min:0,dflt:4,description:"Sets the line width (in px)."},dash:h({},s,{dflt:"solid"})},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",description:["Sets the color filling new shapes' interior.","Please note that if using a fillcolor with alpha greater than half,","drag inside the active shape starts moving the shape underneath,","otherwise a new shape could be started over."].join(" ")},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",description:["Determines the path's interior.","For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,description:"Sets the opacity of new shapes."},layer:{valType:"enumerated",values:["below","above"],dflt:"above",description:"Specifies whether new shapes are drawn below or above traces."},drawdirection:{valType:"enumerated",values:["ortho","horizontal","vertical","diagonal"],dflt:"diagonal",description:["When `dragmode` is set to *drawrect*, *drawline* or *drawcircle*","this limits the drag to be horizontal, vertical or diagonal.","Using *diagonal* there is no limit e.g. in drawing lines in any direction.","*ortho* limits the draw to be either horizontal or vertical.","*horizontal* allows horizontal extend.","*vertical* allows vertical extend."].join(" ")},name:h({},o.name,{description:["Sets new shape name.","The name appears as the legend item."].join(" ")}),label:{text:{valType:"string",dflt:"",description:["Sets the text to display with the new shape.","It is also used for legend item if `name` is not provided."].join(" ")},texttemplate:u({newshape:!0},{keys:Object.keys(A)}),font:r({description:"Sets the new shape label text font."}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"],description:["Sets the position of the label text relative to the new shape.","Supported values for rectangles, circles and paths are","*top left*, *top center*, *top right*, *middle left*,","*middle center*, *middle right*, *bottom left*, *bottom center*,","and *bottom right*.","Supported values for lines are *start*, *middle*, and *end*.","Default: *middle center* for rectangles, circles, and paths; *middle* for lines."].join(" ")},textangle:{valType:"angle",dflt:"auto",description:["Sets the angle at which the label text is drawn","with respect to the horizontal. For lines, angle *auto*","is the same angle as the line. For all other shapes,","angle *auto* is horizontal."].join(" ")},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",description:["Sets the label's horizontal position anchor","This anchor binds the specified `textposition` to the *left*, *center*","or *right* of the label text.","For example, if `textposition` is set to *top right* and","`xanchor` to *right* then the right-most portion of the","label text lines up with the right-most edge of the","new shape."].join(" ")},yanchor:{valType:"enumerated",values:["top","middle","bottom"],description:["Sets the label's vertical position anchor","This anchor binds the specified `textposition` to the *top*, *middle*","or *bottom* of the label text.","For example, if `textposition` is set to *top right* and","`yanchor` to *top* then the top-most portion of the","label text lines up with the top-most edge of the","new shape."].join(" ")},padding:{valType:"number",dflt:3,min:0,description:"Sets padding (in px) between edge of label and edge of new shape."}}},activeshape:{fillcolor:{valType:"color",dflt:"rgb(255,0,255)",description:"Sets the color filling the active shape' interior."},opacity:{valType:"number",min:0,max:1,dflt:.5,description:"Sets the opacity of the active shape."}}},"none","from-root")},N2cfJBD8:I=>{"use strict";function v(D,f){return f?f.d2l(D):D}function t(D,f){return f?f.l2d(D):D}function n(D){return D.x0}function o(D){return D.x1}function r(D){return D.y0}function s(D){return D.y1}function h(D,f){return v(D.x1,f)-v(D.x0,f)}function u(D,f,p){return v(D.y1,p)-v(D.y0,p)}function A(D,f){return Math.abs(h(D,f))}function S(D,f,p){return Math.abs(u(D,f,p))}function l(D,f,p){return D.type!=="line"?void 0:Math.sqrt(Math.pow(h(D,f),2)+Math.pow(u(D,f,p),2))}function C(D,f){return t((v(D.x1,f)+v(D.x0,f))/2,f)}function b(D,f,p){return t((v(D.y1,p)+v(D.y0,p))/2,p)}function m(D,f,p){return D.type!=="line"?void 0:u(D,f,p)/h(D,f)}I.exports={x0:n,x1:o,y0:r,y1:s,slope:m,dx:h,dy:u,width:A,height:S,length:l,xcenter:C,ycenter:b}},"SL3i/G8s":I=>{"use strict";I.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}},IJdYVct1:I=>{"use strict";I.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}},iExSEXQX:I=>{"use strict";I.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE*1e-4,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:24405875e-1,ALMOST_EQUAL:1-1e-6,LOG_CLIP:10,MINUS_SIGN:"\u2212"}},IVTV0GvM:(I,v)=>{"use strict";v.isLeftAnchor=function(n){return n.xanchor==="left"||n.xanchor==="auto"&&n.x<=1/3},v.isCenterAnchor=function(n){return n.xanchor==="center"||n.xanchor==="auto"&&n.x>1/3&&n.x<2/3},v.isRightAnchor=function(n){return n.xanchor==="right"||n.xanchor==="auto"&&n.x>=2/3},v.isTopAnchor=function(n){return n.yanchor==="top"||n.yanchor==="auto"&&n.y>=2/3},v.isMiddleAnchor=function(n){return n.yanchor==="middle"||n.yanchor==="auto"&&n.y>1/3&&n.y<2/3},v.isBottomAnchor=function(n){return n.yanchor==="bottom"||n.yanchor==="auto"&&n.y<=1/3}},piMYAl9d:(I,v,t)=>{"use strict";var n=t("sLiuERVk"),o=n.mod,r=n.modHalf,s=Math.PI,h=2*s;function u(d){return d/180*s}function A(d){return d/s*180}function S(d){return Math.abs(d[1]-d[0])>h-1e-14}function l(d,g){return r(g-d,h)}function C(d,g){return Math.abs(l(d,g))}function b(d,g){if(S(g))return!0;var w,x;g[0]x&&(x+=h);var T=o(d,h),O=T+h;return T>=w&&T<=x||O>=w&&O<=x}function m(d,g,w,x){if(!b(g,x))return!1;var T,O;return w[0]=T&&d<=O}function D(d,g,w,x,T,O,F){T=T||0,O=O||0;var K=S([w,x]),ee,he,pe,ie,we;K?(ee=0,he=s,pe=h):w{"use strict";var n=t("avZxJUd5").D,o=t("rBVYdNku"),r=Array.isArray,s=ArrayBuffer,h=DataView;function u(D){return s.isView(D)&&!(D instanceof h)}v.isTypedArray=u;function A(D){return r(D)||u(D)}v.isArrayOrTypedArray=A;function S(D){return!A(D[0])}v.isArray1D=S,v.ensureArray=function(D,f){return r(D)||(D=[]),D.length=f,D};var l={u1c:typeof Uint8ClampedArray>"u"?void 0:Uint8ClampedArray,i1:typeof Int8Array>"u"?void 0:Int8Array,u1:typeof Uint8Array>"u"?void 0:Uint8Array,i2:typeof Int16Array>"u"?void 0:Int16Array,u2:typeof Uint16Array>"u"?void 0:Uint16Array,i4:typeof Int32Array>"u"?void 0:Int32Array,u4:typeof Uint32Array>"u"?void 0:Uint32Array,f4:typeof Float32Array>"u"?void 0:Float32Array,f8:typeof Float64Array>"u"?void 0:Float64Array};l.uint8c=l.u1c,l.uint8=l.u1,l.int8=l.i1,l.uint16=l.u2,l.int16=l.i2,l.uint32=l.u4,l.int32=l.i4,l.float32=l.f4,l.float64=l.f8;function C(D){return D.constructor===ArrayBuffer}v.isArrayBuffer=C,v.decodeTypedArraySpec=function(D){var f=[],p=b(D),c=p.dtype,d=l[c];if(!d)throw new Error('Error in dtype: "'+c+'"');var g=d.BYTES_PER_ELEMENT,w=p.bdata;C(w)||(w=n(w));var x=p.shape===void 0?[w.byteLength/g]:(""+p.shape).split(",");x.reverse();var T=x.length,O,F,K=+x[0],ee=g*K,he=0;if(T===1)f=new d(w);else if(T===2)for(O=+x[1],F=0;F{"use strict";var n=t("j6yQIY+r"),o=t("iExSEXQX").BADNUM,r=/^['"%,$#\s']+|[, ]|['"%,$#\s']+$/g;I.exports=function(h){return typeof h=="string"&&(h=h.replace(r,"")),n(h)?Number(h):o}},ih8Tp1Rj:I=>{"use strict";I.exports=function(t){t._responsiveChartHandler&&(window.removeEventListener("resize",t._responsiveChartHandler),delete t._responsiveChartHandler)}},PMBuWMsa:(I,v,t)=>{"use strict";var n=t("j6yQIY+r"),o=t("DFnakCUV"),r=t("lERw8KBg"),s=t("l6Py6PBr"),h=t("dDrLnjiw"),u=t("IJdYVct1").DESELECTDIM,A=t("P6Qu44rU"),S=t("hIYhsYNd").counter,l=t("sLiuERVk").modHalf,C=t("0BDZSqpM").isArrayOrTypedArray,b=t("0BDZSqpM").isTypedArraySpec,m=t("0BDZSqpM").decodeTypedArraySpec;v.valObjectMeta={data_array:{description:["An {array} of data.","The value must represent an {array} or it will be ignored,","but this array can be provided in several forms:","(1) a regular {array} object","(2) a typed array (e.g. Float32Array)","(3) an object with keys dtype, bdata, and optionally shape.","In this 3rd form, dtype is one of","*f8*, *f4*.","*i4*, *u4*,","*i2*, *u2*,","*i1*, *u1* or *u1c* for Uint8ClampedArray.","In addition to shorthand `dtype` above one could also use the following forms:","*float64*, *float32*,","*int32*, *uint32*,","*int16*, *uint16*,","*int8*, *uint8* or *uint8c* for Uint8ClampedArray.","`bdata` is either a base64-encoded string or the ArrayBuffer of","an integer or float typed array.","For either multi-dimensional arrays you must also","provide its dimensions separated by comma via `shape`.","For example using `dtype`: *f4* and `shape`: *5,100* you can","declare a 2-D array that has 5 rows and 100 columns","containing float32 values i.e. 4 bits per value.","`shape` is optional for one dimensional arrays."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(f,p,c){p.set(C(f)?f:b(f)?m(f):c)}},enumerated:{description:["Enumerated value type. The available values are listed","in `values`."].join(" "),requiredOpts:["values"],otherOpts:["dflt","coerceNumber","arrayOk"],coerceFunction:function(f,p,c,d){d.coerceNumber&&(f=+f),d.values.indexOf(f)===-1?p.set(c):p.set(f)},validateFunction:function(f,p){p.coerceNumber&&(f=+f);for(var c=p.values,d=0;dd.max?p.set(c):p.set(+f)}},integer:{description:["An integer or an integer inside a string.","When applicable, values greater (less) than `max` (`min`)","are coerced to the `dflt`."].join(" "),requiredOpts:[],otherOpts:["dflt","min","max","arrayOk"],coerceFunction:function(f,p,c,d){f%1||!n(f)||d.min!==void 0&&fd.max?p.set(c):p.set(+f)}},string:{description:["A string value.","Numbers are converted to strings except for attributes with","`strict` set to true."].join(" "),requiredOpts:[],otherOpts:["dflt","noBlank","strict","arrayOk","values"],coerceFunction:function(f,p,c,d){if(typeof f!="string"){var g=typeof f=="number";d.strict===!0||!g?p.set(c):p.set(String(f))}else d.noBlank&&!f?p.set(c):p.set(f)}},color:{description:["A string describing color.","Supported formats:","- hex (e.g. '#d3d3d3')","- rgb (e.g. 'rgb(255, 0, 0)')","- rgba (e.g. 'rgb(255, 0, 0, 0.5)')","- hsl (e.g. 'hsl(0, 100%, 50%)')","- hsv (e.g. 'hsv(0, 100%, 100%)')","- named colors (full list: http://www.w3.org/TR/css3-color/#svg-color)"].join(" "),requiredOpts:[],otherOpts:["dflt","arrayOk"],coerceFunction:function(f,p,c){o(f).isValid()?p.set(f):p.set(c)}},colorlist:{description:["A list of colors.","Must be an {array} containing valid colors."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(f,p,c){function d(g){return o(g).isValid()}!Array.isArray(f)||!f.length?p.set(c):f.every(d)?p.set(f):p.set(c)}},colorscale:{description:["A Plotly colorscale either picked by a name:","(any of",Object.keys(s.scales).join(", "),")","customized as an {array} of 2-element {arrays} where","the first element is the normalized color level value","(starting at *0* and ending at *1*),","and the second item is a valid color string."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(f,p,c){p.set(s.get(f,c))}},angle:{description:["A number (in degree) between -180 and 180."].join(" "),requiredOpts:[],otherOpts:["dflt","arrayOk"],coerceFunction:function(f,p,c){f==="auto"?p.set("auto"):n(f)?p.set(l(+f,360)):p.set(c)}},subplotid:{description:["An id string of a subplot type (given by dflt), optionally","followed by an integer >1. e.g. if dflt='geo', we can have","'geo', 'geo2', 'geo3', ..."].join(" "),requiredOpts:["dflt"],otherOpts:["regex"],coerceFunction:function(f,p,c,d){var g=d.regex||S(c);if(typeof f=="string"&&g.test(f)){p.set(f);return}p.set(c)},validateFunction:function(f,p){var c=p.dflt;return f===c?!0:typeof f!="string"?!1:!!S(c).test(f)}},flaglist:{description:["A string representing a combination of flags","(order does not matter here).","Combine any of the available `flags` with *+*.","(e.g. ('lines+markers')).","Values in `extras` cannot be combined."].join(" "),requiredOpts:["flags"],otherOpts:["dflt","extras","arrayOk"],coerceFunction:function(f,p,c,d){if((d.extras||[]).indexOf(f)!==-1){p.set(f);return}if(typeof f!="string"){p.set(c);return}for(var g=f.split("+"),w=0;w{"use strict";var n=t("7kzdQo4h").DC,o=t("j6yQIY+r"),r=t("/sRs2fqg"),s=t("sLiuERVk").mod,h=t("iExSEXQX"),u=h.BADNUM,A=h.ONEDAY,S=h.ONEHOUR,l=h.ONEMIN,C=h.ONESEC,b=h.EPOCHJD,m=t("Bm/lNwZF"),D=t("7kzdQo4h").aL,f=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\d)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,p=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\di?)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,c=new Date().getFullYear()-70;function d(k){return k&&m.componentsRegistry.calendars&&typeof k=="string"&&k!=="gregorian"}v.dateTick0=function(k,W){var q=g(k,!!W);if(W<2)return q;var Q=v.dateTime2ms(q,k);return Q+=A*(W-1),v.ms2DateTime(Q,0,k)};function g(k,W){return d(k)?W?m.getComponentMethod("calendars","CANONICAL_SUNDAY")[k]:m.getComponentMethod("calendars","CANONICAL_TICK")[k]:W?"2000-01-02":"2000-01-01"}v.dfltRange=function(k){return d(k)?m.getComponentMethod("calendars","DFLTRANGE")[k]:["2000-01-01","2001-01-01"]},v.isJSDate=function(k){return typeof k=="object"&&k!==null&&typeof k.getTime=="function"};var w,x;v.dateTime2ms=function(k,W){if(v.isJSDate(k)){var q=k.getTimezoneOffset()*l,Q=(k.getUTCMinutes()-k.getMinutes())*l+(k.getUTCSeconds()-k.getSeconds())*C+(k.getUTCMilliseconds()-k.getMilliseconds());if(Q){var re=3*l;q=q-re/2+s(Q-q+re/2,re)}return k=Number(k)-q,k>=w&&k<=x?k:u}if(typeof k!="string"&&typeof k!="number")return u;k=String(k);var te=d(W),ge=k.charAt(0);te&&(ge==="G"||ge==="g")&&(k=k.substr(1),W="");var Fe=te&&W.substr(0,7)==="chinese",Qe=k.match(Fe?p:f);if(!Qe)return u;var Ke=Qe[1],Xe=Qe[3]||"1",dt=Number(Qe[5]||1),it=Number(Qe[7]||0),Ie=Number(Qe[9]||0),ue=Number(Qe[11]||0);if(te){if(Ke.length===2)return u;Ke=Number(Ke);var Le;try{var je=m.getComponentMethod("calendars","getCal")(W);if(Fe){var J=Xe.charAt(Xe.length-1)==="i";Xe=parseInt(Xe,10),Le=je.newDate(Ke,je.toMonthIndex(Ke,Xe,J),dt)}else Le=je.newDate(Ke,Number(Xe),dt)}catch{return u}return Le?(Le.toJD()-b)*A+it*S+Ie*l+ue*C:u}Ke.length===2?Ke=(Number(Ke)+2e3-c)%100+c:Ke=Number(Ke),Xe-=1;var $=new Date(Date.UTC(2e3,Xe,dt,it,Ie));return $.setUTCFullYear(Ke),$.getUTCMonth()!==Xe||$.getUTCDate()!==dt?u:$.getTime()+ue*C},w=v.MIN_MS=v.dateTime2ms("-9999"),x=v.MAX_MS=v.dateTime2ms("9999-12-31 23:59:59.9999"),v.isDateTime=function(k,W){return v.dateTime2ms(k,W)!==u};function T(k,W){return String(k+Math.pow(10,W)).substr(1)}var O=90*A,F=3*S,K=5*l;v.ms2DateTime=function(k,W,q){if(typeof k!="number"||!(k>=w&&k<=x))return u;W||(W=0);var Q=Math.floor(s(k+.05,1)*10),re=Math.round(k-Q/10),te,ge,Fe,Qe,Ke,Xe;if(d(q)){var dt=Math.floor(re/A)+b,it=Math.floor(s(k,A));try{te=m.getComponentMethod("calendars","getCal")(q).fromJD(dt).formatDate("yyyy-mm-dd")}catch{te=D("G%Y-%m-%d")(new Date(re))}if(te.charAt(0)==="-")for(;te.length<11;)te="-0"+te.substr(1);else for(;te.length<10;)te="0"+te;ge=W=w+A&&k<=x-A))return u;var W=Math.floor(s(k+.05,1)*10),q=new Date(Math.round(k-W/10)),Q=n("%Y-%m-%d")(q),re=q.getHours(),te=q.getMinutes(),ge=q.getSeconds(),Fe=q.getUTCMilliseconds()*10+W;return ee(Q,re,te,ge,Fe)};function ee(k,W,q,Q,re){if((W||q||Q||re)&&(k+=" "+T(W,2)+":"+T(q,2),(Q||re)&&(k+=":"+T(Q,2),re))){for(var te=4;re%10===0;)te-=1,re/=10;k+="."+T(re,te)}return k}v.cleanDate=function(k,W,q){if(k===u)return W;if(v.isJSDate(k)||typeof k=="number"&&isFinite(k)){if(d(q))return r.error("JS Dates and milliseconds are incompatible with world calendars",k),W;if(k=v.ms2DateTimeLocal(+k),!k&&W!==void 0)return W}else if(!v.isDateTime(k,q))return r.error("unrecognized date",k),W;return k};var he=/%\d?f/g,pe=/%h/g,ie={1:"1",2:"1",3:"2",4:"2"};function we(k,W,q,Q){k=k.replace(he,function(te){var ge=Math.min(+te.charAt(1)||6,6),Fe=(W/1e3%1+2).toFixed(ge).substr(2).replace(/0+$/,"")||"0";return Fe});var re=new Date(Math.floor(W+.05));if(k=k.replace(pe,function(){return ie[q("%q")(re)]}),d(Q))try{k=m.getComponentMethod("calendars","worldCalFmt")(k,W,Q)}catch{return"Invalid"}return q(k)(re)}var Ce=[59,59.9,59.99,59.999,59.9999];function Ne(k,W){var q=s(k+.05,A),Q=T(Math.floor(q/S),2)+":"+T(s(Math.floor(q/l),60),2);if(W!=="M"){o(W)||(W=0);var re=Math.min(s(k/C,60),Ce[W]),te=(100+re).toFixed(W).substr(1);W>0&&(te=te.replace(/0+$/,"").replace(/[\.]$/,"")),Q+=":"+te}return Q}v.formatDate=function(k,W,q,Q,re,te){if(re=d(re)&&re,!W)if(q==="y")W=te.year;else if(q==="m")W=te.month;else if(q==="d")W=te.dayMonth+`
`+te.year;else return Ne(k,q)+`
`+we(te.dayMonthYear,k,Q,re);return we(W,k,Q,re)};var B=3*A;v.incrementMonth=function(k,W,q){q=d(q)&&q;var Q=s(k,A);if(k=Math.round(k-Q),q)try{var re=Math.round(k/A)+b,te=m.getComponentMethod("calendars","getCal")(q),ge=te.fromJD(re);return W%12?te.add(ge,W,"m"):te.add(ge,W/12,"y"),(ge.toJD()-b)*A+Q}catch{r.error("invalid ms "+k+" in calendar "+q)}var Fe=new Date(k+B);return Fe.setUTCMonth(Fe.getUTCMonth()+W)+Q-B},v.findExactDates=function(k,W){for(var q=0,Q=0,re=0,te=0,ge,Fe,Qe=d(W)&&m.getComponentMethod("calendars","getCal")(W),Ke=0;Ke{"use strict";var n=t("BsFWGRIE"),o=t("/sRs2fqg"),r=t("7DJq4y0k"),s=t("846O9Cno");function h(c){var d;if(typeof c=="string"){if(d=document.getElementById(c),d===null)throw new Error("No DOM element with id '"+c+"' exists on the page.");return d}else if(c==null)throw new Error("DOM element provided is null or undefined");return c}function u(c){var d=n.select(c);return d.node()instanceof HTMLElement&&d.size()&&d.classed("js-plotly-plot")}function A(c){var d=c&&c.parentNode;d&&d.removeChild(c)}function S(c,d){l("global",c,d)}function l(c,d,g){var w="plotly.js-style-"+c,x=document.getElementById(w);x||(x=document.createElement("style"),x.setAttribute("id",w),x.appendChild(document.createTextNode("")),document.head.appendChild(x));var T=x.sheet;T.insertRule?T.insertRule(d+"{"+g+"}",0):T.addRule?T.addRule(d,g,0):o.warn("addStyleRule failed")}function C(c){var d="plotly.js-style-"+c,g=document.getElementById(d);g&&A(g)}function b(c){var d=D(c),g=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return d.forEach(function(w){var x=m(w);if(x){var T=r.convertCssMatrix(x);g=s.multiply(g,g,T)}}),g}function m(c){var d=window.getComputedStyle(c,null),g=d.getPropertyValue("-webkit-transform")||d.getPropertyValue("-moz-transform")||d.getPropertyValue("-ms-transform")||d.getPropertyValue("-o-transform")||d.getPropertyValue("transform");return g==="none"?null:g.replace("matrix","").replace("3d","").slice(1,-1).split(",").map(function(w){return+w})}function D(c){for(var d=[];f(c);)d.push(c),c=c.parentNode;return d}function f(c){return c&&(c instanceof Element||c instanceof HTMLElement)}function p(c,d){return c&&d&&c.top===d.top&&c.left===d.left&&c.right===d.right&&c.bottom===d.bottom}I.exports={getGraphDiv:h,isPlotDiv:u,removeElement:A,addStyleRule:S,addRelatedStyleRule:l,deleteRelatedStyleRule:C,getFullTransformMatrix:b,getElementTransformMatrix:m,getElementAndAncestors:D,equalDomRects:p}},TfssAhrc:(I,v,t)=>{"use strict";var n=t("rBVYdNku"),o=Array.isArray;function r(h,u){var A,S;for(A=0;A{"use strict";I.exports=function(t){for(var n={},o=[],r=0,s=0;s{"use strict";I.exports=function(r){for(var s=n(r)?t:v,h=[],u=0;u{"use strict";var n=t("sLiuERVk").mod;v.segmentsIntersect=o;function o(A,S,l,C,b,m,D,f){var p=l-A,c=b-A,d=D-b,g=C-S,w=m-S,x=f-m,T=p*x-d*g;if(T===0)return null;var O=(c*x-d*w)/T,F=(c*g-p*w)/T;return F<0||F>1||O<0||O>1?null:{x:A+p*O,y:S+g*O}}v.segmentDistance=function(S,l,C,b,m,D,f,p){if(o(S,l,C,b,m,D,f,p))return 0;var c=C-S,d=b-l,g=f-m,w=p-D,x=c*c+d*d,T=g*g+w*w,O=Math.min(r(c,d,x,m-S,D-l),r(c,d,x,f-S,p-l),r(g,w,T,S-m,l-D),r(g,w,T,C-m,b-D));return Math.sqrt(O)};function r(A,S,l,C,b){var m=C*A+b*S;if(m<0)return C*C+b*b;if(m>l){var D=C-A,f=b-S;return D*D+f*f}else{var p=C*S-b*A;return p*p/l}}var s,h,u;v.getTextLocation=function(S,l,C,b){if((S!==h||b!==u)&&(s={},h=S,u=b),s[C])return s[C];var m=S.getPointAtLength(n(C-b/2,l)),D=S.getPointAtLength(n(C+b/2,l)),f=Math.atan((D.y-m.y)/(D.x-m.x)),p=S.getPointAtLength(n(C,l)),c=(p.x*4+m.x+D.x)/6,d=(p.y*4+m.y+D.y)/6,g={x:c,y:d,theta:f};return s[C]=g,g},v.clearLocationCache=function(){h=null},v.getVisibleSegment=function(S,l,C){var b=l.left,m=l.right,D=l.top,f=l.bottom,p=0,c=S.getTotalLength(),d=c,g,w;function x(O){var F=S.getPointAtLength(O);O===0?g=F:O===c&&(w=F);var K=F.xm?F.x-m:0,ee=F.yf?F.y-f:0;return Math.sqrt(K*K+ee*ee)}for(var T=x(p);T;){if(p+=T+C,p>d)return;T=x(p)}for(T=x(d);T;){if(d-=T+C,p>d)return;T=x(d)}return{min:p,max:d,len:d-p,total:c,isClosed:p===0&&d===c&&Math.abs(g.x-w.x)<.1&&Math.abs(g.y-w.y)<.1}},v.findPointOnPath=function(S,l,C,b){b=b||{};for(var m=b.pathLength||S.getTotalLength(),D=b.tolerance||.001,f=b.iterationLimit||30,p=S.getPointAtLength(0)[C]>S.getPointAtLength(m)[C]?-1:1,c=0,d=0,g=m,w,x,T;c0?g=w:d=w,c++}return x}},EcG8kEcp:I=>{"use strict";I.exports=function(t){return t}},J9bmtrcW:I=>{"use strict";I.exports=function(t,n){if(!n)return t;var o=1/Math.abs(n),r=o>1?(o*t+o*n)/o:t+n,s=String(r).length;if(s>16){var h=String(n).length,u=String(t).length;if(s>=u+h){var A=parseFloat(r).toPrecision(12);A.indexOf("e+")===-1&&(r=+A)}}return r}},"5/7eUVNk":(I,v,t)=>{"use strict";var n=t("BsFWGRIE"),o=t("7kzdQo4h").aL,r=t("wWDbu37G").GP,s=t("j6yQIY+r"),h=t("iExSEXQX"),u=h.FP_SAFE,A=-u,S=h.BADNUM,l=I.exports={};l.adjustFormat=function(Le){return!Le||/^\d[.]\df/.test(Le)||/[.]\d%/.test(Le)?Le:Le==="0.f"?"~f":/^\d%/.test(Le)?"~%":/^\ds/.test(Le)?"~s":!/^[~,.0$]/.test(Le)&&/[&fps]/.test(Le)?"~"+Le:Le};var C={};l.warnBadFormat=function(ue){var Le=String(ue);C[Le]||(C[Le]=1,l.warn('encountered bad format: "'+Le+'"'))},l.noFormat=function(ue){return String(ue)},l.numberFormat=function(ue){var Le;try{Le=r(l.adjustFormat(ue))}catch{return l.warnBadFormat(ue),l.noFormat}return Le},l.nestedProperty=t("P6Qu44rU"),l.keyedContainer=t("Y/f1qGGL"),l.relativeAttr=t("g0j5tBcH"),l.isPlainObject=t("rBVYdNku"),l.toLogRange=t("dgxdK2Tt"),l.relinkPrivateKeys=t("9NIqyexy");var b=t("0BDZSqpM");l.isArrayBuffer=b.isArrayBuffer,l.isTypedArray=b.isTypedArray,l.isArrayOrTypedArray=b.isArrayOrTypedArray,l.isArray1D=b.isArray1D,l.ensureArray=b.ensureArray,l.concat=b.concat,l.maxRowLength=b.maxRowLength,l.minRowLength=b.minRowLength;var m=t("sLiuERVk");l.mod=m.mod,l.modHalf=m.modHalf;var D=t("PMBuWMsa");l.valObjectMeta=D.valObjectMeta,l.coerce=D.coerce,l.coerce2=D.coerce2,l.coerceFont=D.coerceFont,l.coercePattern=D.coercePattern,l.coerceHoverinfo=D.coerceHoverinfo,l.coerceSelectionMarkerOpacity=D.coerceSelectionMarkerOpacity,l.validate=D.validate;var f=t("FOJ47D27");l.dateTime2ms=f.dateTime2ms,l.isDateTime=f.isDateTime,l.ms2DateTime=f.ms2DateTime,l.ms2DateTimeLocal=f.ms2DateTimeLocal,l.cleanDate=f.cleanDate,l.isJSDate=f.isJSDate,l.formatDate=f.formatDate,l.incrementMonth=f.incrementMonth,l.dateTick0=f.dateTick0,l.dfltRange=f.dfltRange,l.findExactDates=f.findExactDates,l.MIN_MS=f.MIN_MS,l.MAX_MS=f.MAX_MS;var p=t("ZYE3ZraJ");l.findBin=p.findBin,l.sorterAsc=p.sorterAsc,l.sorterDes=p.sorterDes,l.distinctVals=p.distinctVals,l.roundUp=p.roundUp,l.sort=p.sort,l.findIndexOfMin=p.findIndexOfMin,l.sortObjectKeys=t("uZ1jKsxY");var c=t("AsNl5sRN");l.aggNums=c.aggNums,l.len=c.len,l.mean=c.mean,l.median=c.median,l.midRange=c.midRange,l.variance=c.variance,l.stdev=c.stdev,l.interp=c.interp;var d=t("7DJq4y0k");l.init2dArray=d.init2dArray,l.transposeRagged=d.transposeRagged,l.dot=d.dot,l.translationMatrix=d.translationMatrix,l.rotationMatrix=d.rotationMatrix,l.rotationXYMatrix=d.rotationXYMatrix,l.apply3DTransform=d.apply3DTransform,l.apply2DTransform=d.apply2DTransform,l.apply2DTransform2=d.apply2DTransform2,l.convertCssMatrix=d.convertCssMatrix,l.inverseTransformMatrix=d.inverseTransformMatrix;var g=t("piMYAl9d");l.deg2rad=g.deg2rad,l.rad2deg=g.rad2deg,l.angleDelta=g.angleDelta,l.angleDist=g.angleDist,l.isFullCircle=g.isFullCircle,l.isAngleInsideSector=g.isAngleInsideSector,l.isPtInsideSector=g.isPtInsideSector,l.pathArc=g.pathArc,l.pathSector=g.pathSector,l.pathAnnulus=g.pathAnnulus;var w=t("IVTV0GvM");l.isLeftAnchor=w.isLeftAnchor,l.isCenterAnchor=w.isCenterAnchor,l.isRightAnchor=w.isRightAnchor,l.isTopAnchor=w.isTopAnchor,l.isMiddleAnchor=w.isMiddleAnchor,l.isBottomAnchor=w.isBottomAnchor;var x=t("cX1GJydu");l.segmentsIntersect=x.segmentsIntersect,l.segmentDistance=x.segmentDistance,l.getTextLocation=x.getTextLocation,l.clearLocationCache=x.clearLocationCache,l.getVisibleSegment=x.getVisibleSegment,l.findPointOnPath=x.findPointOnPath;var T=t("TfssAhrc");l.extendFlat=T.extendFlat,l.extendDeep=T.extendDeep,l.extendDeepAll=T.extendDeepAll,l.extendDeepNoArrays=T.extendDeepNoArrays;var O=t("/sRs2fqg");l.log=O.log,l.warn=O.warn,l.error=O.error;var F=t("hIYhsYNd");l.counterRegex=F.counter;var K=t("GRhTgMPP");l.throttle=K.throttle,l.throttleDone=K.done,l.clearThrottle=K.clear;var ee=t("/xcJVK9I");l.getGraphDiv=ee.getGraphDiv,l.isPlotDiv=ee.isPlotDiv,l.removeElement=ee.removeElement,l.addStyleRule=ee.addStyleRule,l.addRelatedStyleRule=ee.addRelatedStyleRule,l.deleteRelatedStyleRule=ee.deleteRelatedStyleRule,l.getFullTransformMatrix=ee.getFullTransformMatrix,l.getElementTransformMatrix=ee.getElementTransformMatrix,l.getElementAndAncestors=ee.getElementAndAncestors,l.equalDomRects=ee.equalDomRects,l.clearResponsive=t("ih8Tp1Rj"),l.preserveDrawingBuffer=t("LNVY/Cio"),l.makeTraceGroups=t("4H6lL+pr"),l._=t("1LlkY7Ka"),l.notifier=t("cc8YJqD7"),l.filterUnique=t("IRORBio+"),l.filterVisible=t("ssS9wgil"),l.pushUnique=t("+mXUIs+M"),l.increment=t("J9bmtrcW"),l.cleanNumber=t("NeA6b+rB"),l.ensureNumber=function(Le){return s(Le)?(Le=Number(Le),Le>u||Le=Le?!1:s(ue)&&ue>=0&&ue%1===0},l.noop=t("naY+V7tj"),l.identity=t("EcG8kEcp"),l.repeat=function(ue,Le){for(var je=new Array(Le),J=0;Jje?Math.max(je,Math.min(Le,ue)):Math.max(Le,Math.min(je,ue))},l.bBoxIntersect=function(ue,Le,je){return je=je||0,ue.left<=Le.right+je&&Le.left<=ue.right+je&&ue.top<=Le.bottom+je&&Le.top<=ue.bottom+je},l.simpleMap=function(ue,Le,je,J,$){for(var G=ue.length,U=new Array(G),L=0;L=Math.pow(2,je)?$>10?(l.warn("randstr failed uniqueness"),U):ue(Le,je,J,($||0)+1):U},l.OptionControl=function(ue,Le){ue||(ue={}),Le||(Le="opt");var je={};return je.optionList=[],je._newoption=function(J){J[Le]=ue,je[J.name]=J,je.optionList.push(J)},je["_"+Le]=ue,je},l.smooth=function(ue,Le){if(Le=Math.round(Le)||0,Le<2)return ue;var je=ue.length,J=2*je,$=2*Le-1,G=new Array($),U=new Array(je),L,j,le,Te;for(L=0;L<$;L++)G[L]=(1-Math.cos(Math.PI*(L+1)/Le))/(2*Le);for(L=0;L=J&&(le-=J*Math.floor(le/J)),le<0?le=-1-le:le>=je&&(le=J-1-le),Te+=ue[le]*G[j];U[L]=Te}return U},l.syncOrAsync=function(ue,Le,je){var J,$;function G(){return l.syncOrAsync(ue,Le,je)}for(;ue.length;)if($=ue.splice(0,1)[0],J=$(Le),J&&J.then)return J.then(G);return je&&je(Le)},l.stripTrailingSlash=function(ue){return ue.substr(-1)==="/"?ue.substr(0,ue.length-1):ue},l.noneOrAll=function(ue,Le,je){if(ue){var J=!1,$=!0,G,U;for(G=0;G0?$:0})},l.fillArray=function(ue,Le,je,J){if(J=J||l.identity,l.isArrayOrTypedArray(ue))for(var $=0;$1?$+U[1]:"";if(G&&(U.length>1||L.length>4||je))for(;J.test(L);)L=L.replace(J,"$1"+G+"$2");return L+j},l.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var W=/^\w*$/;l.templateString=function(ue,Le){var je={};return ue.replace(l.TEMPLATE_STRING_REGEX,function(J,$){var G;return W.test($)?G=Le[$]:(je[$]=je[$]||l.nestedProperty(Le,$).get,G=je[$]()),l.isValidTextValue(G)?G:""})};var q={max:10,count:0,name:"hovertemplate"};l.hovertemplateString=function(){return Qe.apply(q,arguments)};var Q={max:10,count:0,name:"texttemplate"};l.texttemplateString=function(){return Qe.apply(Q,arguments)};var re=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/;function te(ue){var Le=ue.match(re);return Le?{key:Le[1],op:Le[2],number:Number(Le[3])}:{key:ue,op:null,number:null}}var ge={max:10,count:0,name:"texttemplate",parseMultDiv:!0};l.texttemplateStringForShapes=function(){return Qe.apply(ge,arguments)};var Fe=/^[:|\|]/;function Qe(ue,Le,je){var J=this,$=arguments;Le||(Le={});var G={};return ue.replace(l.TEMPLATE_STRING_REGEX,function(U,L,j){var le=L==="xother"||L==="yother",Te=L==="_xother"||L==="_yother",Je=L==="_xother_"||L==="_yother_",ot=L==="xother_"||L==="yother_",Gt=le||Te||ot||Je,Ye=L;(Te||Je)&&(Ye=Ye.substring(1)),(ot||Je)&&(Ye=Ye.substring(0,Ye.length-1));var ct=null,We=null;if(J.parseMultDiv){var Ze=te(Ye);Ye=Ze.key,ct=Ze.op,We=Ze.number}var Re;if(Gt){if(Re=Le[Ye],Re===void 0)return""}else{var lt,pt;for(pt=3;pt<$.length;pt++)if(lt=$[pt],!!lt){if(lt.hasOwnProperty(Ye)){Re=lt[Ye];break}if(W.test(Ye)||(Re=l.nestedProperty(lt,Ye).get(),Re=G[Ye]||l.nestedProperty(lt,Ye).get(),Re&&(G[Ye]=Re)),Re!==void 0)break}}if(Re!==void 0&&(ct==="*"&&(Re*=We),ct==="/"&&(Re/=We)),Re===void 0&&J)return J.count=Ke&&U<=Xe,le=L>=Ke&&L<=Xe;if(j&&(J=10*J+U-Ke),le&&($=10*$+L-Ke),!j||!le){if(J!==$)return J-$;if(U!==L)return U-L}}return $-J};var dt=2e9;l.seedPseudoRandom=function(){dt=2e9},l.pseudoRandom=function(){var ue=dt;return dt=(69069*dt+1)%4294967296,Math.abs(dt-ue)<429496729?l.pseudoRandom():dt/4294967296},l.fillText=function(ue,Le,je){var J=Array.isArray(je)?function(U){je.push(U)}:function(U){je.text=U},$=l.extractOption(ue,Le,"htx","hovertext");if(l.isValidTextValue($))return J($);var G=l.extractOption(ue,Le,"tx","text");if(l.isValidTextValue(G))return J(G)},l.isValidTextValue=function(ue){return ue||ue===0},l.formatPercent=function(ue,Le){Le=Le||0;for(var je=(Math.round(100*ue*Math.pow(10,Le))*Math.pow(.1,Le)).toFixed(Le)+"%",J=0;J1&&(le=1):le=0,l.strTranslate($-le*(je+U),G-le*(J+L))+l.strScale(le)+(j?"rotate("+j+(Le?"":" "+je+" "+J)+")":"")},l.setTransormAndDisplay=function(ue,Le){ue.attr("transform",l.getTextTransform(Le)),ue.style("display",Le.scale?null:"none")},l.ensureUniformFontSize=function(ue,Le){var je=l.extendFlat({},Le);return je.size=Math.max(Le.size,ue._fullLayout.uniformtext.minsize||0),je},l.join2=function(ue,Le,je){var J=ue.length;return J>1?ue.slice(0,-1).join(Le)+je+ue[J-1]:ue.join(Le)},l.bigFont=function(ue){return Math.round(1.2*ue)};var it=l.getFirefoxVersion(),Ie=it!==null&&it<86;l.getPositionFromD3Event=function(){return Ie?[n.event.layerX,n.event.layerY]:[n.event.offsetX,n.event.offsetY]}},rBVYdNku:I=>{"use strict";I.exports=function(t){return window&&window.process&&window.process.versions?Object.prototype.toString.call(t)==="[object Object]":Object.prototype.toString.call(t)==="[object Object]"&&Object.getPrototypeOf(t).hasOwnProperty("hasOwnProperty")}},"Y/f1qGGL":(I,v,t)=>{"use strict";var n=t("P6Qu44rU"),o=/^\w*$/,r=0,s=1,h=2,u=3,A=4;I.exports=function(l,C,b,m){b=b||"name",m=m||"value";var D,f,p,c={};C&&C.length?(p=n(l,C),f=p.get()):f=l,C=C||"";var d={};if(f)for(D=0;D2)return c[T]=c[T]|h,w.set(x,null);if(g){for(D=T;D{"use strict";var n=t("Bm/lNwZF");I.exports=function(r,s){for(var h=r._context.locale,u=0;u<2;u++){for(var A=r._context.locales,S=0;S<2;S++){var l=(A[h]||{}).dictionary;if(l){var C=l[s];if(C)return C}A=n.localeRegistry}var b=h.split("-")[0];if(b===h)break;h=b}return s}},"/sRs2fqg":(I,v,t)=>{"use strict";var n=t("eDGpSI/L").dfltConfig,o=t("cc8YJqD7"),r=I.exports={};r.log=function(){var s;if(n.logging>1){var h=["LOG:"];for(s=0;s1){var u=[];for(s=0;s"),"long")}},r.warn=function(){var s;if(n.logging>0){var h=["WARN:"];for(s=0;s0){var u=[];for(s=0;s"),"stick")}},r.error=function(){var s;if(n.logging>0){var h=["ERROR:"];for(s=0;s0){var u=[];for(s=0;s"),"stick")}}},"4H6lL+pr":(I,v,t)=>{"use strict";var n=t("BsFWGRIE");I.exports=function(r,s,h){var u=r.selectAll("g."+h.replace(/\s/g,".")).data(s,function(S){return S[0].trace.uid});u.exit().remove(),u.enter().append("g").attr("class",h),u.order();var A=r.classed("rangeplot")?"nodeRangePlot3":"node3";return u.each(function(S){S[0][A]=n.select(this)}),u}},"7DJq4y0k":(I,v,t)=>{"use strict";var n=t("846O9Cno");v.init2dArray=function(o,r){for(var s=new Array(o),h=0;h{"use strict";function v(n,o){var r=n%o;return r<0?r+o:r}function t(n,o){return Math.abs(n)>o/2?n-Math.round(n/o)*o:n}I.exports={mod:v,modHalf:t}},P6Qu44rU:(I,v,t)=>{"use strict";var n=t("j6yQIY+r"),o=t("0BDZSqpM").isArrayOrTypedArray;I.exports=function(m,D){if(n(D))D=String(D);else if(typeof D!="string"||D.substr(D.length-4)==="[-1]")throw"bad property string";var f=D.split("."),p,c,d,g;for(g=0;g{"use strict";I.exports=function(){}},cc8YJqD7:(I,v,t)=>{"use strict";var n=t("BsFWGRIE"),o=t("j6yQIY+r"),r=[];I.exports=function(s,h){if(r.indexOf(s)!==-1)return;r.push(s);var u=1e3;o(h)?u=h:h==="long"&&(u=3e3);var A=n.select("body").selectAll(".plotly-notifier").data([0]);A.enter().append("div").classed("plotly-notifier",!0);var S=A.selectAll(".notifier-note").data(r);function l(C){C.duration(700).style("opacity",0).each("end",function(b){var m=r.indexOf(b);m!==-1&&r.splice(m,1),n.select(this).remove()})}S.enter().append("div").classed("notifier-note",!0).style("opacity",0).each(function(C){var b=n.select(this);b.append("button").classed("notifier-close",!0).html("×").on("click",function(){b.transition().call(l)});for(var m=b.append("p"),D=C.split(//g),f=0;f{"use strict";var n=t("j6yQIY+r"),o=t("euHX/qmX");I.exports=function(h){var u;if(h&&h.hasOwnProperty("userAgent")?u=h.userAgent:u=r(),typeof u!="string")return!0;var A=o({ua:{headers:{"user-agent":u}},tablet:!0,featureDetect:!1});if(!A)for(var S=u.split(" "),l=1;l-1;b--){var m=S[b];if(m.substr(0,8)==="Version/"){var D=m.substr(8).split(".")[0];if(n(D)&&(D=+D),D>=13)return!0}}}return A};function r(){var s;return typeof navigator<"u"&&(s=navigator.userAgent),s&&s.headers&&typeof s.headers["user-agent"]=="string"&&(s=s.headers["user-agent"]),s}},"+mXUIs+M":I=>{"use strict";I.exports=function(t,n){if(n instanceof RegExp){for(var o=n.toString(),r=0;r{"use strict";v.counter=function(t,n,o,r){var s=(n||"")+(o?"":"$"),h=r===!1?"":"^";return t==="xy"?new RegExp(h+"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?"+s):new RegExp(h+t+"([2-9]|[1-9][0-9]+)?"+s)}},g0j5tBcH:I=>{"use strict";var v=/^(.*)(\.[^\.\[\]]+|\[\d\])$/,t=/^[^\.\[\]]+$/;I.exports=function(n,o){for(;o;){var r=n.match(v);if(r)n=r[1];else if(n.match(t))n="";else throw new Error("bad relativeAttr call:"+[n,o]);if(o.charAt(0)==="^")o=o.slice(1);else break}return n&&o.charAt(0)!=="["?n+"."+o:n+o}},"9NIqyexy":(I,v,t)=>{"use strict";var n=t("0BDZSqpM").isArrayOrTypedArray,o=t("rBVYdNku");I.exports=function r(s,h){for(var u in h){var A=h[u],S=s[u];if(S!==A)if(u.charAt(0)==="_"||typeof A=="function"){if(u in s)continue;s[u]=A}else if(n(A)&&n(S)&&o(A[0])){if(u==="customdata"||u==="ids")continue;for(var l=Math.min(A.length,S.length),C=0;C{"use strict";var n=t("j6yQIY+r"),o=t("/sRs2fqg"),r=t("EcG8kEcp"),s=t("iExSEXQX").BADNUM,h=1e-9;v.findBin=function(C,b,m){if(n(b.start))return m?Math.ceil((C-b.start)/b.size-h)-1:Math.floor((C-b.start)/b.size+h);var D=0,f=b.length,p=0,c=f>1?(b[f-1]-b[0])/(f-1):1,d,g;for(c>=0?g=m?u:A:g=m?l:S,C+=c*h*(m?-1:1)*(c>=0?1:-1);D90&&o.log("Long binary search..."),D-1};function u(C,b){return Cb}function l(C,b){return C>=b}v.sorterAsc=function(C,b){return C-b},v.sorterDes=function(C,b){return b-C},v.distinctVals=function(C){var b=C.slice();b.sort(v.sorterAsc);var m;for(m=b.length-1;m>-1&&b[m]===s;m--);for(var D=b[m]-b[0]||1,f=D/(m||1)/1e4,p=[],c,d=0;d<=m;d++){var g=b[d],w=g-c;c===void 0?(p.push(g),c=g):w>f&&(D=Math.min(D,w),p.push(g),c=g)}return{vals:p,minDiff:D}},v.roundUp=function(C,b,m){for(var D=0,f=b.length-1,p,c=0,d=m?0:1,g=m?1:0,w=m?Math.ceil:Math.floor;D0&&(D=1),m&&D)return C.sort(b)}return D?C:C.reverse()},v.findIndexOfMin=function(C,b){b=b||r;for(var m=1/0,D,f=0;f{"use strict";I.exports=function(t){return Object.keys(t).sort()}},AsNl5sRN:(I,v,t)=>{"use strict";var n=t("j6yQIY+r"),o=t("0BDZSqpM").isArrayOrTypedArray;v.aggNums=function(r,s,h,u){var A,S;if((!u||u>h.length)&&(u=h.length),n(s)||(s=!1),o(h[0])){for(S=new Array(u),A=0;Ar.length-1)return r[r.length-1];var h=s%1;return h*r[Math.ceil(s)]+(1-h)*r[Math.floor(s)]}},GRhTgMPP:(I,v)=>{"use strict";var t={};v.throttle=function(r,s,h){var u=t[r],A=Date.now();if(!u){for(var S in t)t[S].tsu.ts+s){l();return}u.timer=setTimeout(function(){l(),u.timer=null},s)},v.done=function(o){var r=t[o];return!r||!r.timer?Promise.resolve():new Promise(function(s){var h=r.onDone;r.onDone=function(){h&&h(),s(),r.onDone=null}})},v.clear=function(o){if(o)n(t[o]),delete t[o];else for(var r in t)v.clear(r)};function n(o){o&&o.timer!==null&&(clearTimeout(o.timer),o.timer=null)}},dgxdK2Tt:(I,v,t)=>{"use strict";var n=t("j6yQIY+r");I.exports=function(r,s){if(r>0)return Math.log(r)/Math.LN10;var h=Math.log(Math.min(s[0],s[1]))/Math.LN10;return n(h)||(h=Math.log(Math.max(s[0],s[1]))/Math.LN10-6),h}},"2POXedf6":(I,v,t)=>{"use strict";var n=t("TfssAhrc").extendFlat,o=t("rBVYdNku"),r={valType:"flaglist",extras:["none"],flags:["calc","clearAxisTypes","plot","style","markerSize","colorbars"],description:["trace attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full (re)plot starting by clearing `gd.calcdata`","to force it to be regenerated","*clearAxisTypes* resets the types of the axes this trace is on, because new data could","cause the automatic axis type detection to change. Log type will not be cleared, as that","is never automatically chosen so must have been user-specified.","*plot* (re)plots but without first clearing `gd.calcdata`.","*style* only calls `module.style` (or module.editStyle) for all trace modules and redraws the legend.","*markerSize* is like *style*, but propagate axis-range changes due to scatter `marker.size`","*colorbars* only redraws colorbars."].join(" ")},s={valType:"flaglist",extras:["none"],flags:["calc","plot","legend","ticks","axrange","layoutstyle","modebar","camera","arraydraw","colorbars"],description:["layout attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full (re)plot starting by clearing `gd.calcdata`","to force it to be regenerated","*plot* (re)plots but without first clearing `gd.calcdata`.","*legend* only redraws the legend.","*ticks* only redraws axis ticks, labels, and gridlines.","*axrange* minimal sequence when updating axis ranges.","*layoutstyle* reapplies global and SVG cartesian axis styles.","*modebar* just updates the modebar.","*camera* just updates the camera settings for gl3d scenes.","*arraydraw* allows component arrays to invoke the redraw routines just for the","component(s) that changed.","*colorbars* only redraws colorbars."].join(" ")},h=r.flags.slice().concat(["fullReplot"]),u=s.flags.slice().concat("layoutReplot");I.exports={traces:r,layout:s,traceFlags:function(){return A(h)},layoutFlags:function(){return A(u)},update:function(C,b){var m=b.editType;if(m&&m!=="none")for(var D=m.split("+"),f=0;f{"use strict";var v={staticPlot:{valType:"boolean",dflt:!1,description:["Determines whether the graphs are interactive or not.","If *false*, no interactivity, for export or image generation."].join(" ")},typesetMath:{valType:"boolean",dflt:!0,description:["Determines whether math should be typeset or not,","when MathJax (either v2 or v3) is present on the page."].join(" ")},plotlyServerURL:{valType:"string",dflt:"",description:["When set it determines base URL for","the 'Edit in Chart Studio' `showEditInChartStudio`/`showSendToCloud` mode bar button","and the showLink/sendData on-graph link.","To enable sending your data to Chart Studio Cloud, you need to","set both `plotlyServerURL` to 'https://chart-studio.plotly.com' and","also set `showSendToCloud` to true."].join(" ")},editable:{valType:"boolean",dflt:!1,description:["Determines whether the graph is editable or not.","Sets all pieces of `edits`","unless a separate `edits` config item overrides individual parts."].join(" ")},edits:{annotationPosition:{valType:"boolean",dflt:!1,description:["Determines if the main anchor of the annotation is editable.","The main anchor corresponds to the","text (if no arrow) or the arrow (which drags the whole thing leaving","the arrow length & direction unchanged)."].join(" ")},annotationTail:{valType:"boolean",dflt:!1,description:["Has only an effect for annotations with arrows.","Enables changing the length and direction of the arrow."].join(" ")},annotationText:{valType:"boolean",dflt:!1,description:"Enables editing annotation text."},axisTitleText:{valType:"boolean",dflt:!1,description:"Enables editing axis title text."},colorbarPosition:{valType:"boolean",dflt:!1,description:"Enables moving colorbars."},colorbarTitleText:{valType:"boolean",dflt:!1,description:"Enables editing colorbar title text."},legendPosition:{valType:"boolean",dflt:!1,description:"Enables moving the legend."},legendText:{valType:"boolean",dflt:!1,description:"Enables editing the trace name fields from the legend"},shapePosition:{valType:"boolean",dflt:!1,description:"Enables moving shapes."},titleText:{valType:"boolean",dflt:!1,description:"Enables editing the global layout title."}},editSelection:{valType:"boolean",dflt:!0,description:"Enables moving selections."},autosizable:{valType:"boolean",dflt:!1,description:["Determines whether the graphs are plotted with respect to","layout.autosize:true and infer its container size."].join(" ")},responsive:{valType:"boolean",dflt:!1,description:["Determines whether to change the layout size when window is resized.","In v3, this option will be removed and will always be true."].join(" ")},fillFrame:{valType:"boolean",dflt:!1,description:["When `layout.autosize` is turned on, determines whether the graph","fills the container (the default) or the screen (if set to *true*)."].join(" ")},frameMargins:{valType:"number",dflt:0,min:0,max:.5,description:["When `layout.autosize` is turned on, set the frame margins","in fraction of the graph size."].join(" ")},scrollZoom:{valType:"flaglist",flags:["cartesian","gl3d","geo","mapbox"],extras:[!0,!1],dflt:"gl3d+geo+mapbox",description:["Determines whether mouse wheel or two-finger scroll zooms is enable.","Turned on by default for gl3d, geo and mapbox subplots","(as these subplot types do not have zoombox via pan),","but turned off by default for cartesian subplots.","Set `scrollZoom` to *false* to disable scrolling for all subplots."].join(" ")},doubleClick:{valType:"enumerated",values:[!1,"reset","autosize","reset+autosize"],dflt:"reset+autosize",description:["Sets the double click interaction mode.","Has an effect only in cartesian plots.","If *false*, double click is disable.","If *reset*, double click resets the axis ranges to their initial values.","If *autosize*, double click set the axis ranges to their autorange values.","If *reset+autosize*, the odd double clicks resets the axis ranges","to their initial values and even double clicks set the axis ranges","to their autorange values."].join(" ")},doubleClickDelay:{valType:"number",dflt:300,min:0,description:["Sets the delay for registering a double-click in ms.","This is the time interval (in ms) between first mousedown and","2nd mouseup to constitute a double-click.","This setting propagates to all on-subplot double clicks","(except for geo and mapbox) and on-legend double clicks."].join(" ")},showAxisDragHandles:{valType:"boolean",dflt:!0,description:["Set to *false* to omit cartesian axis pan/zoom drag handles."].join(" ")},showAxisRangeEntryBoxes:{valType:"boolean",dflt:!0,description:["Set to *false* to omit direct range entry at the pan/zoom drag points,","note that `showAxisDragHandles` must be enabled to have an effect."].join(" ")},showTips:{valType:"boolean",dflt:!0,description:["Determines whether or not tips are shown while interacting","with the resulting graphs."].join(" ")},showLink:{valType:"boolean",dflt:!1,description:["Determines whether a link to Chart Studio Cloud is displayed","at the bottom right corner of resulting graphs.","Use with `sendData` and `linkText`."].join(" ")},linkText:{valType:"string",dflt:"Edit chart",noBlank:!0,description:["Sets the text appearing in the `showLink` link."].join(" ")},sendData:{valType:"boolean",dflt:!0,description:["If *showLink* is true, does it contain data","just link to a Chart Studio Cloud file?"].join(" ")},showSources:{valType:"any",dflt:!1,description:["Adds a source-displaying function to show sources on","the resulting graphs."].join(" ")},displayModeBar:{valType:"enumerated",values:["hover",!0,!1],dflt:"hover",description:["Determines the mode bar display mode.","If *true*, the mode bar is always visible.","If *false*, the mode bar is always hidden.","If *hover*, the mode bar is visible while the mouse cursor","is on the graph container."].join(" ")},showSendToCloud:{valType:"boolean",dflt:!1,description:['Should we include a ModeBar button, labeled "Edit in Chart Studio",',"that sends this chart to chart-studio.plotly.com (formerly plot.ly) or another plotly server","as specified by `plotlyServerURL` for editing, export, etc? Prior to version 1.43.0","this button was included by default, now it is opt-in using this flag.","Note that this button can (depending on `plotlyServerURL` being set) send your data","to an external server. However that server does not persist your data",'until you arrive at the Chart Studio and explicitly click "Save".'].join(" ")},showEditInChartStudio:{valType:"boolean",dflt:!1,description:["Same as `showSendToCloud`, but use a pencil icon instead of a floppy-disk.","Note that if both `showSendToCloud` and `showEditInChartStudio` are turned,","only `showEditInChartStudio` will be honored."].join(" ")},modeBarButtonsToRemove:{valType:"any",dflt:[],description:["Remove mode bar buttons by name.","See ./components/modebar/buttons.js for the list of names."].join(" ")},modeBarButtonsToAdd:{valType:"any",dflt:[],description:["Add mode bar button using config objects","See ./components/modebar/buttons.js for list of arguments.","To enable predefined modebar buttons e.g. shape drawing, hover and spikelines,","simply provide their string name(s). This could include:","*v1hovermode*, *hoverclosest*, *hovercompare*, *togglehover*, *togglespikelines*,","*drawline*, *drawopenpath*, *drawclosedpath*, *drawcircle*, *drawrect* and *eraseshape*.","Please note that these predefined buttons will only be shown if they are compatible","with all trace types used in a graph."].join(" ")},modeBarButtons:{valType:"any",dflt:!1,description:["Define fully custom mode bar buttons as nested array,","where the outer arrays represents button groups, and","the inner arrays have buttons config objects or names of default buttons","See ./components/modebar/buttons.js for more info."].join(" ")},toImageButtonOptions:{valType:"any",dflt:{},description:["Statically override options for toImage modebar button","allowed keys are format, filename, width, height, scale","see ../components/modebar/buttons.js"].join(" ")},displaylogo:{valType:"boolean",dflt:!0,description:["Determines whether or not the plotly logo is displayed","on the end of the mode bar."].join(" ")},watermark:{valType:"boolean",dflt:!1,description:"watermark the images with the company's logo"},plotGlPixelRatio:{valType:"number",dflt:2,min:1,max:4,description:["Set the pixel ratio during WebGL image export.","This config option was formerly named `plot3dPixelRatio`","which is now deprecated."].join(" ")},setBackground:{valType:"any",dflt:"transparent",description:["Set function to add the background color (i.e. `layout.paper_color`)","to a different container.","This function take the graph div as first argument and the current background","color as second argument.","Alternatively, set to string *opaque* to ensure there is white behind it."].join(" ")},topojsonURL:{valType:"string",noBlank:!0,dflt:"https://cdn.plot.ly/",description:["Set the URL to topojson used in geo charts.","By default, the topojson files are fetched from cdn.plot.ly.","For example, set this option to:","/dist/topojson/","to render geographical feature using the topojson files","that ship with the plotly.js module."].join(" ")},mapboxAccessToken:{valType:"string",dflt:null,description:["Mapbox access token (required to plot mapbox trace types)","If using an Mapbox Atlas server, set this option to ''","so that plotly.js won't attempt to authenticate to the public Mapbox server."].join(" ")},logging:{valType:"integer",min:0,max:2,dflt:1,description:["Turn all console logging on or off (errors will be thrown)","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},notifyOnLogging:{valType:"integer",min:0,max:2,dflt:0,description:["Set on-graph logging (notifier) level","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no on-graph logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},queueLength:{valType:"integer",min:0,dflt:0,description:"Sets the length of the undo/redo queue."},globalTransforms:{valType:"any",dflt:[],description:["Set global transform to be applied to all traces with no","specification needed"].join(" ")},locale:{valType:"string",dflt:"en-US",description:["Which localization should we use?","Should be a string like 'en' or 'en-US'."].join(" ")},locales:{valType:"any",dflt:{},description:["Localization definitions","Locales can be provided either here (specific to one chart) or globally","by registering them as modules.","Should be an object of objects {locale: {dictionary: {...}, format: {...}}}","{","  da: {","      dictionary: {'Reset axes': 'Nulstil aksler', ...},","      format: {months: [...], shortMonths: [...]}","  },","  ...","}","All parts are optional. When looking for translation or format fields, we","look first for an exact match in a config locale, then in a registered","module. If those fail, we strip off any regionalization ('en-US' -> 'en')","and try each (config, registry) again. The final fallback for translation","is untranslated (which is US English) and for formats is the base English","(the only consequence being the last fallback date format %x is DD/MM/YYYY","instead of MM/DD/YYYY). Currently `grouping` and `currency` are ignored","for our automatic number formatting, but can be used in custom formats."].join(" ")}},t={};function n(o,r){for(var s in o){var h=o[s];h.valType?r[s]=h.dflt:(r[s]||(r[s]={}),n(h,r[s]))}}n(v,t),I.exports={configAttributes:v,dfltConfig:t}},OQCOsJIy:(I,v,t)=>{"use strict";var n=t("5/7eUVNk"),o=t("lERw8KBg"),r="templateitemname",s={name:{valType:"string",editType:"none",description:["When used in a template, named items are created in the output figure","in addition to any items the figure already has in this array.","You can modify these items in the output figure by making your own","item with `templateitemname` matching this `name`","alongside your modifications (including `visible: false` or","`enabled: false` to hide it).","Has no effect outside of a template."].join(" ")}};s[r]={valType:"string",editType:"calc",description:["Used to refer to a named item in this array in the template. Named","items from the template will be created even without a matching item","in the input figure, but you can modify one by making an item with","`templateitemname` matching its `name`, alongside your modifications","(including `visible: false` or `enabled: false` to hide it).","If there is no template or no matching item, this item will be","hidden unless you explicitly show it with `visible: true`."].join(" ")},v.templatedArray=function(A,S){return S._isLinkedToArray=A,S.name=s.name,S[r]=s[r],S},v.traceTemplater=function(A){var S={},l,C;for(l in A)C=A[l],Array.isArray(C)&&C.length&&(S[l]=0);function b(m){l=n.coerce(m,{},o,"type");var D={type:l,_template:null};if(l in S){C=A[l];var f=S[l]%C.length;S[l]++,D._template=C[f]}return D}return{newTrace:b}},v.newContainer=function(A,S,l){var C=A._template,b=C&&(C[S]||l&&C[l]);n.isPlainObject(b)||(b=null);var m=A[S]={_template:b};return m},v.arrayTemplater=function(A,S,l){var C=A._template,b=C&&C[u(S)],m=C&&C[S];(!Array.isArray(m)||!m.length)&&(m=[]);var D={};function f(c){var d={name:c.name,_input:c},g=d[r]=c[r];if(!h(g))return d._template=b,d;for(var w=0;w=C&&(l._input||{})._templateitemname;m&&(b=C);var D=S+"["+b+"]",f;function p(){f={},m&&(f[D]={},f[D][r]=m)}p();function c(x,T){f[x]=T}function d(x,T){m?n.nestedProperty(f[D],x).set(T):f[D+"."+x]=T}function g(){var x=f;return p(),x}function w(x,T){x&&d(x,T);var O=g();for(var F in O)n.nestedProperty(A,F).set(O[F])}return{modifyBase:c,modifyItem:d,getUpdateObj:g,applyUpdate:w}}},jdWgOtRY:I=>{"use strict";I.exports={mode:{valType:"enumerated",dflt:"afterall",values:["immediate","next","afterall"],description:["Describes how a new animate call interacts with currently-running","animations. If `immediate`, current animations are interrupted and","the new animation is started. If `next`, the current frame is allowed","to complete, after which the new animation is started. If `afterall`","all existing frames are animated to completion before the new animation","is started."].join(" ")},direction:{valType:"enumerated",values:["forward","reverse"],dflt:"forward",description:["The direction in which to play the frames triggered by the animation call"].join(" ")},fromcurrent:{valType:"boolean",dflt:!1,description:["Play frames starting at the current frame instead of the beginning."].join(" ")},frame:{duration:{valType:"number",min:0,dflt:500,description:["The duration in milliseconds of each frame. If greater than the frame","duration, it will be limited to the frame duration."].join(" ")},redraw:{valType:"boolean",dflt:!0,description:["Redraw the plot at completion of the transition. This is desirable","for transitions that include properties that cannot be transitioned,","but may significantly slow down updates that do not require a full","redraw of the plot"].join(" ")}},transition:{duration:{valType:"number",min:0,dflt:500,editType:"none",description:["The duration of the transition, in milliseconds. If equal to zero,","updates are synchronous."].join(" ")},easing:{valType:"enumerated",dflt:"cubic-in-out",values:["linear","quad","cubic","sin","exp","circle","elastic","back","bounce","linear-in","quad-in","cubic-in","sin-in","exp-in","circle-in","elastic-in","back-in","bounce-in","linear-out","quad-out","cubic-out","sin-out","exp-out","circle-out","elastic-out","back-out","bounce-out","linear-in-out","quad-in-out","cubic-in-out","sin-in-out","exp-in-out","circle-in-out","elastic-in-out","back-in-out","bounce-in-out"],editType:"none",description:"The easing function used for the transition"},ordering:{valType:"enumerated",values:["layout first","traces first"],dflt:"layout first",editType:"none",description:["Determines whether the figure's layout or traces smoothly transitions","during updates that make both traces and layout change."].join(" ")}}}},OYHyEGiK:(I,v,t)=>{"use strict";var n=t("5/7eUVNk"),o=t("OQCOsJIy");I.exports=function(s,h,u){var A=u.name,S=u.inclusionAttr||"visible",l=h[A],C=n.isArrayOrTypedArray(s[A])?s[A]:[],b=h[A]=[],m=o.arrayTemplater(h,A,S),D,f;for(D=0;D{"use strict";var n=t("iNVXrAXN"),o=t("iCaN1/dF");I.exports={type:{valType:"enumerated",values:[],dflt:"scatter",editType:"calc+clearAxisTypes",_noTemplating:!0},visible:{valType:"enumerated",values:[!0,!1,"legendonly"],dflt:!0,editType:"calc",description:["Determines whether or not this trace is visible.","If *legendonly*, the trace is not drawn,","but can appear as a legend item","(provided that the legend itself is visible)."].join(" ")},showlegend:{valType:"boolean",dflt:!0,editType:"style",description:["Determines whether or not an item corresponding to this","trace is shown in the legend."].join(" ")},legend:{valType:"subplotid",dflt:"legend",editType:"style",description:["Sets the reference to a legend to show this trace in.","References to these legends are *legend*, *legend2*, *legend3*, etc.","Settings for these legends are set in the layout, under","`layout.legend`, `layout.legend2`, etc."].join(" ")},legendgroup:{valType:"string",dflt:"",editType:"style",description:["Sets the legend group for this trace.","Traces and shapes part of the same legend group hide/show at the same time","when toggling legend items."].join(" ")},legendgrouptitle:{text:{valType:"string",dflt:"",editType:"style",description:["Sets the title of the legend group."].join(" ")},font:n({editType:"style",description:["Sets this legend group's title font."].join(" ")}),editType:"style"},legendrank:{valType:"number",dflt:1e3,editType:"style",description:["Sets the legend rank for this trace.","Items and groups with smaller ranks are presented on top/left side while","with *reversed* `legend.traceorder` they are on bottom/right side.","The default legendrank is 1000,","so that you can use ranks less than 1000 to place certain items before all unranked items,","and ranks greater than 1000 to go after all unranked items.","When having unranked or equal rank items shapes would be displayed after traces","i.e. according to their order in data and layout."].join(" ")},legendwidth:{valType:"number",min:0,editType:"style",description:"Sets the width (in px or fraction) of the legend for this trace."},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"style",description:"Sets the opacity of the trace."},name:{valType:"string",editType:"style",description:["Sets the trace name.","The trace name appears as the legend item and on hover."].join(" ")},uid:{valType:"string",editType:"plot",anim:!0,description:["Assign an id to this trace,","Use this to provide object constancy between traces during animations","and transitions."].join(" ")},ids:{valType:"data_array",editType:"calc",anim:!0,description:["Assigns id labels to each datum.","These ids for object constancy of data points during animation.","Should be an array of strings, not numbers or any other type."].join(" ")},customdata:{valType:"data_array",editType:"calc",description:["Assigns extra data each datum.","This may be useful when listening to hover, click and selection events.","Note that, *scatter* traces also appends customdata items in the markers","DOM elements"].join(" ")},meta:{valType:"any",arrayOk:!0,editType:"plot",description:["Assigns extra meta information associated with this trace","that can be used in various text attributes.","Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text`","`rangeselector`, `updatemenues` and `sliders` `label` text","all support `meta`.","To access the trace `meta` values in an attribute in the same trace, simply use","`%{meta[i]}` where `i` is the index or key of the `meta`","item in question.","To access trace `meta` in layout attributes, use","`%{data[n[.meta[i]}` where `i` is the index or key of the `meta`","and `n` is the trace index."].join(" ")},selectedpoints:{valType:"any",editType:"calc",description:["Array containing integer indices of selected points.","Has an effect only for traces that support selections.","Note that an empty array means an empty selection where the `unselected`","are turned on for all points, whereas, any other non-array values means no","selection all where the `selected` and `unselected` styles have no effect."].join(" ")},hoverinfo:{valType:"flaglist",flags:["x","y","z","text","name"],extras:["all","none","skip"],arrayOk:!0,dflt:"all",editType:"none",description:["Determines which trace information appear on hover.","If `none` or `skip` are set, no information is displayed upon hovering.","But, if `none` is set, click and hover events are still fired."].join(" ")},hoverlabel:o.hoverlabel,stream:{token:{valType:"string",noBlank:!0,strict:!0,editType:"calc",description:["The stream id number links a data trace on a plot with a stream.","See https://chart-studio.plotly.com/settings for more details."].join(" ")},maxpoints:{valType:"number",min:0,max:1e4,dflt:500,editType:"calc",description:["Sets the maximum number of points to keep on the plots from an","incoming stream.","If `maxpoints` is set to *50*, only the newest 50 points will","be displayed on the plot."].join(" ")},editType:"calc"},transforms:{_isLinkedToArray:"transform",editType:"calc",description:["WARNING: All transforms are deprecated and may be removed from the API in next major version.","An array of operations that manipulate the trace data,","for example filtering or sorting the data arrays."].join(" ")},uirevision:{valType:"any",editType:"none",description:["Controls persistence of some user-driven changes to the trace:","`constraintrange` in `parcoords` traces, as well as some","`editable: true` modifications such as `name` and `colorbar.title`.","Defaults to `layout.uirevision`.","Note that other user-driven trace attribute changes are controlled","by `layout` attributes:","`trace.visible` is controlled by `layout.legend.uirevision`,","`selectedpoints` is controlled by `layout.selectionrevision`,","and `colorbar.(x|y)` (accessible with `config: {editable: true}`)","is controlled by `layout.editrevision`.","Trace changes are tracked by `uid`, which only falls back on trace","index if no `uid` is provided. So if your app can add/remove traces","before the end of the `data` array, such that the same trace has a","different index, you can still preserve user-driven changes if you","give each trace a `uid` that stays with it as it moves."].join(" ")}}},sp7vjgda:(I,v,t)=>{"use strict";var n=t("SL3i/G8s"),o=n.FORMAT_LINK,r=n.DATE_FORMAT_LINK;function s(A,S){return{valType:"string",dflt:"",editType:"none",description:(S?h:u)("hover text",A)+["By default the values are formatted using "+(S?"generic number format":"`"+A+"axis.hoverformat`")+"."].join(" ")}}function h(A,S){return["Sets the "+A+" formatting rule"+(S?"for `"+S+"` ":""),"using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see: "+o+"."].join(" ")}function u(A,S){return h(A,S)+[" And for dates see: "+r+".","We add two items to d3's date formatter:","*%h* for half of the year as a decimal number as well as","*%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")}I.exports={axisHoverFormat:s,descriptionOnlyNumbers:h,descriptionWithDates:u}},A0hsR495:(I,v,t)=>{"use strict";var n=t("j6yQIY+r"),o=t("5/7eUVNk"),r=t("iExSEXQX"),s=r.ONEDAY,h=r.ONEWEEK;v.dtick=function(u,A){var S=A==="log",l=A==="date",C=A==="category",b=l?s:1;if(!u)return b;if(n(u))return u=Number(u),u<=0?b:C?Math.max(1,Math.round(u)):l?Math.max(.1,u):u;if(typeof u!="string"||!(l||S))return b;var m=u.charAt(0),D=u.substr(1);return D=n(D)?Number(D):0,D<=0||!(l&&m==="M"&&D===Math.round(D)||S&&m==="L"||S&&m==="D"&&(D===1||D===2))?b:u},v.tick0=function(u,A,S,l){if(A==="date")return o.cleanDate(u,o.dateTick0(S,l%h===0?1:0));if(!(l==="D1"||l==="D2"))return n(u)?Number(u):0}},myC6jQfm:(I,v,t)=>{"use strict";var n=t("hIYhsYNd").counter;I.exports={idRegex:{x:n("x","( domain)?"),y:n("y","( domain)?")},attrRegex:n("[xy]axis"),xAxisMatch:n("xaxis"),yAxisMatch:n("yaxis"),AX_ID_PATTERN:/^[xyz][0-9]*( domain)?$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,SUBPLOT_PATTERN:/^x([0-9]*)y([0-9]*)$/,HOUR_PATTERN:"hour",WEEKDAY_PATTERN:"day of week",MINDRAG:8,MINZOOM:20,DRAGGERSIZE:20,REDRAWDELAY:50,DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:["imagelayer","heatmaplayer","contourcarpetlayer","contourlayer","funnellayer","waterfalllayer","barlayer","carpetlayer","violinlayer","boxlayer","ohlclayer","scattercarpetlayer","scatterlayer"],clipOnAxisFalseQuery:[".scatterlayer",".barlayer",".funnellayer",".waterfalllayer"],layerValue2layerClass:{"above traces":"above","below traces":"below"}}},"7a73G6xA":(I,v,t)=>{"use strict";var n=t("iNVXrAXN"),o=t("V1/HMom/"),r=t("aVcyJLJW").T,s=t("TfssAhrc").extendFlat,h=t("OQCOsJIy").templatedArray,u=t("sp7vjgda").descriptionWithDates,A=t("iExSEXQX").ONEDAY,S=t("myC6jQfm"),l=S.HOUR_PATTERN,C=S.WEEKDAY_PATTERN,b={valType:"enumerated",values:["auto","linear","array"],editType:"ticks",impliedEdits:{tick0:void 0,dtick:void 0},description:["Sets the tick mode for this axis.","If *auto*, the number of ticks is set via `nticks`.","If *linear*, the placement of the ticks is determined by","a starting position `tick0` and a tick step `dtick`","(*linear* is the default value if `tick0` and `dtick` are provided).","If *array*, the placement of the ticks is set via `tickvals`","and the tick text is `ticktext`.","(*array* is the default value if `tickvals` is provided)."].join(" ")},m=s({},b,{values:b.values.slice().concat(["sync"]),description:[b.description,"If *sync*, the number of ticks will sync with the overlayed axis","set by `overlaying` property."].join(" ")});function D(ee){return{valType:"integer",min:0,dflt:ee?5:0,editType:"ticks",description:["Specifies the maximum number of ticks for the particular axis.","The actual number of ticks will be chosen automatically to be","less than or equal to `nticks`.","Has an effect only if `tickmode` is set to *auto*."].join(" ")}}var f={valType:"any",editType:"ticks",impliedEdits:{tickmode:"linear"},description:["Sets the placement of the first tick on this axis.","Use with `dtick`.","If the axis `type` is *log*, then you must take the log of your starting tick","(e.g. to set the starting tick to 100, set the `tick0` to 2)","except when `dtick`=*L* (see `dtick` for more info).","If the axis `type` is *date*, it should be a date string, like date data.","If the axis `type` is *category*, it should be a number, using the scale where","each category is assigned a serial number from zero in the order it appears."].join(" ")},p={valType:"any",editType:"ticks",impliedEdits:{tickmode:"linear"},description:["Sets the step in-between ticks on this axis. Use with `tick0`.","Must be a positive number, or special strings available to *log* and *date* axes.","If the axis `type` is *log*, then ticks are set every 10^(n*dtick) where n","is the tick number. For example,","to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1.","To set tick marks at 1, 100, 10000, ... set dtick to 2.","To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433.","*log* has several special values; *L*, where `f` is a positive number,","gives ticks linearly spaced in value (but not position).","For example `tick0` = 0.1, `dtick` = *L0.5* will put ticks at 0.1, 0.6, 1.1, 1.6 etc.","To show powers of 10 plus small digits between, use *D1* (all digits) or *D2* (only 2 and 5).","`tick0` is ignored for *D1* and *D2*.","If the axis `type` is *date*, then you must convert the time to milliseconds.","For example, to set the interval between ticks to one day,","set `dtick` to 86400000.0.","*date* also has special values *M* gives ticks spaced by a number of months.","`n` must be a positive integer.","To set ticks on the 15th of every third month, set `tick0` to *2000-01-15* and `dtick` to *M3*.","To set ticks every 4 years, set `dtick` to *M48*"].join(" ")},c={valType:"data_array",editType:"ticks",description:["Sets the values at which ticks on this axis appear.","Only has an effect if `tickmode` is set to *array*.","Used with `ticktext`."].join(" ")},d={valType:"enumerated",values:["outside","inside",""],editType:"ticks",description:["Determines whether ticks are drawn or not.","If **, this axis' ticks are not drawn.","If *outside* (*inside*), this axis' are drawn outside (inside)","the axis lines."].join(" ")};function g(ee){var he={valType:"number",min:0,editType:"ticks",description:"Sets the tick length (in px)."};return ee||(he.dflt=5),he}function w(ee){var he={valType:"number",min:0,editType:"ticks",description:"Sets the tick width (in px)."};return ee||(he.dflt=1),he}var x={valType:"color",dflt:o.defaultLine,editType:"ticks",description:"Sets the tick color."},T={valType:"color",dflt:o.lightLine,editType:"ticks",description:"Sets the color of the grid lines."};function O(ee){var he={valType:"number",min:0,editType:"ticks",description:"Sets the width (in px) of the grid lines."};return ee||(he.dflt=1),he}var F=s({},r,{editType:"ticks"}),K={valType:"boolean",editType:"ticks",description:["Determines whether or not grid lines are drawn.","If *true*, the grid lines are drawn at every tick mark."].join(" ")};I.exports={visible:{valType:"boolean",editType:"plot",description:["A single toggle to hide the axis while preserving interaction like dragging.","Default is true when a cheater plot is present on the axis, otherwise","false"].join(" ")},color:{valType:"color",dflt:o.defaultLine,editType:"ticks",description:["Sets default for all colors associated with this axis","all at once: line, font, tick, and grid colors.","Grid color is lightened by blending this with the plot background","Individual pieces can override this."].join(" ")},title:{text:{valType:"string",editType:"ticks",description:["Sets the title of this axis.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:n({editType:"ticks",description:["Sets this axis' title font.","Note that the title's font used to be customized","by the now deprecated `titlefont` attribute."].join(" ")}),standoff:{valType:"number",min:0,editType:"ticks",description:["Sets the standoff distance (in px) between the axis labels and the title text","The default value is a function of the axis tick labels, the title `font.size`","and the axis `linewidth`.","Note that the axis title position is always constrained within the margins,","so the actual standoff distance is always less than the set or default value.","By setting `standoff` and turning on `automargin`, plotly.js will push the","margins to fit the axis title at given standoff distance."].join(" ")},editType:"ticks"},type:{valType:"enumerated",values:["-","linear","log","date","category","multicategory"],dflt:"-",editType:"calc",_noTemplating:!0,description:["Sets the axis type.","By default, plotly attempts to determined the axis type","by looking into the data of the traces that referenced","the axis in question."].join(" ")},autotypenumbers:{valType:"enumerated",values:["convert types","strict"],dflt:"convert types",editType:"calc",description:["Using *strict* a numeric string in trace data is not converted to a number.","Using *convert types* a numeric string in trace data may be","treated as a number during automatic axis `type` detection.","Defaults to layout.autotypenumbers."].join(" ")},autorange:{valType:"enumerated",values:[!0,!1,"reversed","min reversed","max reversed","min","max"],dflt:!0,editType:"axrange",impliedEdits:{"range[0]":void 0,"range[1]":void 0},description:["Determines whether or not the range of this axis is","computed in relation to the input data.","See `rangemode` for more info.","If `range` is provided and it has a value for both the","lower and upper bound, `autorange` is set to *false*.","Using *min* applies autorange only to set the minimum.","Using *max* applies autorange only to set the maximum.","Using *min reversed* applies autorange only to set the minimum on a reversed axis.","Using *max reversed* applies autorange only to set the maximum on a reversed axis.","Using *reversed* applies autorange on both ends and reverses the axis direction."].join(" ")},autorangeoptions:{minallowed:{valType:"any",editType:"plot",impliedEdits:{"range[0]":void 0,"range[1]":void 0},description:["Use this value exactly as autorange minimum."].join(" ")},maxallowed:{valType:"any",editType:"plot",impliedEdits:{"range[0]":void 0,"range[1]":void 0},description:["Use this value exactly as autorange maximum."].join(" ")},clipmin:{valType:"any",editType:"plot",impliedEdits:{"range[0]":void 0,"range[1]":void 0},description:["Clip autorange minimum if it goes beyond this value.","Has no effect when `autorangeoptions.minallowed` is provided."].join(" ")},clipmax:{valType:"any",editType:"plot",impliedEdits:{"range[0]":void 0,"range[1]":void 0},description:["Clip autorange maximum if it goes beyond this value.","Has no effect when `autorangeoptions.maxallowed` is provided."].join(" ")},include:{valType:"any",arrayOk:!0,editType:"plot",impliedEdits:{"range[0]":void 0,"range[1]":void 0},description:["Ensure this value is included in autorange."].join(" ")},editType:"plot"},rangemode:{valType:"enumerated",values:["normal","tozero","nonnegative"],dflt:"normal",editType:"plot",description:["If *normal*, the range is computed in relation to the extrema","of the input data.","If *tozero*`, the range extends to 0,","regardless of the input data","If *nonnegative*, the range is non-negative,","regardless of the input data.","Applies only to linear axes."].join(" ")},range:{valType:"info_array",items:[{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0},{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0}],editType:"axrange",impliedEdits:{autorange:!1},anim:!0,description:["Sets the range of this axis.","If the axis `type` is *log*, then you must take the log of your","desired range (e.g. to set the range from 1 to 100,","set the range from 0 to 2).","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears.","Leaving either or both elements `null` impacts the default `autorange`."].join(" ")},minallowed:{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1},description:["Determines the minimum range of this axis."].join(" ")},maxallowed:{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1},description:["Determines the maximum range of this axis."].join(" ")},fixedrange:{valType:"boolean",dflt:!1,editType:"calc",description:["Determines whether or not this axis is zoom-able.","If true, then zoom is disabled."].join(" ")},insiderange:{valType:"info_array",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot",description:["Could be used to set the desired inside range of this axis","(excluding the labels) when `ticklabelposition` of","the anchored axis has *inside*.","Not implemented for axes with `type` *log*.","This would be ignored when `range` is provided."].join(" ")},scaleanchor:{valType:"enumerated",values:[S.idRegex.x.toString(),S.idRegex.y.toString(),!1],editType:"plot",description:["If set to another axis id (e.g. `x2`, `y`), the range of this axis","changes together with the range of the corresponding axis","such that the scale of pixels per unit is in a constant ratio.","Both axes are still zoomable, but when you zoom one, the other will","zoom the same amount, keeping a fixed midpoint.","`constrain` and `constraintoward` determine how we enforce the constraint.","You can chain these, ie `yaxis: {scaleanchor: *x*}, xaxis2: {scaleanchor: *y*}`","but you can only link axes of the same `type`.","The linked axis can have the opposite letter (to constrain the aspect ratio)","or the same letter (to match scales across subplots).","Loops (`yaxis: {scaleanchor: *x*}, xaxis: {scaleanchor: *y*}` or longer) are redundant","and the last constraint encountered will be ignored to avoid possible","inconsistent constraints via `scaleratio`.","Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint","is currently forbidden.","Setting `false` allows to remove a default constraint (occasionally,","you may need to prevent a default `scaleanchor` constraint from",'being applied, eg. when having an image trace `yaxis: {scaleanchor: "x"}`',"is set automatically in order for pixels to be rendered as squares,","setting `yaxis: {scaleanchor: false}` allows to remove the constraint)."].join(" ")},scaleratio:{valType:"number",min:0,dflt:1,editType:"plot",description:["If this axis is linked to another by `scaleanchor`, this determines the pixel","to unit scale ratio. For example, if this value is 10, then every unit on","this axis spans 10 times the number of pixels as a unit on the linked axis.","Use this for example to create an elevation profile where the vertical scale","is exaggerated a fixed amount with respect to the horizontal."].join(" ")},constrain:{valType:"enumerated",values:["range","domain"],editType:"plot",description:["If this axis needs to be compressed (either due to its own `scaleanchor` and","`scaleratio` or those of the other axis), determines how that happens:","by increasing the *range*, or by decreasing the *domain*.","Default is *domain* for axes containing image traces, *range* otherwise."].join(" ")},constraintoward:{valType:"enumerated",values:["left","center","right","top","middle","bottom"],editType:"plot",description:["If this axis needs to be compressed (either due to its own `scaleanchor` and","`scaleratio` or those of the other axis), determines which direction we push","the originally specified plot area. Options are *left*, *center* (default),","and *right* for x axes, and *top*, *middle* (default), and *bottom* for y axes."].join(" ")},matches:{valType:"enumerated",values:[S.idRegex.x.toString(),S.idRegex.y.toString()],editType:"calc",description:["If set to another axis id (e.g. `x2`, `y`), the range of this axis","will match the range of the corresponding axis in data-coordinates space.","Moreover, matching axes share auto-range values, category lists and","histogram auto-bins.","Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint","is currently forbidden.","Moreover, note that matching axes must have the same `type`."].join(" ")},rangebreaks:h("rangebreak",{enabled:{valType:"boolean",dflt:!0,editType:"calc",description:["Determines whether this axis rangebreak is enabled or disabled.","Please note that `rangebreaks` only work for *date* axis type."].join(" ")},bounds:{valType:"info_array",items:[{valType:"any",editType:"calc"},{valType:"any",editType:"calc"}],editType:"calc",description:["Sets the lower and upper bounds of this axis rangebreak.","Can be used with `pattern`."].join(" ")},pattern:{valType:"enumerated",values:[C,l,""],editType:"calc",description:["Determines a pattern on the time line that generates breaks.","If *"+C+"* - days of the week in English e.g. 'Sunday' or `sun`","(matching is case-insensitive and considers only the first three characters),","as well as Sunday-based integers between 0 and 6.","If *"+l+"* - hour (24-hour clock) as decimal numbers between 0 and 24.","for more info.","Examples:","- { pattern: '"+C+"', bounds: [6, 1] }"," or simply { bounds: ['sat', 'mon'] }","  breaks from Saturday to Monday (i.e. skips the weekends).","- { pattern: '"+l+"', bounds: [17, 8] }","  breaks from 5pm to 8am (i.e. skips non-work hours)."].join(" ")},values:{valType:"info_array",freeLength:!0,editType:"calc",items:{valType:"any",editType:"calc"},description:["Sets the coordinate values corresponding to the rangebreaks.","An alternative to `bounds`.","Use `dvalue` to set the size of the values along the axis."].join(" ")},dvalue:{valType:"number",editType:"calc",min:0,dflt:A,description:["Sets the size of each `values` item.","The default is one day in milliseconds."].join(" ")},editType:"calc"}),tickmode:m,nticks:D(),tick0:f,dtick:p,ticklabelstep:{valType:"integer",min:1,dflt:1,editType:"ticks",description:["Sets the spacing between tick labels as compared to the spacing between ticks.","A value of 1 (default) means each tick gets a label.","A value of 2 means shows every 2nd label.","A larger value n means only every nth tick is labeled.","`tick0` determines which labels are shown.","Not implemented for axes with `type` *log* or *multicategory*, or when `tickmode` is *array*."].join(" ")},tickvals:c,ticktext:{valType:"data_array",editType:"ticks",description:["Sets the text displayed at the ticks position via `tickvals`.","Only has an effect if `tickmode` is set to *array*.","Used with `tickvals`."].join(" ")},ticks:d,tickson:{valType:"enumerated",values:["labels","boundaries"],dflt:"labels",editType:"ticks",description:["Determines where ticks and grid lines are drawn with respect to their","corresponding tick labels.","Only has an effect for axes of `type` *category* or *multicategory*.","When set to *boundaries*, ticks and grid lines are drawn half a category","to the left/bottom of labels."].join(" ")},ticklabelmode:{valType:"enumerated",values:["instant","period"],dflt:"instant",editType:"ticks",description:["Determines where tick labels are drawn with respect to their","corresponding ticks and grid lines.","Only has an effect for axes of `type` *date*","When set to *period*, tick labels are drawn in the middle of the period","between ticks."].join(" ")},ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside left","inside left","outside right","inside right","outside bottom","inside bottom"],dflt:"outside",editType:"calc",description:["Determines where tick labels are drawn with respect to the axis","Please note that","top or bottom has no effect on x axes or when `ticklabelmode` is set to *period*.","Similarly","left or right has no effect on y axes or when `ticklabelmode` is set to *period*.","Has no effect on *multicategory* axes or when `tickson` is set to *boundaries*.","When used on axes linked by `matches` or `scaleanchor`,","no extra padding for inside labels would be added by autorange,","so that the scales could match."].join(" ")},ticklabeloverflow:{valType:"enumerated",values:["allow","hide past div","hide past domain"],editType:"calc",description:["Determines how we handle tick labels that would overflow either the graph div or the domain of the axis.","The default value for inside tick labels is *hide past domain*.","Otherwise on *category* and *multicategory* axes the default is *allow*.","In other cases the default is *hide past div*."].join(" ")},mirror:{valType:"enumerated",values:[!0,"ticks",!1,"all","allticks"],dflt:!1,editType:"ticks+layoutstyle",description:["Determines if the axis lines or/and ticks are mirrored to","the opposite side of the plotting area.","If *true*, the axis lines are mirrored.","If *ticks*, the axis lines and ticks are mirrored.","If *false*, mirroring is disable.","If *all*, axis lines are mirrored on all shared-axes subplots.","If *allticks*, axis lines and ticks are mirrored","on all shared-axes subplots."].join(" ")},ticklen:g(),tickwidth:w(),tickcolor:x,showticklabels:{valType:"boolean",dflt:!0,editType:"ticks",description:"Determines whether or not the tick labels are drawn."},labelalias:{valType:"any",dflt:!1,editType:"ticks",description:["Replacement text for specific tick or hover labels.","For example using {US: 'USA', CA: 'Canada'} changes US to USA","and CA to Canada. The labels we would have shown must match","the keys exactly, after adding any tickprefix or ticksuffix.","For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash.","That means you need to use \u22121 instead of -1.","labelalias can be used with any axis type, and both keys (if needed)","and values (if desired) can include html-like tags or MathJax."].join(" ")},automargin:{valType:"flaglist",flags:["height","width","left","right","top","bottom"],extras:[!0,!1],dflt:!1,editType:"ticks",description:["Determines whether long tick labels automatically grow the figure","margins."].join(" ")},showspikes:{valType:"boolean",dflt:!1,editType:"modebar",description:["Determines whether or not spikes (aka droplines) are drawn for this axis.","Note: This only takes affect when hovermode = closest"].join(" ")},spikecolor:{valType:"color",dflt:null,editType:"none",description:"Sets the spike color. If undefined, will use the series color"},spikethickness:{valType:"number",dflt:3,editType:"none",description:"Sets the width (in px) of the zero line."},spikedash:s({},r,{dflt:"dash",editType:"none"}),spikemode:{valType:"flaglist",flags:["toaxis","across","marker"],dflt:"toaxis",editType:"none",description:["Determines the drawing mode for the spike line","If *toaxis*, the line is drawn from the data point to the axis the ","series is plotted on.","If *across*, the line is drawn across the entire plot area, and","supercedes *toaxis*.","If *marker*, then a marker dot is drawn on the axis the series is","plotted on"].join(" ")},spikesnap:{valType:"enumerated",values:["data","cursor","hovered data"],dflt:"hovered data",editType:"none",description:"Determines whether spikelines are stuck to the cursor or to the closest datapoints."},tickfont:n({editType:"ticks",description:"Sets the tick font."}),tickangle:{valType:"angle",dflt:"auto",editType:"ticks",description:["Sets the angle of the tick labels with respect to the horizontal.","For example, a `tickangle` of -90 draws the tick labels","vertically."].join(" ")},autotickangles:{valType:"info_array",freeLength:!0,items:{valType:"angle"},dflt:[0,30,90],editType:"ticks",description:["When `tickangle` is set to *auto*, it will be set to the first","angle in this array that is large enough to prevent label","overlap."].join(" ")},tickprefix:{valType:"string",dflt:"",editType:"ticks",description:"Sets a tick label prefix."},showtickprefix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"ticks",description:["If *all*, all tick labels are displayed with a prefix.","If *first*, only the first tick is displayed with a prefix.","If *last*, only the last tick is displayed with a suffix.","If *none*, tick prefixes are hidden."].join(" ")},ticksuffix:{valType:"string",dflt:"",editType:"ticks",description:"Sets a tick label suffix."},showticksuffix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"ticks",description:"Same as `showtickprefix` but for tick suffixes."},showexponent:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"ticks",description:["If *all*, all exponents are shown besides their significands.","If *first*, only the exponent of the first tick is shown.","If *last*, only the exponent of the last tick is shown.","If *none*, no exponents appear."].join(" ")},exponentformat:{valType:"enumerated",values:["none","e","E","power","SI","B"],dflt:"B",editType:"ticks",description:["Determines a formatting rule for the tick exponents.","For example, consider the number 1,000,000,000.","If *none*, it appears as 1,000,000,000.","If *e*, 1e+9.","If *E*, 1E+9.","If *power*, 1x10^9 (with 9 in a super script).","If *SI*, 1G.","If *B*, 1B."].join(" ")},minexponent:{valType:"number",dflt:3,min:0,editType:"ticks",description:["Hide SI prefix for 10^n if |n| is below this number.","This only has an effect when `tickformat` is *SI* or *B*."].join(" ")},separatethousands:{valType:"boolean",dflt:!1,editType:"ticks",description:['If "true", even 4-digit integers are separated'].join(" ")},tickformat:{valType:"string",dflt:"",editType:"ticks",description:u("tick label")},tickformatstops:h("tickformatstop",{enabled:{valType:"boolean",dflt:!0,editType:"ticks",description:["Determines whether or not this stop is used.","If `false`, this stop is ignored even within its `dtickrange`."].join(" ")},dtickrange:{valType:"info_array",items:[{valType:"any",editType:"ticks"},{valType:"any",editType:"ticks"}],editType:"ticks",description:["range [*min*, *max*], where *min*, *max* - dtick values","which describe some zoom level, it is possible to omit *min*","or *max* value by passing *null*"].join(" ")},value:{valType:"string",dflt:"",editType:"ticks",description:["string - dtickformat for described zoom level, the same as *tickformat*"].join(" ")},editType:"ticks"}),hoverformat:{valType:"string",dflt:"",editType:"none",description:u("hover text")},showline:{valType:"boolean",dflt:!1,editType:"ticks+layoutstyle",description:["Determines whether or not a line bounding this axis is drawn."].join(" ")},linecolor:{valType:"color",dflt:o.defaultLine,editType:"layoutstyle",description:"Sets the axis line color."},linewidth:{valType:"number",min:0,dflt:1,editType:"ticks+layoutstyle",description:"Sets the width (in px) of the axis line."},showgrid:K,gridcolor:T,gridwidth:O(),griddash:F,zeroline:{valType:"boolean",editType:"ticks",description:["Determines whether or not a line is drawn at along the 0 value","of this axis.","If *true*, the zero line is drawn on top of the grid lines."].join(" ")},zerolinecolor:{valType:"color",dflt:o.defaultLine,editType:"ticks",description:"Sets the line color of the zero line."},zerolinewidth:{valType:"number",dflt:1,editType:"ticks",description:"Sets the width (in px) of the zero line."},showdividers:{valType:"boolean",dflt:!0,editType:"ticks",description:["Determines whether or not a dividers are drawn","between the category levels of this axis.","Only has an effect on *multicategory* axes."].join(" ")},dividercolor:{valType:"color",dflt:o.defaultLine,editType:"ticks",description:["Sets the color of the dividers","Only has an effect on *multicategory* axes."].join(" ")},dividerwidth:{valType:"number",dflt:1,editType:"ticks",description:["Sets the width (in px) of the dividers","Only has an effect on *multicategory* axes."].join(" ")},anchor:{valType:"enumerated",values:["free",S.idRegex.x.toString(),S.idRegex.y.toString()],editType:"plot",description:["If set to an opposite-letter axis id (e.g. `x2`, `y`), this axis is bound to","the corresponding opposite-letter axis.","If set to *free*, this axis' position is determined by `position`."].join(" ")},side:{valType:"enumerated",values:["top","bottom","left","right"],editType:"plot",description:["Determines whether a x (y) axis is positioned","at the *bottom* (*left*) or *top* (*right*)","of the plotting area."].join(" ")},overlaying:{valType:"enumerated",values:["free",S.idRegex.x.toString(),S.idRegex.y.toString()],editType:"plot",description:["If set a same-letter axis id, this axis is overlaid on top of","the corresponding same-letter axis, with traces and axes visible for both","axes.","If *false*, this axis does not overlay any same-letter axes.","In this case, for axes with overlapping domains only the highest-numbered","axis will be visible."].join(" ")},minor:{tickmode:b,nticks:D("minor"),tick0:f,dtick:p,tickvals:c,ticks:d,ticklen:g("minor"),tickwidth:w("minor"),tickcolor:x,gridcolor:T,gridwidth:O("minor"),griddash:F,showgrid:K,editType:"ticks"},layer:{valType:"enumerated",values:["above traces","below traces"],dflt:"above traces",editType:"plot",description:["Sets the layer on which this axis is displayed.","If *above traces*, this axis is displayed above all the subplot's traces","If *below traces*, this axis is displayed below all the subplot's traces,","but above the grid lines.","Useful when used together with scatter-like traces with `cliponaxis`","set to *false* to show markers and/or text nodes above this axis."].join(" ")},domain:{valType:"info_array",items:[{valType:"number",min:0,max:1,editType:"plot"},{valType:"number",min:0,max:1,editType:"plot"}],dflt:[0,1],editType:"plot",description:["Sets the domain of this axis (in plot fraction)."].join(" ")},position:{valType:"number",min:0,max:1,dflt:0,editType:"plot",description:["Sets the position of this axis in the plotting space","(in normalized coordinates).","Only has an effect if `anchor` is set to *free*."].join(" ")},autoshift:{valType:"boolean",dflt:!1,editType:"plot",description:["Automatically reposition the axis to avoid","overlap with other axes with the same `overlaying` value.","This repositioning will account for any `shift` amount applied to other","axes on the same side with `autoshift` is set to true.","Only has an effect if `anchor` is set to *free*."].join(" ")},shift:{valType:"number",editType:"plot",description:["Moves the axis a given number of pixels from where it would have been otherwise.","Accepts both positive and negative values, which will shift the axis either right","or left, respectively.","If `autoshift` is set to true, then this defaults to a padding of -3 if `side` is set to *left*.","and defaults to +3 if `side` is set to *right*. Defaults to 0 if `autoshift` is set to false.","Only has an effect if `anchor` is set to *free*."].join(" ")},categoryorder:{valType:"enumerated",values:["trace","category ascending","category descending","array","total ascending","total descending","min ascending","min descending","max ascending","max descending","sum ascending","sum descending","mean ascending","mean descending","median ascending","median descending"],dflt:"trace",editType:"calc",description:["Specifies the ordering logic for the case of categorical variables.","By default, plotly uses *trace*, which specifies the order that is present in the data supplied.","Set `categoryorder` to *category ascending* or *category descending* if order should be determined by","the alphanumerical order of the category names.","Set `categoryorder` to *array* to derive the ordering from the attribute `categoryarray`. If a category","is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to","the *trace* mode. The unspecified categories will follow the categories in `categoryarray`.","Set `categoryorder` to *total ascending* or *total descending* if order should be determined by the","numerical order of the values.","Similarly, the order can be determined by the min, max, sum, mean or median of all the values."].join(" ")},categoryarray:{valType:"data_array",editType:"calc",description:["Sets the order in which categories on this axis appear.","Only has an effect if `categoryorder` is set to *array*.","Used with `categoryorder`."].join(" ")},uirevision:{valType:"any",editType:"none",description:["Controls persistence of user-driven changes in axis `range`,","`autorange`, and `title` if in `editable: true` configuration.","Defaults to `layout.uirevision`."].join(" ")},editType:"calc",_deprecated:{autotick:{valType:"boolean",editType:"ticks",description:["Obsolete.","Set `tickmode` to *auto* for old `autotick` *true* behavior.","Set `tickmode` to *linear* for `autotick` *false*."].join(" ")},title:{valType:"string",editType:"ticks",description:["Value of `title` is no longer a simple *string* but a set of sub-attributes.","To set the axis' title, please use `title.text` now."].join(" ")},titlefont:n({editType:"ticks",description:["Former `titlefont` is now the sub-attribute `font` of `title`.","To customize title font properties, please use `title.font` now."].join(" ")})}}},"5R+gcorB":(I,v,t)=>{"use strict";var n=t("s+/YokfA");I.exports=function(r,s,h,u,A){A||(A={});var S=A.tickSuffixDflt,l=n(r),C=h("tickprefix");C&&h("showtickprefix",l);var b=h("ticksuffix",S);b&&h("showticksuffix",l)}},"s+/YokfA":I=>{"use strict";I.exports=function(t){var n=["showexponent","showtickprefix","showticksuffix"],o=n.filter(function(s){return t[s]!==void 0}),r=function(s){return t[s]===t[o[0]]};if(o.every(r)||o.length===1)return t[o[0]]}},"9KsbdorZ":(I,v,t)=>{"use strict";var n=t("5/7eUVNk"),o=t("dDrLnjiw").contrast,r=t("7a73G6xA"),s=t("s+/YokfA"),h=t("OYHyEGiK");I.exports=function(S,l,C,b,m){m||(m={});var D=C("labelalias");n.isPlainObject(D)||delete l.labelalias;var f=s(S),p=C("showticklabels");if(p){var c=m.font||{},d=l.color,g=l.ticklabelposition||"",w=g.indexOf("inside")!==-1?o(m.bgColor):d&&d!==r.color.dflt?d:c.color;if(n.coerceFont(C,"tickfont",{family:c.family,size:c.size,color:w}),!m.noTicklabelstep&&b!=="multicategory"&&b!=="log"&&C("ticklabelstep"),!m.noAng){var x=C("tickangle");!m.noAutotickangles&&x==="auto"&&C("autotickangles")}if(b!=="category"){var T=C("tickformat");h(S,l,{name:"tickformatstops",inclusionAttr:"enabled",handleItemDefaults:u}),l.tickformatstops.length||delete l.tickformatstops,!m.noExp&&!T&&b!=="date"&&(C("showexponent",f),C("exponentformat"),C("minexponent"),C("separatethousands"))}}};function u(A,S){function l(b,m){return n.coerce(A,S,r.tickformatstops,b,m)}var C=l("enabled");C&&(l("dtickrange"),l("value"))}},b7wv4AKD:(I,v,t)=>{"use strict";var n=t("5/7eUVNk"),o=t("7a73G6xA");I.exports=function(s,h,u,A){var S=A.isMinor,l=S?s.minor||{}:s,C=S?h.minor:h,b=S?o.minor:o,m=S?"minor.":"",D=n.coerce2(l,C,b,"ticklen",S?(h.ticklen||5)*.6:void 0),f=n.coerce2(l,C,b,"tickwidth",S?h.tickwidth||1:void 0),p=n.coerce2(l,C,b,"tickcolor",(S?h.tickcolor:void 0)||C.color),c=u(m+"ticks",!S&&A.outerTicks||D||f||p?"outside":"");c||(delete C.ticklen,delete C.tickwidth,delete C.tickcolor)}},y6uxiAkU:(I,v,t)=>{"use strict";var n=t("A0hsR495"),o=t("5/7eUVNk").isArrayOrTypedArray,r=t("0BDZSqpM").isTypedArraySpec,s=t("0BDZSqpM").decodeTypedArraySpec;I.exports=function(u,A,S,l,C){C||(C={});var b=C.isMinor,m=b?u.minor||{}:u,D=b?A.minor:A,f=b?"minor.":"";function p(F){var K=m[F];return r(K)&&(K=s(K)),K!==void 0?K:(D._template||{})[F]}var c=p("tick0"),d=p("dtick"),g=p("tickvals"),w=o(g)?"array":d?"linear":"auto",x=S(f+"tickmode",w);if(x==="auto"||x==="sync")S(f+"nticks");else if(x==="linear"){var T=D.dtick=n.dtick(d,l);D.tick0=n.tick0(c,l,A.calendar,T)}else if(l!=="multicategory"){var O=S(f+"tickvals");O===void 0?D.tickmode="auto":b||S("ticktext")}}},iNVXrAXN:I=>{"use strict";I.exports=function(v){var t=v.editType,n=v.colorEditType;n===void 0&&(n=t);var o={family:{valType:"string",noBlank:!0,strict:!0,editType:t,description:["HTML font family - the typeface that will be applied by the web browser.","The web browser will only be able to apply a font if it is available on the system","which it operates. Provide multiple font families, separated by commas, to indicate","the preference in which to apply fonts if they aren't available on the system.","The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server,","where only a select number of","fonts are installed and supported.","These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*,","*Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*,","*PT Sans Narrow*, *Raleway*, *Times New Roman*."].join(" ")},size:{valType:"number",min:1,editType:t},color:{valType:"color",editType:n},editType:t,description:""+(v.description||"")};return v.autoSize&&(o.size.dflt="auto"),v.autoColor&&(o.color.dflt="auto"),v.arrayOk&&(o.family.arrayOk=!0,o.size.arrayOk=!0,o.color.arrayOk=!0),o}},"1nRCi8aA":(I,v,t)=>{"use strict";var n=t("iNVXrAXN"),o=t("jdWgOtRY"),r=t("V1/HMom/"),s=t("yo7D+ph3"),h=t("KLiTPZCa"),u=t("orkBWmko"),A=t("TfssAhrc").extendFlat,S=n({editType:"calc",description:["Sets the global font.","Note that fonts used in traces and other","layout components inherit from the global font."].join(" ")});S.family.dflt='"Open Sans", verdana, arial, sans-serif',S.size.dflt=12,S.color.dflt=r.defaultLine,I.exports={font:S,title:{text:{valType:"string",editType:"layoutstyle",description:["Sets the plot's title.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:n({editType:"layoutstyle",description:["Sets the title font.","Note that the title's font used to be customized","by the now deprecated `titlefont` attribute."].join(" ")}),xref:{valType:"enumerated",dflt:"container",values:["container","paper"],editType:"layoutstyle",description:["Sets the container `x` refers to.","*container* spans the entire `width` of the plot.","*paper* refers to the width of the plotting area only."].join(" ")},yref:{valType:"enumerated",dflt:"container",values:["container","paper"],editType:"layoutstyle",description:["Sets the container `y` refers to.","*container* spans the entire `height` of the plot.","*paper* refers to the height of the plotting area only."].join(" ")},x:{valType:"number",min:0,max:1,dflt:.5,editType:"layoutstyle",description:["Sets the x position with respect to `xref` in normalized","coordinates from *0* (left) to *1* (right)."].join(" ")},y:{valType:"number",min:0,max:1,dflt:"auto",editType:"layoutstyle",description:["Sets the y position with respect to `yref` in normalized","coordinates from *0* (bottom) to *1* (top).","*auto* places the baseline of the title onto the","vertical center of the top margin."].join(" ")},xanchor:{valType:"enumerated",dflt:"auto",values:["auto","left","center","right"],editType:"layoutstyle",description:["Sets the title's horizontal alignment with respect to its x position.","*left* means that the title starts at x,","*right* means that the title ends at x","and *center* means that the title's center is at x.","*auto* divides `xref` by three and calculates the `xanchor`","value automatically based on the value of `x`."].join(" ")},yanchor:{valType:"enumerated",dflt:"auto",values:["auto","top","middle","bottom"],editType:"layoutstyle",description:["Sets the title's vertical alignment with respect to its y position.","*top* means that the title's cap line is at y,","*bottom* means that the title's baseline is at y","and *middle* means that the title's midline is at y.","*auto* divides `yref` by three and calculates the `yanchor`","value automatically based on the value of `y`."].join(" ")},pad:A(u({editType:"layoutstyle"}),{description:["Sets the padding of the title.","Each padding value only applies when the corresponding","`xanchor`/`yanchor` value is set accordingly. E.g. for left","padding to take effect, `xanchor` must be set to *left*.","The same rule applies if `xanchor`/`yanchor` is determined automatically.","Padding is muted if the respective anchor value is *middle*/*center*."].join(" ")}),automargin:{valType:"boolean",dflt:!1,editType:"plot",description:["Determines whether the title can automatically push the figure margins.","If `yref='paper'` then the margin will expand to ensure that the title doesn\u2019t","overlap with the edges of the container. If `yref='container'` then the margins","will ensure that the title doesn\u2019t overlap with the plot area, tick labels,","and axis titles. If `automargin=true` and the margins need to be expanded,","then y will be set to a default 1 and yanchor will be set to an appropriate","default to ensure that minimal margin space is needed. Note that when `yref='paper'`,","only 1 or 0 are allowed y values. Invalid values will be reset to the default 1."].join(" ")},editType:"layoutstyle"},uniformtext:{mode:{valType:"enumerated",values:[!1,"hide","show"],dflt:!1,editType:"plot",description:["Determines how the font size for various text","elements are uniformed between each trace type.","If the computed text sizes were smaller than","the minimum size defined by `uniformtext.minsize`","using *hide* option hides the text; and","using *show* option shows the text without further downscaling.","Please note that if the size defined by `minsize` is greater than","the font size defined by trace, then the `minsize` is used."].join(" ")},minsize:{valType:"number",min:0,dflt:0,editType:"plot",description:["Sets the minimum text size between traces of the same type."].join(" ")},editType:"plot"},autosize:{valType:"boolean",dflt:!1,editType:"none",description:["Determines whether or not a layout width or height","that has been left undefined by the user","is initialized on each relayout.","Note that, regardless of this attribute,","an undefined layout width or height","is always initialized on the first call to plot."].join(" ")},width:{valType:"number",min:10,dflt:700,editType:"plot",description:["Sets the plot's width (in px)."].join(" ")},height:{valType:"number",min:10,dflt:450,editType:"plot",description:["Sets the plot's height (in px)."].join(" ")},minreducedwidth:{valType:"number",min:2,dflt:64,editType:"plot",description:"Minimum width of the plot with margin.automargin applied (in px)"},minreducedheight:{valType:"number",min:2,dflt:64,editType:"plot",description:"Minimum height of the plot with margin.automargin applied (in px)"},margin:{l:{valType:"number",min:0,dflt:80,editType:"plot",description:"Sets the left margin (in px)."},r:{valType:"number",min:0,dflt:80,editType:"plot",description:"Sets the right margin (in px)."},t:{valType:"number",min:0,dflt:100,editType:"plot",description:"Sets the top margin (in px)."},b:{valType:"number",min:0,dflt:80,editType:"plot",description:"Sets the bottom margin (in px)."},pad:{valType:"number",min:0,dflt:0,editType:"plot",description:["Sets the amount of padding (in px)","between the plotting area and the axis lines"].join(" ")},autoexpand:{valType:"boolean",dflt:!0,editType:"plot",description:["Turns on/off margin expansion computations.","Legends, colorbars, updatemenus, sliders, axis rangeselector and rangeslider","are allowed to push the margins by defaults."].join(" ")},editType:"plot"},computed:{valType:"any",editType:"none",description:["Placeholder for exporting automargin-impacting values namely","`margin.t`, `margin.b`, `margin.l` and `margin.r` in *full-json* mode."].join(" ")},paper_bgcolor:{valType:"color",dflt:r.background,editType:"plot",description:"Sets the background color of the paper where the graph is drawn."},plot_bgcolor:{valType:"color",dflt:r.background,editType:"layoutstyle",description:["Sets the background color of the plotting area in-between x and y axes."].join(" ")},autotypenumbers:{valType:"enumerated",values:["convert types","strict"],dflt:"convert types",editType:"calc",description:["Using *strict* a numeric string in trace data is not converted to a number.","Using *convert types* a numeric string in trace data may be","treated as a number during automatic axis `type` detection.","This is the default value; however it could be overridden for individual axes."].join(" ")},separators:{valType:"string",editType:"plot",description:["Sets the decimal and thousand separators.","For example, *. * puts a '.' before decimals and a space","between thousands. In English locales, dflt is *.,* but","other locales may alter this default."].join(" ")},hidesources:{valType:"boolean",dflt:!1,editType:"plot",description:["Determines whether or not a text link citing the data source is","placed at the bottom-right cored of the figure.","Has only an effect only on graphs that have been generated via","forked graphs from the Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise)."].join(" ")},showlegend:{valType:"boolean",editType:"legend",description:["Determines whether or not a legend is drawn.","Default is `true` if there is a trace to show and any of these:","a) Two or more traces would by default be shown in the legend.","b) One pie trace is shown in the legend.","c) One trace is explicitly given with `showlegend: true`."].join(" ")},colorway:{valType:"colorlist",dflt:r.defaults,editType:"calc",description:"Sets the default trace colors."},datarevision:{valType:"any",editType:"calc",description:["If provided, a changed value tells `Plotly.react` that","one or more data arrays has changed. This way you can modify","arrays in-place rather than making a complete new copy for an","incremental change.","If NOT provided, `Plotly.react` assumes that data arrays are","being treated as immutable, thus any data array with a","different identity from its predecessor contains new data."].join(" ")},uirevision:{valType:"any",editType:"none",description:["Used to allow user interactions with the plot to persist after","`Plotly.react` calls that are unaware of these interactions.","If `uirevision` is omitted, or if it is given and it changed from","the previous `Plotly.react` call, the exact new figure is used.","If `uirevision` is truthy and did NOT change, any attribute","that has been affected by user interactions and did not receive a","different value in the new figure will keep the interaction value.","`layout.uirevision` attribute serves as the default for","`uirevision` attributes in various sub-containers. For finer","control you can set these sub-attributes directly. For example,","if your app separately controls the data on the x and y axes you","might set `xaxis.uirevision=*time*` and `yaxis.uirevision=*cost*`.","Then if only the y data is changed, you can update","`yaxis.uirevision=*quantity*` and the y axis range will reset but","the x axis range will retain any user-driven zoom."].join(" ")},editrevision:{valType:"any",editType:"none",description:["Controls persistence of user-driven changes in `editable: true`","configuration, other than trace names and axis titles.","Defaults to `layout.uirevision`."].join(" ")},selectionrevision:{valType:"any",editType:"none",description:["Controls persistence of user-driven changes in selected points","from all traces."].join(" ")},template:{valType:"any",editType:"calc",description:["Default attributes to be applied to the plot. Templates can be","created from existing plots using `Plotly.makeTemplate`, or","created manually. They should be objects with format:","`{layout: layoutTemplate, data: {[type]: [traceTemplate, ...]}, ...}`","`layoutTemplate` and `traceTemplate` are objects matching the","attribute structure of `layout` and a data trace. ","Trace templates are applied cyclically to traces of each type.","Container arrays (eg `annotations`) have special handling:","An object ending in `defaults` (eg `annotationdefaults`) is applied","to each array item. But if an item has a `templateitemname` key","we look in the template array for an item with matching `name` and","apply that instead. If no matching `name` is found we mark the item","invisible. Any named template item not referenced is appended to","the end of the array, so you can use this for a watermark annotation","or a logo image, for example. To omit one of these items on the plot,","make an item with matching `templateitemname` and `visible: false`."].join(" ")},newshape:s.newshape,activeshape:s.activeshape,newselection:h.newselection,activeselection:h.activeselection,meta:{valType:"any",arrayOk:!0,editType:"plot",description:["Assigns extra meta information that can be used in various `text` attributes.","Attributes such as the graph, axis and colorbar `title.text`, annotation `text`","`trace.name` in legend items, `rangeselector`, `updatemenus` and `sliders` `label` text","all support `meta`. One can access `meta` fields using template strings:","`%{meta[i]}` where `i` is the index of the `meta`","item in question.","`meta` can also be an object for example `{key: value}` which can be accessed","%{meta[key]}."].join(" ")},transition:A({},o.transition,{description:["Sets transition options used during Plotly.react updates."].join(" "),editType:"none"}),_deprecated:{title:{valType:"string",editType:"layoutstyle",description:["Value of `title` is no longer a simple *string* but a set of sub-attributes.","To set the contents of the title, please use `title.text` now."].join(" ")},titlefont:n({editType:"layoutstyle",description:["Former `titlefont` is now the sub-attribute `font` of `title`.","To customize title font properties, please use `title.font` now."].join(" ")})}}},orkBWmko:I=>{"use strict";I.exports=function(v){var t=v.editType;return{t:{valType:"number",dflt:0,editType:t,description:"The amount of padding (in px) along the top of the component."},r:{valType:"number",dflt:0,editType:t,description:"The amount of padding (in px) on the right side of the component."},b:{valType:"number",dflt:0,editType:t,description:"The amount of padding (in px) along the bottom of the component."},l:{valType:"number",dflt:0,editType:t,description:"The amount of padding (in px) on the left side of the component."},editType:t}}},QshEd6Ts:(I,v,t)=>{"use strict";var n,o=t("SL3i/G8s"),r=o.FORMAT_LINK,s=o.DATE_FORMAT_LINK;function h(S){var l=S&&S.supportOther;return["Variables are inserted using %{variable},",'for example "y: %{y}"'+(l?" as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When showing info for several points, *xother* will be added to those with different x positions from the first point. An underscore before or after *(x|y)other* will add a space on that side, only when this field is shown.":"."),`Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{y:$.2f}".`,r,"for details on the formatting syntax.",`Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}".`,s,"for details on the date formatting syntax."].join(" ")}function u(){return["Variables are inserted using %{variable},",'for example "x0: %{x0}".',`Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{x0:$.2f}". See`,r,"for details on the formatting syntax.",`Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example "Day: %{x0|%m %b %Y}". See`,s,"for details on the date formatting syntax.","A single multiplication or division operation may be applied to numeric variables, and combined with",'d3 number formatting, for example "Length in cm: %{x0*2.54}", "%{slope*60:.1f} meters per second."',"For log axes, variable values are given in log units.","For date axes, x/y coordinate variables and center variables use datetimes, while all other variable values use values in ms."].join(" ")}function A(S){var l=S.description?" "+S.description:"",C=S.keys||[];if(C.length>0){for(var b=[],m=0;m` is displayed in the secondary box, for example "{fullData.name}".',"To hide the secondary box completely, use an empty tag ``."].join(" ")};return S.arrayOk!==!1&&(b.arrayOk=!0),b},n=function(S,l){S=S||{},l=l||{};var C=A(l),b={valType:"string",dflt:"",editType:S.editType||"calc",description:["Template string used for rendering the information text that appear on points.","Note that this will override `textinfo`.",h(),"Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.",C].join(" ")};return S.arrayOk!==!1&&(b.arrayOk=!0),b},v.LF=function(S,l){S=S||{},l=l||{};var C=S.newshape?"new ":"",b=A(l),m={valType:"string",dflt:"",editType:S.editType||"arraydraw",description:["Template string used for rendering the "+C+"shape's label.","Note that this will override `text`.",u(),b].join(" ")};return m}},"Bm/lNwZF":(I,v,t)=>{"use strict";var n=t("/sRs2fqg"),o=t("naY+V7tj"),r=t("+mXUIs+M"),s=t("rBVYdNku"),h=t("/xcJVK9I").addStyleRule,u=t("TfssAhrc"),A=t("lERw8KBg"),S=t("1nRCi8aA"),l=u.extendFlat,C=u.extendDeepAll;v.modules={},v.allCategories={},v.allTypes=[],v.subplotsRegistry={},v.transformsRegistry={},v.componentsRegistry={},v.layoutArrayContainers=[],v.layoutArrayRegexes=[],v.traceLayoutAttributes={},v.localeRegistry={},v.apiMethodRegistry={},v.collectableSubplotTypes=null,v.register=function(O){if(v.collectableSubplotTypes=null,O)O&&!Array.isArray(O)&&(O=[O]);else throw new Error("No argument passed to Plotly.register.");for(var F=0;F{"use strict";var n=t("0ixxqcOw");function o(){}function r(){}r.resetWarningCache=o,I.exports=function(){function s(A,S,l,C,b,m){if(m!==n){var D=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 D.name="Invariant Violation",D}}s.isRequired=s;function h(){return s}var u={array:s,bigint:s,bool:s,func:s,number:s,object:s,string:s,symbol:s,any:s,arrayOf:h,element:s,elementType:s,instanceOf:h,node:s,objectOf:h,oneOf:h,oneOfType:h,shape:h,exact:h,checkPropTypes:r,resetWarningCache:o};return u.PropTypes=u,u}},"KfF0gQb+":(I,v,t)=>{if(0)var n,o;else I.exports=t("FYc/Z/+c")()},"0ixxqcOw":I=>{"use strict";var v="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";I.exports=v},xG4tHsxw:I=>{"use strict";var v=String.prototype.replace,t=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};I.exports={default:n.RFC3986,formatters:{RFC1738:function(o){return v.call(o,t,"+")},RFC3986:function(o){return String(o)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986}},"bcEkMz+H":(I,v,t)=>{"use strict";var n=t("ecCmsrqV"),o=t("b/JBQA0I"),r=t("xG4tHsxw");I.exports={formats:r,parse:o,stringify:n}},"b/JBQA0I":(I,v,t)=>{"use strict";var n=t("IpjLdSCX"),o=Object.prototype.hasOwnProperty,r=Array.isArray,s={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!0,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},h=function(D){return D.replace(/&#(\d+);/g,function(f,p){return String.fromCharCode(parseInt(p,10))})},u=function(D,f){return D&&typeof D=="string"&&f.comma&&D.indexOf(",")>-1?D.split(","):D},A="utf8=%26%2310003%3B",S="utf8=%E2%9C%93",l=function(f,p){var c={__proto__:null},d=p.ignoreQueryPrefix?f.replace(/^\?/,""):f,g=p.parameterLimit===1/0?void 0:p.parameterLimit,w=d.split(p.delimiter,g),x=-1,T,O=p.charset;if(p.charsetSentinel)for(T=0;T-1&&(pe=r(pe)?[pe]:pe);var ie=o.call(c,he);ie&&p.duplicates==="combine"?c[he]=n.combine(c[he],pe):(!ie||p.duplicates==="last")&&(c[he]=pe)}return c},C=function(D,f,p,c){for(var d=c?f:u(f,p),g=D.length-1;g>=0;--g){var w,x=D[g];if(x==="[]"&&p.parseArrays)w=p.allowEmptyArrays&&d===""?[]:[].concat(d);else{w=p.plainObjects?Object.create(null):{};var T=x.charAt(0)==="["&&x.charAt(x.length-1)==="]"?x.slice(1,-1):x,O=p.decodeDotInKeys?T.replace(/%2E/g,"."):T,F=parseInt(O,10);!p.parseArrays&&O===""?w={0:d}:!isNaN(F)&&x!==O&&String(F)===O&&F>=0&&p.parseArrays&&F<=p.arrayLimit?(w=[],w[F]=d):O!=="__proto__"&&(w[O]=d)}d=w}return d},b=function(f,p,c,d){if(f){var g=c.allowDots?f.replace(/\.([^.[]+)/g,"[$1]"):f,w=/(\[[^[\]]*])/,x=/(\[[^[\]]*])/g,T=c.depth>0&&w.exec(g),O=T?g.slice(0,T.index):g,F=[];if(O){if(!c.plainObjects&&o.call(Object.prototype,O)&&!c.allowPrototypes)return;F.push(O)}for(var K=0;c.depth>0&&(T=x.exec(g))!==null&&K"u"?s.charset:f.charset,c=typeof f.duplicates>"u"?s.duplicates:f.duplicates;if(c!=="combine"&&c!=="first"&&c!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var d=typeof f.allowDots>"u"?f.decodeDotInKeys===!0?!0:s.allowDots:!!f.allowDots;return{allowDots:d,allowEmptyArrays:typeof f.allowEmptyArrays=="boolean"?!!f.allowEmptyArrays:s.allowEmptyArrays,allowPrototypes:typeof f.allowPrototypes=="boolean"?f.allowPrototypes:s.allowPrototypes,allowSparse:typeof f.allowSparse=="boolean"?f.allowSparse:s.allowSparse,arrayLimit:typeof f.arrayLimit=="number"?f.arrayLimit:s.arrayLimit,charset:p,charsetSentinel:typeof f.charsetSentinel=="boolean"?f.charsetSentinel:s.charsetSentinel,comma:typeof f.comma=="boolean"?f.comma:s.comma,decodeDotInKeys:typeof f.decodeDotInKeys=="boolean"?f.decodeDotInKeys:s.decodeDotInKeys,decoder:typeof f.decoder=="function"?f.decoder:s.decoder,delimiter:typeof f.delimiter=="string"||n.isRegExp(f.delimiter)?f.delimiter:s.delimiter,depth:typeof f.depth=="number"||f.depth===!1?+f.depth:s.depth,duplicates:c,ignoreQueryPrefix:f.ignoreQueryPrefix===!0,interpretNumericEntities:typeof f.interpretNumericEntities=="boolean"?f.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:typeof f.parameterLimit=="number"?f.parameterLimit:s.parameterLimit,parseArrays:f.parseArrays!==!1,plainObjects:typeof f.plainObjects=="boolean"?f.plainObjects:s.plainObjects,strictNullHandling:typeof f.strictNullHandling=="boolean"?f.strictNullHandling:s.strictNullHandling}};I.exports=function(D,f){var p=m(f);if(D===""||D===null||typeof D>"u")return p.plainObjects?Object.create(null):{};for(var c=typeof D=="string"?l(D,p):D,d=p.plainObjects?Object.create(null):{},g=Object.keys(c),w=0;w{"use strict";var n=t("1u0msBni"),o=t("IpjLdSCX"),r=t("xG4tHsxw"),s=Object.prototype.hasOwnProperty,h={brackets:function(d){return d+"[]"},comma:"comma",indices:function(d,g){return d+"["+g+"]"},repeat:function(d){return d}},u=Array.isArray,A=Array.prototype.push,S=function(c,d){A.apply(c,u(d)?d:[d])},l=Date.prototype.toISOString,C=r.default,b={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:o.encode,encodeValuesOnly:!1,format:C,formatter:r.formatters[C],indices:!1,serializeDate:function(d){return l.call(d)},skipNulls:!1,strictNullHandling:!1},m=function(d){return typeof d=="string"||typeof d=="number"||typeof d=="boolean"||typeof d=="symbol"||typeof d=="bigint"},D={},f=function c(d,g,w,x,T,O,F,K,ee,he,pe,ie,we,Ce,Ne,B,k,W){for(var q=d,Q=W,re=0,te=!1;(Q=Q.get(D))!==void 0&&!te;){var ge=Q.get(d);if(re+=1,typeof ge<"u"){if(ge===re)throw new RangeError("Cyclic object value");te=!0}typeof Q.get(D)>"u"&&(re=0)}if(typeof he=="function"?q=he(g,q):q instanceof Date?q=we(q):w==="comma"&&u(q)&&(q=o.maybeMap(q,function(G){return G instanceof Date?we(G):G})),q===null){if(O)return ee&&!B?ee(g,b.encoder,k,"key",Ce):g;q=""}if(m(q)||o.isBuffer(q)){if(ee){var Fe=B?g:ee(g,b.encoder,k,"key",Ce);return[Ne(Fe)+"="+Ne(ee(q,b.encoder,k,"value",Ce))]}return[Ne(g)+"="+Ne(String(q))]}var Qe=[];if(typeof q>"u")return Qe;var Ke;if(w==="comma"&&u(q))B&&ee&&(q=o.maybeMap(q,ee)),Ke=[{value:q.length>0?q.join(",")||null:void 0}];else if(u(he))Ke=he;else{var Xe=Object.keys(q);Ke=pe?Xe.sort(pe):Xe}var dt=K?g.replace(/\./g,"%2E"):g,it=x&&u(q)&&q.length===1?dt+"[]":dt;if(T&&u(q)&&q.length===0)return it+"[]";for(var Ie=0;Ie"u"?d.encodeDotInKeys===!0?!0:b.allowDots:!!d.allowDots;return{addQueryPrefix:typeof d.addQueryPrefix=="boolean"?d.addQueryPrefix:b.addQueryPrefix,allowDots:F,allowEmptyArrays:typeof d.allowEmptyArrays=="boolean"?!!d.allowEmptyArrays:b.allowEmptyArrays,arrayFormat:O,charset:g,charsetSentinel:typeof d.charsetSentinel=="boolean"?d.charsetSentinel:b.charsetSentinel,commaRoundTrip:d.commaRoundTrip,delimiter:typeof d.delimiter>"u"?b.delimiter:d.delimiter,encode:typeof d.encode=="boolean"?d.encode:b.encode,encodeDotInKeys:typeof d.encodeDotInKeys=="boolean"?d.encodeDotInKeys:b.encodeDotInKeys,encoder:typeof d.encoder=="function"?d.encoder:b.encoder,encodeValuesOnly:typeof d.encodeValuesOnly=="boolean"?d.encodeValuesOnly:b.encodeValuesOnly,filter:T,format:w,formatter:x,serializeDate:typeof d.serializeDate=="function"?d.serializeDate:b.serializeDate,skipNulls:typeof d.skipNulls=="boolean"?d.skipNulls:b.skipNulls,sort:typeof d.sort=="function"?d.sort:null,strictNullHandling:typeof d.strictNullHandling=="boolean"?d.strictNullHandling:b.strictNullHandling}};I.exports=function(c,d){var g=c,w=p(d),x,T;typeof w.filter=="function"?(T=w.filter,g=T("",g)):u(w.filter)&&(T=w.filter,x=T);var O=[];if(typeof g!="object"||g===null)return"";var F=h[w.arrayFormat],K=F==="comma"&&w.commaRoundTrip;x||(x=Object.keys(g)),w.sort&&x.sort(w.sort);for(var ee=n(),he=0;he0?we+ie:""}},IpjLdSCX:(I,v,t)=>{"use strict";var n=t("xG4tHsxw"),o=Object.prototype.hasOwnProperty,r=Array.isArray,s=function(){for(var c=[],d=0;d<256;++d)c.push("%"+((d<16?"0":"")+d.toString(16)).toUpperCase());return c}(),h=function(d){for(;d.length>1;){var g=d.pop(),w=g.obj[g.prop];if(r(w)){for(var x=[],T=0;T=48&&ee<=57||ee>=65&&ee<=90||ee>=97&&ee<=122||T===n.RFC1738&&(ee===40||ee===41)){F+=O.charAt(K);continue}if(ee<128){F=F+s[ee];continue}if(ee<2048){F=F+(s[192|ee>>6]+s[128|ee&63]);continue}if(ee<55296||ee>=57344){F=F+(s[224|ee>>12]+s[128|ee>>6&63]+s[128|ee&63]);continue}K+=1,ee=65536+((ee&1023)<<10|O.charCodeAt(K)&1023),F+=s[240|ee>>18]+s[128|ee>>12&63]+s[128|ee>>6&63]+s[128|ee&63]}return F},b=function(d){for(var g=[{obj:{o:d},prop:"o"}],w=[],x=0;x{"use strict";t.d(v,{JY:()=>ve,sx:()=>xl,gL:()=>Al});var n=t("Z7aTuO5B"),o=t("guHz/lNd"),r=t("66aSeaJf"),s=t("omFLJsSD"),h=t("hLK4KFKM");function u(R,P){if(R.length!==P.length)return!1;for(var V=0;V");return ae.callbacks},ae.setCallbacks=function(ze){ae.callbacks=ze},ae}var V=P.prototype;return V.componentDidMount=function(){this.unbind=Xe(window,[{eventName:"error",fn:this.onWindowError}])},V.componentDidCatch=function(ye){if(ye instanceof Ie){this.setState({});return}throw ye},V.componentWillUnmount=function(){this.unbind()},V.render=function(){return this.props.children(this.setCallbacks)},P}(n.Component),je=`
  Press space bar to start a drag.
  When dragging you can use the arrow keys to move the item around and escape to cancel.
  Some screen readers may require you to be in focus mode or to use your pass through key
`,J=function(P){return P+1},$=function(P){return`
  You have lifted an item in position `+J(P.source.index)+`
`},G=function(P,V){var ae=P.droppableId===V.droppableId,ye=J(P.index),be=J(V.index);return ae?`
      You have moved the item from position `+ye+`
      to position `+be+`
    `:`
    You have moved the item from position `+ye+`
    in list `+P.droppableId+`
    to list `+V.droppableId+`
    in position `+be+`
  `},U=function(P,V,ae){var ye=V.droppableId===ae.droppableId;return ye?`
      The item `+P+`
      has been combined with `+ae.draggableId:`
      The item `+P+`
      in list `+V.droppableId+`
      has been combined with `+ae.draggableId+`
      in list `+ae.droppableId+`
    `},L=function(P){var V=P.destination;if(V)return G(P.source,V);var ae=P.combine;return ae?U(P.draggableId,P.source,ae):"You are over an area that cannot be dropped on"},j=function(P){return`
  The item has returned to its starting position
  of `+J(P.index)+`
`},le=function(P){if(P.reason==="CANCEL")return`
      Movement cancelled.
      `+j(P.source)+`
    `;var V=P.destination,ae=P.combine;return V?`
      You have dropped the item.
      `+G(P.source,V)+`
    `:ae?`
      You have dropped the item.
      `+U(P.draggableId,P.source,ae)+`
    `:`
    The item has been dropped while not over a drop area.
    `+j(P.source)+`
  `},Te={dragHandleUsageInstructions:je,onDragStart:$,onDragUpdate:L,onDragEnd:le},Je={x:0,y:0},ot=function(P,V){return{x:P.x+V.x,y:P.y+V.y}},Gt=function(P,V){return{x:P.x-V.x,y:P.y-V.y}},Ye=function(P,V){return P.x===V.x&&P.y===V.y},ct=function(P){return{x:P.x!==0?-P.x:0,y:P.y!==0?-P.y:0}},We=function(P,V,ae){var ye;return ae===void 0&&(ae=0),ye={},ye[P]=V,ye[P==="x"?"y":"x"]=ae,ye},Ze=function(P,V){return Math.sqrt(Math.pow(V.x-P.x,2)+Math.pow(V.y-P.y,2))},Re=function(P,V){return Math.min.apply(Math,V.map(function(ae){return Ze(P,ae)}))},lt=function(P){return function(V){return{x:P(V.x),y:P(V.y)}}},pt=function(R,P){var V=p({top:Math.max(P.top,R.top),right:Math.min(P.right,R.right),bottom:Math.min(P.bottom,R.bottom),left:Math.max(P.left,R.left)});return V.width<=0||V.height<=0?null:V},vt=function(P,V){return{top:P.top+V.y,left:P.left+V.x,bottom:P.bottom+V.y,right:P.right+V.x}},Pt=function(P){return[{x:P.left,y:P.top},{x:P.right,y:P.top},{x:P.left,y:P.bottom},{x:P.right,y:P.bottom}]},Ge={top:0,right:0,bottom:0,left:0},Be=function(P,V){return V?vt(P,V.scroll.diff.displacement):P},It=function(P,V,ae){if(ae&&ae.increasedBy){var ye;return(0,r.A)({},P,(ye={},ye[V.end]=P[V.end]+ae.increasedBy[V.line],ye))}return P},Ht=function(P,V){return V&&V.shouldClipSubject?pt(V.pageMarginBox,P):p(P)},wr=function(R){var P=R.page,V=R.withPlaceholder,ae=R.axis,ye=R.frame,be=Be(P.marginBox,ye),He=It(be,ae,V),ze=Ht(He,ye);return{page:P,withPlaceholder:V,active:ze}},ir=function(R,P){R.frame||ue(!1);var V=R.frame,ae=Gt(P,V.scroll.initial),ye=ct(ae),be=(0,r.A)({},V,{scroll:{initial:V.scroll.initial,current:P,diff:{value:ae,displacement:ye},max:V.scroll.max}}),He=wr({page:R.subject.page,withPlaceholder:R.subject.withPlaceholder,axis:R.axis,frame:be}),ze=(0,r.A)({},R,{frame:be,subject:He});return ze};function tr(R){return Number.isInteger?Number.isInteger(R):typeof R=="number"&&isFinite(R)&&Math.floor(R)===R}function Fr(R){return Object.values?Object.values(R):Object.keys(R).map(function(P){return R[P]})}function mr(R,P){if(R.findIndex)return R.findIndex(P);for(var V=0;VR.bottom,Vt=ae.leftR.right,Kt=bt&&Vt;if(Kt)return!0;var xt=bt&&He||Vt&&be;return xt}},br=function(R){var P=Rt(R.top,R.bottom),V=Rt(R.left,R.right);return function(ae){var ye=P(ae.top)&&P(ae.bottom)&&V(ae.left)&&V(ae.right);return ye}},pr={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Wt={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},yt=function(R){return function(P){var V=Rt(P.top,P.bottom),ae=Rt(P.left,P.right);return function(ye){return R===pr?V(ye.top)&&V(ye.bottom):ae(ye.left)&&ae(ye.right)}}},Mt=function(P,V){var ae=V.frame?V.frame.scroll.diff.displacement:Je;return vt(P,ae)},Jt=function(P,V,ae){return V.subject.active?ae(V.subject.active)(P):!1},Se=function(P,V,ae){return ae(V)(P)},qe=function(P){var V=P.target,ae=P.destination,ye=P.viewport,be=P.withDroppableDisplacement,He=P.isVisibleThroughFrameFn,ze=be?Mt(V,ae):V;return Jt(ze,ae,He)&&Se(ze,ye,He)},er=function(P){return qe((0,r.A)({},P,{isVisibleThroughFrameFn:ht}))},rr=function(P){return qe((0,r.A)({},P,{isVisibleThroughFrameFn:br}))},At=function(P){return qe((0,r.A)({},P,{isVisibleThroughFrameFn:yt(P.destination.axis)}))},ar=function(P,V,ae){if(typeof ae=="boolean")return ae;if(!V)return!0;var ye=V.invisible,be=V.visible;if(ye[P])return!1;var He=be[P];return He?He.shouldAnimate:!0};function gr(R,P){var V=R.page.marginBox,ae={top:P.point.y,right:0,bottom:0,left:P.point.x};return p(c(V,ae))}function dr(R){var P=R.afterDragging,V=R.destination,ae=R.displacedBy,ye=R.viewport,be=R.forceShouldAnimate,He=R.last;return P.reduce(function(bt,Vt){var Kt=gr(Vt,ae),xt=Vt.descriptor.id;bt.all.push(xt);var wt=er({target:Kt,destination:V,viewport:ye,withDroppableDisplacement:!0});if(!wt)return bt.invisible[Vt.descriptor.id]=!0,bt;var Qt=ar(xt,He,be),yr={draggableId:xt,shouldAnimate:Qt};return bt.visible[xt]=yr,bt},{all:[],visible:{},invisible:{}})}function Ur(R,P){if(!R.length)return 0;var V=R[R.length-1].descriptor.index;return P.inHomeList?V:V+1}function Pr(R){var P=R.insideDestination,V=R.inHomeList,ae=R.displacedBy,ye=R.destination,be=Ur(P,{inHomeList:V});return{displaced:Ue,displacedBy:ae,at:{type:"REORDER",destination:{droppableId:ye.descriptor.id,index:be}}}}function Xr(R){var P=R.draggable,V=R.insideDestination,ae=R.destination,ye=R.viewport,be=R.displacedBy,He=R.last,ze=R.index,bt=R.forceShouldAnimate,Vt=Pe(P,ae);if(ze==null)return Pr({insideDestination:V,inHomeList:Vt,displacedBy:be,destination:ae});var Kt=Or(V,function(nn){return nn.descriptor.index===ze});if(!Kt)return Pr({insideDestination:V,inHomeList:Vt,displacedBy:be,destination:ae});var xt=St(P,V),wt=V.indexOf(Kt),Qt=xt.slice(wt),yr=dr({afterDragging:Qt,destination:ae,displacedBy:be,last:He,viewport:ye.frame,forceShouldAnimate:bt});return{displaced:yr,displacedBy:be,at:{type:"REORDER",destination:{droppableId:ae.descriptor.id,index:ze}}}}function un(R,P){return!!P.effected[R]}var qr=function(R){var P=R.isMovingForward,V=R.destination,ae=R.draggables,ye=R.combine,be=R.afterCritical;if(!V.isCombineEnabled)return null;var He=ye.draggableId,ze=ae[He],bt=ze.descriptor.index,Vt=un(He,be);return Vt?P?bt:bt-1:P?bt+1:bt},Bn=function(R){var P=R.isMovingForward,V=R.isInHomeList,ae=R.insideDestination,ye=R.location;if(!ae.length)return null;var be=ye.index,He=P?be+1:be-1,ze=ae[0].descriptor.index,bt=ae[ae.length-1].descriptor.index,Vt=V?bt:bt+1;return HeVt?null:He},Yn=function(R){var P=R.isMovingForward,V=R.isInHomeList,ae=R.draggable,ye=R.draggables,be=R.destination,He=R.insideDestination,ze=R.previousImpact,bt=R.viewport,Vt=R.afterCritical,Kt=ze.at;if(Kt||ue(!1),Kt.type==="REORDER"){var xt=Bn({isMovingForward:P,isInHomeList:V,location:Kt.destination,insideDestination:He});return xt==null?null:Xr({draggable:ae,insideDestination:He,destination:be,viewport:bt,last:ze.displaced,displacedBy:ze.displacedBy,index:xt})}var wt=qr({isMovingForward:P,destination:be,displaced:ze.displaced,draggables:ye,combine:Kt.combine,afterCritical:Vt});return wt==null?null:Xr({draggable:ae,insideDestination:He,destination:be,viewport:bt,last:ze.displaced,displacedBy:ze.displacedBy,index:wt})},ni=function(R){var P=R.displaced,V=R.afterCritical,ae=R.combineWith,ye=R.displacedBy,be=!!(P.visible[ae]||P.invisible[ae]);return un(ae,V)?be?Je:ct(ye.point):be?ye.point:Je},li=function(R){var P=R.afterCritical,V=R.impact,ae=R.draggables,ye=Zr(V);ye||ue(!1);var be=ye.draggableId,He=ae[be].page.borderBox.center,ze=ni({displaced:V.displaced,afterCritical:P,combineWith:be,displacedBy:V.displacedBy});return ot(He,ze)},Qn=function(P,V){return V.margin[P.start]+V.borderBox[P.size]/2},ui=function(P,V){return V.margin[P.end]+V.borderBox[P.size]/2},pi=function(P,V,ae){return V[P.crossAxisStart]+ae.margin[P.crossAxisStart]+ae.borderBox[P.crossAxisSize]/2},Dn=function(P){var V=P.axis,ae=P.moveRelativeTo,ye=P.isMoving;return We(V.line,ae.marginBox[V.end]+Qn(V,ye),pi(V,ae.marginBox,ye))},Li=function(P){var V=P.axis,ae=P.moveRelativeTo,ye=P.isMoving;return We(V.line,ae.marginBox[V.start]-ui(V,ye),pi(V,ae.marginBox,ye))},Mi=function(P){var V=P.axis,ae=P.moveInto,ye=P.isMoving;return We(V.line,ae.contentBox[V.start]+Qn(V,ye),pi(V,ae.contentBox,ye))},ci=function(R){var P=R.impact,V=R.draggable,ae=R.draggables,ye=R.droppable,be=R.afterCritical,He=ln(ye.descriptor.id,ae),ze=V.page,bt=ye.axis;if(!He.length)return Mi({axis:bt,moveInto:ye.page,isMoving:ze});var Vt=P.displaced,Kt=P.displacedBy,xt=Vt.all[0];if(xt){var wt=ae[xt];if(un(xt,be))return Li({axis:bt,moveRelativeTo:wt.page,isMoving:ze});var Qt=F(wt.page,Kt.point);return Li({axis:bt,moveRelativeTo:Qt,isMoving:ze})}var yr=He[He.length-1];if(yr.descriptor.id===V.descriptor.id)return ze.borderBox.center;if(un(yr.descriptor.id,be)){var nn=F(yr.page,ct(be.displacedBy.point));return Dn({axis:bt,moveRelativeTo:nn,isMoving:ze})}return Dn({axis:bt,moveRelativeTo:yr.page,isMoving:ze})},fi=function(R,P){var V=R.frame;return V?ot(P,V.scroll.diff.displacement):P},ai=function(P){var V=P.impact,ae=P.draggable,ye=P.droppable,be=P.draggables,He=P.afterCritical,ze=ae.page.borderBox.center,bt=V.at;return!ye||!bt?ze:bt.type==="REORDER"?ci({impact:V,draggable:ae,draggables:be,droppable:ye,afterCritical:He}):li({impact:V,draggables:be,afterCritical:He})},Ui=function(R){var P=ai(R),V=R.droppable,ae=V?fi(V,P):P;return ae},Ei=function(R,P){var V=Gt(P,R.scroll.initial),ae=ct(V),ye=p({top:P.y,bottom:P.y+R.frame.height,left:P.x,right:P.x+R.frame.width}),be={frame:ye,scroll:{initial:R.scroll.initial,max:R.scroll.max,current:P,diff:{value:V,displacement:ae}}};return be};function Hi(R,P){return R.map(function(V){return P[V]})}function $n(R,P){for(var V=0;V1?Kt.sort(function(xt,wt){return en(xt)[ze.start]-en(wt)[ze.start]})[0]:Vt.sort(function(xt,wt){var Qt=Re(V,Pt(en(xt))),yr=Re(V,Pt(en(wt)));return Qt!==yr?Qt-yr:en(xt)[ze.start]-en(wt)[ze.start]})[0]},ri=function(P,V){var ae=P.page.borderBox.center;return un(P.descriptor.id,V)?Gt(ae,V.displacedBy.point):ae},di=function(P,V){var ae=P.page.borderBox;return un(P.descriptor.id,V)?vt(ae,ct(V.displacedBy.point)):ae},$i=function(R){var P=R.pageBorderBoxCenter,V=R.viewport,ae=R.destination,ye=R.insideDestination,be=R.afterCritical,He=ye.filter(function(ze){return rr({target:di(ze,be),destination:ae,viewport:V.frame,withDroppableDisplacement:!0})}).sort(function(ze,bt){var Vt=Ze(P,fi(ae,ri(ze,be))),Kt=Ze(P,fi(ae,ri(bt,be)));return VtP.left&&R.topP.top}function _i(R){var P=R.pageBorderBox,V=R.draggable,ae=R.candidates,ye=V.page.borderBox.center,be=ae.map(function(He){var ze=He.axis,bt=We(He.axis.line,P.center[ze.line],He.page.borderBox.center[ze.crossAxisLine]);return{id:He.descriptor.id,distance:Ze(ye,bt)}}).sort(function(He,ze){return ze.distance-He.distance});return be[0]?be[0].id:null}function Mn(R){var P=R.pageBorderBox,V=R.draggable,ae=R.droppables,ye=mn(ae).filter(function(be){if(!be.isEnabled)return!1;var He=be.subject.active;if(!He||!Vn(P,He))return!1;if(pn(He)(P.center))return!0;var ze=be.axis,bt=He.center[ze.crossAxisLine],Vt=P[ze.crossAxisStart],Kt=P[ze.crossAxisEnd],xt=Rt(He[ze.crossAxisStart],He[ze.crossAxisEnd]),wt=xt(Vt),Qt=xt(Kt);return!wt&&!Qt?!0:wt?Vtbt});return ye.length?ye.length===1?ye[0].descriptor.id:_i({pageBorderBox:P,draggable:V,candidates:ye}):null}var In=function(P,V){return p(vt(P,V))},Aa=function(R,P){var V=R.frame;return V?In(P,V.scroll.diff.value):P};function ca(R){var P=R.displaced,V=R.id;return!!(P.visible[V]||P.invisible[V])}function Ki(R){var P=R.draggable,V=R.closest,ae=R.inHomeList;return V?ae&&V.descriptor.index>P.descriptor.index?V.descriptor.index-1:V.descriptor.index:null}var io=function(R){var P=R.pageBorderBoxWithDroppableScroll,V=R.draggable,ae=R.destination,ye=R.insideDestination,be=R.last,He=R.viewport,ze=R.afterCritical,bt=ae.axis,Vt=Xi(ae.axis,V.displaceBy),Kt=Vt.value,xt=P[bt.start],wt=P[bt.end],Qt=St(V,ye),yr=Or(Qt,function(hn){var bn=hn.descriptor.id,Tn=hn.page.borderBox.center[bt.line],Ln=un(bn,ze),$r=ca({displaced:be,id:bn});return Ln?$r?wt<=Tn:xtbn[ze.start]+Ln&&xtbn[ze.start]-Vt+Ln&&Ktbn[ze.start]+Vt+Ln&&xtbn[ze.start]+Ln&&Kt=Ji)return wi;var be=ye/Ji,He=Ni+ki*be,ze=ae==="CANCEL"?He*la:He;return Number(ze.toFixed(2))},Y=function(R){var P=R.impact,V=R.draggable,ae=R.dimensions,ye=R.viewport,be=R.afterCritical,He=ae.draggables,ze=ae.droppables,bt=Qi(P),Vt=bt?ze[bt]:null,Kt=ze[V.descriptor.droppableId],xt=ea({impact:P,draggable:V,draggables:He,afterCritical:be,droppable:Vt||Kt,viewport:ye}),wt=Gt(xt,V.client.borderBox.center);return wt},fe=function(R){var P=R.draggables,V=R.reason,ae=R.lastImpact,ye=R.home,be=R.viewport,He=R.onLiftImpact;if(!ae.at||V!=="DROP"){var ze=po({draggables:P,impact:He,destination:ye,viewport:be,forceShouldAnimate:!0});return{impact:ze,didDropInsideDroppable:!1}}if(ae.at.type==="REORDER")return{impact:ae,didDropInsideDroppable:!0};var bt=(0,r.A)({},ae,{displaced:Ue});return{impact:bt,didDropInsideDroppable:!0}},Ae=function(R){var P=R.getState,V=R.dispatch;return function(ae){return function(ye){if(ye.type!=="DROP"){ae(ye);return}var be=P(),He=ye.payload.reason;if(be.phase==="COLLECTING"){V(sr({reason:He}));return}if(be.phase!=="IDLE"){var ze=be.phase==="DROP_PENDING"&&be.isWaiting;ze&&ue(!1),be.phase==="DRAGGING"||be.phase==="DROP_PENDING"||ue(!1);var bt=be.critical,Vt=be.dimensions,Kt=Vt.draggables[be.critical.draggable.id],xt=fe({reason:He,lastImpact:be.impact,afterCritical:be.afterCritical,onLiftImpact:be.onLiftImpact,home:be.dimensions.droppables[be.critical.droppable.id],viewport:be.viewport,draggables:be.dimensions.draggables}),wt=xt.impact,Qt=xt.didDropInsideDroppable,yr=Qt?Jr(wt):null,nn=Qt?Zr(wt):null,hn={index:bt.draggable.index,droppableId:bt.droppable.id},bn={draggableId:Kt.descriptor.id,type:Kt.descriptor.type,source:hn,reason:He,mode:be.movementMode,destination:yr,combine:nn},Tn=Y({impact:wt,draggable:Kt,dimensions:Vt,viewport:be.viewport,afterCritical:be.afterCritical}),Ln={critical:be.critical,afterCritical:be.afterCritical,result:bn,impact:wt},$r=!Ye(be.current.client.offset,Tn)||!!bn.combine;if(!$r){V(xr({completed:Ln}));return}var Pi=_({current:be.current.client.offset,destination:Tn,reason:He}),Ai={newHomeClientOffset:Tn,dropDuration:Pi,completed:Ln};V(Nt(Ai))}}}},De=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function at(R){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(V){V.target!==window&&V.target!==window.document||R()}}}function Ct(R){var P=R.onWindowScroll;function V(){P(De())}var ae=we(V),ye=at(ae),be=Qe;function He(){return be!==Qe}function ze(){He()&&ue(!1),be=Xe(window,[ye])}function bt(){He()||ue(!1),ae.cancel(),be(),be=Qe}return{start:ze,stop:bt,isActive:He}}var nr=function(P){return P.type==="DROP_COMPLETE"||P.type==="DROP_ANIMATE"||P.type==="FLUSH"},Tr=function(R){var P=Ct({onWindowScroll:function(ae){R.dispatch(me({newScroll:ae}))}});return function(V){return function(ae){!P.isActive()&&ae.type==="INITIAL_PUBLISH"&&P.start(),P.isActive()&&nr(ae)&&P.stop(),V(ae)}}},Dr=function(R){var P=!1,V=!1,ae=setTimeout(function(){V=!0}),ye=function(He){P||V||(P=!0,R(He),clearTimeout(ae))};return ye.wasCalled=function(){return P},ye},Br=function(){var R=[],P=function(be){var He=mr(R,function(Vt){return Vt.timerId===be});He===-1&&ue(!1);var ze=R.splice(He,1),bt=ze[0];bt.callback()},V=function(be){var He=setTimeout(function(){return P(He)}),ze={timerId:He,callback:be};R.push(ze)},ae=function(){if(R.length){var be=[].concat(R);R.length=0,be.forEach(function(He){clearTimeout(He.timerId),He.callback()})}};return{add:V,flush:ae}},dn=function(P,V){return P==null&&V==null?!0:P==null||V==null?!1:P.droppableId===V.droppableId&&P.index===V.index},xn=function(P,V){return P==null&&V==null?!0:P==null||V==null?!1:P.draggableId===V.draggableId&&P.droppableId===V.droppableId},jt=function(P,V){if(P===V)return!0;var ae=P.draggable.id===V.draggable.id&&P.draggable.droppableId===V.draggable.droppableId&&P.draggable.type===V.draggable.type&&P.draggable.index===V.draggable.index,ye=P.droppable.id===V.droppable.id&&P.droppable.type===V.droppable.type;return ae&&ye},hr=function(P,V){Ba(),V(),yn()},ur=function(P,V){return{draggableId:P.draggable.id,type:P.droppable.type,source:{droppableId:P.droppable.id,index:P.draggable.index},mode:V}},tn=function(P,V,ae,ye){if(!P){ae(ye(V));return}var be=Dr(ae),He={announce:be};P(V,He),be.wasCalled()||ae(ye(V))},kn=function(R,P){var V=Br(),ae=null,ye=function(wt,Qt){ae&&ue(!1),hr("onBeforeCapture",function(){var yr=R().onBeforeCapture;if(yr){var nn={draggableId:wt,mode:Qt};yr(nn)}})},be=function(wt,Qt){ae&&ue(!1),hr("onBeforeDragStart",function(){var yr=R().onBeforeDragStart;yr&&yr(ur(wt,Qt))})},He=function(wt,Qt){ae&&ue(!1);var yr=ur(wt,Qt);ae={mode:Qt,lastCritical:wt,lastLocation:yr.source,lastCombine:null},V.add(function(){hr("onDragStart",function(){return tn(R().onDragStart,yr,P,Te.onDragStart)})})},ze=function(wt,Qt){var yr=Jr(Qt),nn=Zr(Qt);ae||ue(!1);var hn=!jt(wt,ae.lastCritical);hn&&(ae.lastCritical=wt);var bn=!dn(ae.lastLocation,yr);bn&&(ae.lastLocation=yr);var Tn=!xn(ae.lastCombine,nn);if(Tn&&(ae.lastCombine=nn),!(!hn&&!bn&&!Tn)){var Ln=(0,r.A)({},ur(wt,ae.mode),{combine:nn,destination:yr});V.add(function(){hr("onDragUpdate",function(){return tn(R().onDragUpdate,Ln,P,Te.onDragUpdate)})})}},bt=function(){ae||ue(!1),V.flush()},Vt=function(wt){ae||ue(!1),ae=null,hr("onDragEnd",function(){return tn(R().onDragEnd,wt,P,Te.onDragEnd)})},Kt=function(){if(ae){var wt=(0,r.A)({},ur(ae.lastCritical,ae.mode),{combine:null,destination:null,reason:"CANCEL"});Vt(wt)}};return{beforeCapture:ye,beforeStart:be,start:He,update:ze,flush:bt,drop:Vt,abort:Kt}},xi=function(R,P){var V=kn(R,P);return function(ae){return function(ye){return function(be){if(be.type==="BEFORE_INITIAL_CAPTURE"){V.beforeCapture(be.payload.draggableId,be.payload.movementMode);return}if(be.type==="INITIAL_PUBLISH"){var He=be.payload.critical;V.beforeStart(He,be.payload.movementMode),ye(be),V.start(He,be.payload.movementMode);return}if(be.type==="DROP_COMPLETE"){var ze=be.payload.completed.result;V.flush(),ye(be),V.drop(ze);return}if(ye(be),be.type==="FLUSH"){V.abort();return}var bt=ae.getState();bt.phase==="DRAGGING"&&V.update(bt.critical,bt.impact)}}}},pa=function(R){return function(P){return function(V){if(V.type!=="DROP_ANIMATION_FINISHED"){P(V);return}var ae=R.getState();ae.phase!=="DROP_ANIMATING"&&ue(!1),R.dispatch(xr({completed:ae.completed}))}}},Fi=function(R){var P=null,V=null;function ae(){V&&(cancelAnimationFrame(V),V=null),P&&(P(),P=null)}return function(ye){return function(be){if((be.type==="FLUSH"||be.type==="DROP_COMPLETE"||be.type==="DROP_ANIMATION_FINISHED")&&ae(),ye(be),be.type==="DROP_ANIMATE"){var He={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var bt=R.getState();bt.phase==="DROP_ANIMATING"&&R.dispatch(_r())}};V=requestAnimationFrame(function(){V=null,P=Xe(window,[He])})}}}},ms=function(R){return function(){return function(P){return function(V){(V.type==="DROP_COMPLETE"||V.type==="FLUSH"||V.type==="DROP_ANIMATE")&&R.stopPublishing(),P(V)}}}},sl=function(R){var P=!1;return function(){return function(V){return function(ae){if(ae.type==="INITIAL_PUBLISH"){P=!0,R.tryRecordFocus(ae.payload.critical.draggable.id),V(ae),R.tryRestoreFocusRecorded();return}if(V(ae),!!P){if(ae.type==="FLUSH"){P=!1,R.tryRestoreFocusRecorded();return}if(ae.type==="DROP_COMPLETE"){P=!1;var ye=ae.payload.completed.result;ye.combine&&R.tryShiftRecord(ye.draggableId,ye.combine.draggableId),R.tryRestoreFocusRecorded()}}}}}},qa=function(P){return P.type==="DROP_COMPLETE"||P.type==="DROP_ANIMATE"||P.type==="FLUSH"},ys=function(R){return function(P){return function(V){return function(ae){if(qa(ae)){R.stop(),V(ae);return}if(ae.type==="INITIAL_PUBLISH"){V(ae);var ye=P.getState();ye.phase!=="DRAGGING"&&ue(!1),R.start(ye);return}V(ae),R.scroll(P.getState())}}}},cs=function(R){return function(P){return function(V){if(P(V),V.type==="PUBLISH_WHILE_DRAGGING"){var ae=R.getState();ae.phase==="DROP_PENDING"&&(ae.isWaiting||R.dispatch(vr({reason:ae.reason})))}}}},Ha=s.compose,Wa=function(R){var P=R.dimensionMarshal,V=R.focusMarshal,ae=R.styleMarshal,ye=R.getResponders,be=R.announce,He=R.autoScroller;return(0,s.createStore)(bi,Ha((0,s.applyMiddleware)(Lr(ae),ms(P),fr(P),Ae,pa,Fi,cs,ys(He),Tr,sl(V),xi(ye,be))))},ko=function(){return{additions:{},removals:{},modified:{}}};function Ci(R){var P=R.registry,V=R.callbacks,ae=ko(),ye=null,be=function(){ye||(V.collectionStarting(),ye=requestAnimationFrame(function(){ye=null,Ba();var Kt=ae,xt=Kt.additions,wt=Kt.removals,Qt=Kt.modified,yr=Object.keys(xt).map(function(bn){return P.draggable.getById(bn).getDimension(Je)}).sort(function(bn,Tn){return bn.descriptor.index-Tn.descriptor.index}),nn=Object.keys(Qt).map(function(bn){var Tn=P.droppable.getById(bn),Ln=Tn.callbacks.getScrollWhileDragging();return{droppableId:bn,scroll:Ln}}),hn={additions:yr,removals:Object.keys(wt),modified:nn};ae=ko(),yn(),V.publish(hn)}))},He=function(Kt){var xt=Kt.descriptor.id;ae.additions[xt]=Kt,ae.modified[Kt.descriptor.droppableId]=!0,ae.removals[xt]&&delete ae.removals[xt],be()},ze=function(Kt){var xt=Kt.descriptor;ae.removals[xt.id]=!0,ae.modified[xt.droppableId]=!0,ae.additions[xt.id]&&delete ae.additions[xt.id],be()},bt=function(){ye&&(cancelAnimationFrame(ye),ye=null,ae=ko())};return{add:He,remove:ze,stop:bt}}var qo=function(R){var P=R.scrollHeight,V=R.scrollWidth,ae=R.height,ye=R.width,be=Gt({x:V,y:P},{x:ye,y:ae}),He={x:Math.max(0,be.x),y:Math.max(0,be.y)};return He},bs=function(){var R=document.documentElement;return R||ue(!1),R},Ao=function(){var R=bs(),P=qo({scrollHeight:R.scrollHeight,scrollWidth:R.scrollWidth,width:R.clientWidth,height:R.clientHeight});return P},ll=function(){var R=De(),P=Ao(),V=R.y,ae=R.x,ye=bs(),be=ye.clientWidth,He=ye.clientHeight,ze=ae+be,bt=V+He,Vt=p({top:V,left:ae,right:ze,bottom:bt}),Kt={frame:Vt,scroll:{initial:R,current:R,max:P,diff:{value:Je,displacement:Je}}};return Kt},Fo=function(R){var P=R.critical,V=R.scrollOptions,ae=R.registry;Ba();var ye=ll(),be=ye.scroll.current,He=P.droppable,ze=ae.droppable.getAllByType(He.type).map(function(xt){return xt.callbacks.getDimensionAndWatchScroll(be,V)}),bt=ae.draggable.getAllByType(P.draggable.type).map(function(xt){return xt.getDimension(be)}),Vt={draggables:Ir(bt),droppables:Gr(ze)};yn();var Kt={dimensions:Vt,critical:P,viewport:ye};return Kt};function Os(R,P,V){if(V.descriptor.id===P.id||V.descriptor.type!==P.type)return!1;var ae=R.droppable.getById(V.descriptor.droppableId);return ae.descriptor.mode==="virtual"}var fs=function(R,P){var V=null,ae=Ci({callbacks:{publish:P.publishWhileDragging,collectionStarting:P.collectionStarting},registry:R}),ye=function(Qt,yr){R.droppable.exists(Qt)||ue(!1),V&&P.updateDroppableIsEnabled({id:Qt,isEnabled:yr})},be=function(Qt,yr){V&&(R.droppable.exists(Qt)||ue(!1),P.updateDroppableIsCombineEnabled({id:Qt,isCombineEnabled:yr}))},He=function(Qt,yr){V&&(R.droppable.exists(Qt)||ue(!1),P.updateDroppableScroll({id:Qt,newScroll:yr}))},ze=function(Qt,yr){V&&R.droppable.getById(Qt).callbacks.scroll(yr)},bt=function(){if(V){ae.stop();var Qt=V.critical.droppable;R.droppable.getAllByType(Qt.type).forEach(function(yr){return yr.callbacks.dragStopped()}),V.unsubscribe(),V=null}},Vt=function(Qt){V||ue(!1);var yr=V.critical.draggable;Qt.type==="ADDITION"&&Os(R,yr,Qt.value)&&ae.add(Qt.value),Qt.type==="REMOVAL"&&Os(R,yr,Qt.value)&&ae.remove(Qt.value)},Kt=function(Qt){V&&ue(!1);var yr=R.draggable.getById(Qt.draggableId),nn=R.droppable.getById(yr.descriptor.droppableId),hn={draggable:yr.descriptor,droppable:nn.descriptor},bn=R.subscribe(Vt);return V={critical:hn,unsubscribe:bn},Fo({critical:hn,registry:R,scrollOptions:Qt.scrollOptions})},xt={updateDroppableIsEnabled:ye,updateDroppableIsCombineEnabled:be,scrollDroppable:ze,updateDroppableScroll:He,startPublishing:Kt,stopPublishing:bt};return xt},go=function(R,P){return R.phase==="IDLE"?!0:R.phase!=="DROP_ANIMATING"||R.completed.result.draggableId===P?!1:R.completed.result.reason==="DROP"},es=function(R){window.scrollBy(R.x,R.y)},ds=(0,pe.A)(function(R){return mn(R).filter(function(P){return!(!P.isEnabled||!P.frame)})}),jo=function(P,V){var ae=Or(ds(V),function(ye){return ye.frame||ue(!1),pn(ye.frame.pageMarginBox)(P)});return ae},Rs=function(R){var P=R.center,V=R.destination,ae=R.droppables;if(V){var ye=ae[V];return ye.frame?ye:null}var be=jo(P,ae);return be},ao={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(P){return Math.pow(P,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},ws=function(R,P){var V=R[P.size]*ao.startFromPercentage,ae=R[P.size]*ao.maxScrollAtPercentage,ye={startScrollingFrom:V,maxScrollValueAt:ae};return ye},hs=function(R){var P=R.startOfRange,V=R.endOfRange,ae=R.current,ye=V-P;if(ye===0)return 0;var be=ae-P,He=be/ye;return He},Vo=1,Bo=function(R,P){if(R>P.startScrollingFrom)return 0;if(R<=P.maxScrollValueAt)return ao.maxPixelScroll;if(R===P.startScrollingFrom)return Vo;var V=hs({startOfRange:P.maxScrollValueAt,endOfRange:P.startScrollingFrom,current:R}),ae=1-V,ye=ao.maxPixelScroll*ao.ease(ae);return Math.ceil(ye)},Go=ao.durationDampening.accelerateAt,lr=ao.durationDampening.stopDampeningAt,Cr=function(R,P){var V=P,ae=lr,ye=Date.now(),be=ye-V;if(be>=lr)return R;if(beP.height,be=V.width>P.width;return!be&&!ye?ae:be&&ye?null:{x:be?0:ae.x,y:ye?0:ae.y}},si=lt(function(R){return R===0?0:R}),Zn=function(R){var P=R.dragStartTime,V=R.container,ae=R.subject,ye=R.center,be=R.shouldUseTimeDampening,He={top:ye.y-V.top,right:V.right-ye.x,bottom:V.bottom-ye.y,left:ye.x-V.left},ze=sn({container:V,distanceToEdges:He,dragStartTime:P,axis:pr,shouldUseTimeDampening:be}),bt=sn({container:V,distanceToEdges:He,dragStartTime:P,axis:Wt,shouldUseTimeDampening:be}),Vt=si({x:bt,y:ze});if(Ye(Vt,Je))return null;var Kt=Rn({container:V,subject:ae,proposedScroll:Vt});return Kt?Ye(Kt,Je)?null:Kt:null},Kn=lt(function(R){return R===0?0:R>0?1:-1}),Nn=function(){var R=function(V,ae){return V<0?V:V>ae?V-ae:0};return function(P){var V=P.current,ae=P.max,ye=P.change,be=ot(V,ye),He={x:R(be.x,ae.x),y:R(be.y,ae.y)};return Ye(He,Je)?null:He}}(),vi=function(P){var V=P.max,ae=P.current,ye=P.change,be={x:Math.max(ae.x,V.x),y:Math.max(ae.y,V.y)},He=Kn(ye),ze=Nn({max:be,current:ae,change:He});return!ze||He.x!==0&&ze.x===0||He.y!==0&&ze.y===0},mi=function(P,V){return vi({current:P.scroll.current,max:P.scroll.max,change:V})},Un=function(P,V){if(!mi(P,V))return null;var ae=P.scroll.max,ye=P.scroll.current;return Nn({current:ye,max:ae,change:V})},Yi=function(P,V){var ae=P.frame;return ae?vi({current:ae.scroll.current,max:ae.scroll.max,change:V}):!1},Ea=function(P,V){var ae=P.frame;return!ae||!Yi(P,V)?null:Nn({current:ae.scroll.current,max:ae.scroll.max,change:V})},ja=function(R){var P=R.viewport,V=R.subject,ae=R.center,ye=R.dragStartTime,be=R.shouldUseTimeDampening,He=Zn({dragStartTime:ye,container:P.frame,subject:V,center:ae,shouldUseTimeDampening:be});return He&&mi(P,He)?He:null},ga=function(R){var P=R.droppable,V=R.subject,ae=R.center,ye=R.dragStartTime,be=R.shouldUseTimeDampening,He=P.frame;if(!He)return null;var ze=Zn({dragStartTime:ye,container:He.pageMarginBox,subject:V,center:ae,shouldUseTimeDampening:be});return ze&&Yi(P,ze)?ze:null},vo=function(R){var P=R.state,V=R.dragStartTime,ae=R.shouldUseTimeDampening,ye=R.scrollWindow,be=R.scrollDroppable,He=P.current.page.borderBoxCenter,ze=P.dimensions.draggables[P.critical.draggable.id],bt=ze.page.marginBox;if(P.isWindowScrollAllowed){var Vt=P.viewport,Kt=ja({dragStartTime:V,viewport:Vt,subject:bt,center:He,shouldUseTimeDampening:ae});if(Kt){ye(Kt);return}}var xt=Rs({center:He,destination:Qi(P.impact),droppables:P.dimensions.droppables});if(xt){var wt=ga({dragStartTime:V,droppable:xt,subject:bt,center:He,shouldUseTimeDampening:ae});wt&&be(xt.descriptor.id,wt)}},So=function(R){var P=R.scrollWindow,V=R.scrollDroppable,ae=we(P),ye=we(V),be=null,He=function(Kt){be||ue(!1);var xt=be,wt=xt.shouldUseTimeDampening,Qt=xt.dragStartTime;vo({state:Kt,scrollWindow:ae,scrollDroppable:ye,dragStartTime:Qt,shouldUseTimeDampening:wt})},ze=function(Kt){Ba(),be&&ue(!1);var xt=Date.now(),wt=!1,Qt=function(){wt=!0};vo({state:Kt,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:Qt,scrollDroppable:Qt}),be={dragStartTime:xt,shouldUseTimeDampening:wt},yn(),wt&&He(Kt)},bt=function(){be&&(ae.cancel(),ye.cancel(),be=null)};return{start:ze,stop:bt,scroll:He}},Eo=function(R){var P=R.move,V=R.scrollDroppable,ae=R.scrollWindow,ye=function(Vt,Kt){var xt=ot(Vt.current.client.selection,Kt);P({client:xt})},be=function(Vt,Kt){if(!Yi(Vt,Kt))return Kt;var xt=Ea(Vt,Kt);if(!xt)return V(Vt.descriptor.id,Kt),null;var wt=Gt(Kt,xt);V(Vt.descriptor.id,wt);var Qt=Gt(Kt,wt);return Qt},He=function(Vt,Kt,xt){if(!Vt||!mi(Kt,xt))return xt;var wt=Un(Kt,xt);if(!wt)return ae(xt),null;var Qt=Gt(xt,wt);ae(Qt);var yr=Gt(xt,Qt);return yr},ze=function(Vt){var Kt=Vt.scrollJumpRequest;if(Kt){var xt=Qi(Vt.impact);xt||ue(!1);var wt=be(Vt.dimensions.droppables[xt],Kt);if(wt){var Qt=Vt.viewport,yr=He(Vt.isWindowScrollAllowed,Qt,wt);yr&&ye(Vt,yr)}}};return ze},Ra=function(R){var P=R.scrollDroppable,V=R.scrollWindow,ae=R.move,ye=So({scrollWindow:V,scrollDroppable:P}),be=Eo({move:ae,scrollWindow:V,scrollDroppable:P}),He=function(Vt){if(Vt.phase==="DRAGGING"){if(Vt.movementMode==="FLUID"){ye.scroll(Vt);return}Vt.scrollJumpRequest&&be(Vt)}},ze={scroll:He,start:ye.start,stop:ye.stop};return ze},va="data-rbd",eo=function(){var R=va+"-drag-handle";return{base:R,draggableId:R+"-draggable-id",contextId:R+"-context-id"}}(),to=function(){var R=va+"-draggable";return{base:R,contextId:R+"-context-id",id:R+"-id"}}(),_o=function(){var R=va+"-droppable";return{base:R,contextId:R+"-context-id",id:R+"-id"}}(),Ko={contextId:va+"-scroll-container-context-id"},xs=function(P){return function(V){return"["+V+'="'+P+'"]'}},Ti=function(P,V){return P.map(function(ae){var ye=ae.styles[V];return ye?ae.selector+" { "+ye+" }":""}).join(" ")},Wi="pointer-events: none;",La=function(R){var P=xs(R),V=function(){var ze=`
      cursor: -webkit-grab;
      cursor: grab;
    `;return{selector:P(eo.contextId),styles:{always:`
          -webkit-touch-callout: none;
          -webkit-tap-highlight-color: rgba(0,0,0,0);
          touch-action: manipulation;
        `,resting:ze,dragging:Wi,dropAnimating:ze}}}(),ae=function(){var ze=`
      transition: `+on.outOfTheWay+`;
    `;return{selector:P(to.contextId),styles:{dragging:ze,dropAnimating:ze,userCancel:ze}}}(),ye={selector:P(_o.contextId),styles:{always:"overflow-anchor: none;"}},be={selector:"body",styles:{dragging:`
        cursor: grabbing;
        cursor: -webkit-grabbing;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        overflow-anchor: none;
      `}},He=[ae,V,ye,be];return{always:Ti(He,"always"),resting:Ti(He,"resting"),dragging:Ti(He,"dragging"),dropAnimating:Ti(He,"dropAnimating"),userCancel:Ti(He,"userCancel")}},fa=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?n.useLayoutEffect:n.useEffect,Co=function(){var P=document.querySelector("head");return P||ue(!1),P},ul=function(P){var V=document.createElement("style");return P&&V.setAttribute("nonce",P),V.type="text/css",V};function $e(R,P){var V=l(function(){return La(R)},[R]),ae=(0,n.useRef)(null),ye=(0,n.useRef)(null),be=C((0,pe.A)(function(xt){var wt=ye.current;wt||ue(!1),wt.textContent=xt}),[]),He=C(function(xt){var wt=ae.current;wt||ue(!1),wt.textContent=xt},[]);fa(function(){!ae.current&&!ye.current||ue(!1);var xt=ul(P),wt=ul(P);return ae.current=xt,ye.current=wt,xt.setAttribute(va+"-always",R),wt.setAttribute(va+"-dynamic",R),Co().appendChild(xt),Co().appendChild(wt),He(V.always),be(V.resting),function(){var Qt=function(nn){var hn=nn.current;hn||ue(!1),Co().removeChild(hn),nn.current=null};Qt(ae),Qt(ye)}},[P,He,be,V.always,V.resting,R]);var ze=C(function(){return be(V.dragging)},[be,V.dragging]),bt=C(function(xt){if(xt==="DROP"){be(V.dropAnimating);return}be(V.userCancel)},[be,V.dropAnimating,V.userCancel]),Vt=C(function(){ye.current&&be(V.resting)},[be,V.resting]),Kt=l(function(){return{dragging:ze,dropping:bt,resting:Vt}},[ze,bt,Vt]);return Kt}var As=function(R){return R&&R.ownerDocument?R.ownerDocument.defaultView:window};function Yo(R){return R instanceof As(R).HTMLElement}function oo(R,P){var V="["+eo.contextId+'="'+R+'"]',ae=Nr(document.querySelectorAll(V));if(!ae.length)return null;var ye=Or(ae,function(be){return be.getAttribute(eo.draggableId)===P});return!ye||!Yo(ye)?null:ye}function Oi(R){var P=(0,n.useRef)({}),V=(0,n.useRef)(null),ae=(0,n.useRef)(null),ye=(0,n.useRef)(!1),be=C(function(wt,Qt){var yr={id:wt,focus:Qt};return P.current[wt]=yr,function(){var hn=P.current,bn=hn[wt];bn!==yr&&delete hn[wt]}},[]),He=C(function(wt){var Qt=oo(R,wt);Qt&&Qt!==document.activeElement&&Qt.focus()},[R]),ze=C(function(wt,Qt){V.current===wt&&(V.current=Qt)},[]),bt=C(function(){ae.current||ye.current&&(ae.current=requestAnimationFrame(function(){ae.current=null;var wt=V.current;wt&&He(wt)}))},[He]),Vt=C(function(wt){V.current=null;var Qt=document.activeElement;Qt&&Qt.getAttribute(eo.draggableId)===wt&&(V.current=wt)},[]);fa(function(){return ye.current=!0,function(){ye.current=!1;var wt=ae.current;wt&&cancelAnimationFrame(wt)}},[]);var Kt=l(function(){return{register:be,tryRecordFocus:Vt,tryRestoreFocusRecorded:bt,tryShiftRecord:ze}},[be,Vt,bt,ze]);return Kt}function Hs(){var R={draggables:{},droppables:{}},P=[];function V(xt){return P.push(xt),function(){var Qt=P.indexOf(xt);Qt!==-1&&P.splice(Qt,1)}}function ae(xt){P.length&&P.forEach(function(wt){return wt(xt)})}function ye(xt){return R.draggables[xt]||null}function be(xt){var wt=ye(xt);return wt||ue(!1),wt}var He={register:function(wt){R.draggables[wt.descriptor.id]=wt,ae({type:"ADDITION",value:wt})},update:function(wt,Qt){var yr=R.draggables[Qt.descriptor.id];yr&&yr.uniqueId===wt.uniqueId&&(delete R.draggables[Qt.descriptor.id],R.draggables[wt.descriptor.id]=wt)},unregister:function(wt){var Qt=wt.descriptor.id,yr=ye(Qt);yr&&wt.uniqueId===yr.uniqueId&&(delete R.draggables[Qt],ae({type:"REMOVAL",value:wt}))},getById:be,findById:ye,exists:function(wt){return!!ye(wt)},getAllByType:function(wt){return Fr(R.draggables).filter(function(Qt){return Qt.descriptor.type===wt})}};function ze(xt){return R.droppables[xt]||null}function bt(xt){var wt=ze(xt);return wt||ue(!1),wt}var Vt={register:function(wt){R.droppables[wt.descriptor.id]=wt},unregister:function(wt){var Qt=ze(wt.descriptor.id);Qt&&wt.uniqueId===Qt.uniqueId&&delete R.droppables[wt.descriptor.id]},getById:bt,findById:ze,exists:function(wt){return!!ze(wt)},getAllByType:function(wt){return Fr(R.droppables).filter(function(Qt){return Qt.descriptor.type===wt})}};function Kt(){R.draggables={},R.droppables={},P.length=0}return{draggable:He,droppable:Vt,subscribe:V,clean:Kt}}function Cl(){var R=l(Hs,[]);return(0,n.useEffect)(function(){return function(){requestAnimationFrame(R.clean)}},[R]),R}var cl=n.createContext(null),To=function(){var R=document.body;return R||ue(!1),R},Kl={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Yl=function(P){return"rbd-announcement-"+P};function Tl(R){var P=l(function(){return Yl(R)},[R]),V=(0,n.useRef)(null);(0,n.useEffect)(function(){var be=document.createElement("div");return V.current=be,be.id=P,be.setAttribute("aria-live","assertive"),be.setAttribute("aria-atomic","true"),(0,r.A)(be.style,Kl),To().appendChild(be),function(){setTimeout(function(){var bt=To();bt.contains(be)&&bt.removeChild(be),be===V.current&&(V.current=null)})}},[P]);var ae=C(function(ye){var be=V.current;if(be){be.textContent=ye;return}},[]);return ae}var fl=0,Dl={separator:"::"};function Lo(){fl=0}function dl(R,P){return P===void 0&&(P=Dl),l(function(){return""+R+P.separator+fl++},[P.separator,R])}function Ws(R){var P=R.contextId,V=R.uniqueId;return"rbd-hidden-text-"+P+"-"+V}function $l(R){var P=R.contextId,V=R.text,ae=dl("hidden-text",{separator:"-"}),ye=l(function(){return Ws({contextId:P,uniqueId:ae})},[ae,P]);return(0,n.useEffect)(function(){var He=document.createElement("div");return He.id=ye,He.textContent=V,He.style.display="none",To().appendChild(He),function(){var bt=To();bt.contains(He)&&bt.removeChild(He)}},[ye,V]),ye}var js=n.createContext(null),Ol={react:"^16.8.5 || ^17.0.0 || ^18.0.0","react-dom":"^16.8.5 || ^17.0.0 || ^18.0.0"},No=/(\d+)\.(\d+)\.(\d+)/,Rl=function(P){var V=No.exec(P);V==null&&ue(!1);var ae=Number(V[1]),ye=Number(V[2]),be=Number(V[3]);return{major:ae,minor:ye,patch:be,raw:P}},Vs=function(P,V){return V.major>P.major?!0:V.majorP.minor?!0:V.minor=P.patch},Gs=function(R,P){var V=Rl(R),ae=Rl(P);Vs(V,ae)},Xl=`
  We expect a html5 doctype: 
  This is to ensure consistent browser layout and measurement

  More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md
`,Ml=function(R){var P=R.doctype;P&&(P.name.toLowerCase(),P.publicId)};function ts(R){}function $a(R,P){}function Pl(){$a(function(){Gs(Ol.react,n.version),Ml(document)},[])}function so(R){var P=(0,n.useRef)(R);return(0,n.useEffect)(function(){P.current=R}),P}function hl(){var R=null;function P(){return!!R}function V(He){return He===R}function ae(He){R&&ue(!1);var ze={abandon:He};return R=ze,ze}function ye(){R||ue(!1),R=null}function be(){R&&(R.abandon(),ye())}return{isClaimed:P,isActive:V,claim:ae,release:ye,tryAbandon:be}}var pl=9,Ql=13,gl=27,Il=32,Ms=33,Ks=34,kl=35,Zl=36,vl=37,Ps=38,Xa=39,Fl=40,Ss,rs=(Ss={},Ss[Ql]=!0,Ss[pl]=!0,Ss),mo=function(R){rs[R.keyCode]&&R.preventDefault()},ns=function(){var R="visibilitychange";if(typeof document>"u")return R;var P=[R,"ms"+R,"webkit"+R,"moz"+R,"o"+R],V=Or(P,function(ae){return"on"+ae in document});return V||R}(),is=0,lo=5;function Jl(R,P){return Math.abs(P.x-R.x)>=lo||Math.abs(P.y-R.y)>=lo}var Ys={type:"IDLE"};function ml(R){var P=R.cancel,V=R.completed,ae=R.getPhase,ye=R.setPhase;return[{eventName:"mousemove",fn:function(He){var ze=He.button,bt=He.clientX,Vt=He.clientY;if(ze===is){var Kt={x:bt,y:Vt},xt=ae();if(xt.type==="DRAGGING"){He.preventDefault(),xt.actions.move(Kt);return}xt.type!=="PENDING"&&ue(!1);var wt=xt.point;if(Jl(wt,Kt)){He.preventDefault();var Qt=xt.actions.fluidLift(Kt);ye({type:"DRAGGING",actions:Qt})}}}},{eventName:"mouseup",fn:function(He){var ze=ae();if(ze.type!=="DRAGGING"){P();return}He.preventDefault(),ze.actions.drop({shouldBlockNextClick:!0}),V()}},{eventName:"mousedown",fn:function(He){ae().type==="DRAGGING"&&He.preventDefault(),P()}},{eventName:"keydown",fn:function(He){var ze=ae();if(ze.type==="PENDING"){P();return}if(He.keyCode===gl){He.preventDefault(),P();return}mo(He)}},{eventName:"resize",fn:P},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){ae().type==="PENDING"&&P()}},{eventName:"webkitmouseforcedown",fn:function(He){var ze=ae();if(ze.type==="IDLE"&&ue(!1),ze.actions.shouldRespectForcePress()){P();return}He.preventDefault()}},{eventName:ns,fn:P}]}function Es(R){var P=(0,n.useRef)(Ys),V=(0,n.useRef)(Qe),ae=l(function(){return{eventName:"mousedown",fn:function(xt){if(!xt.defaultPrevented&&xt.button===is&&!(xt.ctrlKey||xt.metaKey||xt.shiftKey||xt.altKey)){var wt=R.findClosestDraggableId(xt);if(wt){var Qt=R.tryGetLock(wt,He,{sourceEvent:xt});if(Qt){xt.preventDefault();var yr={x:xt.clientX,y:xt.clientY};V.current(),Vt(Qt,yr)}}}}}},[R]),ye=l(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(xt){if(!xt.defaultPrevented){var wt=R.findClosestDraggableId(xt);if(wt){var Qt=R.findOptionsForDraggable(wt);Qt&&(Qt.shouldRespectForcePress||R.canGetLock(wt)&&xt.preventDefault())}}}}},[R]),be=C(function(){var xt={passive:!1,capture:!0};V.current=Xe(window,[ye,ae],xt)},[ye,ae]),He=C(function(){var Kt=P.current;Kt.type!=="IDLE"&&(P.current=Ys,V.current(),be())},[be]),ze=C(function(){var Kt=P.current;He(),Kt.type==="DRAGGING"&&Kt.actions.cancel({shouldBlockNextClick:!0}),Kt.type==="PENDING"&&Kt.actions.abort()},[He]),bt=C(function(){var xt={capture:!0,passive:!1},wt=ml({cancel:ze,completed:He,getPhase:function(){return P.current},setPhase:function(yr){P.current=yr}});V.current=Xe(window,wt,xt)},[ze,He]),Vt=C(function(xt,wt){P.current.type!=="IDLE"&&ue(!1),P.current={type:"PENDING",point:wt,actions:xt},bt()},[bt]);fa(function(){return be(),function(){V.current()}},[be])}var ro;function Bl(){}var Ll=(ro={},ro[Ks]=!0,ro[Ms]=!0,ro[Zl]=!0,ro[kl]=!0,ro);function $s(R,P){function V(){P(),R.cancel()}function ae(){P(),R.drop()}return[{eventName:"keydown",fn:function(be){if(be.keyCode===gl){be.preventDefault(),V();return}if(be.keyCode===Il){be.preventDefault(),ae();return}if(be.keyCode===Fl){be.preventDefault(),R.moveDown();return}if(be.keyCode===Ps){be.preventDefault(),R.moveUp();return}if(be.keyCode===Xa){be.preventDefault(),R.moveRight();return}if(be.keyCode===vl){be.preventDefault(),R.moveLeft();return}if(Ll[be.keyCode]){be.preventDefault();return}mo(be)}},{eventName:"mousedown",fn:V},{eventName:"mouseup",fn:V},{eventName:"click",fn:V},{eventName:"touchstart",fn:V},{eventName:"resize",fn:V},{eventName:"wheel",fn:V,options:{passive:!0}},{eventName:ns,fn:V}]}function ql(R){var P=(0,n.useRef)(Bl),V=l(function(){return{eventName:"keydown",fn:function(be){if(be.defaultPrevented||be.keyCode!==Il)return;var He=R.findClosestDraggableId(be);if(!He)return;var ze=R.tryGetLock(He,Kt,{sourceEvent:be});if(!ze)return;be.preventDefault();var bt=!0,Vt=ze.snapLift();P.current();function Kt(){bt||ue(!1),bt=!1,P.current(),ae()}P.current=Xe(window,$s(Vt,Kt),{capture:!0,passive:!1})}}},[R]),ae=C(function(){var be={passive:!1,capture:!0};P.current=Xe(window,[V],be)},[V]);fa(function(){return ae(),function(){P.current()}},[ae])}var Xs={type:"IDLE"},Ma=120,Qs=.15;function Is(R){var P=R.cancel,V=R.getPhase;return[{eventName:"orientationchange",fn:P},{eventName:"resize",fn:P},{eventName:"contextmenu",fn:function(ye){ye.preventDefault()}},{eventName:"keydown",fn:function(ye){if(V().type!=="DRAGGING"){P();return}ye.keyCode===gl&&ye.preventDefault(),P()}},{eventName:ns,fn:P}]}function Do(R){var P=R.cancel,V=R.completed,ae=R.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(be){var He=ae();if(He.type!=="DRAGGING"){P();return}He.hasMoved=!0;var ze=be.touches[0],bt=ze.clientX,Vt=ze.clientY,Kt={x:bt,y:Vt};be.preventDefault(),He.actions.move(Kt)}},{eventName:"touchend",fn:function(be){var He=ae();if(He.type!=="DRAGGING"){P();return}be.preventDefault(),He.actions.drop({shouldBlockNextClick:!0}),V()}},{eventName:"touchcancel",fn:function(be){if(ae().type!=="DRAGGING"){P();return}be.preventDefault(),P()}},{eventName:"touchforcechange",fn:function(be){var He=ae();He.type==="IDLE"&&ue(!1);var ze=be.touches[0];if(ze){var bt=ze.force>=Qs;if(bt){var Vt=He.actions.shouldRespectForcePress();if(He.type==="PENDING"){Vt&&P();return}if(Vt){if(He.hasMoved){be.preventDefault();return}P();return}be.preventDefault()}}}},{eventName:ns,fn:P}]}function _s(R){var P=(0,n.useRef)(Xs),V=(0,n.useRef)(Qe),ae=C(function(){return P.current},[]),ye=C(function(Qt){P.current=Qt},[]),be=l(function(){return{eventName:"touchstart",fn:function(Qt){if(!Qt.defaultPrevented){var yr=R.findClosestDraggableId(Qt);if(yr){var nn=R.tryGetLock(yr,ze,{sourceEvent:Qt});if(nn){var hn=Qt.touches[0],bn=hn.clientX,Tn=hn.clientY,Ln={x:bn,y:Tn};V.current(),xt(nn,Ln)}}}}}},[R]),He=C(function(){var Qt={capture:!0,passive:!1};V.current=Xe(window,[be],Qt)},[be]),ze=C(function(){var wt=P.current;wt.type!=="IDLE"&&(wt.type==="PENDING"&&clearTimeout(wt.longPressTimerId),ye(Xs),V.current(),He())},[He,ye]),bt=C(function(){var wt=P.current;ze(),wt.type==="DRAGGING"&&wt.actions.cancel({shouldBlockNextClick:!0}),wt.type==="PENDING"&&wt.actions.abort()},[ze]),Vt=C(function(){var Qt={capture:!0,passive:!1},yr={cancel:bt,completed:ze,getPhase:ae},nn=Xe(window,Do(yr),Qt),hn=Xe(window,Is(yr),Qt);V.current=function(){nn(),hn()}},[bt,ae,ze]),Kt=C(function(){var Qt=ae();Qt.type!=="PENDING"&&ue(!1);var yr=Qt.actions.fluidLift(Qt.point);ye({type:"DRAGGING",actions:yr,hasMoved:!1})},[ae,ye]),xt=C(function(Qt,yr){ae().type!=="IDLE"&&ue(!1);var nn=setTimeout(Kt,Ma);ye({type:"PENDING",point:yr,actions:Qt,longPressTimerId:nn}),Vt()},[Vt,ae,ye,Kt]);fa(function(){return He(),function(){V.current();var yr=ae();yr.type==="PENDING"&&(clearTimeout(yr.longPressTimerId),ye(Xs))}},[ae,He,ye]),fa(function(){var Qt=Xe(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Qt},[])}function ks(R){}var Oo={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function da(R,P){if(P==null)return!1;var V=!!Oo[P.tagName.toLowerCase()];if(V)return!0;var ae=P.getAttribute("contenteditable");return ae==="true"||ae===""?!0:P===R?!1:da(R,P.parentElement)}function Va(R,P){var V=P.target;return Yo(V)?da(R,V):!1}var $o=function(R){return p(R.getBoundingClientRect()).center};function Zs(R){return R instanceof As(R).Element}var yl=function(){var R="matches";if(typeof document>"u")return R;var P=[R,"msMatchesSelector","webkitMatchesSelector"],V=Or(P,function(ae){return ae in Element.prototype});return V||R}();function Nl(R,P){return R==null?null:R[yl](P)?R:Nl(R.parentElement,P)}function Fs(R,P){return R.closest?R.closest(P):Nl(R,P)}function Js(R){return"["+eo.contextId+'="'+R+'"]'}function Cs(R,P){var V=P.target;if(!Zs(V))return null;var ae=Js(R),ye=Fs(V,ae);return!ye||!Yo(ye)?null:ye}function zl(R,P){var V=Cs(R,P);return V?V.getAttribute(eo.draggableId):null}function eu(R,P){var V="["+to.contextId+'="'+R+'"]',ae=Nr(document.querySelectorAll(V)),ye=Or(ae,function(be){return be.getAttribute(to.id)===P});return!ye||!Yo(ye)?null:ye}function tu(R){R.preventDefault()}function as(R){var P=R.expected,V=R.phase,ae=R.isLockActive,ye=R.shouldWarn;return!(!ae()||P!==V)}function qs(R){var P=R.lockAPI,V=R.store,ae=R.registry,ye=R.draggableId;if(P.isClaimed())return!1;var be=ae.draggable.findById(ye);return!(!be||!be.options.isEnabled||!go(V.getState(),ye))}function ru(R){var P=R.lockAPI,V=R.contextId,ae=R.store,ye=R.registry,be=R.draggableId,He=R.forceSensorStop,ze=R.sourceEvent,bt=qs({lockAPI:P,store:ae,registry:ye,draggableId:be});if(!bt)return null;var Vt=ye.draggable.getById(be),Kt=eu(V,Vt.descriptor.id);if(!Kt||ze&&!Vt.options.canDragInteractiveElements&&Va(Kt,ze))return null;var xt=P.claim(He||Qe),wt="PRE_DRAG";function Qt(){return Vt.options.shouldRespectForcePress}function yr(){return P.isActive(xt)}function nn(Ai,ji){as({expected:Ai,phase:wt,isLockActive:yr,shouldWarn:!0})&&ae.dispatch(ji())}var hn=nn.bind(null,"DRAGGING");function bn(Ai){function ji(){P.release(),wt="COMPLETED"}wt!=="PRE_DRAG"&&(ji(),wt!=="PRE_DRAG"&&ue(!1)),ae.dispatch(xo(Ai.liftActionArgs)),wt="DRAGGING";function Ja(Vi,Na){if(Na===void 0&&(Na={shouldBlockNextClick:!1}),Ai.cleanup(),Na.shouldBlockNextClick){var ta=Xe(window,[{eventName:"click",fn:tu,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(ta)}ji(),ae.dispatch(vr({reason:Vi}))}return(0,r.A)({isActive:function(){return as({expected:"DRAGGING",phase:wt,isLockActive:yr,shouldWarn:!1})},shouldRespectForcePress:Qt,drop:function(Na){return Ja("DROP",Na)},cancel:function(Na){return Ja("CANCEL",Na)}},Ai.actions)}function Tn(Ai){var ji=we(function(Vi){hn(function(){return de({client:Vi})})}),Ja=bn({liftActionArgs:{id:be,clientSelection:Ai,movementMode:"FLUID"},cleanup:function(){return ji.cancel()},actions:{move:ji}});return(0,r.A)({},Ja,{move:ji})}function Ln(){var Ai={moveUp:function(){return hn(ut)},moveRight:function(){return hn(mt)},moveDown:function(){return hn(rt)},moveLeft:function(){return hn(Dt)}};return bn({liftActionArgs:{id:be,clientSelection:$o(Kt),movementMode:"SNAP"},cleanup:Qe,actions:Ai})}function $r(){var Ai=as({expected:"PRE_DRAG",phase:wt,isLockActive:yr,shouldWarn:!0});Ai&&P.release()}var Pi={isActive:function(){return as({expected:"PRE_DRAG",phase:wt,isLockActive:yr,shouldWarn:!1})},shouldRespectForcePress:Qt,fluidLift:Tn,snapLift:Ln,abort:$r};return Pi}var bl=[Es,ql,_s];function a(R){var P=R.contextId,V=R.store,ae=R.registry,ye=R.customSensors,be=R.enableDefaultSensors,He=[].concat(be?bl:[],ye||[]),ze=(0,n.useState)(function(){return hl()})[0],bt=C(function(Tn,Ln){Tn.isDragging&&!Ln.isDragging&&ze.tryAbandon()},[ze]);fa(function(){var Tn=V.getState(),Ln=V.subscribe(function(){var $r=V.getState();bt(Tn,$r),Tn=$r});return Ln},[ze,V,bt]),fa(function(){return ze.tryAbandon},[ze.tryAbandon]);var Vt=C(function(bn){return qs({lockAPI:ze,registry:ae,store:V,draggableId:bn})},[ze,ae,V]),Kt=C(function(bn,Tn,Ln){return ru({lockAPI:ze,registry:ae,contextId:P,store:V,draggableId:bn,forceSensorStop:Tn,sourceEvent:Ln&&Ln.sourceEvent?Ln.sourceEvent:null})},[P,ze,ae,V]),xt=C(function(bn){return zl(P,bn)},[P]),wt=C(function(bn){var Tn=ae.draggable.findById(bn);return Tn?Tn.options:null},[ae.draggable]),Qt=C(function(){ze.isClaimed()&&(ze.tryAbandon(),V.getState().phase!=="IDLE"&&V.dispatch(zt()))},[ze,V]),yr=C(ze.isClaimed,[ze]),nn=l(function(){return{canGetLock:Vt,tryGetLock:Kt,findClosestDraggableId:xt,findOptionsForDraggable:wt,tryReleaseLock:Qt,isLockClaimed:yr}},[Vt,Kt,xt,wt,Qt,yr]);ks(He);for(var hn=0;hn{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.AlphaPicker=void 0;var n=Object.assign||function(b){for(var m=1;m{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.AlphaPointer=void 0;var n=t("Z7aTuO5B"),o=h(n),r=t("zGS59GCK"),s=h(r);function h(A){return A&&A.__esModule?A:{default:A}}var u=v.AlphaPointer=function(S){var l=S.direction,C=(0,s.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:l==="vertical"});return o.default.createElement("div",{style:C.picker})};v.default=u},TohfJLGw:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.Block=void 0;var n=t("Z7aTuO5B"),o=f(n),r=t("KfF0gQb+"),s=f(r),h=t("zGS59GCK"),u=f(h),A=t("C19pcrjQ"),S=f(A),l=t("kOI9bxm6"),C=f(l),b=t("50Juodil"),m=t("htkUizel"),D=f(m);function f(c){return c&&c.__esModule?c:{default:c}}var p=v.Block=function(d){var g=d.onChange,w=d.onSwatchHover,x=d.hex,T=d.colors,O=d.width,F=d.triangle,K=d.styles,ee=K===void 0?{}:K,he=d.className,pe=he===void 0?"":he,ie=x==="transparent",we=function(B,k){C.default.isValidHex(B)&&g({hex:B,source:"hex"},k)},Ce=(0,u.default)((0,S.default)({default:{card:{width:O,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:x,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:C.default.getContrastingColor(x),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+x+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},ee),{"hide-triangle":F==="hide"});return o.default.createElement("div",{style:Ce.card,className:"block-picker "+pe},o.default.createElement("div",{style:Ce.triangle}),o.default.createElement("div",{style:Ce.head},ie&&o.default.createElement(b.Checkboard,{borderRadius:"6px 6px 0 0"}),o.default.createElement("div",{style:Ce.label},x)),o.default.createElement("div",{style:Ce.body},o.default.createElement(D.default,{colors:T,onClick:we,onSwatchHover:w}),o.default.createElement(b.EditableInput,{style:{input:Ce.input},value:x,onChange:we})))};p.propTypes={width:s.default.oneOfType([s.default.string,s.default.number]),colors:s.default.arrayOf(s.default.string),triangle:s.default.oneOf(["top","hide"]),styles:s.default.object},p.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},v.default=(0,b.ColorWrap)(p)},htkUizel:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.BlockSwatches=void 0;var n=t("Z7aTuO5B"),o=S(n),r=t("zGS59GCK"),s=S(r),h=t("PHWUskn4"),u=S(h),A=t("50Juodil");function S(C){return C&&C.__esModule?C:{default:C}}var l=v.BlockSwatches=function(b){var m=b.colors,D=b.onClick,f=b.onSwatchHover,p=(0,s.default)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return o.default.createElement("div",{style:p.swatches},(0,u.default)(m,function(c){return o.default.createElement(A.Swatch,{key:c,color:c,style:p.swatch,onClick:D,onHover:f,focusStyle:{boxShadow:"0 0 4px "+c}})}),o.default.createElement("div",{style:p.clear}))};v.default=l},Nnu6OYeX:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.Chrome=void 0;var n=t("Z7aTuO5B"),o=c(n),r=t("KfF0gQb+"),s=c(r),h=t("zGS59GCK"),u=c(h),A=t("C19pcrjQ"),S=c(A),l=t("50Juodil"),C=t("mqdqrxWG"),b=c(C),m=t("enjB4QzD"),D=c(m),f=t("jknumh3o"),p=c(f);function c(g){return g&&g.__esModule?g:{default:g}}var d=v.Chrome=function(w){var x=w.width,T=w.onChange,O=w.disableAlpha,F=w.rgb,K=w.hsl,ee=w.hsv,he=w.hex,pe=w.renderers,ie=w.styles,we=ie===void 0?{}:ie,Ce=w.className,Ne=Ce===void 0?"":Ce,B=w.defaultView,k=(0,u.default)((0,S.default)({default:{picker:{width:x,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+F.r+", "+F.g+", "+F.b+", "+F.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},we),{disableAlpha:O});return o.default.createElement("div",{style:k.picker,className:"chrome-picker "+Ne},o.default.createElement("div",{style:k.saturation},o.default.createElement(l.Saturation,{style:k.Saturation,hsl:K,hsv:ee,pointer:p.default,onChange:T})),o.default.createElement("div",{style:k.body},o.default.createElement("div",{style:k.controls,className:"flexbox-fix"},o.default.createElement("div",{style:k.color},o.default.createElement("div",{style:k.swatch},o.default.createElement("div",{style:k.active}),o.default.createElement(l.Checkboard,{renderers:pe}))),o.default.createElement("div",{style:k.toggles},o.default.createElement("div",{style:k.hue},o.default.createElement(l.Hue,{style:k.Hue,hsl:K,pointer:D.default,onChange:T})),o.default.createElement("div",{style:k.alpha},o.default.createElement(l.Alpha,{style:k.Alpha,rgb:F,hsl:K,pointer:D.default,renderers:pe,onChange:T})))),o.default.createElement(b.default,{rgb:F,hsl:K,hex:he,view:B,onChange:T,disableAlpha:O})))};d.propTypes={width:s.default.oneOfType([s.default.string,s.default.number]),disableAlpha:s.default.bool,styles:s.default.object,defaultView:s.default.oneOf(["hex","rgb","hsl"])},d.defaultProps={width:225,disableAlpha:!1,styles:{}},v.default=(0,l.ColorWrap)(d)},mqdqrxWG:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.ChromeFields=void 0;var n=function(){function g(w,x){for(var T=0;T1&&(O.a=1),T.props.onChange({h:T.props.hsl.h,s:T.props.hsl.s,l:T.props.hsl.l,a:Math.round(O.a*100)/100,source:"rgb"},F)):(O.h||O.s||O.l)&&(typeof O.s=="string"&&O.s.includes("%")&&(O.s=O.s.replace("%","")),typeof O.l=="string"&&O.l.includes("%")&&(O.l=O.l.replace("%","")),O.s==1?O.s=.01:O.l==1&&(O.l=.01),T.props.onChange({h:O.h||T.props.hsl.h,s:Number((0,l.default)(O.s)?T.props.hsl.s:O.s),l:Number((0,l.default)(O.l)?T.props.hsl.l:O.l),source:"hsl"},F))},T.showHighlight=function(O){O.currentTarget.style.background="#eee"},T.hideHighlight=function(O){O.currentTarget.style.background="transparent"},x.hsl.a!==1&&x.view==="hex"?T.state={view:"rgb"}:T.state={view:x.view},T}return n(w,[{key:"render",value:function(){var T=this,O=(0,h.default)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),F=void 0;return this.state.view==="hex"?F=r.default.createElement("div",{style:O.fields,className:"flexbox-fix"},r.default.createElement("div",{style:O.field},r.default.createElement(C.EditableInput,{style:{input:O.input,label:O.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):this.state.view==="rgb"?F=r.default.createElement("div",{style:O.fields,className:"flexbox-fix"},r.default.createElement("div",{style:O.field},r.default.createElement(C.EditableInput,{style:{input:O.input,label:O.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),r.default.createElement("div",{style:O.field},r.default.createElement(C.EditableInput,{style:{input:O.input,label:O.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),r.default.createElement("div",{style:O.field},r.default.createElement(C.EditableInput,{style:{input:O.input,label:O.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),r.default.createElement("div",{style:O.alpha},r.default.createElement(C.EditableInput,{style:{input:O.input,label:O.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):this.state.view==="hsl"&&(F=r.default.createElement("div",{style:O.fields,className:"flexbox-fix"},r.default.createElement("div",{style:O.field},r.default.createElement(C.EditableInput,{style:{input:O.input,label:O.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),r.default.createElement("div",{style:O.field},r.default.createElement(C.EditableInput,{style:{input:O.input,label:O.label},label:"s",value:Math.round(this.props.hsl.s*100)+"%",onChange:this.handleChange})),r.default.createElement("div",{style:O.field},r.default.createElement(C.EditableInput,{style:{input:O.input,label:O.label},label:"l",value:Math.round(this.props.hsl.l*100)+"%",onChange:this.handleChange})),r.default.createElement("div",{style:O.alpha},r.default.createElement(C.EditableInput,{style:{input:O.input,label:O.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),r.default.createElement("div",{style:O.wrap,className:"flexbox-fix"},F,r.default.createElement("div",{style:O.toggle},r.default.createElement("div",{style:O.icon,onClick:this.toggleViews,ref:function(ee){return T.icon=ee}},r.default.createElement(m.default,{style:O.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(T,O){return T.hsl.a!==1&&O.view==="hex"?{view:"rgb"}:null}}]),w}(r.default.Component);d.defaultProps={view:"hex"},v.default=d},enjB4QzD:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.ChromePointer=void 0;var n=t("Z7aTuO5B"),o=h(n),r=t("zGS59GCK"),s=h(r);function h(A){return A&&A.__esModule?A:{default:A}}var u=v.ChromePointer=function(){var S=(0,s.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return o.default.createElement("div",{style:S.picker})};v.default=u},jknumh3o:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.ChromePointerCircle=void 0;var n=t("Z7aTuO5B"),o=h(n),r=t("zGS59GCK"),s=h(r);function h(A){return A&&A.__esModule?A:{default:A}}var u=v.ChromePointerCircle=function(){var S=(0,s.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return o.default.createElement("div",{style:S.picker})};v.default=u},"m/EOH/1h":(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.Circle=void 0;var n=t("Z7aTuO5B"),o=d(n),r=t("KfF0gQb+"),s=d(r),h=t("zGS59GCK"),u=d(h),A=t("PHWUskn4"),S=d(A),l=t("C19pcrjQ"),C=d(l),b=t("sbzPTQ5+"),m=c(b),D=t("50Juodil"),f=t("XaKrCOaP"),p=d(f);function c(w){if(w&&w.__esModule)return w;var x={};if(w!=null)for(var T in w)Object.prototype.hasOwnProperty.call(w,T)&&(x[T]=w[T]);return x.default=w,x}function d(w){return w&&w.__esModule?w:{default:w}}var g=v.Circle=function(x){var T=x.width,O=x.onChange,F=x.onSwatchHover,K=x.colors,ee=x.hex,he=x.circleSize,pe=x.styles,ie=pe===void 0?{}:pe,we=x.circleSpacing,Ce=x.className,Ne=Ce===void 0?"":Ce,B=(0,u.default)((0,C.default)({default:{card:{width:T,display:"flex",flexWrap:"wrap",marginRight:-we,marginBottom:-we}}},ie)),k=function(q,Q){return O({hex:q,source:"hex"},Q)};return o.default.createElement("div",{style:B.card,className:"circle-picker "+Ne},(0,S.default)(K,function(W){return o.default.createElement(p.default,{key:W,color:W,onClick:k,onSwatchHover:F,active:ee===W.toLowerCase(),circleSize:he,circleSpacing:we})}))};g.propTypes={width:s.default.oneOfType([s.default.string,s.default.number]),circleSize:s.default.number,circleSpacing:s.default.number,styles:s.default.object},g.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[m.red[500],m.pink[500],m.purple[500],m.deepPurple[500],m.indigo[500],m.blue[500],m.lightBlue[500],m.cyan[500],m.teal[500],m.green[500],m.lightGreen[500],m.lime[500],m.yellow[500],m.amber[500],m.orange[500],m.deepOrange[500],m.brown[500],m.blueGrey[500]],styles:{}},v.default=(0,D.ColorWrap)(g)},XaKrCOaP:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.CircleSwatch=void 0;var n=t("Z7aTuO5B"),o=u(n),r=t("zGS59GCK"),s=u(r),h=t("50Juodil");function u(S){return S&&S.__esModule?S:{default:S}}var A=v.CircleSwatch=function(l){var C=l.color,b=l.onClick,m=l.onSwatchHover,D=l.hover,f=l.active,p=l.circleSize,c=l.circleSpacing,d=(0,s.default)({default:{swatch:{width:p,height:p,marginRight:c,marginBottom:c,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+(p/2+1)+"px "+C,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+C}}},{hover:D,active:f});return o.default.createElement("div",{style:d.swatch},o.default.createElement(h.Swatch,{style:d.Swatch,color:C,onClick:b,onHover:m,focusStyle:{boxShadow:d.Swatch.boxShadow+", 0 0 5px "+C}}))};A.defaultProps={circleSize:28,circleSpacing:14},v.default=(0,r.handleHover)(A)},W2qugioQ:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.Alpha=void 0;var n=Object.assign||function(d){for(var g=1;g{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.Checkboard=void 0;var n=Object.assign||function(b){for(var m=1;m{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.ColorWrap=void 0;var n=Object.assign||function(f){for(var p=1;p{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.EditableInput=void 0;var n=function(){function g(w,x){for(var T=0;T-1},c=function(w){return Number(String(w).replace(/%/g,""))},d=v.EditableInput=function(g){C(w,g);function w(x){S(this,w);var T=l(this,(w.__proto__||Object.getPrototypeOf(w)).call(this));return T.handleBlur=function(){T.state.blurValue&&T.setState({value:T.state.blurValue,blurValue:null})},T.handleChange=function(O){T.setUpdatedValue(O.target.value,O)},T.handleKeyDown=function(O){var F=c(O.target.value);if(!isNaN(F)&&p(O.keyCode)){var K=T.getArrowOffset(),ee=O.keyCode===m?F+K:F-K;T.setUpdatedValue(ee,O)}},T.handleDrag=function(O){if(T.props.dragLabel){var F=Math.round(T.props.value+O.movementX);F>=0&&F<=T.props.dragMax&&T.props.onChange&&T.props.onChange(T.getValueObjectWithLabel(F),O)}},T.handleMouseDown=function(O){T.props.dragLabel&&(O.preventDefault(),T.handleDrag(O),window.addEventListener("mousemove",T.handleDrag),window.addEventListener("mouseup",T.handleMouseUp))},T.handleMouseUp=function(){T.unbindEventListeners()},T.unbindEventListeners=function(){window.removeEventListener("mousemove",T.handleDrag),window.removeEventListener("mouseup",T.handleMouseUp)},T.state={value:String(x.value).toUpperCase(),blurValue:String(x.value).toUpperCase()},T}return n(w,[{key:"componentDidUpdate",value:function(T,O){this.props.value!==this.state.value&&(T.value!==this.props.value||O.value!==this.state.value)&&(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(T){return A({},this.props.label,T)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||b}},{key:"setUpdatedValue",value:function(T,O){var F=this.props.label?this.getValueObjectWithLabel(T):T;this.props.onChange&&this.props.onChange(F,O),this.setState({value:T})}},{key:"render",value:function(){var T=this,O=(0,h.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return r.default.createElement("div",{style:O.wrap},r.default.createElement("input",{style:O.input,ref:function(K){return T.input=K},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?r.default.createElement("span",{style:O.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),w}(o.PureComponent||o.Component);v.default=d},"4OJvUVPG":(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.Hue=void 0;var n=function(){function f(p,c){for(var d=0;d{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.Raised=void 0;var n=t("Z7aTuO5B"),o=l(n),r=t("KfF0gQb+"),s=l(r),h=t("zGS59GCK"),u=l(h),A=t("C19pcrjQ"),S=l(A);function l(b){return b&&b.__esModule?b:{default:b}}var C=v.Raised=function(m){var D=m.zDepth,f=m.radius,p=m.background,c=m.children,d=m.styles,g=d===void 0?{}:d,w=(0,u.default)((0,S.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+D+"px "+D*4+"px rgba(0,0,0,.24)",borderRadius:f,background:p}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},g),{"zDepth-1":D===1});return o.default.createElement("div",{style:w.wrap},o.default.createElement("div",{style:w.bg}),o.default.createElement("div",{style:w.content},c))};C.propTypes={background:s.default.string,zDepth:s.default.oneOf([0,1,2,3,4,5]),radius:s.default.number,styles:s.default.object},C.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}},v.default=C},BdwEOMSP:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.Saturation=void 0;var n=function(){function c(d,g){for(var w=0;w{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.Swatch=void 0;var n=Object.assign||function(m){for(var D=1;D{"use strict";Object.defineProperty(v,"__esModule",{value:!0});var n=t("W2qugioQ");Object.defineProperty(v,"Alpha",{enumerable:!0,get:function(){return l(n).default}});var o=t("2yQMsnyz");Object.defineProperty(v,"Checkboard",{enumerable:!0,get:function(){return l(o).default}});var r=t("iCQRg+2H");Object.defineProperty(v,"EditableInput",{enumerable:!0,get:function(){return l(r).default}});var s=t("4OJvUVPG");Object.defineProperty(v,"Hue",{enumerable:!0,get:function(){return l(s).default}});var h=t("xlaHyUGs");Object.defineProperty(v,"Raised",{enumerable:!0,get:function(){return l(h).default}});var u=t("BdwEOMSP");Object.defineProperty(v,"Saturation",{enumerable:!0,get:function(){return l(u).default}});var A=t("99KYJWxP");Object.defineProperty(v,"ColorWrap",{enumerable:!0,get:function(){return l(A).default}});var S=t("s7OgWrle");Object.defineProperty(v,"Swatch",{enumerable:!0,get:function(){return l(S).default}});function l(C){return C&&C.__esModule?C:{default:C}}},CTscPvbn:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.Compact=void 0;var n=t("Z7aTuO5B"),o=g(n),r=t("KfF0gQb+"),s=g(r),h=t("zGS59GCK"),u=g(h),A=t("PHWUskn4"),S=g(A),l=t("C19pcrjQ"),C=g(l),b=t("kOI9bxm6"),m=g(b),D=t("50Juodil"),f=t("/ZWh+C5P"),p=g(f),c=t("2gc7+/JM"),d=g(c);function g(x){return x&&x.__esModule?x:{default:x}}var w=v.Compact=function(T){var O=T.onChange,F=T.onSwatchHover,K=T.colors,ee=T.hex,he=T.rgb,pe=T.styles,ie=pe===void 0?{}:pe,we=T.className,Ce=we===void 0?"":we,Ne=(0,u.default)((0,C.default)({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},ie)),B=function(W,q){W.hex?m.default.isValidHex(W.hex)&&O({hex:W.hex,source:"hex"},q):O(W,q)};return o.default.createElement(D.Raised,{style:Ne.Compact,styles:ie},o.default.createElement("div",{style:Ne.compact,className:"compact-picker "+Ce},o.default.createElement("div",null,(0,S.default)(K,function(k){return o.default.createElement(p.default,{key:k,color:k,active:k.toLowerCase()===ee,onClick:B,onSwatchHover:F})}),o.default.createElement("div",{style:Ne.clear})),o.default.createElement(d.default,{hex:ee,rgb:he,onChange:B})))};w.propTypes={colors:s.default.arrayOf(s.default.string),styles:s.default.object},w.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},v.default=(0,D.ColorWrap)(w)},"/ZWh+C5P":(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.CompactColor=void 0;var n=t("Z7aTuO5B"),o=S(n),r=t("zGS59GCK"),s=S(r),h=t("kOI9bxm6"),u=S(h),A=t("50Juodil");function S(C){return C&&C.__esModule?C:{default:C}}var l=v.CompactColor=function(b){var m=b.color,D=b.onClick,f=D===void 0?function(){}:D,p=b.onSwatchHover,c=b.active,d=(0,s.default)({default:{color:{background:m,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:u.default.getContrastingColor(m),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:c,"color-#FFFFFF":m==="#FFFFFF",transparent:m==="transparent"});return o.default.createElement(A.Swatch,{style:d.color,color:m,onClick:f,onHover:p,focusStyle:{boxShadow:"0 0 4px "+m}},o.default.createElement("div",{style:d.dot}))};v.default=l},"2gc7+/JM":(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.CompactFields=void 0;var n=t("Z7aTuO5B"),o=u(n),r=t("zGS59GCK"),s=u(r),h=t("50Juodil");function u(S){return S&&S.__esModule?S:{default:S}}var A=v.CompactFields=function(l){var C=l.hex,b=l.rgb,m=l.onChange,D=(0,s.default)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:C},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),f=function(c,d){c.r||c.g||c.b?m({r:c.r||b.r,g:c.g||b.g,b:c.b||b.b,source:"rgb"},d):m({hex:c.hex,source:"hex"},d)};return o.default.createElement("div",{style:D.fields,className:"flexbox-fix"},o.default.createElement("div",{style:D.active}),o.default.createElement(h.EditableInput,{style:{wrap:D.HEXwrap,input:D.HEXinput,label:D.HEXlabel},label:"hex",value:C,onChange:f}),o.default.createElement(h.EditableInput,{style:{wrap:D.RGBwrap,input:D.RGBinput,label:D.RGBlabel},label:"r",value:b.r,onChange:f}),o.default.createElement(h.EditableInput,{style:{wrap:D.RGBwrap,input:D.RGBinput,label:D.RGBlabel},label:"g",value:b.g,onChange:f}),o.default.createElement(h.EditableInput,{style:{wrap:D.RGBwrap,input:D.RGBinput,label:D.RGBlabel},label:"b",value:b.b,onChange:f}))};v.default=A},jdj53D7Q:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.Github=void 0;var n=t("Z7aTuO5B"),o=f(n),r=t("KfF0gQb+"),s=f(r),h=t("zGS59GCK"),u=f(h),A=t("PHWUskn4"),S=f(A),l=t("C19pcrjQ"),C=f(l),b=t("50Juodil"),m=t("GcTd4j0J"),D=f(m);function f(c){return c&&c.__esModule?c:{default:c}}var p=v.Github=function(d){var g=d.width,w=d.colors,x=d.onChange,T=d.onSwatchHover,O=d.triangle,F=d.styles,K=F===void 0?{}:F,ee=d.className,he=ee===void 0?"":ee,pe=(0,u.default)((0,C.default)({default:{card:{width:g,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},K),{"hide-triangle":O==="hide","top-left-triangle":O==="top-left","top-right-triangle":O==="top-right","bottom-left-triangle":O==="bottom-left","bottom-right-triangle":O==="bottom-right"}),ie=function(Ce,Ne){return x({hex:Ce,source:"hex"},Ne)};return o.default.createElement("div",{style:pe.card,className:"github-picker "+he},o.default.createElement("div",{style:pe.triangleShadow}),o.default.createElement("div",{style:pe.triangle}),(0,S.default)(w,function(we){return o.default.createElement(D.default,{color:we,key:we,onClick:ie,onSwatchHover:T})}))};p.propTypes={width:s.default.oneOfType([s.default.string,s.default.number]),colors:s.default.arrayOf(s.default.string),triangle:s.default.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:s.default.object},p.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},v.default=(0,b.ColorWrap)(p)},GcTd4j0J:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.GithubSwatch=void 0;var n=t("Z7aTuO5B"),o=u(n),r=t("zGS59GCK"),s=u(r),h=t("50Juodil");function u(S){return S&&S.__esModule?S:{default:S}}var A=v.GithubSwatch=function(l){var C=l.hover,b=l.color,m=l.onClick,D=l.onSwatchHover,f={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},p=(0,s.default)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:f}},{hover:C});return o.default.createElement("div",{style:p.swatch},o.default.createElement(h.Swatch,{color:b,onClick:m,onHover:D,focusStyle:f}))};v.default=(0,r.handleHover)(A)},"krarzO/E":(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.HuePicker=void 0;var n=Object.assign||function(p){for(var c=1;c{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.SliderPointer=void 0;var n=t("Z7aTuO5B"),o=h(n),r=t("zGS59GCK"),s=h(r);function h(A){return A&&A.__esModule?A:{default:A}}var u=v.SliderPointer=function(S){var l=S.direction,C=(0,s.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:l==="vertical"});return o.default.createElement("div",{style:C.picker})};v.default=u},aHBOerTE:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.Material=void 0;var n=t("Z7aTuO5B"),o=C(n),r=t("zGS59GCK"),s=C(r),h=t("C19pcrjQ"),u=C(h),A=t("kOI9bxm6"),S=C(A),l=t("50Juodil");function C(m){return m&&m.__esModule?m:{default:m}}var b=v.Material=function(D){var f=D.onChange,p=D.hex,c=D.rgb,d=D.styles,g=d===void 0?{}:d,w=D.className,x=w===void 0?"":w,T=(0,s.default)((0,u.default)({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+p,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},g)),O=function(K,ee){K.hex?S.default.isValidHex(K.hex)&&f({hex:K.hex,source:"hex"},ee):(K.r||K.g||K.b)&&f({r:K.r||c.r,g:K.g||c.g,b:K.b||c.b,source:"rgb"},ee)};return o.default.createElement(l.Raised,{styles:g},o.default.createElement("div",{style:T.material,className:"material-picker "+x},o.default.createElement(l.EditableInput,{style:{wrap:T.HEXwrap,input:T.HEXinput,label:T.HEXlabel},label:"hex",value:p,onChange:O}),o.default.createElement("div",{style:T.split,className:"flexbox-fix"},o.default.createElement("div",{style:T.third},o.default.createElement(l.EditableInput,{style:{wrap:T.RGBwrap,input:T.RGBinput,label:T.RGBlabel},label:"r",value:c.r,onChange:O})),o.default.createElement("div",{style:T.third},o.default.createElement(l.EditableInput,{style:{wrap:T.RGBwrap,input:T.RGBinput,label:T.RGBlabel},label:"g",value:c.g,onChange:O})),o.default.createElement("div",{style:T.third},o.default.createElement(l.EditableInput,{style:{wrap:T.RGBwrap,input:T.RGBinput,label:T.RGBlabel},label:"b",value:c.b,onChange:O})))))};v.default=(0,l.ColorWrap)(b)},"M1wFS+FZ":(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.Photoshop=void 0;var n=function(){function he(pe,ie){for(var we=0;we{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.PhotoshopButton=void 0;var n=t("Z7aTuO5B"),o=h(n),r=t("zGS59GCK"),s=h(r);function h(A){return A&&A.__esModule?A:{default:A}}var u=v.PhotoshopButton=function(S){var l=S.onClick,C=S.label,b=S.children,m=S.active,D=(0,s.default)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:m});return o.default.createElement("div",{style:D.button,onClick:l},C||b)};v.default=u},pllINsA4:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.PhotoshopPicker=void 0;var n=t("Z7aTuO5B"),o=S(n),r=t("zGS59GCK"),s=S(r),h=t("kOI9bxm6"),u=S(h),A=t("50Juodil");function S(C){return C&&C.__esModule?C:{default:C}}var l=v.PhotoshopPicker=function(b){var m=b.onChange,D=b.rgb,f=b.hsv,p=b.hex,c=(0,s.default)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),d=function(w,x){w["#"]?u.default.isValidHex(w["#"])&&m({hex:w["#"],source:"hex"},x):w.r||w.g||w.b?m({r:w.r||D.r,g:w.g||D.g,b:w.b||D.b,source:"rgb"},x):(w.h||w.s||w.v)&&m({h:w.h||f.h,s:w.s||f.s,v:w.v||f.v,source:"hsv"},x)};return o.default.createElement("div",{style:c.fields},o.default.createElement(A.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"h",value:Math.round(f.h),onChange:d}),o.default.createElement(A.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"s",value:Math.round(f.s*100),onChange:d}),o.default.createElement(A.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"v",value:Math.round(f.v*100),onChange:d}),o.default.createElement("div",{style:c.divider}),o.default.createElement(A.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"r",value:D.r,onChange:d}),o.default.createElement(A.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"g",value:D.g,onChange:d}),o.default.createElement(A.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"b",value:D.b,onChange:d}),o.default.createElement("div",{style:c.divider}),o.default.createElement(A.EditableInput,{style:{wrap:c.HEXwrap,input:c.HEXinput,label:c.HEXlabel},label:"#",value:p.replace("#",""),onChange:d}),o.default.createElement("div",{style:c.fieldSymbols},o.default.createElement("div",{style:c.symbol},"\xB0"),o.default.createElement("div",{style:c.symbol},"%"),o.default.createElement("div",{style:c.symbol},"%")))};v.default=l},EOkJcQHQ:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.PhotoshopPointerCircle=void 0;var n=t("Z7aTuO5B"),o=h(n),r=t("zGS59GCK"),s=h(r);function h(A){return A&&A.__esModule?A:{default:A}}var u=v.PhotoshopPointerCircle=function(){var S=(0,s.default)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return o.default.createElement("div",{style:S.pointer},o.default.createElement("div",{style:S.left},o.default.createElement("div",{style:S.leftInside})),o.default.createElement("div",{style:S.right},o.default.createElement("div",{style:S.rightInside})))};v.default=u},"wMnPy6+m":(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.PhotoshopPointerCircle=void 0;var n=t("Z7aTuO5B"),o=h(n),r=t("zGS59GCK"),s=h(r);function h(A){return A&&A.__esModule?A:{default:A}}var u=v.PhotoshopPointerCircle=function(S){var l=S.hsl,C=(0,s.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":l.l>.5});return o.default.createElement("div",{style:C.picker})};v.default=u},mrYkOj7D:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.PhotoshopPreviews=void 0;var n=t("Z7aTuO5B"),o=h(n),r=t("zGS59GCK"),s=h(r);function h(A){return A&&A.__esModule?A:{default:A}}var u=v.PhotoshopPreviews=function(S){var l=S.rgb,C=S.currentColor,b=(0,s.default)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+l.r+","+l.g+", "+l.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:C,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return o.default.createElement("div",null,o.default.createElement("div",{style:b.label},"new"),o.default.createElement("div",{style:b.swatches},o.default.createElement("div",{style:b.new}),o.default.createElement("div",{style:b.current})),o.default.createElement("div",{style:b.label},"current"))};v.default=u},"3l3fajAv":(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.Sketch=void 0;var n=Object.assign||function(d){for(var g=1;g{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.SketchFields=void 0;var n=t("Z7aTuO5B"),o=S(n),r=t("zGS59GCK"),s=S(r),h=t("kOI9bxm6"),u=S(h),A=t("50Juodil");function S(C){return C&&C.__esModule?C:{default:C}}var l=v.SketchFields=function(b){var m=b.onChange,D=b.rgb,f=b.hsl,p=b.hex,c=b.disableAlpha,d=(0,s.default)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:c}),g=function(x,T){x.hex?u.default.isValidHex(x.hex)&&m({hex:x.hex,source:"hex"},T):x.r||x.g||x.b?m({r:x.r||D.r,g:x.g||D.g,b:x.b||D.b,a:D.a,source:"rgb"},T):x.a&&(x.a<0?x.a=0:x.a>100&&(x.a=100),x.a/=100,m({h:f.h,s:f.s,l:f.l,a:x.a,source:"rgb"},T))};return o.default.createElement("div",{style:d.fields,className:"flexbox-fix"},o.default.createElement("div",{style:d.double},o.default.createElement(A.EditableInput,{style:{input:d.input,label:d.label},label:"hex",value:p.replace("#",""),onChange:g})),o.default.createElement("div",{style:d.single},o.default.createElement(A.EditableInput,{style:{input:d.input,label:d.label},label:"r",value:D.r,onChange:g,dragLabel:"true",dragMax:"255"})),o.default.createElement("div",{style:d.single},o.default.createElement(A.EditableInput,{style:{input:d.input,label:d.label},label:"g",value:D.g,onChange:g,dragLabel:"true",dragMax:"255"})),o.default.createElement("div",{style:d.single},o.default.createElement(A.EditableInput,{style:{input:d.input,label:d.label},label:"b",value:D.b,onChange:g,dragLabel:"true",dragMax:"255"})),o.default.createElement("div",{style:d.alpha},o.default.createElement(A.EditableInput,{style:{input:d.input,label:d.label},label:"a",value:Math.round(D.a*100),onChange:g,dragLabel:"true",dragMax:"100"})))};v.default=l},FALlnFca:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.SketchPresetColors=void 0;var n=Object.assign||function(b){for(var m=1;m{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.Slider=void 0;var n=t("Z7aTuO5B"),o=f(n),r=t("KfF0gQb+"),s=f(r),h=t("zGS59GCK"),u=f(h),A=t("C19pcrjQ"),S=f(A),l=t("50Juodil"),C=t("A09+FXxw"),b=f(C),m=t("XroQk7b7"),D=f(m);function f(c){return c&&c.__esModule?c:{default:c}}var p=v.Slider=function(d){var g=d.hsl,w=d.onChange,x=d.pointer,T=d.styles,O=T===void 0?{}:T,F=d.className,K=F===void 0?"":F,ee=(0,u.default)((0,S.default)({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},O));return o.default.createElement("div",{style:ee.wrap||{},className:"slider-picker "+K},o.default.createElement("div",{style:ee.hue},o.default.createElement(l.Hue,{style:ee.Hue,hsl:g,pointer:x,onChange:w})),o.default.createElement("div",{style:ee.swatches},o.default.createElement(b.default,{hsl:g,onClick:w})))};p.propTypes={styles:s.default.object},p.defaultProps={pointer:D.default,styles:{}},v.default=(0,l.ColorWrap)(p)},XroQk7b7:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.SliderPointer=void 0;var n=t("Z7aTuO5B"),o=h(n),r=t("zGS59GCK"),s=h(r);function h(A){return A&&A.__esModule?A:{default:A}}var u=v.SliderPointer=function(){var S=(0,s.default)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return o.default.createElement("div",{style:S.picker})};v.default=u},Yb0CWKWw:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.SliderSwatch=void 0;var n=t("Z7aTuO5B"),o=h(n),r=t("zGS59GCK"),s=h(r);function h(A){return A&&A.__esModule?A:{default:A}}var u=v.SliderSwatch=function(S){var l=S.hsl,C=S.offset,b=S.onClick,m=b===void 0?function(){}:b,D=S.active,f=S.first,p=S.last,c=(0,s.default)({default:{swatch:{height:"12px",background:"hsl("+l.h+", 50%, "+C*100+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:D,first:f,last:p}),d=function(w){return m({h:l.h,s:.5,l:C,source:"hsl"},w)};return o.default.createElement("div",{style:c.swatch,onClick:d})};v.default=u},"A09+FXxw":(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.SliderSwatches=void 0;var n=t("Z7aTuO5B"),o=A(n),r=t("zGS59GCK"),s=A(r),h=t("Yb0CWKWw"),u=A(h);function A(l){return l&&l.__esModule?l:{default:l}}var S=v.SliderSwatches=function(C){var b=C.onClick,m=C.hsl,D=(0,s.default)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}}),f=.1;return o.default.createElement("div",{style:D.swatches},o.default.createElement("div",{style:D.swatch},o.default.createElement(u.default,{hsl:m,offset:".80",active:Math.abs(m.l-.8){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.Swatches=void 0;var n=t("Z7aTuO5B"),o=d(n),r=t("KfF0gQb+"),s=d(r),h=t("zGS59GCK"),u=d(h),A=t("PHWUskn4"),S=d(A),l=t("C19pcrjQ"),C=d(l),b=t("sbzPTQ5+"),m=c(b),D=t("50Juodil"),f=t("kt1l+HxZ"),p=d(f);function c(w){if(w&&w.__esModule)return w;var x={};if(w!=null)for(var T in w)Object.prototype.hasOwnProperty.call(w,T)&&(x[T]=w[T]);return x.default=w,x}function d(w){return w&&w.__esModule?w:{default:w}}var g=v.Swatches=function(x){var T=x.width,O=x.height,F=x.onChange,K=x.onSwatchHover,ee=x.colors,he=x.hex,pe=x.styles,ie=pe===void 0?{}:pe,we=x.className,Ce=we===void 0?"":we,Ne=(0,u.default)((0,C.default)({default:{picker:{width:T,height:O},overflow:{height:O,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},ie)),B=function(W,q){return F({hex:W,source:"hex"},q)};return o.default.createElement("div",{style:Ne.picker,className:"swatches-picker "+Ce},o.default.createElement(D.Raised,null,o.default.createElement("div",{style:Ne.overflow},o.default.createElement("div",{style:Ne.body},(0,S.default)(ee,function(k){return o.default.createElement(p.default,{key:k.toString(),group:k,active:he,onClick:B,onSwatchHover:K})}),o.default.createElement("div",{style:Ne.clear})))))};g.propTypes={width:s.default.oneOfType([s.default.string,s.default.number]),height:s.default.oneOfType([s.default.string,s.default.number]),colors:s.default.arrayOf(s.default.arrayOf(s.default.string)),styles:s.default.object},g.defaultProps={width:320,height:240,colors:[[m.red[900],m.red[700],m.red[500],m.red[300],m.red[100]],[m.pink[900],m.pink[700],m.pink[500],m.pink[300],m.pink[100]],[m.purple[900],m.purple[700],m.purple[500],m.purple[300],m.purple[100]],[m.deepPurple[900],m.deepPurple[700],m.deepPurple[500],m.deepPurple[300],m.deepPurple[100]],[m.indigo[900],m.indigo[700],m.indigo[500],m.indigo[300],m.indigo[100]],[m.blue[900],m.blue[700],m.blue[500],m.blue[300],m.blue[100]],[m.lightBlue[900],m.lightBlue[700],m.lightBlue[500],m.lightBlue[300],m.lightBlue[100]],[m.cyan[900],m.cyan[700],m.cyan[500],m.cyan[300],m.cyan[100]],[m.teal[900],m.teal[700],m.teal[500],m.teal[300],m.teal[100]],["#194D33",m.green[700],m.green[500],m.green[300],m.green[100]],[m.lightGreen[900],m.lightGreen[700],m.lightGreen[500],m.lightGreen[300],m.lightGreen[100]],[m.lime[900],m.lime[700],m.lime[500],m.lime[300],m.lime[100]],[m.yellow[900],m.yellow[700],m.yellow[500],m.yellow[300],m.yellow[100]],[m.amber[900],m.amber[700],m.amber[500],m.amber[300],m.amber[100]],[m.orange[900],m.orange[700],m.orange[500],m.orange[300],m.orange[100]],[m.deepOrange[900],m.deepOrange[700],m.deepOrange[500],m.deepOrange[300],m.deepOrange[100]],[m.brown[900],m.brown[700],m.brown[500],m.brown[300],m.brown[100]],[m.blueGrey[900],m.blueGrey[700],m.blueGrey[500],m.blueGrey[300],m.blueGrey[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},v.default=(0,D.ColorWrap)(g)},hdcso7KI:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.SwatchesColor=void 0;var n=t("Z7aTuO5B"),o=C(n),r=t("zGS59GCK"),s=C(r),h=t("kOI9bxm6"),u=C(h),A=t("50Juodil"),S=t("FIH0PMrk"),l=C(S);function C(m){return m&&m.__esModule?m:{default:m}}var b=v.SwatchesColor=function(D){var f=D.color,p=D.onClick,c=p===void 0?function(){}:p,d=D.onSwatchHover,g=D.first,w=D.last,x=D.active,T=(0,s.default)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:f,marginBottom:"1px"},check:{color:u.default.getContrastingColor(f),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:g,last:w,active:x,"color-#FFFFFF":f==="#FFFFFF",transparent:f==="transparent"});return o.default.createElement(A.Swatch,{color:f,style:T.color,onClick:c,onHover:d,focusStyle:{boxShadow:"0 0 4px "+f}},o.default.createElement("div",{style:T.check},o.default.createElement(l.default,null)))};v.default=b},"kt1l+HxZ":(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.SwatchesGroup=void 0;var n=t("Z7aTuO5B"),o=l(n),r=t("zGS59GCK"),s=l(r),h=t("PHWUskn4"),u=l(h),A=t("hdcso7KI"),S=l(A);function l(b){return b&&b.__esModule?b:{default:b}}var C=v.SwatchesGroup=function(m){var D=m.onClick,f=m.onSwatchHover,p=m.group,c=m.active,d=(0,s.default)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return o.default.createElement("div",{style:d.group},(0,u.default)(p,function(g,w){return o.default.createElement(S.default,{key:g,color:g,active:g.toLowerCase()===c,first:w===0,last:w===p.length-1,onClick:D,onSwatchHover:f})}))};v.default=C},VNmdgZcm:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.Twitter=void 0;var n=t("Z7aTuO5B"),o=f(n),r=t("KfF0gQb+"),s=f(r),h=t("zGS59GCK"),u=f(h),A=t("PHWUskn4"),S=f(A),l=t("C19pcrjQ"),C=f(l),b=t("kOI9bxm6"),m=f(b),D=t("50Juodil");function f(c){return c&&c.__esModule?c:{default:c}}var p=v.Twitter=function(d){var g=d.onChange,w=d.onSwatchHover,x=d.hex,T=d.colors,O=d.width,F=d.triangle,K=d.styles,ee=K===void 0?{}:K,he=d.className,pe=he===void 0?"":he,ie=(0,u.default)((0,C.default)({default:{card:{width:O,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},ee),{"hide-triangle":F==="hide","top-left-triangle":F==="top-left","top-right-triangle":F==="top-right"}),we=function(Ne,B){m.default.isValidHex(Ne)&&g({hex:Ne,source:"hex"},B)};return o.default.createElement("div",{style:ie.card,className:"twitter-picker "+pe},o.default.createElement("div",{style:ie.triangleShadow}),o.default.createElement("div",{style:ie.triangle}),o.default.createElement("div",{style:ie.body},(0,S.default)(T,function(Ce,Ne){return o.default.createElement(D.Swatch,{key:Ne,color:Ce,hex:Ce,style:ie.swatch,onClick:we,onHover:w,focusStyle:{boxShadow:"0 0 4px "+Ce}})}),o.default.createElement("div",{style:ie.hash},"#"),o.default.createElement(D.EditableInput,{label:null,style:{input:ie.input},value:x.replace("#",""),onChange:we}),o.default.createElement("div",{style:ie.clear})))};p.propTypes={width:s.default.oneOfType([s.default.string,s.default.number]),triangle:s.default.oneOf(["hide","top-left","top-right"]),colors:s.default.arrayOf(s.default.string),styles:s.default.object},p.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},v.default=(0,D.ColorWrap)(p)},uHYHKUZX:(I,v)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0});var t=v.calculateChange=function(o,r,s,h,u){var A=u.clientWidth,S=u.clientHeight,l=typeof o.pageX=="number"?o.pageX:o.touches[0].pageX,C=typeof o.pageY=="number"?o.pageY:o.touches[0].pageY,b=l-(u.getBoundingClientRect().left+window.pageXOffset),m=C-(u.getBoundingClientRect().top+window.pageYOffset);if(s==="vertical"){var D=void 0;if(m<0?D=0:m>S?D=1:D=Math.round(m*100/S)/100,r.a!==D)return{h:r.h,s:r.s,l:r.l,a:D,source:"rgb"}}else{var f=void 0;if(b<0?f=0:b>A?f=1:f=Math.round(b*100/A)/100,h!==f)return{h:r.h,s:r.s,l:r.l,a:f,source:"rgb"}}return null}},bAkv9MOw:(I,v)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0});var t={},n=v.render=function(s,h,u,A){if(typeof document>"u"&&!A)return null;var S=A?new A:document.createElement("canvas");S.width=u*2,S.height=u*2;var l=S.getContext("2d");return l?(l.fillStyle=s,l.fillRect(0,0,S.width,S.height),l.fillStyle=h,l.fillRect(0,0,u,u),l.translate(u,u),l.fillRect(0,0,u,u),S.toDataURL()):null},o=v.get=function(s,h,u,A){var S=s+"-"+h+"-"+u+(A?"-server":"");if(t[S])return t[S];var l=n(s,h,u,A);return t[S]=l,l}},kOI9bxm6:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.red=v.getContrastingColor=v.isValidHex=v.toState=v.simpleCheckForValidColor=void 0;var n=t("xzK3tCcD"),o=h(n),r=t("DFnakCUV"),s=h(r);function h(b){return b&&b.__esModule?b:{default:b}}var u=v.simpleCheckForValidColor=function(m){var D=["r","g","b","a","h","s","l","v"],f=0,p=0;return(0,o.default)(D,function(c){if(m[c]&&(f+=1,isNaN(m[c])||(p+=1),c==="s"||c==="l")){var d=/^\d+%$/;d.test(m[c])&&(p+=1)}}),f===p?m:!1},A=v.toState=function(m,D){var f=m.hex?(0,s.default)(m.hex):(0,s.default)(m),p=f.toHsl(),c=f.toHsv(),d=f.toRgb(),g=f.toHex();p.s===0&&(p.h=D||0,c.h=D||0);var w=g==="000000"&&d.a===0;return{hsl:p,hex:w?"transparent":"#"+g,rgb:d,hsv:c,oldHue:m.h||D||p.h,source:m.source}},S=v.isValidHex=function(m){var D=String(m).charAt(0)==="#"?1:0;return m.length!==4+D&&m.length<7+D&&(0,s.default)(m).isValid()},l=v.getContrastingColor=function(m){if(!m)return"#fff";var D=A(m);if(D.hex==="transparent")return"rgba(0,0,0,0.4)";var f=(D.rgb.r*299+D.rgb.g*587+D.rgb.b*114)/1e3;return f>=128?"#000":"#fff"},C=v.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}};v.default=v},"FdyG+bRy":(I,v)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0});var t=v.calculateChange=function(o,r,s,h){var u=h.clientWidth,A=h.clientHeight,S=typeof o.pageX=="number"?o.pageX:o.touches[0].pageX,l=typeof o.pageY=="number"?o.pageY:o.touches[0].pageY,C=S-(h.getBoundingClientRect().left+window.pageXOffset),b=l-(h.getBoundingClientRect().top+window.pageYOffset);if(r==="vertical"){var m=void 0;if(b<0)m=359;else if(b>A)m=0;else{var D=-(b*100/A)+100;m=360*D/100}if(s.h!==m)return{h:m,s:s.s,l:s.l,a:s.a,source:"hsl"}}else{var f=void 0;if(C<0)f=0;else if(C>u)f=359;else{var p=C*100/u;f=360*p/100}if(s.h!==f)return{h:f,s:s.s,l:s.l,a:s.a,source:"hsl"}}return null}},"6wDqlv+C":(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.handleFocus=void 0;var n=Object.assign||function(C){for(var b=1;b1&&arguments[1]!==void 0?arguments[1]:"span";return function(D){S(f,D);function f(){var p,c,d,g;u(this,f);for(var w=arguments.length,x=Array(w),T=0;T{"use strict";Object.defineProperty(v,"__esModule",{value:!0});var t=v.calculateChange=function(o,r,s){var h=s.getBoundingClientRect(),u=h.width,A=h.height,S=typeof o.pageX=="number"?o.pageX:o.touches[0].pageX,l=typeof o.pageY=="number"?o.pageY:o.touches[0].pageY,C=S-(s.getBoundingClientRect().left+window.pageXOffset),b=l-(s.getBoundingClientRect().top+window.pageYOffset);C<0?C=0:C>u&&(C=u),b<0?b=0:b>A&&(b=A);var m=C/u,D=1-b/A;return{h:r.h,s:m,v:D,a:r.a,source:"hsv"}}},ybot7P0S:(I,v,t)=>{"use strict";var n;n={value:!0},n=n=v.Lu=n=n=n=n=n=n=n=n=n=n=n=n=void 0;var o=t("TlkBKPFQ");n={enumerable:!0,get:function(){return d(o).default}};var r=t("TohfJLGw");n={enumerable:!0,get:function(){return d(r).default}};var s=t("m/EOH/1h");n={enumerable:!0,get:function(){return d(s).default}};var h=t("Nnu6OYeX");n={enumerable:!0,get:function(){return d(h).default}};var u=t("CTscPvbn");n={enumerable:!0,get:function(){return d(u).default}};var A=t("jdj53D7Q");n={enumerable:!0,get:function(){return d(A).default}};var S=t("krarzO/E");n={enumerable:!0,get:function(){return d(S).default}};var l=t("aHBOerTE");n={enumerable:!0,get:function(){return d(l).default}};var C=t("M1wFS+FZ");n={enumerable:!0,get:function(){return d(C).default}};var b=t("3l3fajAv");n={enumerable:!0,get:function(){return d(b).default}};var m=t("yLZIYifI");n={enumerable:!0,get:function(){return d(m).default}};var D=t("CUs3OVlX");Object.defineProperty(v,"Lu",{enumerable:!0,get:function(){return d(D).default}});var f=t("VNmdgZcm");n={enumerable:!0,get:function(){return d(f).default}};var p=t("99KYJWxP");n={enumerable:!0,get:function(){return d(p).default}};var c=d(h);function d(g){return g&&g.__esModule?g:{default:g}}n=c.default},"7fWcu65b":(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0});var n=function(){function f(p,c){for(var d=0;d{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.clone=t,v.isDate=n,v.addMonths=o,v.isSameDay=r,v.isSameMonth=s,v.isDayBefore=h,v.isDayAfter=u,v.isPastDay=A,v.isFutureDay=S,v.isDayBetween=l,v.addDayToRange=C,v.isDayInRange=b,v.getWeekNumber=m;function t(D){return new Date(D.getTime())}function n(D){return D instanceof Date&&!isNaN(D.valueOf())}function o(D,f){var p=t(D);return p.setMonth(D.getMonth()+f),p}function r(D,f){return!D||!f?!1:D.getDate()===f.getDate()&&D.getMonth()===f.getMonth()&&D.getFullYear()===f.getFullYear()}function s(D,f){return!D||!f?!1:D.getMonth()===f.getMonth()&&D.getFullYear()===f.getFullYear()}function h(D,f){var p=t(D).setHours(0,0,0,0),c=t(f).setHours(0,0,0,0);return pc}function A(D){var f=new Date;return f.setHours(0,0,0,0),h(D,f)}function S(D){var f=new Date(new Date().getTime()+864e5);return f.setHours(0,0,0,0),D>=f}function l(D,f,p){var c=t(D);return c.setHours(0,0,0,0),u(c,f)&&h(c,p)||u(c,p)&&h(c,f)}function C(D){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{from:null,to:null},p=f.from,c=f.to;return p?p&&c&&r(p,c)&&r(D,p)?(p=null,c=null):c&&h(D,p)?p=D:c&&r(D,c)?(p=D,c=D):(c=D,h(c,p)&&(c=p,p=D)):p=D,{from:p,to:c}}function b(D,f){var p=f.from,c=f.to;return p&&r(D,p)||c&&r(D,c)||p&&c&&l(D,p,c)}function m(D){var f=t(D);return f.setHours(0,0,0),f.setDate(f.getDate()+4-(f.getDay()||7)),Math.ceil(((f-new Date(f.getFullYear(),0,1))/864e5+1)/7)}v.default={addDayToRange:C,addMonths:o,clone:t,getWeekNumber:m,isDate:n,isDayAfter:u,isDayBefore:h,isDayBetween:l,isDayInRange:b,isFutureDay:S,isPastDay:A,isSameDay:r,isSameMonth:s}},"t/WxxlV6":(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0});var n=Object.assign||function(d){for(var g=1;g{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.ModifiersUtils=v.LocaleUtils=v.DateUtils=v.DayPicker=void 0;var n=Object.assign||function(k){for(var W=1;W=0||Object.prototype.hasOwnProperty.call(k,Q)&&(q[Q]=k[Q]);return q}function we(k,W){if(!(k instanceof W))throw new TypeError("Cannot call a class as a function")}function Ce(k,W){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return W&&(typeof W=="object"||typeof W=="function")?W:k}function Ne(k,W){if(typeof W!="function"&&W!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof W);k.prototype=Object.create(W&&W.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),W&&(Object.setPrototypeOf?Object.setPrototypeOf(k,W):k.__proto__=W)}var B=v.DayPicker=function(k){Ne(W,k);function W(q){we(this,W);var Q=Ce(this,(W.__proto__||Object.getPrototypeOf(W)).call(this,q));Q.dayPicker=null,Q.showNextMonth=function(te){if(Q.allowNextMonth()){var ge=Q.props.pagedNavigation?Q.props.numberOfMonths:1,Fe=g.addMonths(Q.state.currentMonth,ge);Q.showMonth(Fe,te)}},Q.showPreviousMonth=function(te){if(Q.allowPreviousMonth()){var ge=Q.props.pagedNavigation?Q.props.numberOfMonths:1,Fe=g.addMonths(Q.state.currentMonth,-ge);Q.showMonth(Fe,te)}},Q.handleKeyDown=function(te){switch(te.persist(),te.keyCode){case ee.LEFT:Q.props.dir==="rtl"?Q.showNextMonth():Q.showPreviousMonth(),c.cancelEvent(te);break;case ee.RIGHT:Q.props.dir==="rtl"?Q.showPreviousMonth():Q.showNextMonth(),c.cancelEvent(te);break;case ee.UP:Q.showPreviousYear(),c.cancelEvent(te);break;case ee.DOWN:Q.showNextYear(),c.cancelEvent(te);break;default:break}Q.props.onKeyDown&&Q.props.onKeyDown(te)},Q.handleDayKeyDown=function(te,ge,Fe){switch(Fe.persist(),Fe.keyCode){case ee.LEFT:c.cancelEvent(Fe),Q.props.dir==="rtl"?Q.focusNextDay(Fe.target):Q.focusPreviousDay(Fe.target);break;case ee.RIGHT:c.cancelEvent(Fe),Q.props.dir==="rtl"?Q.focusPreviousDay(Fe.target):Q.focusNextDay(Fe.target);break;case ee.UP:c.cancelEvent(Fe),Q.focusPreviousWeek(Fe.target);break;case ee.DOWN:c.cancelEvent(Fe),Q.focusNextWeek(Fe.target);break;case ee.ENTER:case ee.SPACE:c.cancelEvent(Fe),Q.props.onDayClick&&Q.handleDayClick(te,ge,Fe);break;default:break}Q.props.onDayKeyDown&&Q.props.onDayKeyDown(te,ge,Fe)},Q.handleDayClick=function(te,ge,Fe){Fe.persist(),ge[Q.props.classNames.outside]&&Q.props.enableOutsideDaysClick&&Q.handleOutsideDayClick(te),Q.props.onDayClick&&Q.props.onDayClick(te,ge,Fe)},Q.handleTodayButtonClick=function(te){var ge=new Date,Fe=new Date(ge.getFullYear(),ge.getMonth());Q.showMonth(Fe),te.target.blur(),Q.props.onTodayButtonClick&&(te.persist(),Q.props.onTodayButtonClick(new Date(ge.getFullYear(),ge.getMonth(),ge.getDate()),O.getModifiersForDay(ge,Q.props.modifiers),te))};var re=Q.getCurrentMonthFromProps(q);return Q.state={currentMonth:re},Q}return o(W,[{key:"componentDidUpdate",value:function(Q){if(Q.month!==this.props.month&&!g.isSameMonth(Q.month,this.props.month)){var re=this.getCurrentMonthFromProps(this.props);this.setState({currentMonth:re})}}},{key:"getCurrentMonthFromProps",value:function(Q){var re=c.startOfMonth(Q.month||Q.initialMonth||new Date),te=re;if(Q.pagedNavigation&&Q.numberOfMonths>1&&Q.fromMonth){var ge=c.startOfMonth(Q.fromMonth),Fe=c.getMonthsDiff(ge,te);te=g.addMonths(ge,Math.floor(Fe/Q.numberOfMonths)*Q.numberOfMonths)}else Q.toMonth&&Q.numberOfMonths>1&&c.getMonthsDiff(te,Q.toMonth)<=0&&(te=g.addMonths(c.startOfMonth(Q.toMonth),1-this.props.numberOfMonths));return te}},{key:"getNextNavigableMonth",value:function(){return g.addMonths(this.state.currentMonth,this.props.numberOfMonths)}},{key:"getPreviousNavigableMonth",value:function(){return g.addMonths(this.state.currentMonth,-1)}},{key:"allowPreviousMonth",value:function(){var Q=g.addMonths(this.state.currentMonth,-1);return this.allowMonth(Q)}},{key:"allowNextMonth",value:function(){var Q=g.addMonths(this.state.currentMonth,this.props.numberOfMonths);return this.allowMonth(Q)}},{key:"allowMonth",value:function(Q){var re=this.props,te=re.fromMonth,ge=re.toMonth,Fe=re.canChangeMonth;return!(!Fe||te&&c.getMonthsDiff(te,Q)<0||ge&&c.getMonthsDiff(ge,Q)>0)}},{key:"allowYearChange",value:function(){return this.props.canChangeMonth}},{key:"showMonth",value:function(Q,re){var te=this;this.allowMonth(Q)&&this.setState({currentMonth:c.startOfMonth(Q)},function(){re&&re(),te.props.onMonthChange&&te.props.onMonthChange(te.state.currentMonth)})}},{key:"showNextYear",value:function(){if(this.allowYearChange()){var Q=g.addMonths(this.state.currentMonth,12);this.showMonth(Q)}}},{key:"showPreviousYear",value:function(){if(this.allowYearChange()){var Q=g.addMonths(this.state.currentMonth,-12);this.showMonth(Q)}}},{key:"focus",value:function(){this.wrapper.focus()}},{key:"focusFirstDayOfMonth",value:function(){c.getDayNodes(this.dayPicker,this.props.classNames)[0].focus()}},{key:"focusLastDayOfMonth",value:function(){var Q=c.getDayNodes(this.dayPicker,this.props.classNames);Q[Q.length-1].focus()}},{key:"focusPreviousDay",value:function(Q){var re=this,te=c.getDayNodes(this.dayPicker,this.props.classNames),ge=c.nodeListToArray(te).indexOf(Q);ge!==-1&&(ge===0?this.showPreviousMonth(function(){return re.focusLastDayOfMonth()}):te[ge-1].focus())}},{key:"focusNextDay",value:function(Q){var re=this,te=c.getDayNodes(this.dayPicker,this.props.classNames),ge=c.nodeListToArray(te).indexOf(Q);ge!==-1&&(ge===te.length-1?this.showNextMonth(function(){return re.focusFirstDayOfMonth()}):te[ge+1].focus())}},{key:"focusNextWeek",value:function(Q){var re=this,te=c.getDayNodes(this.dayPicker,this.props.classNames),ge=c.nodeListToArray(te).indexOf(Q),Fe=ge>te.length-8;Fe?this.showNextMonth(function(){var Qe=te.length-ge,Ke=7-Qe;c.getDayNodes(re.dayPicker,re.props.classNames)[Ke].focus()}):te[ge+7].focus()}},{key:"focusPreviousWeek",value:function(Q){var re=this,te=c.getDayNodes(this.dayPicker,this.props.classNames),ge=c.nodeListToArray(te).indexOf(Q),Fe=ge<=6;Fe?this.showPreviousMonth(function(){var Qe=c.getDayNodes(re.dayPicker,re.props.classNames),Ke=Qe.length-7,Xe=Ke+ge;Qe[Xe].focus()}):te[ge-7].focus()}},{key:"handleOutsideDayClick",value:function(Q){var re=this.state.currentMonth,te=this.props.numberOfMonths,ge=c.getMonthsDiff(re,Q);ge>0&&ge>=te?this.showNextMonth():ge<0&&this.showPreviousMonth()}},{key:"renderNavbar",value:function(){var Q=this.props,re=Q.labels,te=Q.locale,ge=Q.localeUtils,Fe=Q.canChangeMonth,Qe=Q.navbarElement,Ke=ie(Q,["labels","locale","localeUtils","canChangeMonth","navbarElement"]);if(!Fe)return null;var Xe={month:this.state.currentMonth,classNames:this.props.classNames,className:this.props.classNames.navBar,nextMonth:this.getNextNavigableMonth(),previousMonth:this.getPreviousNavigableMonth(),showPreviousButton:this.allowPreviousMonth(),showNextButton:this.allowNextMonth(),onNextClick:this.showNextMonth,onPreviousClick:this.showPreviousMonth,dir:Ke.dir,labels:re,locale:te,localeUtils:ge};return s.default.isValidElement(Qe)?s.default.cloneElement(Qe,Xe):s.default.createElement(Qe,Xe)}},{key:"renderMonths",value:function(){for(var Q=[],re=c.getFirstDayOfWeekFromProps(this.props),te=0;te{"use strict";Object.defineProperty(v,"__esModule",{value:!0});var n=Object.assign||function(w){for(var x=1;x1&&arguments[1]!==void 0?arguments[1]:(0,r.getFirstDayOfWeek)(),T=arguments[2],O=l(w),F=[],K=[],ee=[],he=1;he<=O;he+=1)F.push(new Date(w.getFullYear(),w.getMonth(),he,12));F.forEach(function(ge){K.length>0&&ge.getDay()===x&&(ee.push(K),K=[]),K.push(ge),F.indexOf(ge)===F.length-1&&ee.push(K)});for(var pe=ee[0],ie=7-pe.length;ie>0;ie-=1){var we=(0,o.clone)(pe[0]);we.setDate(pe[0].getDate()-1),pe.unshift(we)}for(var Ce=ee[ee.length-1],Ne=Ce.length;Ne<7;Ne+=1){var B=(0,o.clone)(Ce[Ce.length-1]);B.setDate(Ce[Ce.length-1].getDate()+1),Ce.push(B)}if(T&&ee.length<6)for(var k=void 0,W=ee.length;W<6;W+=1){k=ee[ee.length-1];for(var q=k[k.length-1],Q=[],re=0;re<7;re+=1){var te=(0,o.clone)(q);te.setDate(q.getDate()+re+1),Q.push(te)}ee.push(Q)}return ee}function p(w){var x=(0,o.clone)(w);return x.setDate(1),x.setHours(12,0,0,0),x}function c(w,x){var T=void 0;x===h.default?T=x.day+"--"+x.outside:T=""+x.outside;var O=x.day.replace(/ /g,"."),F=T.replace(/ /g,"."),K="."+O+":not(."+F+")";return w.querySelectorAll(K)}function d(w){return Array.prototype.slice.call(w,0)}function g(w,x){return Object.prototype.hasOwnProperty.call(w,x)}},ScMkYT5j:(I,v)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.formatDay=r,v.formatMonthTitle=s,v.formatWeekdayShort=h,v.formatWeekdayLong=u,v.getFirstDayOfWeek=A,v.getMonths=S;var t=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],n=["Su","Mo","Tu","We","Th","Fr","Sa"],o=["January","February","March","April","May","June","July","August","September","October","November","December"];function r(l){return l.toDateString()}function s(l){return o[l.getMonth()]+" "+l.getFullYear()}function h(l){return n[l]}function u(l){return t[l]}function A(){return 0}function S(){return o}v.default={formatDay:r,formatMonthTitle:s,formatWeekdayShort:h,formatWeekdayLong:u,getFirstDayOfWeek:A,getMonths:S}},"j+qKUAcR":(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.dayMatchesModifier=r,v.getModifiersForDay=s;var n=t("JNDXVW5Y"),o=t("wi4Ns4DK");function r(h,u){if(!u)return!1;var A=Array.isArray(u)?u:[u];return A.some(function(S){return S?S instanceof Date?(0,n.isSameDay)(h,S):(0,o.isRangeOfDates)(S)?(0,n.isDayInRange)(h,S):S.after&&S.before&&(0,n.isDayAfter)(S.before,S.after)?(0,n.isDayAfter)(h,S.after)&&(0,n.isDayBefore)(h,S.before):S.after&&S.before&&((0,n.isDayAfter)(S.after,S.before)||(0,n.isSameDay)(S.after,S.before))?(0,n.isDayAfter)(h,S.after)||(0,n.isDayBefore)(h,S.before):S.after?(0,n.isDayAfter)(h,S.after):S.before?(0,n.isDayBefore)(h,S.before):S.daysOfWeek?S.daysOfWeek.some(function(l){return h.getDay()===l}):typeof S=="function"?S(h):!1:!1})}function s(h){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(u).reduce(function(A,S){var l=u[S];return r(h,l)&&A.push(S),A},[])}v.default={dayMatchesModifier:r,getModifiersForDay:s}},GyAfcnzl:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0});var n=function(){function F(K,ee){for(var he=0;he-1,ariaSelected:q.indexOf(pe.props.classNames.selected)>-1,onClick:pe.props.onDayClick,onFocus:pe.props.onDayFocus,onKeyDown:pe.props.onDayKeyDown,onMouseEnter:pe.props.onDayMouseEnter,onMouseLeave:pe.props.onDayMouseLeave,onMouseDown:pe.props.onDayMouseDown,onMouseUp:pe.props.onDayMouseUp,onTouchEnd:pe.props.onDayTouchEnd,onTouchStart:pe.props.onDayTouchStart},pe.props.renderDay(B,ge))},he),x(pe,ie)}return n(K,[{key:"render",value:function(){var he=this,pe=this.props,ie=pe.classNames,we=pe.month,Ce=pe.months,Ne=pe.fixedWeeks,B=pe.captionElement,k=pe.weekdayElement,W=pe.locale,q=pe.localeUtils,Q=pe.weekdaysLong,re=pe.weekdaysShort,te=pe.firstDayOfWeek,ge=pe.onCaptionClick,Fe=pe.showWeekNumbers,Qe=pe.showWeekDays,Ke=pe.onWeekClick,Xe={date:we,classNames:ie,months:Ce,localeUtils:q,locale:W,onClick:ge?function(Ie){return ge(we,Ie)}:void 0},dt=r.default.isValidElement(B)?r.default.cloneElement(B,Xe):r.default.createElement(B,Xe),it=f.getWeekArray(we,te,Ne);return r.default.createElement("div",{className:ie.month,role:"grid"},dt,Qe&&r.default.createElement(A.default,{classNames:ie,weekdaysShort:re,weekdaysLong:Q,firstDayOfWeek:te,showWeekNumbers:Fe,locale:W,localeUtils:q,weekdayElement:k}),r.default.createElement("div",{className:ie.body,role:"rowgroup"},it.map(function(Ie){var ue=void 0;return Fe&&(ue=c.getWeekNumber(Ie[6])),r.default.createElement("div",{key:Ie[0].getTime(),className:ie.week,role:"row"},Fe&&r.default.createElement("div",{className:ie.weekNumber,tabIndex:Ke?0:-1,role:"gridcell",onClick:Ke?function(Le){return Ke(ue,Ie,Le)}:void 0,onKeyUp:Ke?function(Le){return Le.keyCode===C.ENTER&&Ke(ue,Ie,Le)}:void 0},he.props.renderWeek(ue,Ie,we)),Ie.map(he.renderDay))})))}}]),K}(o.Component);O.propTypes={classNames:h.default.shape({body:h.default.string.isRequired,month:h.default.string.isRequired,outside:h.default.string.isRequired,today:h.default.string.isRequired,week:h.default.string.isRequired,weekNumber:h.default.string.isRequired,disabled:h.default.string.isRequired,selected:h.default.string.isRequired}).isRequired,tabIndex:h.default.number,month:h.default.instanceOf(Date).isRequired,months:h.default.arrayOf(h.default.string),modifiersStyles:h.default.object,showWeekDays:h.default.bool,showOutsideDays:h.default.bool,renderDay:h.default.func.isRequired,renderWeek:h.default.func.isRequired,captionElement:h.default.oneOfType([h.default.element,h.default.func,h.default.instanceOf(r.default.Component)]).isRequired,weekdayElement:h.default.oneOfType([h.default.element,h.default.func,h.default.instanceOf(r.default.Component)]),fixedWeeks:h.default.bool,showWeekNumbers:h.default.bool,locale:h.default.string.isRequired,localeUtils:h.default.object.isRequired,weekdaysLong:h.default.arrayOf(h.default.string),weekdaysShort:h.default.arrayOf(h.default.string),firstDayOfWeek:h.default.number.isRequired,onCaptionClick:h.default.func,onDayClick:h.default.func,onDayFocus:h.default.func,onDayKeyDown:h.default.func,onDayMouseEnter:h.default.func,onDayMouseLeave:h.default.func,onDayMouseDown:h.default.func,onDayMouseUp:h.default.func,onDayTouchEnd:h.default.func,onDayTouchStart:h.default.func,onWeekClick:h.default.func},v.default=O},dUnGuipy:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0});var n=function(){function f(p,c){for(var d=0;d{"use strict";Object.defineProperty(v,"__esModule",{value:!0});var n=function(){function b(m,D){for(var f=0;f{"use strict";Object.defineProperty(v,"__esModule",{value:!0});var n=function(){function b(m,D){for(var f=0;f{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.default={container:"DayPicker",wrapper:"DayPicker-wrapper",interactionDisabled:"DayPicker--interactionDisabled",months:"DayPicker-Months",month:"DayPicker-Month",navBar:"DayPicker-NavBar",navButtonPrev:"DayPicker-NavButton DayPicker-NavButton--prev",navButtonNext:"DayPicker-NavButton DayPicker-NavButton--next",navButtonInteractionDisabled:"DayPicker-NavButton--interactionDisabled",caption:"DayPicker-Caption",weekdays:"DayPicker-Weekdays",weekdaysRow:"DayPicker-WeekdaysRow",weekday:"DayPicker-Weekday",body:"DayPicker-Body",week:"DayPicker-Week",weekNumber:"DayPicker-WeekNumber",day:"DayPicker-Day",footer:"DayPicker-Footer",todayButton:"DayPicker-TodayButton",today:"today",selected:"selected",disabled:"disabled",outside:"outside"}},jlUcZkDc:(I,v,t)=>{"use strict";var n;n={value:!0};var o=t("7itDe+ih");Object.defineProperty(v,"Ay",{enumerable:!0,get:function(){return u(o).default}});var r=t("JNDXVW5Y");n={enumerable:!0,get:function(){return u(r).default}};var s=t("ScMkYT5j");n={enumerable:!0,get:function(){return u(s).default}};var h=t("j+qKUAcR");n={enumerable:!0,get:function(){return u(h).default}};function u(A){return A&&A.__esModule?A:{default:A}}},V2HiuFGL:(I,v)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0});var t=v.LEFT=37,n=v.UP=38,o=v.RIGHT=39,r=v.DOWN=40,s=v.ENTER=13,h=v.SPACE=32,u=v.ESC=27,A=v.TAB=9},v2b4N2Sz:(I,v,t)=>{"use strict";function n(te){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ge){return typeof ge}:function(ge){return ge&&typeof Symbol=="function"&&ge.constructor===Symbol&&ge!==Symbol.prototype?"symbol":typeof ge},n(te)}Object.defineProperty(v,"__esModule",{value:!0}),Object.defineProperty(v,"DraggableCore",{enumerable:!0,get:function(){return l.default}}),v.default=void 0;var o=f(t("Z7aTuO5B")),r=m(t("KfF0gQb+")),s=m(t("zKLlqmvB")),h=m(t("+bbSl/ZL")),u=t("mr68ZkgN"),A=t("p+6EIu9l"),S=t("DizCJaNG"),l=m(t("llF1ns1p")),C=m(t("+iAOTUve")),b=["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"];function m(te){return te&&te.__esModule?te:{default:te}}function D(te){if(typeof WeakMap!="function")return null;var ge=new WeakMap,Fe=new WeakMap;return(D=function(Ke){return Ke?Fe:ge})(te)}function f(te,ge){if(!ge&&te&&te.__esModule)return te;if(te===null||n(te)!=="object"&&typeof te!="function")return{default:te};var Fe=D(ge);if(Fe&&Fe.has(te))return Fe.get(te);var Qe={},Ke=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Xe in te)if(Xe!=="default"&&Object.prototype.hasOwnProperty.call(te,Xe)){var dt=Ke?Object.getOwnPropertyDescriptor(te,Xe):null;dt&&(dt.get||dt.set)?Object.defineProperty(Qe,Xe,dt):Qe[Xe]=te[Xe]}return Qe.default=te,Fe&&Fe.set(te,Qe),Qe}function p(){return p=Object.assign||function(te){for(var ge=1;ge=0)&&Object.prototype.propertyIsEnumerable.call(te,Qe)&&(Fe[Qe]=te[Qe])}return Fe}function d(te,ge){if(te==null)return{};var Fe={},Qe=Object.keys(te),Ke,Xe;for(Xe=0;Xe=0)&&(Fe[Ke]=te[Ke]);return Fe}function g(te,ge){var Fe=Object.keys(te);if(Object.getOwnPropertySymbols){var Qe=Object.getOwnPropertySymbols(te);ge&&(Qe=Qe.filter(function(Ke){return Object.getOwnPropertyDescriptor(te,Ke).enumerable})),Fe.push.apply(Fe,Qe)}return Fe}function w(te){for(var ge=1;gete.length)&&(ge=te.length);for(var Fe=0,Qe=new Array(ge);Fe"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function q(te){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(Fe){return Fe.__proto__||Object.getPrototypeOf(Fe)},q(te)}function Q(te,ge,Fe){return ge in te?Object.defineProperty(te,ge,{value:Fe,enumerable:!0,configurable:!0,writable:!0}):te[ge]=Fe,te}var re=function(te){we(Fe,te);var ge=Ne(Fe);function Fe(Qe){var Ke;return he(this,Fe),Ke=ge.call(this,Qe),Q(k(Ke),"onDragStart",function(Xe,dt){(0,C.default)("Draggable: onDragStart: %j",dt);var it=Ke.props.onStart(Xe,(0,A.createDraggableData)(k(Ke),dt));if(it===!1)return!1;Ke.setState({dragging:!0,dragged:!0})}),Q(k(Ke),"onDrag",function(Xe,dt){if(!Ke.state.dragging)return!1;(0,C.default)("Draggable: onDrag: %j",dt);var it=(0,A.createDraggableData)(k(Ke),dt),Ie={x:it.x,y:it.y};if(Ke.props.bounds){var ue=Ie.x,Le=Ie.y;Ie.x+=Ke.state.slackX,Ie.y+=Ke.state.slackY;var je=(0,A.getBoundPosition)(k(Ke),Ie.x,Ie.y),J=x(je,2),$=J[0],G=J[1];Ie.x=$,Ie.y=G,Ie.slackX=Ke.state.slackX+(ue-Ie.x),Ie.slackY=Ke.state.slackY+(Le-Ie.y),it.x=Ie.x,it.y=Ie.y,it.deltaX=Ie.x-Ke.state.x,it.deltaY=Ie.y-Ke.state.y}var U=Ke.props.onDrag(Xe,it);if(U===!1)return!1;Ke.setState(Ie)}),Q(k(Ke),"onDragStop",function(Xe,dt){if(!Ke.state.dragging)return!1;var it=Ke.props.onStop(Xe,(0,A.createDraggableData)(k(Ke),dt));if(it===!1)return!1;(0,C.default)("Draggable: onDragStop: %j",dt);var Ie={dragging:!1,slackX:0,slackY:0},ue=!!Ke.props.position;if(ue){var Le=Ke.props.position,je=Le.x,J=Le.y;Ie.x=je,Ie.y=J}Ke.setState(Ie)}),Ke.state={dragging:!1,dragged:!1,x:Qe.position?Qe.position.x:Qe.defaultPosition.x,y:Qe.position?Qe.position.y:Qe.defaultPosition.y,prevPropsPosition:w({},Qe.position),slackX:0,slackY:0,isElementSVG:!1},Qe.position&&!(Qe.onDrag||Qe.onStop)&&console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element."),Ke}return ie(Fe,[{key:"componentDidMount",value:function(){typeof window.SVGElement<"u"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"findDOMNode",value:function(){var Ke,Xe,dt;return(Ke=(Xe=this.props)===null||Xe===void 0||(dt=Xe.nodeRef)===null||dt===void 0?void 0:dt.current)!==null&&Ke!==void 0?Ke:s.default.findDOMNode(this)}},{key:"render",value:function(){var Ke,Xe=this.props,dt=Xe.axis,it=Xe.bounds,Ie=Xe.children,ue=Xe.defaultPosition,Le=Xe.defaultClassName,je=Xe.defaultClassNameDragging,J=Xe.defaultClassNameDragged,$=Xe.position,G=Xe.positionOffset,U=Xe.scale,L=c(Xe,b),j={},le=null,Te=!!$,Je=!Te||this.state.dragging,ot=$||ue,Gt={x:(0,A.canDragX)(this)&&Je?this.state.x:ot.x,y:(0,A.canDragY)(this)&&Je?this.state.y:ot.y};this.state.isElementSVG?le=(0,u.createSVGTransform)(Gt,G):j=(0,u.createCSSTransform)(Gt,G);var Ye=(0,h.default)(Ie.props.className||"",Le,(Ke={},Q(Ke,je,this.state.dragging),Q(Ke,J,this.state.dragged),Ke));return o.createElement(l.default,p({},L,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),o.cloneElement(o.Children.only(Ie),{className:Ye,style:w(w({},Ie.props.style),j),transform:le}))}}],[{key:"getDerivedStateFromProps",value:function(Ke,Xe){var dt=Ke.position,it=Xe.prevPropsPosition;return dt&&(!it||dt.x!==it.x||dt.y!==it.y)?((0,C.default)("Draggable: getDerivedStateFromProps %j",{position:dt,prevPropsPosition:it}),{x:dt.x,y:dt.y,prevPropsPosition:w({},dt)}):null}}]),Fe}(o.Component);v.default=re,Q(re,"displayName","Draggable"),Q(re,"propTypes",w(w({},l.default.propTypes),{},{axis:r.default.oneOf(["both","x","y","none"]),bounds:r.default.oneOfType([r.default.shape({left:r.default.number,right:r.default.number,top:r.default.number,bottom:r.default.number}),r.default.string,r.default.oneOf([!1])]),defaultClassName:r.default.string,defaultClassNameDragging:r.default.string,defaultClassNameDragged:r.default.string,defaultPosition:r.default.shape({x:r.default.number,y:r.default.number}),positionOffset:r.default.shape({x:r.default.oneOfType([r.default.number,r.default.string]),y:r.default.oneOfType([r.default.number,r.default.string])}),position:r.default.shape({x:r.default.number,y:r.default.number}),className:S.dontSetMe,style:S.dontSetMe,transform:S.dontSetMe})),Q(re,"defaultProps",w(w({},l.default.defaultProps),{},{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},llF1ns1p:(I,v,t)=>{"use strict";function n(B){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(k){return typeof k}:function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},n(B)}Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;var o=b(t("Z7aTuO5B")),r=l(t("KfF0gQb+")),s=l(t("zKLlqmvB")),h=t("mr68ZkgN"),u=t("p+6EIu9l"),A=t("DizCJaNG"),S=l(t("+iAOTUve"));function l(B){return B&&B.__esModule?B:{default:B}}function C(B){if(typeof WeakMap!="function")return null;var k=new WeakMap,W=new WeakMap;return(C=function(Q){return Q?W:k})(B)}function b(B,k){if(!k&&B&&B.__esModule)return B;if(B===null||n(B)!=="object"&&typeof B!="function")return{default:B};var W=C(k);if(W&&W.has(B))return W.get(B);var q={},Q=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var re in B)if(re!=="default"&&Object.prototype.hasOwnProperty.call(B,re)){var te=Q?Object.getOwnPropertyDescriptor(B,re):null;te&&(te.get||te.set)?Object.defineProperty(q,re,te):q[re]=B[re]}return q.default=B,W&&W.set(B,q),q}function m(B,k){return d(B)||c(B,k)||f(B,k)||D()}function D(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(B,k){if(B){if(typeof B=="string")return p(B,k);var W=Object.prototype.toString.call(B).slice(8,-1);if(W==="Object"&&B.constructor&&(W=B.constructor.name),W==="Map"||W==="Set")return Array.from(B);if(W==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(W))return p(B,k)}}function p(B,k){(k==null||k>B.length)&&(k=B.length);for(var W=0,q=new Array(k);W"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function pe(B){return pe=Object.setPrototypeOf?Object.getPrototypeOf:function(W){return W.__proto__||Object.getPrototypeOf(W)},pe(B)}function ie(B,k,W){return k in B?Object.defineProperty(B,k,{value:W,enumerable:!0,configurable:!0,writable:!0}):B[k]=W,B}var we={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}},Ce=we.mouse,Ne=function(B){T(W,B);var k=F(W);function W(){var q;g(this,W);for(var Q=arguments.length,re=new Array(Q),te=0;te not mounted on DragStart!");var Qe=Fe.ownerDocument;if(!(q.props.disabled||!(ge.target instanceof Qe.defaultView.Node)||q.props.handle&&!(0,h.matchesSelectorAndParentsTo)(ge.target,q.props.handle,Fe)||q.props.cancel&&(0,h.matchesSelectorAndParentsTo)(ge.target,q.props.cancel,Fe))){ge.type==="touchstart"&&ge.preventDefault();var Ke=(0,h.getTouchIdentifier)(ge);q.setState({touchIdentifier:Ke});var Xe=(0,u.getControlPosition)(ge,Ke,ee(q));if(Xe!=null){var dt=Xe.x,it=Xe.y,Ie=(0,u.createCoreData)(ee(q),dt,it);(0,S.default)("DraggableCore: handleDragStart: %j",Ie),(0,S.default)("calling",q.props.onStart);var ue=q.props.onStart(ge,Ie);ue===!1||q.mounted===!1||(q.props.enableUserSelectHack&&(0,h.addUserSelectStyles)(Qe),q.setState({dragging:!0,lastX:dt,lastY:it}),(0,h.addEvent)(Qe,Ce.move,q.handleDrag),(0,h.addEvent)(Qe,Ce.stop,q.handleDragStop))}}}),ie(ee(q),"handleDrag",function(ge){var Fe=(0,u.getControlPosition)(ge,q.state.touchIdentifier,ee(q));if(Fe!=null){var Qe=Fe.x,Ke=Fe.y;if(Array.isArray(q.props.grid)){var Xe=Qe-q.state.lastX,dt=Ke-q.state.lastY,it=(0,u.snapToGrid)(q.props.grid,Xe,dt),Ie=m(it,2);if(Xe=Ie[0],dt=Ie[1],!Xe&&!dt)return;Qe=q.state.lastX+Xe,Ke=q.state.lastY+dt}var ue=(0,u.createCoreData)(ee(q),Qe,Ke);(0,S.default)("DraggableCore: handleDrag: %j",ue);var Le=q.props.onDrag(ge,ue);if(Le===!1||q.mounted===!1){try{q.handleDragStop(new MouseEvent("mouseup"))}catch{var je=document.createEvent("MouseEvents");je.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),q.handleDragStop(je)}return}q.setState({lastX:Qe,lastY:Ke})}}),ie(ee(q),"handleDragStop",function(ge){if(q.state.dragging){var Fe=(0,u.getControlPosition)(ge,q.state.touchIdentifier,ee(q));if(Fe!=null){var Qe=Fe.x,Ke=Fe.y;if(Array.isArray(q.props.grid)){var Xe=Qe-q.state.lastX||0,dt=Ke-q.state.lastY||0,it=(0,u.snapToGrid)(q.props.grid,Xe,dt),Ie=m(it,2);Xe=Ie[0],dt=Ie[1],Qe=q.state.lastX+Xe,Ke=q.state.lastY+dt}var ue=(0,u.createCoreData)(ee(q),Qe,Ke),Le=q.props.onStop(ge,ue);if(Le===!1||q.mounted===!1)return!1;var je=q.findDOMNode();je&&q.props.enableUserSelectHack&&(0,h.removeUserSelectStyles)(je.ownerDocument),(0,S.default)("DraggableCore: handleDragStop: %j",ue),q.setState({dragging:!1,lastX:NaN,lastY:NaN}),je&&((0,S.default)("DraggableCore: Removing handlers"),(0,h.removeEvent)(je.ownerDocument,Ce.move,q.handleDrag),(0,h.removeEvent)(je.ownerDocument,Ce.stop,q.handleDragStop))}}}),ie(ee(q),"onMouseDown",function(ge){return Ce=we.mouse,q.handleDragStart(ge)}),ie(ee(q),"onMouseUp",function(ge){return Ce=we.mouse,q.handleDragStop(ge)}),ie(ee(q),"onTouchStart",function(ge){return Ce=we.touch,q.handleDragStart(ge)}),ie(ee(q),"onTouchEnd",function(ge){return Ce=we.touch,q.handleDragStop(ge)}),q}return x(W,[{key:"componentDidMount",value:function(){this.mounted=!0;var Q=this.findDOMNode();Q&&(0,h.addEvent)(Q,we.touch.start,this.onTouchStart,{passive:!1})}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var Q=this.findDOMNode();if(Q){var re=Q.ownerDocument;(0,h.removeEvent)(re,we.mouse.move,this.handleDrag),(0,h.removeEvent)(re,we.touch.move,this.handleDrag),(0,h.removeEvent)(re,we.mouse.stop,this.handleDragStop),(0,h.removeEvent)(re,we.touch.stop,this.handleDragStop),(0,h.removeEvent)(Q,we.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,h.removeUserSelectStyles)(re)}}},{key:"findDOMNode",value:function(){var Q,re,te;return(Q=this.props)!==null&&Q!==void 0&&Q.nodeRef?(re=this.props)===null||re===void 0||(te=re.nodeRef)===null||te===void 0?void 0:te.current:s.default.findDOMNode(this)}},{key:"render",value:function(){return o.cloneElement(o.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}]),W}(o.Component);v.default=Ne,ie(Ne,"displayName","DraggableCore"),ie(Ne,"propTypes",{allowAnyClick:r.default.bool,disabled:r.default.bool,enableUserSelectHack:r.default.bool,offsetParent:function(k,W){if(k[W]&&k[W].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:r.default.arrayOf(r.default.number),handle:r.default.string,cancel:r.default.string,nodeRef:r.default.object,onStart:r.default.func,onDrag:r.default.func,onStop:r.default.func,onMouseDown:r.default.func,scale:r.default.number,className:A.dontSetMe,style:A.dontSetMe,transform:A.dontSetMe}),ie(Ne,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},D5WZ8cx1:(I,v,t)=>{"use strict";var n=t("v2b4N2Sz"),o=n.default,r=n.DraggableCore;I.exports=o,I.exports.default=o,I.exports.DraggableCore=r},mr68ZkgN:(I,v,t)=>{"use strict";function n(ie){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(we){return typeof we}:function(we){return we&&typeof Symbol=="function"&&we.constructor===Symbol&&we!==Symbol.prototype?"symbol":typeof we},n(ie)}Object.defineProperty(v,"__esModule",{value:!0}),v.addClassName=he,v.addEvent=m,v.addUserSelectStyles=K,v.createCSSTransform=w,v.createSVGTransform=x,v.getTouch=O,v.getTouchIdentifier=F,v.getTranslation=T,v.innerHeight=c,v.innerWidth=d,v.matchesSelector=C,v.matchesSelectorAndParentsTo=b,v.offsetXYFromParent=g,v.outerHeight=f,v.outerWidth=p,v.removeClassName=pe,v.removeEvent=D,v.removeUserSelectStyles=ee;var o=t("DizCJaNG"),r=h(t("vYxVwEsv"));function s(ie){if(typeof WeakMap!="function")return null;var we=new WeakMap,Ce=new WeakMap;return(s=function(B){return B?Ce:we})(ie)}function h(ie,we){if(!we&&ie&&ie.__esModule)return ie;if(ie===null||n(ie)!=="object"&&typeof ie!="function")return{default:ie};var Ce=s(we);if(Ce&&Ce.has(ie))return Ce.get(ie);var Ne={},B=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var k in ie)if(k!=="default"&&Object.prototype.hasOwnProperty.call(ie,k)){var W=B?Object.getOwnPropertyDescriptor(ie,k):null;W&&(W.get||W.set)?Object.defineProperty(Ne,k,W):Ne[k]=ie[k]}return Ne.default=ie,Ce&&Ce.set(ie,Ne),Ne}function u(ie,we){var Ce=Object.keys(ie);if(Object.getOwnPropertySymbols){var Ne=Object.getOwnPropertySymbols(ie);we&&(Ne=Ne.filter(function(B){return Object.getOwnPropertyDescriptor(ie,B).enumerable})),Ce.push.apply(Ce,Ne)}return Ce}function A(ie){for(var we=1;we{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.browserPrefixToKey=o,v.browserPrefixToStyle=r,v.default=void 0,v.getPrefix=n;var t=["Moz","Webkit","O","ms"];function n(){var u,A,S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window>"u")return"";var l=(u=window.document)===null||u===void 0||(A=u.documentElement)===null||A===void 0?void 0:A.style;if(!l||S in l)return"";for(var C=0;C{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.default=t;function t(){var n}},"p+6EIu9l":(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.canDragX=h,v.canDragY=u,v.createCoreData=S,v.createDraggableData=l,v.getBoundPosition=r,v.getControlPosition=A,v.snapToGrid=s;var n=t("DizCJaNG"),o=t("mr68ZkgN");function r(m,D,f){if(!m.props.bounds)return[D,f];var p=m.props.bounds;p=typeof p=="string"?p:C(p);var c=b(m);if(typeof p=="string"){var d=c.ownerDocument,g=d.defaultView,w;if(p==="parent"?w=c.parentNode:w=d.querySelector(p),!(w instanceof g.HTMLElement))throw new Error('Bounds selector "'+p+'" could not find an element.');var x=w,T=g.getComputedStyle(c),O=g.getComputedStyle(x);p={left:-c.offsetLeft+(0,n.int)(O.paddingLeft)+(0,n.int)(T.marginLeft),top:-c.offsetTop+(0,n.int)(O.paddingTop)+(0,n.int)(T.marginTop),right:(0,o.innerWidth)(x)-(0,o.outerWidth)(c)-c.offsetLeft+(0,n.int)(O.paddingRight)-(0,n.int)(T.marginRight),bottom:(0,o.innerHeight)(x)-(0,o.outerHeight)(c)-c.offsetTop+(0,n.int)(O.paddingBottom)-(0,n.int)(T.marginBottom)}}return(0,n.isNum)(p.right)&&(D=Math.min(D,p.right)),(0,n.isNum)(p.bottom)&&(f=Math.min(f,p.bottom)),(0,n.isNum)(p.left)&&(D=Math.max(D,p.left)),(0,n.isNum)(p.top)&&(f=Math.max(f,p.top)),[D,f]}function s(m,D,f){var p=Math.round(D/m[0])*m[0],c=Math.round(f/m[1])*m[1];return[p,c]}function h(m){return m.props.axis==="both"||m.props.axis==="x"}function u(m){return m.props.axis==="both"||m.props.axis==="y"}function A(m,D,f){var p=typeof D=="number"?(0,o.getTouch)(m,D):null;if(typeof D=="number"&&!p)return null;var c=b(f),d=f.props.offsetParent||c.offsetParent||c.ownerDocument.body;return(0,o.offsetXYFromParent)(p||m,d,f.props.scale)}function S(m,D,f){var p=m.state,c=!(0,n.isNum)(p.lastX),d=b(m);return c?{node:d,deltaX:0,deltaY:0,lastX:D,lastY:f,x:D,y:f}:{node:d,deltaX:D-p.lastX,deltaY:f-p.lastY,lastX:p.lastX,lastY:p.lastY,x:D,y:f}}function l(m,D){var f=m.props.scale;return{node:D.node,x:m.state.x+D.deltaX/f,y:m.state.y+D.deltaY/f,deltaX:D.deltaX/f,deltaY:D.deltaY/f,lastX:m.state.x,lastY:m.state.y}}function C(m){return{left:m.left,top:m.top,right:m.right,bottom:m.bottom}}function b(m){var D=m.findDOMNode();if(!D)throw new Error(": Unmounted during event!");return D}},DizCJaNG:(I,v)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.dontSetMe=s,v.findInArray=t,v.int=r,v.isFunction=n,v.isNum=o;function t(h,u){for(var A=0,S=h.length;A{"use strict";t.d(v,{tH:()=>s});var n=t("Z7aTuO5B");const o=(0,n.createContext)(null),r={didCatch:!1,error:null};class s extends n.Component{constructor(C){super(C),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=r}static getDerivedStateFromError(C){return{didCatch:!0,error:C}}resetErrorBoundary(){const{error:C}=this.state;if(C!==null){for(var b,m,D=arguments.length,f=new Array(D),p=0;p0&&arguments[0]!==void 0?arguments[0]:[],C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return l.length!==C.length||l.some((b,m)=>!Object.is(b,C[m]))}function u(l){if(l==null||typeof l.didCatch!="boolean"||typeof l.resetErrorBoundary!="function")throw new Error("ErrorBoundaryContext not found")}function A(){const l=useContext(o);u(l);const[C,b]=useState({error:null,hasError:!1}),m=useMemo(()=>({resetBoundary:()=>{l.resetErrorBoundary(),b({error:null,hasError:!1})},showBoundary:D=>b({error:D,hasError:!0})}),[l.resetErrorBoundary]);if(C.hasError)throw C.error;return m}function S(l,C){const b=forwardRef((D,f)=>createElement(s,C,createElement(l,{...D,ref:f}))),m=l.displayName||l.name||"Unknown";return b.displayName="withErrorBoundary(".concat(m,")"),b}},LLNBJPkI:I=>{var v=typeof Element<"u",t=typeof Map=="function",n=typeof Set=="function",o=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function r(s,h){if(s===h)return!0;if(s&&h&&typeof s=="object"&&typeof h=="object"){if(s.constructor!==h.constructor)return!1;var u,A,S;if(Array.isArray(s)){if(u=s.length,u!=h.length)return!1;for(A=u;A--!==0;)if(!r(s[A],h[A]))return!1;return!0}var l;if(t&&s instanceof Map&&h instanceof Map){if(s.size!==h.size)return!1;for(l=s.entries();!(A=l.next()).done;)if(!h.has(A.value[0]))return!1;for(l=s.entries();!(A=l.next()).done;)if(!r(A.value[1],h.get(A.value[0])))return!1;return!0}if(n&&s instanceof Set&&h instanceof Set){if(s.size!==h.size)return!1;for(l=s.entries();!(A=l.next()).done;)if(!h.has(A.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(s)&&ArrayBuffer.isView(h)){if(u=s.length,u!=h.length)return!1;for(A=u;A--!==0;)if(s[A]!==h[A])return!1;return!0}if(s.constructor===RegExp)return s.source===h.source&&s.flags===h.flags;if(s.valueOf!==Object.prototype.valueOf&&typeof s.valueOf=="function"&&typeof h.valueOf=="function")return s.valueOf()===h.valueOf();if(s.toString!==Object.prototype.toString&&typeof s.toString=="function"&&typeof h.toString=="function")return s.toString()===h.toString();if(S=Object.keys(s),u=S.length,u!==Object.keys(h).length)return!1;for(A=u;A--!==0;)if(!Object.prototype.hasOwnProperty.call(h,S[A]))return!1;if(v&&s instanceof Element)return!1;for(A=u;A--!==0;)if(!((S[A]==="_owner"||S[A]==="__v"||S[A]==="__o")&&s.$$typeof)&&!r(s[S[A]],h[S[A]]))return!1;return!0}return s!==s&&h!==h}I.exports=function(h,u){try{return r(h,u)}catch(A){if((A.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw A}}},hroej4vc:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;var n=l(t("Z7aTuO5B")),o=l(t("KfF0gQb+")),r=t("D5WZ8cx1"),s=t("/H8ohJ6c"),h=t("ZEKxoZqW"),u=t("swWFMCsk"),A=t("Z7MEYOL/"),S=l(t("+bbSl/ZL"));function l(f){return f&&f.__esModule?f:{default:f}}function C(f,p,c){return p=b(p),p in f?Object.defineProperty(f,p,{value:c,enumerable:!0,configurable:!0,writable:!0}):f[p]=c,f}function b(f){var p=m(f,"string");return typeof p=="symbol"?p:String(p)}function m(f,p){if(typeof f!="object"||f===null)return f;var c=f[Symbol.toPrimitive];if(c!==void 0){var d=c.call(f,p||"default");if(typeof d!="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return(p==="string"?String:Number)(f)}class D extends n.default.Component{constructor(){super(...arguments),C(this,"state",{resizing:null,dragging:null,className:""}),C(this,"elementRef",n.default.createRef()),C(this,"onDragStart",(p,c)=>{let{node:d}=c;const{onDragStart:g,transformScale:w}=this.props;if(!g)return;const x={top:0,left:0},{offsetParent:T}=d;if(!T)return;const O=T.getBoundingClientRect(),F=d.getBoundingClientRect(),K=F.left/w,ee=O.left/w,he=F.top/w,pe=O.top/w;x.left=K-ee+T.scrollLeft,x.top=he-pe+T.scrollTop,this.setState({dragging:x});const{x:ie,y:we}=(0,u.calcXY)(this.getPositionParams(),x.top,x.left,this.props.w,this.props.h);return g.call(this,this.props.i,ie,we,{e:p,node:d,newPosition:x})}),C(this,"onDrag",(p,c)=>{let{node:d,deltaX:g,deltaY:w}=c;const{onDrag:x}=this.props;if(!x)return;if(!this.state.dragging)throw new Error("onDrag called before onDragStart.");let T=this.state.dragging.top+w,O=this.state.dragging.left+g;const{isBounded:F,i:K,w:ee,h:he,containerWidth:pe}=this.props,ie=this.getPositionParams();if(F){const{offsetParent:k}=d;if(k){const{margin:W,rowHeight:q,containerPadding:Q}=this.props,re=k.clientHeight-(0,u.calcGridItemWHPx)(he,q,W[1]);T=(0,u.clamp)(T-Q[1],0,re);const te=(0,u.calcGridColWidth)(ie),ge=pe-(0,u.calcGridItemWHPx)(ee,te,W[0]);O=(0,u.clamp)(O-Q[0],0,ge)}}const we={top:T,left:O};this.setState({dragging:we});const{containerPadding:Ce}=this.props,{x:Ne,y:B}=(0,u.calcXY)(ie,T-Ce[1],O-Ce[0],ee,he);return x.call(this,K,Ne,B,{e:p,node:d,newPosition:we})}),C(this,"onDragStop",(p,c)=>{let{node:d}=c;const{onDragStop:g}=this.props;if(!g)return;if(!this.state.dragging)throw new Error("onDragEnd called before onDragStart.");const{w,h:x,i:T,containerPadding:O}=this.props,{left:F,top:K}=this.state.dragging,ee={top:K,left:F};this.setState({dragging:null});const{x:he,y:pe}=(0,u.calcXY)(this.getPositionParams(),K-O[1],F-O[0],w,x);return g.call(this,T,he,pe,{e:p,node:d,newPosition:ee})}),C(this,"onResizeStop",(p,c,d)=>this.onResizeHandler(p,c,d,"onResizeStop")),C(this,"onResizeStart",(p,c,d)=>this.onResizeHandler(p,c,d,"onResizeStart")),C(this,"onResize",(p,c,d)=>this.onResizeHandler(p,c,d,"onResize"))}shouldComponentUpdate(p,c){if(this.props.children!==p.children||this.props.droppingPosition!==p.droppingPosition)return!0;const d=(0,u.calcGridItemPosition)(this.getPositionParams(this.props),this.props.x,this.props.y,this.props.w,this.props.h,this.state),g=(0,u.calcGridItemPosition)(this.getPositionParams(p),p.x,p.y,p.w,p.h,c);return!(0,h.fastPositionEqual)(d,g)||this.props.useCSSTransforms!==p.useCSSTransforms}componentDidMount(){this.moveDroppingItem({})}componentDidUpdate(p){this.moveDroppingItem(p)}moveDroppingItem(p){const{droppingPosition:c}=this.props;if(!c)return;const d=this.elementRef.current;if(!d)return;const g=p.droppingPosition||{left:0,top:0},{dragging:w}=this.state,x=w&&c.left!==g.left||c.top!==g.top;if(!w)this.onDragStart(c.e,{node:d,deltaX:c.left,deltaY:c.top});else if(x){const T=c.left-w.left,O=c.top-w.top;this.onDrag(c.e,{node:d,deltaX:T,deltaY:O})}}getPositionParams(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props;return{cols:p.cols,containerPadding:p.containerPadding,containerWidth:p.containerWidth,margin:p.margin,maxRows:p.maxRows,rowHeight:p.rowHeight}}createStyle(p){const{usePercentages:c,containerWidth:d,useCSSTransforms:g}=this.props;let w;return g?w=(0,h.setTransform)(p):(w=(0,h.setTopLeft)(p),c&&(w.left=(0,h.perc)(p.left/d),w.width=(0,h.perc)(p.width/d))),w}mixinDraggable(p,c){return n.default.createElement(r.DraggableCore,{disabled:!c,onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop,handle:this.props.handle,cancel:".react-resizable-handle"+(this.props.cancel?","+this.props.cancel:""),scale:this.props.transformScale,nodeRef:this.elementRef},p)}curryResizeHandler(p,c){return(d,g)=>c(d,g,p)}mixinResizable(p,c,d){const{cols:g,minW:w,minH:x,maxW:T,maxH:O,transformScale:F,resizeHandles:K,resizeHandle:ee}=this.props,he=this.getPositionParams(),pe=(0,u.calcGridItemPosition)(he,0,0,g,0).width,ie=(0,u.calcGridItemPosition)(he,0,0,w,x),we=(0,u.calcGridItemPosition)(he,0,0,T,O),Ce=[ie.width,ie.height],Ne=[Math.min(we.width,pe),Math.min(we.height,1/0)];return n.default.createElement(s.Resizable,{draggableOpts:{disabled:!d},className:d?void 0:"react-resizable-hide",width:c.width,height:c.height,minConstraints:Ce,maxConstraints:Ne,onResizeStop:this.curryResizeHandler(c,this.onResizeStop),onResizeStart:this.curryResizeHandler(c,this.onResizeStart),onResize:this.curryResizeHandler(c,this.onResize),transformScale:F,resizeHandles:K,handle:ee},p)}onResizeHandler(p,c,d,g){let{node:w,size:x,handle:T}=c;const O=this.props[g];if(!O)return;const{x:F,y:K,i:ee,maxH:he,minH:pe,containerWidth:ie}=this.props,{minW:we,maxW:Ce}=this.props;let Ne=x;w&&(Ne=(0,h.resizeItemInDirection)(T,d,x,ie),this.setState({resizing:g==="onResizeStop"?null:Ne}));let{w:B,h:k}=(0,u.calcWH)(this.getPositionParams(),Ne.width,Ne.height,F,K,T);B=(0,u.clamp)(B,Math.max(we,1),Ce),k=(0,u.clamp)(k,pe,he),O.call(this,ee,B,k,{e:p,node:w,size:Ne,handle:T})}render(){const{x:p,y:c,w:d,h:g,isDraggable:w,isResizable:x,droppingPosition:T,useCSSTransforms:O}=this.props,F=(0,u.calcGridItemPosition)(this.getPositionParams(),p,c,d,g,this.state),K=n.default.Children.only(this.props.children);let ee=n.default.cloneElement(K,{ref:this.elementRef,className:(0,S.default)("react-grid-item",K.props.className,this.props.className,{static:this.props.static,resizing:!!this.state.resizing,"react-draggable":w,"react-draggable-dragging":!!this.state.dragging,dropping:!!T,cssTransforms:O}),style:{...this.props.style,...K.props.style,...this.createStyle(F)}});return ee=this.mixinResizable(ee,F,x),ee=this.mixinDraggable(ee,w),ee}}v.default=D,C(D,"propTypes",{children:o.default.element,cols:o.default.number.isRequired,containerWidth:o.default.number.isRequired,rowHeight:o.default.number.isRequired,margin:o.default.array.isRequired,maxRows:o.default.number.isRequired,containerPadding:o.default.array.isRequired,x:o.default.number.isRequired,y:o.default.number.isRequired,w:o.default.number.isRequired,h:o.default.number.isRequired,minW:function(f,p){const c=f[p];if(typeof c!="number")return new Error("minWidth not Number");if(c>f.w||c>f.maxW)return new Error("minWidth larger than item width/maxWidth")},maxW:function(f,p){const c=f[p];if(typeof c!="number")return new Error("maxWidth not Number");if(cf.h||c>f.maxH)return new Error("minHeight larger than item height/maxHeight")},maxH:function(f,p){const c=f[p];if(typeof c!="number")return new Error("maxHeight not Number");if(c{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;var n=C(t("Z7aTuO5B")),o=t("wUWFEZdH"),r=S(t("+bbSl/ZL")),s=t("ZEKxoZqW"),h=t("swWFMCsk"),u=S(t("hroej4vc")),A=S(t("Z7MEYOL/"));function S(d){return d&&d.__esModule?d:{default:d}}function l(d){if(typeof WeakMap!="function")return null;var g=new WeakMap,w=new WeakMap;return(l=function(x){return x?w:g})(d)}function C(d,g){if(!g&&d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var w=l(g);if(w&&w.has(d))return w.get(d);var x={__proto__:null},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in d)if(O!=="default"&&Object.prototype.hasOwnProperty.call(d,O)){var F=T?Object.getOwnPropertyDescriptor(d,O):null;F&&(F.get||F.set)?Object.defineProperty(x,O,F):x[O]=d[O]}return x.default=d,w&&w.set(d,x),x}function b(d,g,w){return g=m(g),g in d?Object.defineProperty(d,g,{value:w,enumerable:!0,configurable:!0,writable:!0}):d[g]=w,d}function m(d){var g=D(d,"string");return typeof g=="symbol"?g:String(g)}function D(d,g){if(typeof d!="object"||d===null)return d;var w=d[Symbol.toPrimitive];if(w!==void 0){var x=w.call(d,g||"default");if(typeof x!="object")return x;throw new TypeError("@@toPrimitive must return a primitive value.")}return(g==="string"?String:Number)(d)}const f="react-grid-layout";let p=!1;try{p=/firefox/i.test(navigator.userAgent)}catch{}class c extends n.Component{constructor(){super(...arguments),b(this,"state",{activeDrag:null,layout:(0,s.synchronizeLayoutWithChildren)(this.props.layout,this.props.children,this.props.cols,(0,s.compactType)(this.props),this.props.allowOverlap),mounted:!1,oldDragItem:null,oldLayout:null,oldResizeItem:null,resizing:!1,droppingDOMNode:null,children:[]}),b(this,"dragEnterCounter",0),b(this,"onDragStart",(g,w,x,T)=>{let{e:O,node:F}=T;const{layout:K}=this.state,ee=(0,s.getLayoutItem)(K,g);if(!ee)return;const he={w:ee.w,h:ee.h,x:ee.x,y:ee.y,placeholder:!0,i:g};return this.setState({oldDragItem:(0,s.cloneLayoutItem)(ee),oldLayout:K,activeDrag:he}),this.props.onDragStart(K,ee,ee,null,O,F)}),b(this,"onDrag",(g,w,x,T)=>{let{e:O,node:F}=T;const{oldDragItem:K}=this.state;let{layout:ee}=this.state;const{cols:he,allowOverlap:pe,preventCollision:ie}=this.props,we=(0,s.getLayoutItem)(ee,g);if(!we)return;const Ce={w:we.w,h:we.h,x:we.x,y:we.y,placeholder:!0,i:g};ee=(0,s.moveElement)(ee,we,w,x,!0,ie,(0,s.compactType)(this.props),he,pe),this.props.onDrag(ee,K,we,Ce,O,F),this.setState({layout:pe?ee:(0,s.compact)(ee,(0,s.compactType)(this.props),he),activeDrag:Ce})}),b(this,"onDragStop",(g,w,x,T)=>{let{e:O,node:F}=T;if(!this.state.activeDrag)return;const{oldDragItem:K}=this.state;let{layout:ee}=this.state;const{cols:he,preventCollision:pe,allowOverlap:ie}=this.props,we=(0,s.getLayoutItem)(ee,g);if(!we)return;ee=(0,s.moveElement)(ee,we,w,x,!0,pe,(0,s.compactType)(this.props),he,ie);const Ne=ie?ee:(0,s.compact)(ee,(0,s.compactType)(this.props),he);this.props.onDragStop(Ne,K,we,null,O,F);const{oldLayout:B}=this.state;this.setState({activeDrag:null,layout:Ne,oldDragItem:null,oldLayout:null}),this.onLayoutMaybeChanged(Ne,B)}),b(this,"onResizeStart",(g,w,x,T)=>{let{e:O,node:F}=T;const{layout:K}=this.state,ee=(0,s.getLayoutItem)(K,g);ee&&(this.setState({oldResizeItem:(0,s.cloneLayoutItem)(ee),oldLayout:this.state.layout,resizing:!0}),this.props.onResizeStart(K,ee,ee,null,O,F))}),b(this,"onResize",(g,w,x,T)=>{let{e:O,node:F,size:K,handle:ee}=T;const{oldResizeItem:he}=this.state,{layout:pe}=this.state,{cols:ie,preventCollision:we,allowOverlap:Ce}=this.props;let Ne=!1,B,k,W;const[q,Q]=(0,s.withLayoutItem)(pe,g,te=>{let ge;return k=te.x,W=te.y,["sw","w","nw","n","ne"].indexOf(ee)!==-1&&(["sw","nw","w"].indexOf(ee)!==-1&&(k=te.x+(te.w-w),w=te.x!==k&&k<0?te.w:w,k=k<0?0:k),["ne","n","nw"].indexOf(ee)!==-1&&(W=te.y+(te.h-x),x=te.y!==W&&W<0?te.h:x,W=W<0?0:W),Ne=!0),we&&!Ce&&(ge=(0,s.getAllCollisions)(pe,{...te,w,h:x,x:k,y:W}).filter(Qe=>Qe.i!==te.i).length>0,ge&&(W=te.y,x=te.h,k=te.x,w=te.w,Ne=!1)),te.w=w,te.h=x,te});if(!Q)return;B=q,Ne&&(B=(0,s.moveElement)(q,Q,k,W,!0,this.props.preventCollision,(0,s.compactType)(this.props),ie,Ce));const re={w:Q.w,h:Q.h,x:Q.x,y:Q.y,static:!0,i:g};this.props.onResize(B,he,Q,re,O,F),this.setState({layout:Ce?B:(0,s.compact)(B,(0,s.compactType)(this.props),ie),activeDrag:re})}),b(this,"onResizeStop",(g,w,x,T)=>{let{e:O,node:F}=T;const{layout:K,oldResizeItem:ee}=this.state,{cols:he,allowOverlap:pe}=this.props,ie=(0,s.getLayoutItem)(K,g),we=pe?K:(0,s.compact)(K,(0,s.compactType)(this.props),he);this.props.onResizeStop(we,ee,ie,null,O,F);const{oldLayout:Ce}=this.state;this.setState({activeDrag:null,layout:we,oldResizeItem:null,oldLayout:null,resizing:!1}),this.onLayoutMaybeChanged(we,Ce)}),b(this,"onDragOver",g=>{var q;if(g.preventDefault(),g.stopPropagation(),p&&!((q=g.nativeEvent.target)!=null&&q.classList.contains(f)))return!1;const{droppingItem:w,onDropDragOver:x,margin:T,cols:O,rowHeight:F,maxRows:K,width:ee,containerPadding:he,transformScale:pe}=this.props,ie=x==null?void 0:x(g);if(ie===!1)return this.state.droppingDOMNode&&this.removeDroppingPlaceholder(),!1;const we={...w,...ie},{layout:Ce}=this.state,Ne=g.currentTarget.getBoundingClientRect(),B=g.clientX-Ne.left,k=g.clientY-Ne.top,W={left:B/pe,top:k/pe,e:g};if(this.state.droppingDOMNode){if(this.state.droppingPosition){const{left:Q,top:re}=this.state.droppingPosition;(Q!=B||re!=k)&&this.setState({droppingPosition:W})}}else{const Q={cols:O,margin:T,maxRows:K,rowHeight:F,containerWidth:ee,containerPadding:he||T},re=(0,h.calcXY)(Q,k,B,we.w,we.h);this.setState({droppingDOMNode:n.createElement("div",{key:we.i}),droppingPosition:W,layout:[...Ce,{...we,x:re.x,y:re.y,static:!1,isDraggable:!0}]})}}),b(this,"removeDroppingPlaceholder",()=>{const{droppingItem:g,cols:w}=this.props,{layout:x}=this.state,T=(0,s.compact)(x.filter(O=>O.i!==g.i),(0,s.compactType)(this.props),w,this.props.allowOverlap);this.setState({layout:T,droppingDOMNode:null,activeDrag:null,droppingPosition:void 0})}),b(this,"onDragLeave",g=>{g.preventDefault(),g.stopPropagation(),this.dragEnterCounter--,this.dragEnterCounter===0&&this.removeDroppingPlaceholder()}),b(this,"onDragEnter",g=>{g.preventDefault(),g.stopPropagation(),this.dragEnterCounter++}),b(this,"onDrop",g=>{g.preventDefault(),g.stopPropagation();const{droppingItem:w}=this.props,{layout:x}=this.state,T=x.find(O=>O.i===w.i);this.dragEnterCounter=0,this.removeDroppingPlaceholder(),this.props.onDrop(x,T,g)})}componentDidMount(){this.setState({mounted:!0}),this.onLayoutMaybeChanged(this.state.layout,this.props.layout)}static getDerivedStateFromProps(g,w){let x;return w.activeDrag?null:(!(0,o.deepEqual)(g.layout,w.propsLayout)||g.compactType!==w.compactType?x=g.layout:(0,s.childrenEqual)(g.children,w.children)||(x=w.layout),x?{layout:(0,s.synchronizeLayoutWithChildren)(x,g.children,g.cols,(0,s.compactType)(g),g.allowOverlap),compactType:g.compactType,children:g.children,propsLayout:g.layout}:null)}shouldComponentUpdate(g,w){return this.props.children!==g.children||!(0,s.fastRGLPropsEqual)(this.props,g,o.deepEqual)||this.state.activeDrag!==w.activeDrag||this.state.mounted!==w.mounted||this.state.droppingPosition!==w.droppingPosition}componentDidUpdate(g,w){if(!this.state.activeDrag){const x=this.state.layout,T=w.layout;this.onLayoutMaybeChanged(x,T)}}containerHeight(){if(!this.props.autoSize)return;const g=(0,s.bottom)(this.state.layout),w=this.props.containerPadding?this.props.containerPadding[1]:this.props.margin[1];return g*this.props.rowHeight+(g-1)*this.props.margin[1]+w*2+"px"}onLayoutMaybeChanged(g,w){w||(w=this.state.layout),(0,o.deepEqual)(w,g)||this.props.onLayoutChange(g)}placeholder(){const{activeDrag:g}=this.state;if(!g)return null;const{width:w,cols:x,margin:T,containerPadding:O,rowHeight:F,maxRows:K,useCSSTransforms:ee,transformScale:he}=this.props;return n.createElement(u.default,{w:g.w,h:g.h,x:g.x,y:g.y,i:g.i,className:`react-grid-placeholder ${this.state.resizing?"placeholder-resizing":""}`,containerWidth:w,cols:x,margin:T,containerPadding:O||T,maxRows:K,rowHeight:F,isDraggable:!1,isResizable:!1,isBounded:!1,useCSSTransforms:ee,transformScale:he},n.createElement("div",null))}processGridItem(g,w){if(!g||!g.key)return;const x=(0,s.getLayoutItem)(this.state.layout,String(g.key));if(!x)return null;const{width:T,cols:O,margin:F,containerPadding:K,rowHeight:ee,maxRows:he,isDraggable:pe,isResizable:ie,isBounded:we,useCSSTransforms:Ce,transformScale:Ne,draggableCancel:B,draggableHandle:k,resizeHandles:W,resizeHandle:q}=this.props,{mounted:Q,droppingPosition:re}=this.state,te=typeof x.isDraggable=="boolean"?x.isDraggable:!x.static&&pe,ge=typeof x.isResizable=="boolean"?x.isResizable:!x.static&&ie,Fe=x.resizeHandles||W,Qe=te&&we&&x.isBounded!==!1;return n.createElement(u.default,{containerWidth:T,cols:O,margin:F,containerPadding:K||F,maxRows:he,rowHeight:ee,cancel:B,handle:k,onDragStop:this.onDragStop,onDragStart:this.onDragStart,onDrag:this.onDrag,onResizeStart:this.onResizeStart,onResize:this.onResize,onResizeStop:this.onResizeStop,isDraggable:te,isResizable:ge,isBounded:Qe,useCSSTransforms:Ce&&Q,usePercentages:!Q,transformScale:Ne,w:x.w,h:x.h,x:x.x,y:x.y,i:x.i,minH:x.minH,minW:x.minW,maxH:x.maxH,maxW:x.maxW,static:x.static,droppingPosition:w?re:void 0,resizeHandles:Fe,resizeHandle:q},g)}render(){const{className:g,style:w,isDroppable:x,innerRef:T}=this.props,O=(0,r.default)(f,g),F={height:this.containerHeight(),...w};return n.createElement("div",{ref:T,className:O,style:F,onDrop:x?this.onDrop:s.noop,onDragLeave:x?this.onDragLeave:s.noop,onDragEnter:x?this.onDragEnter:s.noop,onDragOver:x?this.onDragOver:s.noop},n.Children.map(this.props.children,K=>this.processGridItem(K)),x&&this.state.droppingDOMNode&&this.processGridItem(this.state.droppingDOMNode,!0),this.placeholder())}}v.default=c,b(c,"displayName","ReactGridLayout"),b(c,"propTypes",A.default),b(c,"defaultProps",{autoSize:!0,cols:12,className:"",style:{},draggableHandle:"",draggableCancel:"",containerPadding:null,rowHeight:150,maxRows:1/0,layout:[],margin:[10,10],isBounded:!1,isDraggable:!0,isResizable:!0,allowOverlap:!1,isDroppable:!1,useCSSTransforms:!0,transformScale:1,verticalCompact:!0,compactType:"vertical",preventCollision:!1,droppingItem:{i:"__dropping-elem__",h:1,w:1},resizeHandles:["se"],onLayoutChange:s.noop,onDragStart:s.noop,onDrag:s.noop,onDragStop:s.noop,onResizeStart:s.noop,onResize:s.noop,onResizeStop:s.noop,onDrop:s.noop,onDropDragOver:s.noop})},"Z7MEYOL/":(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.resizeHandleType=v.resizeHandleAxesType=v.default=void 0;var n=r(t("KfF0gQb+")),o=r(t("Z7aTuO5B"));function r(A){return A&&A.__esModule?A:{default:A}}const s=v.resizeHandleAxesType=n.default.arrayOf(n.default.oneOf(["s","w","e","n","sw","nw","se","ne"])),h=v.resizeHandleType=n.default.oneOfType([n.default.node,n.default.func]);var u=v.default={className:n.default.string,style:n.default.object,width:n.default.number,autoSize:n.default.bool,cols:n.default.number,draggableCancel:n.default.string,draggableHandle:n.default.string,verticalCompact:function(A){A.verticalCompact},compactType:n.default.oneOf(["vertical","horizontal"]),layout:function(A){var S=A.layout;S!==void 0&&t("ZEKxoZqW").validateLayout(S,"layout")},margin:n.default.arrayOf(n.default.number),containerPadding:n.default.arrayOf(n.default.number),rowHeight:n.default.number,maxRows:n.default.number,isBounded:n.default.bool,isDraggable:n.default.bool,isResizable:n.default.bool,allowOverlap:n.default.bool,preventCollision:n.default.bool,useCSSTransforms:n.default.bool,transformScale:n.default.number,isDroppable:n.default.bool,resizeHandles:s,resizeHandle:h,onLayoutChange:n.default.func,onDragStart:n.default.func,onDrag:n.default.func,onDragStop:n.default.func,onResizeStart:n.default.func,onResize:n.default.func,onResizeStop:n.default.func,onDrop:n.default.func,droppingItem:n.default.shape({i:n.default.string.isRequired,w:n.default.number.isRequired,h:n.default.number.isRequired}),children:function(A,S){const l=A[S],C={};o.default.Children.forEach(l,function(b){if((b==null?void 0:b.key)!=null){if(C[b.key])throw new Error('Duplicate child key "'+b.key+'" found! This will cause problems in ReactGridLayout.');C[b.key]=!0}})},innerRef:n.default.any}},"+pq9QeKM":(I,v,t)=>{"use strict";var n;n={value:!0},v.default=void 0;var o=C(t("Z7aTuO5B")),r=S(t("KfF0gQb+")),s=t("wUWFEZdH"),h=t("ZEKxoZqW"),u=t("JHQXf8d7"),A=S(t("mw4dFkN/"));function S(g){return g&&g.__esModule?g:{default:g}}function l(g){if(typeof WeakMap!="function")return null;var w=new WeakMap,x=new WeakMap;return(l=function(T){return T?x:w})(g)}function C(g,w){if(!w&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var x=l(w);if(x&&x.has(g))return x.get(g);var T={__proto__:null},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var F in g)if(F!=="default"&&Object.prototype.hasOwnProperty.call(g,F)){var K=O?Object.getOwnPropertyDescriptor(g,F):null;K&&(K.get||K.set)?Object.defineProperty(T,F,K):T[F]=g[F]}return T.default=g,x&&x.set(g,T),T}function b(){return b=Object.assign?Object.assign.bind():function(g){for(var w=1;wObject.prototype.toString.call(g);function c(g,w){return g==null?null:Array.isArray(g)?g:g[w]}class d extends o.Component{constructor(){super(...arguments),m(this,"state",this.generateInitialState()),m(this,"onLayoutChange",w=>{this.props.onLayoutChange(w,{...this.props.layouts,[this.state.breakpoint]:w})})}generateInitialState(){const{width:w,breakpoints:x,layouts:T,cols:O}=this.props,F=(0,u.getBreakpointFromWidth)(x,w),K=(0,u.getColsFromBreakpoint)(F,O),ee=this.props.verticalCompact===!1?null:this.props.compactType;return{layout:(0,u.findOrGenerateResponsiveLayout)(T,x,F,F,K,ee),breakpoint:F,cols:K}}static getDerivedStateFromProps(w,x){if(!(0,s.deepEqual)(w.layouts,x.layouts)){const{breakpoint:T,cols:O}=x;return{layout:(0,u.findOrGenerateResponsiveLayout)(w.layouts,w.breakpoints,T,T,O,w.compactType),layouts:w.layouts}}return null}componentDidUpdate(w){(this.props.width!=w.width||this.props.breakpoint!==w.breakpoint||!(0,s.deepEqual)(this.props.breakpoints,w.breakpoints)||!(0,s.deepEqual)(this.props.cols,w.cols))&&this.onWidthChange(w)}onWidthChange(w){const{breakpoints:x,cols:T,layouts:O,compactType:F}=this.props,K=this.props.breakpoint||(0,u.getBreakpointFromWidth)(this.props.breakpoints,this.props.width),ee=this.state.breakpoint,he=(0,u.getColsFromBreakpoint)(K,T),pe={...O};if(ee!==K||w.breakpoints!==x||w.cols!==T){ee in pe||(pe[ee]=(0,h.cloneLayout)(this.state.layout));let Ce=(0,u.findOrGenerateResponsiveLayout)(pe,x,K,ee,he,F);Ce=(0,h.synchronizeLayoutWithChildren)(Ce,this.props.children,he,F,this.props.allowOverlap),pe[K]=Ce,this.props.onLayoutChange(Ce,pe),this.props.onBreakpointChange(K,he),this.setState({breakpoint:K,layout:Ce,cols:he})}const ie=c(this.props.margin,K),we=c(this.props.containerPadding,K);this.props.onWidthChange(this.props.width,ie,he,we)}render(){const{breakpoint:w,breakpoints:x,cols:T,layouts:O,margin:F,containerPadding:K,onBreakpointChange:ee,onLayoutChange:he,onWidthChange:pe,...ie}=this.props;return o.createElement(A.default,b({},ie,{margin:c(F,this.state.breakpoint),containerPadding:c(K,this.state.breakpoint),onLayoutChange:this.onLayoutChange,layout:this.state.layout,cols:this.state.cols}))}}v.default=d,m(d,"propTypes",{breakpoint:r.default.string,breakpoints:r.default.object,allowOverlap:r.default.bool,cols:r.default.object,margin:r.default.oneOfType([r.default.array,r.default.object]),containerPadding:r.default.oneOfType([r.default.array,r.default.object]),layouts(g,w){if(p(g[w])!=="[object Object]")throw new Error("Layout property must be an object. Received: "+p(g[w]));Object.keys(g[w]).forEach(x=>{if(!(x in g.breakpoints))throw new Error("Each key in layouts must align with a key in breakpoints.");(0,h.validateLayout)(g.layouts[x],"layouts."+x)})},width:r.default.number.isRequired,onBreakpointChange:r.default.func,onLayoutChange:r.default.func,onWidthChange:r.default.func}),m(d,"defaultProps",{breakpoints:{lg:1200,md:996,sm:768,xs:480,xxs:0},cols:{lg:12,md:10,sm:6,xs:4,xxs:2},containerPadding:{lg:null,md:null,sm:null,xs:null,xxs:null},layouts:{},margin:[10,10],allowOverlap:!1,onBreakpointChange:h.noop,onLayoutChange:h.noop,onWidthChange:h.noop})},swWFMCsk:(I,v)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.calcGridColWidth=t,v.calcGridItemPosition=o,v.calcGridItemWHPx=n,v.calcWH=s,v.calcXY=r,v.clamp=h;function t(u){const{margin:A,containerPadding:S,containerWidth:l,cols:C}=u;return(l-A[0]*(C-1)-S[0]*2)/C}function n(u,A,S){return Number.isFinite(u)?Math.round(A*u+Math.max(0,u-1)*S):u}function o(u,A,S,l,C,b){const{margin:m,containerPadding:D,rowHeight:f}=u,p=t(u),c={};return b&&b.resizing?(c.width=Math.round(b.resizing.width),c.height=Math.round(b.resizing.height)):(c.width=n(l,p,m[0]),c.height=n(C,f,m[1])),b&&b.dragging?(c.top=Math.round(b.dragging.top),c.left=Math.round(b.dragging.left)):b&&b.resizing&&typeof b.resizing.top=="number"&&typeof b.resizing.left=="number"?(c.top=Math.round(b.resizing.top),c.left=Math.round(b.resizing.left)):(c.top=Math.round((f+m[1])*S+D[1]),c.left=Math.round((p+m[0])*A+D[0])),c}function r(u,A,S,l,C){const{margin:b,cols:m,rowHeight:D,maxRows:f}=u,p=t(u);let c=Math.round((S-b[0])/(p+b[0])),d=Math.round((A-b[1])/(D+b[1]));return c=h(c,0,m-l),d=h(d,0,f-C),{x:c,y:d}}function s(u,A,S,l,C,b){const{margin:m,maxRows:D,cols:f,rowHeight:p}=u,c=t(u);let d=Math.round((A+m[0])/(c+m[0])),g=Math.round((S+m[1])/(p+m[1])),w=h(d,0,f-l),x=h(g,0,D-C);return["sw","w","nw"].indexOf(b)!==-1&&(w=h(d,0,f)),["nw","n","ne"].indexOf(b)!==-1&&(x=h(g,0,D)),{w,h:x}}function h(u,A,S){return Math.max(Math.min(u,S),A)}},OE0UFjy9:(I,v,t)=>{"use strict";var n;n={value:!0},v.default=f;var o=S(t("Z7aTuO5B")),r=u(t("KfF0gQb+")),s=u(t("kB7/Ozci")),h=u(t("+bbSl/ZL"));function u(p){return p&&p.__esModule?p:{default:p}}function A(p){if(typeof WeakMap!="function")return null;var c=new WeakMap,d=new WeakMap;return(A=function(g){return g?d:c})(p)}function S(p,c){if(!c&&p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var d=A(c);if(d&&d.has(p))return d.get(p);var g={__proto__:null},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in p)if(x!=="default"&&Object.prototype.hasOwnProperty.call(p,x)){var T=w?Object.getOwnPropertyDescriptor(p,x):null;T&&(T.get||T.set)?Object.defineProperty(g,x,T):g[x]=p[x]}return g.default=p,d&&d.set(p,g),g}function l(){return l=Object.assign?Object.assign.bind():function(p){for(var c=1;c{if(this.elementRef.current instanceof HTMLElement){const T=w[0].contentRect.width;this.setState({width:T})}});const g=this.elementRef.current;g instanceof HTMLElement&&this.resizeObserver.observe(g)}componentWillUnmount(){this.mounted=!1;const g=this.elementRef.current;g instanceof HTMLElement&&this.resizeObserver.unobserve(g),this.resizeObserver.disconnect()}render(){const{measureBeforeMount:g,...w}=this.props;return g&&!this.mounted?o.createElement("div",{className:(0,h.default)(this.props.className,D),style:this.props.style,ref:this.elementRef}):o.createElement(p,l({innerRef:this.elementRef},w,this.state))}},C(c,"defaultProps",{measureBeforeMount:!1}),C(c,"propTypes",{measureBeforeMount:r.default.bool}),c}},"09Tsyj6a":I=>{I.exports=function(t,n,o){return t===n?!0:t.className===n.className&&o(t.style,n.style)&&t.width===n.width&&t.autoSize===n.autoSize&&t.cols===n.cols&&t.draggableCancel===n.draggableCancel&&t.draggableHandle===n.draggableHandle&&o(t.verticalCompact,n.verticalCompact)&&o(t.compactType,n.compactType)&&o(t.layout,n.layout)&&o(t.margin,n.margin)&&o(t.containerPadding,n.containerPadding)&&t.rowHeight===n.rowHeight&&t.maxRows===n.maxRows&&t.isBounded===n.isBounded&&t.isDraggable===n.isDraggable&&t.isResizable===n.isResizable&&t.allowOverlap===n.allowOverlap&&t.preventCollision===n.preventCollision&&t.useCSSTransforms===n.useCSSTransforms&&t.transformScale===n.transformScale&&t.isDroppable===n.isDroppable&&o(t.resizeHandles,n.resizeHandles)&&o(t.resizeHandle,n.resizeHandle)&&t.onLayoutChange===n.onLayoutChange&&t.onDragStart===n.onDragStart&&t.onDrag===n.onDrag&&t.onDragStop===n.onDragStop&&t.onResizeStart===n.onResizeStart&&t.onResize===n.onResize&&t.onResizeStop===n.onResizeStop&&t.onDrop===n.onDrop&&o(t.droppingItem,n.droppingItem)&&o(t.innerRef,n.innerRef)}},JHQXf8d7:(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.findOrGenerateResponsiveLayout=s,v.getBreakpointFromWidth=o,v.getColsFromBreakpoint=r,v.sortBreakpoints=h;var n=t("ZEKxoZqW");function o(u,A){const S=h(u);let l=S[0];for(let C=1,b=S.length;Cu[m]&&(l=m)}return l}function r(u,A){if(!A[u])throw new Error("ResponsiveReactGridLayout: `cols` entry for breakpoint "+u+" is missing!");return A[u]}function s(u,A,S,l,C,b){if(u[S])return(0,n.cloneLayout)(u[S]);let m=u[l];const D=h(A),f=D.slice(D.indexOf(S));for(let p=0,c=f.length;p{"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.bottom=u,v.childrenEqual=b,v.cloneLayout=A,v.cloneLayoutItem=C,v.collides=f,v.compact=p,v.compactItem=g,v.compactType=Le,v.correctBounds=w,v.fastPositionEqual=D,v.fastRGLPropsEqual=void 0,v.getAllCollisions=O,v.getFirstCollision=T,v.getLayoutItem=x,v.getStatics=F,v.modifyLayout=S,v.moveElement=K,v.moveElementAwayFromCollision=ee,v.noop=void 0,v.perc=he,v.resizeItemInDirection=Fe,v.setTopLeft=Ke,v.setTransform=Qe,v.sortLayoutItems=Xe,v.sortLayoutItemsByColRow=it,v.sortLayoutItemsByRowCol=dt,v.synchronizeLayoutWithChildren=Ie,v.validateLayout=ue,v.withLayoutItem=l;var n=t("wUWFEZdH"),o=r(t("Z7aTuO5B"));function r($){return $&&$.__esModule?$:{default:$}}const s=!0,h=!1;function u($){let G=0,U;for(let L=0,j=$.length;LG&&(G=U);return G}function A($){const G=Array($.length);for(let U=0,L=$.length;UU==null?void 0:U.key),o.default.Children.map(G,U=>U==null?void 0:U.key))&&(0,n.deepEqual)(o.default.Children.map($,U=>U==null?void 0:U.props["data-grid"]),o.default.Children.map(G,U=>U==null?void 0:U.props["data-grid"]))}const m=v.fastRGLPropsEqual=t("09Tsyj6a");function D($,G){return $.left===G.left&&$.top===G.top&&$.width===G.width&&$.height===G.height}function f($,G){return!($.i===G.i||$.x+$.w<=G.x||$.x>=G.x+G.w||$.y+$.h<=G.y||$.y>=G.y+G.h)}function p($,G,U,L){const j=F($),le=Xe($,G),Te=Array($.length);for(let Je=0,ot=le.length;JeTe.i).indexOf(G.i);for(let Te=le+1;Te<$.length;Te++){const Je=$[Te];if(!Je.static){if(Je.y>G.y+G.h)break;f(G,Je)&&d($,Je,U+G[j],L)}}G[L]=U}function g($,G,U,L,j,le){const Te=U==="vertical",Je=U==="horizontal";if(Te)for(G.y=Math.min(u($),G.y);G.y>0&&!T($,G);)G.y--;else if(Je)for(;G.x>0&&!T($,G);)G.x--;let ot;for(;(ot=T($,G))&&!(U===null&&le);)if(Je?d(j,G,ot.x+ot.w,"x"):d(j,G,ot.y+ot.h,"y"),Je&&G.x+G.w>L)for(G.x=L-G.w,G.y++;G.x>0&&!T($,G);)G.x--;return G.y=Math.max(G.y,0),G.x=Math.max(G.x,0),G}function w($,G){const U=F($);for(let L=0,j=$.length;LG.cols&&(le.x=G.cols-le.w),le.x<0&&(le.x=0,le.w=G.cols),!le.static)U.push(le);else for(;T(U,le);)le.y++}return $}function x($,G){for(let U=0,L=$.length;Uf(U,G))}function F($){return $.filter(G=>G.static)}function K($,G,U,L,j,le,Te,Je,ot){if(G.static&&G.isDraggable!==!0||G.y===L&&G.x===U)return $;je(`Moving element ${G.i} to [${String(U)},${String(L)}] from [${G.x},${G.y}]`);const Gt=G.x,Ye=G.y;typeof U=="number"&&(G.x=U),typeof L=="number"&&(G.y=L),G.moved=!0;let ct=Xe($,Te);(Te==="vertical"&&typeof L=="number"?Ye>=L:Te==="horizontal"&&typeof U=="number"?Gt>=U:!1)&&(ct=ct.reverse());const Ze=O(ct,G),Re=Ze.length>0;if(Re&&ot)return A($);if(Re&&le)return je(`Collision prevented on ${G.i}, reverting.`),G.x=Gt,G.y=Ye,G.moved=!1,$;for(let lt=0,pt=Ze.length;ltG.y,Re=We&&G.x+G.w>We.x;if(We){if(Ze&&Je)return K($,U,void 0,G.y+1,L,ot,j,le);if(Ze&&j==null)return G.y=U.y,U.y=U.y+U.h,$;if(Re&&Te)return K($,G,U.x,void 0,L,ot,j,le)}else return je(`Doing reverse collision on ${U.i} up to [${ct.x},${ct.y}].`),K($,U,Te?ct.x:void 0,Je?ct.y:void 0,L,ot,j,le)}const Gt=Te?U.x+1:void 0,Ye=Je?U.y+1:void 0;return Gt==null&&Ye==null?$:K($,U,Te?U.x+1:void 0,Je?U.y+1:void 0,L,ot,j,le)}function he($){return $*100+"%"}const pe=($,G,U,L)=>$+U>L?G:U,ie=($,G,U)=>$<0?G:U,we=$=>Math.max(0,$),Ce=$=>Math.max(0,$),Ne=($,G,U)=>{let{left:L,height:j,width:le}=G;const Te=$.top-(j-$.height);return{left:L,width:le,height:ie(Te,$.height,j),top:Ce(Te)}},B=($,G,U)=>{let{top:L,left:j,height:le,width:Te}=G;return{top:L,height:le,width:pe($.left,$.width,Te,U),left:we(j)}},k=($,G,U)=>{let{top:L,height:j,width:le}=G;const Te=$.left-(le-$.width);return{height:j,width:Te<0?$.width:pe($.left,$.width,le,U),top:Ce(L),left:we(Te)}},W=($,G,U)=>{let{top:L,left:j,height:le,width:Te}=G;return{width:Te,left:j,height:ie(L,$.height,le),top:Ce(L)}},ge={n:Ne,ne:function(){return Ne(arguments.length<=0?void 0:arguments[0],B(...arguments),arguments.length<=2?void 0:arguments[2])},e:B,se:function(){return W(arguments.length<=0?void 0:arguments[0],B(...arguments),arguments.length<=2?void 0:arguments[2])},s:W,sw:function(){return W(arguments.length<=0?void 0:arguments[0],k(...arguments),arguments.length<=2?void 0:arguments[2])},w:k,nw:function(){return Ne(arguments.length<=0?void 0:arguments[0],k(...arguments),arguments.length<=2?void 0:arguments[2])}};function Fe($,G,U,L){const j=ge[$];return j?j(G,{...G,...U},L):U}function Qe($){let{top:G,left:U,width:L,height:j}=$;const le=`translate(${U}px,${G}px)`;return{transform:le,WebkitTransform:le,MozTransform:le,msTransform:le,OTransform:le,width:`${L}px`,height:`${j}px`,position:"absolute"}}function Ke($){let{top:G,left:U,width:L,height:j}=$;return{top:`${G}px`,left:`${U}px`,width:`${L}px`,height:`${j}px`,position:"absolute"}}function Xe($,G){return G==="horizontal"?it($):G==="vertical"?dt($):$}function dt($){return $.slice(0).sort(function(G,U){return G.y>U.y||G.y===U.y&&G.x>U.x?1:G.y===U.y&&G.x===U.x?0:-1})}function it($){return $.slice(0).sort(function(G,U){return G.x>U.x||G.x===U.x&&G.y>U.y?1:-1})}function Ie($,G,U,L,j){$=$||[];const le=[];o.default.Children.forEach(G,Je=>{if((Je==null?void 0:Je.key)==null)return;const ot=x($,String(Je.key)),Gt=Je.props["data-grid"];ot&&Gt==null?le.push(C(ot)):Gt?(s||ue([Gt],"ReactGridLayout.children"),le.push(C({...Gt,i:Je.key}))):le.push(C({w:1,h:1,x:0,y:u(le),i:String(Je.key)}))});const Te=w(le,{cols:U});return j?Te:p(Te,L,U)}function ue($){let G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Layout";const U=["x","y","w","h"];if(!Array.isArray($))throw new Error(G+" must be an array!");for(let L=0,j=$.length;L{};v.noop=J},ApKkJKuH:(I,v,t)=>{I.exports=t("mw4dFkN/").default,t("ZEKxoZqW"),t("swWFMCsk"),I.exports.Responsive=t("+pq9QeKM").default,I.exports.Responsive.utils=t("JHQXf8d7"),I.exports.WidthProvider=t("OE0UFjy9").default},"3Ub112i9":(I,v,t)=>{"use strict";t.d(v,{vC:()=>Ne});var n=t("Z7aTuO5B"),o=t("qWUepnSI");function r(){return r=Object.assign?Object.assign.bind():function(k){for(var W=1;W'),!0):W?k.some(function(q){return W.includes(q)})||k.includes("*"):!0}var x=function(W,q,Q){Q===void 0&&(Q=!1);var re=q.alt,te=q.meta,ge=q.mod,Fe=q.shift,Qe=q.ctrl,Ke=q.keys,Xe=W.key,dt=W.code,it=W.ctrlKey,Ie=W.metaKey,ue=W.shiftKey,Le=W.altKey,je=u(dt),J=Xe.toLowerCase();if(!(Ke!=null&&Ke.includes(je))&&!(Ke!=null&&Ke.includes(J))&&!["ctrl","control","unknown","meta","alt","shift","os"].includes(je))return!1;if(!Q){if(re===!Le&&J!=="alt"||Fe===!ue&&J!=="shift")return!1;if(ge){if(!Ie&&!it)return!1}else if(te===!Ie&&J!=="meta"&&J!=="os"||Qe===!it&&J!=="ctrl"&&J!=="control")return!1}return Ke&&Ke.length===1&&(Ke.includes(J)||Ke.includes(je))?!0:Ke?m(Ke):!Ke},T=(0,n.createContext)(void 0),O=function(){return(0,n.useContext)(T)};function F(k){var W=k.addHotkey,q=k.removeHotkey,Q=k.children;return jsx(T.Provider,{value:{addHotkey:W,removeHotkey:q},children:Q})}function K(k,W){return k&&W&&typeof k=="object"&&typeof W=="object"?Object.keys(k).length===Object.keys(W).length&&Object.keys(k).reduce(function(q,Q){return q&&K(k[Q],W[Q])},!0):k===W}var ee=(0,n.createContext)({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),he=function(){return(0,n.useContext)(ee)},pe=function(W){var q=W.initiallyActiveScopes,Q=q===void 0?["*"]:q,re=W.children,te=useState((Q==null?void 0:Q.length)>0?Q:["*"]),ge=te[0],Fe=te[1],Qe=useState([]),Ke=Qe[0],Xe=Qe[1],dt=useCallback(function(je){Fe(function(J){return J.includes("*")?[je]:Array.from(new Set([].concat(J,[je])))})},[]),it=useCallback(function(je){Fe(function(J){return J.filter(function($){return $!==je}).length===0?["*"]:J.filter(function($){return $!==je})})},[]),Ie=useCallback(function(je){Fe(function(J){return J.includes(je)?J.filter(function($){return $!==je}).length===0?["*"]:J.filter(function($){return $!==je}):J.includes("*")?[je]:Array.from(new Set([].concat(J,[je])))})},[]),ue=useCallback(function(je){Xe(function(J){return[].concat(J,[je])})},[]),Le=useCallback(function(je){Xe(function(J){return J.filter(function($){return!K($,je)})})},[]);return jsx(ee.Provider,{value:{enabledScopes:ge,hotkeys:Ke,enableScope:dt,disableScope:it,toggleScope:Ie},children:jsx(F,{addHotkey:ue,removeHotkey:Le,children:re})})};function ie(k){var W=(0,n.useRef)(void 0);return K(W.current,k)||(W.current=k),W.current}var we=function(W){W.stopPropagation(),W.preventDefault(),W.stopImmediatePropagation()},Ce=typeof window<"u"?n.useLayoutEffect:n.useEffect;function Ne(k,W,q,Q){var re=(0,n.useRef)(null),te=(0,n.useRef)(!1),ge=q instanceof Array?Q instanceof Array?void 0:Q:q,Fe=b(k)?k.join(ge==null?void 0:ge.splitKey):k,Qe=q instanceof Array?q:Q instanceof Array?Q:void 0,Ke=(0,n.useCallback)(W,Qe!=null?Qe:[]),Xe=(0,n.useRef)(Ke);Qe?Xe.current=Ke:Xe.current=W;var dt=ie(ge),it=he(),Ie=it.enabledScopes,ue=O();return Ce(function(){if(!((dt==null?void 0:dt.enabled)===!1||!w(Ie,dt==null?void 0:dt.scopes))){var Le=function(U,L){var j;if(L===void 0&&(L=!1),!(d(U)&&!g(U,dt==null?void 0:dt.enableOnFormTags))){if(re.current!==null){var le=re.current.getRootNode();if((le instanceof Document||le instanceof ShadowRoot)&&le.activeElement!==re.current&&!re.current.contains(le.activeElement)){we(U);return}}(j=U.target)!=null&&j.isContentEditable&&!(dt!=null&&dt.enableOnContentEditable)||S(Fe,dt==null?void 0:dt.splitKey).forEach(function(Te){var Je,ot=l(Te,dt==null?void 0:dt.combinationKey);if(x(U,ot,dt==null?void 0:dt.ignoreModifiers)||(Je=ot.keys)!=null&&Je.includes("*")){if(dt!=null&&dt.ignoreEventWhen!=null&&dt.ignoreEventWhen(U)||L&&te.current)return;if(p(U,ot,dt==null?void 0:dt.preventDefault),!c(U,ot,dt==null?void 0:dt.enabled)){we(U);return}Xe.current(U,ot),L||(te.current=!0)}})}},je=function(U){U.key!==void 0&&(D(u(U.code)),((dt==null?void 0:dt.keydown)===void 0&&(dt==null?void 0:dt.keyup)!==!0||dt!=null&&dt.keydown)&&Le(U))},J=function(U){U.key!==void 0&&(f(u(U.code)),te.current=!1,dt!=null&&dt.keyup&&Le(U,!0))},$=re.current||(ge==null?void 0:ge.document)||document;return $.addEventListener("keyup",J),$.addEventListener("keydown",je),ue&&S(Fe,dt==null?void 0:dt.splitKey).forEach(function(G){return ue.addHotkey(l(G,dt==null?void 0:dt.combinationKey,dt==null?void 0:dt.description))}),function(){$.removeEventListener("keyup",J),$.removeEventListener("keydown",je),ue&&S(Fe,dt==null?void 0:dt.splitKey).forEach(function(G){return ue.removeHotkey(l(G,dt==null?void 0:dt.combinationKey,dt==null?void 0:dt.description))})}}},[Fe,dt,Ie]),re}function B(){var k=useState(new Set),W=k[0],q=k[1],Q=useState(!1),re=Q[0],te=Q[1],ge=useCallback(function(Xe){Xe.key!==void 0&&(Xe.preventDefault(),Xe.stopPropagation(),q(function(dt){var it=new Set(dt);return it.add(u(Xe.code)),it}))},[]),Fe=useCallback(function(){typeof document<"u"&&(document.removeEventListener("keydown",ge),te(!1))},[ge]),Qe=useCallback(function(){q(new Set),typeof document<"u"&&(Fe(),document.addEventListener("keydown",ge),te(!0))},[ge,Fe]),Ke=useCallback(function(){q(new Set)},[]);return[W,{start:Qe,stop:Fe,resetKeys:Ke,isRecording:re}]}},"c59+uKGP":(I,v,t)=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0});var n=Object.assign||function(p){for(var c=1;c{"use strict";v.__esModule=!0,v.default=void 0;var n=A(t("Z7aTuO5B")),o=t("D5WZ8cx1"),r=t("eteMqLbb"),s=t("UvqQT9Zo"),h=["children","className","draggableOpts","width","height","handle","handleSize","lockAspectRatio","axis","minConstraints","maxConstraints","onResize","onResizeStop","onResizeStart","resizeHandles","transformScale"];function u(g){if(typeof WeakMap!="function")return null;var w=new WeakMap,x=new WeakMap;return(u=function(O){return O?x:w})(g)}function A(g,w){if(!w&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var x=u(w);if(x&&x.has(g))return x.get(g);var T={},O=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var F in g)if(F!=="default"&&Object.prototype.hasOwnProperty.call(g,F)){var K=O?Object.getOwnPropertyDescriptor(g,F):null;K&&(K.get||K.set)?Object.defineProperty(T,F,K):T[F]=g[F]}return T.default=g,x&&x.set(g,T),T}function S(){return S=Object.assign?Object.assign.bind():function(g){for(var w=1;w=0)&&(x[O]=g[O]);return x}function C(g,w){var x=Object.keys(g);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(g);w&&(T=T.filter(function(O){return Object.getOwnPropertyDescriptor(g,O).enumerable})),x.push.apply(x,T)}return x}function b(g){for(var w=1;wMath.abs(Ce*ie)?F=O/ie:O=F*ie}var Ne=O,B=F,k=this.slack||[0,0],W=k[0],q=k[1];return O+=W,F+=q,ee&&(O=Math.max(ee[0],O),F=Math.max(ee[1],F)),he&&(O=Math.min(he[0],O),F=Math.min(he[1],F)),this.slack=[W+(Ne-O),q+(B-F)],[O,F]},x.resizeHandler=function(O,F){var K=this;return function(ee,he){var pe=he.node,ie=he.deltaX,we=he.deltaY;O==="onResizeStart"&&K.resetData();var Ce=(K.props.axis==="both"||K.props.axis==="x")&&F!=="n"&&F!=="s",Ne=(K.props.axis==="both"||K.props.axis==="y")&&F!=="e"&&F!=="w";if(!(!Ce&&!Ne)){var B=F[0],k=F[F.length-1],W=pe.getBoundingClientRect();if(K.lastHandleRect!=null){if(k==="w"){var q=W.left-K.lastHandleRect.left;ie+=q}if(B==="n"){var Q=W.top-K.lastHandleRect.top;we+=Q}}K.lastHandleRect=W,k==="w"&&(ie=-ie),B==="n"&&(we=-we);var re=K.props.width+(Ce?ie/K.props.transformScale:0),te=K.props.height+(Ne?we/K.props.transformScale:0),ge=K.runConstraints(re,te);re=ge[0],te=ge[1];var Fe=re!==K.props.width||te!==K.props.height,Qe=typeof K.props[O]=="function"?K.props[O]:null,Ke=O==="onResize"&&!Fe;Qe&&!Ke&&(ee.persist==null||ee.persist(),Qe(ee,{node:pe,size:{width:re,height:te},handle:F})),O==="onResizeStop"&&K.resetData()}}},x.renderResizeHandle=function(O,F){var K=this.props.handle;if(!K)return n.createElement("span",{className:"react-resizable-handle react-resizable-handle-"+O,ref:F});if(typeof K=="function")return K(O,F);var ee=typeof K.type=="string",he=b({ref:F},ee?{}:{handleAxis:O});return n.cloneElement(K,he)},x.render=function(){var O=this,F=this.props,K=F.children,ee=F.className,he=F.draggableOpts,pe=F.width,ie=F.height,we=F.handle,Ce=F.handleSize,Ne=F.lockAspectRatio,B=F.axis,k=F.minConstraints,W=F.maxConstraints,q=F.onResize,Q=F.onResizeStop,re=F.onResizeStart,te=F.resizeHandles,ge=F.transformScale,Fe=l(F,h);return(0,r.cloneElement)(K,b(b({},Fe),{},{className:(ee?ee+" ":"")+"react-resizable",children:[].concat(K.props.children,te.map(function(Qe){var Ke,Xe=(Ke=O.handleRefs[Qe])!=null?Ke:O.handleRefs[Qe]=n.createRef();return n.createElement(o.DraggableCore,S({},he,{nodeRef:Xe,key:"resizableHandle-"+Qe,onStop:O.resizeHandler("onResizeStop",Qe),onStart:O.resizeHandler("onResizeStart",Qe),onDrag:O.resizeHandler("onResize",Qe)}),O.renderResizeHandle(Qe,Xe))}))}))},w}(n.Component);v.default=d,d.propTypes=s.resizableProps,d.defaultProps={axis:"both",handleSize:[20,20],lockAspectRatio:!1,minConstraints:[20,20],maxConstraints:[1/0,1/0],resizeHandles:["se"],transformScale:1}},MGzJwoLU:(I,v,t)=>{"use strict";var n;n=!0,v.default=void 0;var o=l(t("Z7aTuO5B")),r=A(t("KfF0gQb+")),s=A(t("IhRcihGQ")),h=t("UvqQT9Zo"),u=["handle","handleSize","onResize","onResizeStart","onResizeStop","draggableOpts","minConstraints","maxConstraints","lockAspectRatio","axis","width","height","resizeHandles","style","transformScale"];function A(x){return x&&x.__esModule?x:{default:x}}function S(x){if(typeof WeakMap!="function")return null;var T=new WeakMap,O=new WeakMap;return(S=function(K){return K?O:T})(x)}function l(x,T){if(!T&&x&&x.__esModule)return x;if(x===null||typeof x!="object"&&typeof x!="function")return{default:x};var O=S(T);if(O&&O.has(x))return O.get(x);var F={},K=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ee in x)if(ee!=="default"&&Object.prototype.hasOwnProperty.call(x,ee)){var he=K?Object.getOwnPropertyDescriptor(x,ee):null;he&&(he.get||he.set)?Object.defineProperty(F,ee,he):F[ee]=x[ee]}return F.default=x,O&&O.set(x,F),F}function C(){return C=Object.assign?Object.assign.bind():function(x){for(var T=1;T=0)&&(O[K]=x[K]);return O}function d(x,T){x.prototype=Object.create(T.prototype),x.prototype.constructor=x,g(x,T)}function g(x,T){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(F,K){return F.__proto__=K,F},g(x,T)}var w=function(x){d(T,x);function T(){for(var F,K=arguments.length,ee=new Array(K),he=0;he{"use strict";v.__esModule=!0,v.resizableProps=void 0;var n=r(t("KfF0gQb+")),o=t("D5WZ8cx1");function r(h){return h&&h.__esModule?h:{default:h}}var s={axis:n.default.oneOf(["both","x","y","none"]),className:n.default.string,children:n.default.element.isRequired,draggableOpts:n.default.shape({allowAnyClick:n.default.bool,cancel:n.default.string,children:n.default.node,disabled:n.default.bool,enableUserSelectHack:n.default.bool,offsetParent:n.default.node,grid:n.default.arrayOf(n.default.number),handle:n.default.string,nodeRef:n.default.object,onStart:n.default.func,onDrag:n.default.func,onStop:n.default.func,onMouseDown:n.default.func,scale:n.default.number}),height:function(){for(var u=arguments.length,A=new Array(u),S=0;S{"use strict";v.__esModule=!0,v.cloneElement=S;var n=o(t("Z7aTuO5B"));function o(l){return l&&l.__esModule?l:{default:l}}function r(l,C){var b=Object.keys(l);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(l);C&&(m=m.filter(function(D){return Object.getOwnPropertyDescriptor(l,D).enumerable})),b.push.apply(b,m)}return b}function s(l){for(var C=1;C{"use strict";I.exports=function(){throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable")},I.exports.Resizable=t("IhRcihGQ").default,I.exports.ResizableBox=t("MGzJwoLU").default},"A028iK/c":(I,v,t)=>{"use strict";t.d(v,{p:()=>k});var n=t("Z7aTuO5B"),o=t("D5WZ8cx1"),r=t.n(o),s=function(){var W=function(q,Q){return W=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,te){re.__proto__=te}||function(re,te){for(var ge in te)Object.prototype.hasOwnProperty.call(te,ge)&&(re[ge]=te[ge])},W(q,Q)};return function(q,Q){W(q,Q);function re(){this.constructor=q}q.prototype=Q===null?Object.create(Q):(re.prototype=Q.prototype,new re)}}(),h=function(){return h=Object.assign||function(W){for(var q,Q=1,re=arguments.length;Q"u"?void 0:Number(re),maxHeight:typeof te>"u"?void 0:Number(te),minWidth:typeof ge>"u"?void 0:Number(ge),minHeight:typeof Fe>"u"?void 0:Number(Fe)}}),F=["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"],K="__resizable_base__",ee=function(W){C(q,W);function q(Q){var re=W.call(this,Q)||this;return re.ratio=1,re.resizable=null,re.parentLeft=0,re.parentTop=0,re.resizableLeft=0,re.resizableRight=0,re.resizableTop=0,re.resizableBottom=0,re.targetLeft=0,re.targetTop=0,re.appendBase=function(){if(!re.resizable||!re.window)return null;var te=re.parentNode;if(!te)return null;var ge=re.window.document.createElement("div");return ge.style.width="100%",ge.style.height="100%",ge.style.position="absolute",ge.style.transform="scale(0, 0)",ge.style.left="0",ge.style.flex="0",ge.classList?ge.classList.add(K):ge.className+=K,te.appendChild(ge),ge},re.removeBase=function(te){var ge=re.parentNode;ge&&ge.removeChild(te)},re.ref=function(te){te&&(re.resizable=te)},re.state={isResizing:!1,width:typeof(re.propsSize&&re.propsSize.width)>"u"?"auto":re.propsSize&&re.propsSize.width,height:typeof(re.propsSize&&re.propsSize.height)>"u"?"auto":re.propsSize&&re.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},re.onResizeStart=re.onResizeStart.bind(re),re.onMouseMove=re.onMouseMove.bind(re),re.onMouseUp=re.onMouseUp.bind(re),re}return Object.defineProperty(q.prototype,"parentNode",{get:function(){return this.resizable?this.resizable.parentNode:null},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"window",{get:function(){return!this.resizable||!this.resizable.ownerDocument?null:this.resizable.ownerDocument.defaultView},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"propsSize",{get:function(){return this.props.size||this.props.defaultSize||m},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"size",{get:function(){var Q=0,re=0;if(this.resizable&&this.window){var te=this.resizable.offsetWidth,ge=this.resizable.offsetHeight,Fe=this.resizable.style.position;Fe!=="relative"&&(this.resizable.style.position="relative"),Q=this.resizable.style.width!=="auto"?this.resizable.offsetWidth:te,re=this.resizable.style.height!=="auto"?this.resizable.offsetHeight:ge,this.resizable.style.position=Fe}return{width:Q,height:re}},enumerable:!1,configurable:!0}),Object.defineProperty(q.prototype,"sizeStyle",{get:function(){var Q=this,re=this.props.size,te=function(Qe){if(typeof Q.state[Qe]>"u"||Q.state[Qe]==="auto")return"auto";if(Q.propsSize&&Q.propsSize[Qe]&&w(Q.propsSize[Qe].toString(),"%")){if(w(Q.state[Qe].toString(),"%"))return Q.state[Qe].toString();var Ke=Q.getParentSize(),Xe=Number(Q.state[Qe].toString().replace("px","")),dt=Xe/Ke[Qe]*100;return dt+"%"}return x(Q.state[Qe])},ge=re&&typeof re.width<"u"&&!this.state.isResizing?x(re.width):te("width"),Fe=re&&typeof re.height<"u"&&!this.state.isResizing?x(re.height):te("height");return{width:ge,height:Fe}},enumerable:!1,configurable:!0}),q.prototype.getParentSize=function(){if(!this.parentNode)return this.window?{width:this.window.innerWidth,height:this.window.innerHeight}:{width:0,height:0};var Q=this.appendBase();if(!Q)return{width:0,height:0};var re=!1,te=this.parentNode.style.flexWrap;te!=="wrap"&&(re=!0,this.parentNode.style.flexWrap="wrap"),Q.style.position="relative",Q.style.minWidth="100%";var ge={width:Q.offsetWidth,height:Q.offsetHeight};return re&&(this.parentNode.style.flexWrap=te),this.removeBase(Q),ge},q.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))},q.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))},q.prototype.componentDidMount=function(){if(!(!this.resizable||!this.window)){var Q=this.window.getComputedStyle(this.resizable);this.setState({width:this.state.width||this.size.width,height:this.state.height||this.size.height,flexBasis:Q.flexBasis!=="auto"?Q.flexBasis:void 0})}},q.prototype.componentWillUnmount=function(){this.window&&this.unbindEvents()},q.prototype.createSizeForCssProperty=function(Q,re){var te=this.propsSize&&this.propsSize[re];return this.state[re]==="auto"&&this.state.original[re]===Q&&(typeof te>"u"||te==="auto")?"auto":Q},q.prototype.calculateNewMaxFromBoundary=function(Q,re){var te=this.props.boundsByDirection,ge=this.state.direction,Fe=te&&p("left",ge),Qe=te&&p("top",ge),Ke,Xe;if(this.props.bounds==="parent"){var dt=this.parentNode;dt&&(Ke=Fe?this.resizableRight-this.parentLeft:dt.offsetWidth+(this.parentLeft-this.resizableLeft),Xe=Qe?this.resizableBottom-this.parentTop:dt.offsetHeight+(this.parentTop-this.resizableTop))}else this.props.bounds==="window"?this.window&&(Ke=Fe?this.resizableRight:this.window.innerWidth-this.resizableLeft,Xe=Qe?this.resizableBottom:this.window.innerHeight-this.resizableTop):this.props.bounds&&(Ke=Fe?this.resizableRight-this.targetLeft:this.props.bounds.offsetWidth+(this.targetLeft-this.resizableLeft),Xe=Qe?this.resizableBottom-this.targetTop:this.props.bounds.offsetHeight+(this.targetTop-this.resizableTop));return Ke&&Number.isFinite(Ke)&&(Q=Q&&Q"u"?10:ge.width,it=typeof te.width>"u"||te.width<0?Q:te.width,Ie=typeof ge.height>"u"?10:ge.height,ue=typeof te.height>"u"||te.height<0?re:te.height,Le=Ke||0,je=Xe||0;if(Qe){var J=(Ie-Le)*this.ratio+je,$=(ue-Le)*this.ratio+je,G=(dt-je)/this.ratio+Le,U=(it-je)/this.ratio+Le,L=Math.max(dt,J),j=Math.min(it,$),le=Math.max(Ie,G),Te=Math.min(ue,U);Q=D(Q,L,j),re=D(re,le,Te)}else Q=D(Q,dt,it),re=D(re,Ie,ue);return{newWidth:Q,newHeight:re}},q.prototype.setBoundingClientRect=function(){if(this.props.bounds==="parent"){var Q=this.parentNode;if(Q){var re=Q.getBoundingClientRect();this.parentLeft=re.left,this.parentTop=re.top}}if(this.props.bounds&&typeof this.props.bounds!="string"){var te=this.props.bounds.getBoundingClientRect();this.targetLeft=te.left,this.targetTop=te.top}if(this.resizable){var ge=this.resizable.getBoundingClientRect(),Fe=ge.left,Qe=ge.top,Ke=ge.right,Xe=ge.bottom;this.resizableLeft=Fe,this.resizableRight=Ke,this.resizableTop=Qe,this.resizableBottom=Xe}},q.prototype.onResizeStart=function(Q,re){if(!(!this.resizable||!this.window)){var te=0,ge=0;if(Q.nativeEvent&&d(Q.nativeEvent)?(te=Q.nativeEvent.clientX,ge=Q.nativeEvent.clientY):Q.nativeEvent&&c(Q.nativeEvent)&&(te=Q.nativeEvent.touches[0].clientX,ge=Q.nativeEvent.touches[0].clientY),this.props.onResizeStart&&this.resizable){var Fe=this.props.onResizeStart(Q,re,this.resizable);if(Fe===!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 Qe,Ke=this.window.getComputedStyle(this.resizable);if(Ke.flexBasis!=="auto"){var Xe=this.parentNode;if(Xe){var dt=this.window.getComputedStyle(Xe).flexDirection;this.flexDir=dt.startsWith("row")?"row":"column",Qe=Ke.flexBasis}}this.setBoundingClientRect(),this.bindEvents();var it={original:{x:te,y:ge,width:this.size.width,height:this.size.height},isResizing:!0,backgroundStyle:b(b({},this.state.backgroundStyle),{cursor:this.window.getComputedStyle(Q.target).cursor||"auto"}),direction:re,flexBasis:Qe};this.setState(it)}},q.prototype.onMouseMove=function(Q){if(!(!this.state.isResizing||!this.resizable||!this.window)){if(this.window.TouchEvent&&c(Q))try{Q.preventDefault(),Q.stopPropagation()}catch{}var re=this.props,te=re.maxWidth,ge=re.maxHeight,Fe=re.minWidth,Qe=re.minHeight,Ke=c(Q)?Q.touches[0].clientX:Q.clientX,Xe=c(Q)?Q.touches[0].clientY:Q.clientY,dt=this.state,it=dt.direction,Ie=dt.original,ue=dt.width,Le=dt.height,je=this.getParentSize(),J=O(je,this.window.innerWidth,this.window.innerHeight,te,ge,Fe,Qe);te=J.maxWidth,ge=J.maxHeight,Fe=J.minWidth,Qe=J.minHeight;var $=this.calculateNewSizeFromDirection(Ke,Xe),G=$.newHeight,U=$.newWidth,L=this.calculateNewMaxFromBoundary(te,ge),j=this.calculateNewSizeFromAspectRatio(U,G,{width:L.maxWidth,height:L.maxHeight},{width:Fe,height:Qe});if(U=j.newWidth,G=j.newHeight,this.props.grid){var le=f(U,this.props.grid[0]),Te=f(G,this.props.grid[1]),Je=this.props.snapGap||0;U=Je===0||Math.abs(le-U)<=Je?le:U,G=Je===0||Math.abs(Te-G)<=Je?Te:G}this.props.snap&&this.props.snap.x&&(U=g(U,this.props.snap.x,this.props.snapGap)),this.props.snap&&this.props.snap.y&&(G=g(G,this.props.snap.y,this.props.snapGap));var ot={width:U-Ie.width,height:G-Ie.height};if(ue&&typeof ue=="string"){if(w(ue,"%")){var Gt=U/je.width*100;U=Gt+"%"}else if(w(ue,"vw")){var Ye=U/this.window.innerWidth*100;U=Ye+"vw"}else if(w(ue,"vh")){var ct=U/this.window.innerHeight*100;U=ct+"vh"}}if(Le&&typeof Le=="string"){if(w(Le,"%")){var Gt=G/je.height*100;G=Gt+"%"}else if(w(Le,"vw")){var Ye=G/this.window.innerWidth*100;G=Ye+"vw"}else if(w(Le,"vh")){var ct=G/this.window.innerHeight*100;G=ct+"vh"}}var We={width:this.createSizeForCssProperty(U,"width"),height:this.createSizeForCssProperty(G,"height")};this.flexDir==="row"?We.flexBasis=We.width:this.flexDir==="column"&&(We.flexBasis=We.height),this.setState(We),this.props.onResize&&this.props.onResize(Q,it,this.resizable,ot)}},q.prototype.onMouseUp=function(Q){var re=this.state,te=re.isResizing,ge=re.direction,Fe=re.original;if(!(!te||!this.resizable)){var Qe={width:this.size.width-Fe.width,height:this.size.height-Fe.height};this.props.onResizeStop&&this.props.onResizeStop(Q,ge,this.resizable,Qe),this.props.size&&this.setState(this.props.size),this.unbindEvents(),this.setState({isResizing:!1,backgroundStyle:b(b({},this.state.backgroundStyle),{cursor:"auto"})})}},q.prototype.updateSize=function(Q){this.setState({width:Q.width,height:Q.height})},q.prototype.renderResizer=function(){var Q=this,re=this.props,te=re.enable,ge=re.handleStyles,Fe=re.handleClasses,Qe=re.handleWrapperStyle,Ke=re.handleWrapperClass,Xe=re.handleComponent;if(!te)return null;var dt=Object.keys(te).map(function(it){return te[it]!==!1?n.createElement(A,{key:it,direction:it,onResizeStart:Q.onResizeStart,replaceStyles:ge&&ge[it],className:Fe&&Fe[it]},Xe&&Xe[it]?Xe[it]:null):null});return n.createElement("div",{className:Ke,style:Qe},dt)},q.prototype.render=function(){var Q=this,re=Object.keys(this.props).reduce(function(Fe,Qe){return F.indexOf(Qe)!==-1||(Fe[Qe]=Q.props[Qe]),Fe},{}),te=b(b(b({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&&(te.flexBasis=this.state.flexBasis);var ge=this.props.as||"div";return n.createElement(ge,b({ref:this.ref,style:te,className:this.props.className},re),this.state.isResizing&&n.createElement("div",{style:this.state.backgroundStyle}),this.props.children,this.renderResizer())},q.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},q}(n.PureComponent);/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0

THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.

See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */var he=function(W,q){return he=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Q,re){Q.__proto__=re}||function(Q,re){for(var te in re)re.hasOwnProperty(te)&&(Q[te]=re[te])},he(W,q)};function pe(W,q){he(W,q);function Q(){this.constructor=W}W.prototype=q===null?Object.create(q):(Q.prototype=q.prototype,new Q)}var ie=function(){return ie=Object.assign||function(q){for(var Q,re=1,te=arguments.length;re"u"?Number.MAX_SAFE_INTEGER:this.props.maxWidth,re=typeof this.props.maxHeight>"u"?Number.MAX_SAFE_INTEGER:this.props.maxHeight;return{maxWidth:Q,maxHeight:re}},q.prototype.getSelfElement=function(){return this.resizable&&this.resizable.resizable},q.prototype.getOffsetHeight=function(Q){var re=this.props.scale;switch(this.props.bounds){case"window":return window.innerHeight/re;case"body":return document.body.offsetHeight/re;default:return Q.offsetHeight}},q.prototype.getOffsetWidth=function(Q){var re=this.props.scale;switch(this.props.bounds){case"window":return window.innerWidth/re;case"body":return document.body.offsetWidth/re;default:return Q.offsetWidth}},q.prototype.onDragStart=function(Q,re){this.props.onDragStart&&this.props.onDragStart(Q,re);var te=this.getDraggablePosition();if(this.originalPosition=te,!!this.props.bounds){var ge=this.getParent(),Fe=this.props.scale,Qe;if(this.props.bounds==="parent")Qe=ge;else if(this.props.bounds==="body"){var Ke=ge.getBoundingClientRect(),Xe=Ke.left,dt=Ke.top,it=document.body.getBoundingClientRect(),Ie=-(Xe-ge.offsetLeft*Fe-it.left)/Fe,ue=-(dt-ge.offsetTop*Fe-it.top)/Fe,Le=(document.body.offsetWidth-this.resizable.size.width*Fe)/Fe+Ie,je=(document.body.offsetHeight-this.resizable.size.height*Fe)/Fe+ue;return this.setState({bounds:{top:ue,right:Le,bottom:je,left:Ie}})}else if(this.props.bounds==="window"){if(!this.resizable)return;var J=ge.getBoundingClientRect(),$=J.left,G=J.top,U=-($-ge.offsetLeft*Fe)/Fe,L=-(G-ge.offsetTop*Fe)/Fe,Le=(window.innerWidth-this.resizable.size.width*Fe)/Fe+U,je=(window.innerHeight-this.resizable.size.height*Fe)/Fe+L;return this.setState({bounds:{top:L,right:Le,bottom:je,left:U}})}else Qe=document.querySelector(this.props.bounds);if(!(!(Qe instanceof HTMLElement)||!(ge instanceof HTMLElement))){var j=Qe.getBoundingClientRect(),le=j.left,Te=j.top,Je=ge.getBoundingClientRect(),ot=Je.left,Gt=Je.top,Ye=(le-ot)/Fe,ct=Te-Gt;if(this.resizable){this.updateOffsetFromParent();var We=this.offsetFromParent;this.setState({bounds:{top:ct-We.top,right:Ye+(Qe.offsetWidth-this.resizable.size.width)-We.left/Fe,bottom:ct+(Qe.offsetHeight-this.resizable.size.height)-We.top,left:Ye-We.left/Fe}})}}}},q.prototype.onDrag=function(Q,re){if(this.props.onDrag){var te=this.offsetFromParent,ge=te.left,Fe=te.top;if(!this.props.dragAxis||this.props.dragAxis==="both")return this.props.onDrag(Q,ie(ie({},re),{x:re.x-ge,y:re.y-Fe}));if(this.props.dragAxis==="x")return this.props.onDrag(Q,ie(ie({},re),{x:re.x+ge,y:this.originalPosition.y+Fe,deltaY:0}));if(this.props.dragAxis==="y")return this.props.onDrag(Q,ie(ie({},re),{x:this.originalPosition.x+ge,y:re.y+Fe,deltaX:0}))}},q.prototype.onDragStop=function(Q,re){if(this.props.onDragStop){var te=this.offsetFromParent,ge=te.left,Fe=te.top;if(!this.props.dragAxis||this.props.dragAxis==="both")return this.props.onDragStop(Q,ie(ie({},re),{x:re.x+ge,y:re.y+Fe}));if(this.props.dragAxis==="x")return this.props.onDragStop(Q,ie(ie({},re),{x:re.x+ge,y:this.originalPosition.y+Fe,deltaY:0}));if(this.props.dragAxis==="y")return this.props.onDragStop(Q,ie(ie({},re),{x:this.originalPosition.x+ge,y:re.y+Fe,deltaX:0}))}},q.prototype.onResizeStart=function(Q,re,te){Q.stopPropagation(),this.setState({resizing:!0});var ge=this.props.scale,Fe=this.offsetFromParent,Qe=this.getDraggablePosition();if(this.resizingPosition={x:Qe.x+Fe.left,y:Qe.y+Fe.top},this.originalPosition=Qe,this.props.bounds){var Ke=this.getParent(),Xe=void 0;this.props.bounds==="parent"?Xe=Ke:this.props.bounds==="body"?Xe=document.body:this.props.bounds==="window"?Xe=window:Xe=document.querySelector(this.props.bounds);var dt=this.getSelfElement();if(dt instanceof Element&&(Xe instanceof HTMLElement||Xe===window)&&Ke instanceof HTMLElement){var it=this.getMaxSizesFromProps(),Ie=it.maxWidth,ue=it.maxHeight,Le=this.getParentSize();if(Ie&&typeof Ie=="string")if(Ie.endsWith("%")){var je=Number(Ie.replace("%",""))/100;Ie=Le.width*je}else Ie.endsWith("px")&&(Ie=Number(Ie.replace("px","")));if(ue&&typeof ue=="string")if(ue.endsWith("%")){var je=Number(ue.replace("%",""))/100;ue=Le.width*je}else ue.endsWith("px")&&(ue=Number(ue.replace("px","")));var J=dt.getBoundingClientRect(),$=J.left,G=J.top,U=this.props.bounds==="window"?{left:0,top:0}:Xe.getBoundingClientRect(),L=U.left,j=U.top,le=this.getOffsetWidth(Xe),Te=this.getOffsetHeight(Xe),Je=re.toLowerCase().endsWith("left"),ot=re.toLowerCase().endsWith("right"),Gt=re.startsWith("top"),Ye=re.startsWith("bottom");if((Je||Gt)&&this.resizable){var ct=($-L)/ge+this.resizable.size.width;this.setState({maxWidth:ct>Number(Ie)?Ie:ct})}if(ot||this.props.lockAspectRatio&&!Je&&!Gt){var ct=le+(L-$)/ge;this.setState({maxWidth:ct>Number(Ie)?Ie:ct})}if((Gt||Je)&&this.resizable){var ct=(G-j)/ge+this.resizable.size.height;this.setState({maxHeight:ct>Number(ue)?ue:ct})}if(Ye||this.props.lockAspectRatio&&!Gt&&!Je){var ct=Te+(j-G)/ge;this.setState({maxHeight:ct>Number(ue)?ue:ct})}}}else this.setState({maxWidth:this.props.maxWidth,maxHeight:this.props.maxHeight});this.props.onResizeStart&&this.props.onResizeStart(Q,re,te)},q.prototype.onResize=function(Q,re,te,ge){var Fe={x:this.originalPosition.x,y:this.originalPosition.y},Qe=-ge.width,Ke=-ge.height,Xe=["top","left","topLeft","bottomLeft","topRight"];Xe.indexOf(re)!==-1&&(re==="bottomLeft"?Fe.x+=Qe:(re==="topRight"||(Fe.x+=Qe),Fe.y+=Ke)),(Fe.x!==this.draggable.state.x||Fe.y!==this.draggable.state.y)&&this.draggable.setState(Fe),this.updateOffsetFromParent();var dt=this.offsetFromParent,it=this.getDraggablePosition().x+dt.left,Ie=this.getDraggablePosition().y+dt.top;this.resizingPosition={x:it,y:Ie},this.props.onResize&&this.props.onResize(Q,re,te,ge,{x:it,y:Ie})},q.prototype.onResizeStop=function(Q,re,te,ge){this.setState({resizing:!1});var Fe=this.getMaxSizesFromProps(),Qe=Fe.maxWidth,Ke=Fe.maxHeight;this.setState({maxWidth:Qe,maxHeight:Ke}),this.props.onResizeStop&&this.props.onResizeStop(Q,re,te,ge,this.resizingPosition)},q.prototype.updateSize=function(Q){this.resizable&&this.resizable.updateSize({width:Q.width,height:Q.height})},q.prototype.updatePosition=function(Q){this.draggable.setState(Q)},q.prototype.updateOffsetFromParent=function(){var Q=this.props.scale,re=this.getParent(),te=this.getSelfElement();if(!re||te===null)return{top:0,left:0};var ge=re.getBoundingClientRect(),Fe=ge.left,Qe=ge.top,Ke=te.getBoundingClientRect(),Xe=this.getDraggablePosition(),dt=re.scrollLeft,it=re.scrollTop;this.offsetFromParent={left:Ke.left-Fe+dt-Xe.x*Q,top:Ke.top-Qe+it-Xe.y*Q}},q.prototype.render=function(){var Q=this.props,re=Q.disableDragging,te=Q.style,ge=Q.dragHandleClassName,Fe=Q.position,Qe=Q.onMouseDown,Ke=Q.onMouseUp,Xe=Q.dragAxis,dt=Q.dragGrid,it=Q.bounds,Ie=Q.enableUserSelectHack,ue=Q.cancel,Le=Q.children,je=Q.onResizeStart,J=Q.onResize,$=Q.onResizeStop,G=Q.onDragStart,U=Q.onDrag,L=Q.onDragStop,j=Q.resizeHandleStyles,le=Q.resizeHandleClasses,Te=Q.resizeHandleComponent,Je=Q.enableResizing,ot=Q.resizeGrid,Gt=Q.resizeHandleWrapperClass,Ye=Q.resizeHandleWrapperStyle,ct=Q.scale,We=Q.allowAnyClick,Ze=we(Q,["disableDragging","style","dragHandleClassName","position","onMouseDown","onMouseUp","dragAxis","dragGrid","bounds","enableUserSelectHack","cancel","children","onResizeStart","onResize","onResizeStop","onDragStart","onDrag","onDragStop","resizeHandleStyles","resizeHandleClasses","resizeHandleComponent","enableResizing","resizeGrid","resizeHandleWrapperClass","resizeHandleWrapperStyle","scale","allowAnyClick"]),Re=this.props.default?ie({},this.props.default):void 0;delete Ze.default;var lt=re||ge?{cursor:"auto"}:{cursor:"move"},pt=ie(ie(ie({},Ne),lt),te),vt=this.offsetFromParent,Pt=vt.left,Ge=vt.top,Be;Fe&&(Be={x:Fe.x-Pt,y:Fe.y-Ge});var It=this.state.resizing?void 0:Be,Ht=this.state.resizing?"both":Xe;return(0,n.createElement)(Ce,{ref:this.refDraggable,handle:ge?".".concat(ge):void 0,defaultPosition:Re,onMouseDown:Qe,onMouseUp:Ke,onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop,axis:Ht,disabled:re,grid:dt,bounds:it?this.state.bounds:void 0,position:It,enableUserSelectHack:Ie,cancel:ue,scale:ct,allowAnyClick:We,nodeRef:this.resizableElement},(0,n.createElement)(ee,ie({},Ze,{ref:this.refResizable,defaultSize:Re,size:this.props.size,enable:typeof Je=="boolean"?B(Je):Je,onResizeStart:this.onResizeStart,onResize:this.onResize,onResizeStop:this.onResizeStop,style:pt,minWidth:this.props.minWidth,minHeight:this.props.minHeight,maxWidth:this.state.resizing?this.state.maxWidth:this.props.maxWidth,maxHeight:this.state.resizing?this.state.maxHeight:this.props.maxHeight,grid:ot,handleWrapperClass:Gt,handleWrapperStyle:Ye,lockAspectRatio:this.props.lockAspectRatio,lockAspectRatioExtraWidth:this.props.lockAspectRatioExtraWidth,lockAspectRatioExtraHeight:this.props.lockAspectRatioExtraHeight,handleStyles:j,handleClasses:le,handleComponent:Te,scale:this.props.scale}),Le))},q.defaultProps={maxWidth:Number.MAX_SAFE_INTEGER,maxHeight:Number.MAX_SAFE_INTEGER,scale:1,onResizeStart:function(){},onResize:function(){},onResizeStop:function(){},onDragStart:function(){},onDrag:function(){},onDragStop:function(){}},q}(n.PureComponent)},KtULIsGV:(I,v,t)=>{"use strict";t.d(v,{N_:()=>Oa,Gy:()=>yn});var n=t("Z7aTuO5B"),o=t.t(n,2),r=t("zKLlqmvB"),s=t.t(r,2),h=t("yAXMqwrl");/**
 * @remix-run/router v1.15.3
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function u(){return u=Object.assign?Object.assign.bind():function(Z){for(var oe=1;oeNt(sr,typeof sr=="string"?null:sr.state,_r===0?"default":void 0));let ut=Dt(de==null?_e.length-1:de),rt=A.Pop,mt=null;function Dt(sr){return Math.min(Math.max(sr,0),_e.length-1)}function zt(){return _e[ut]}function Nt(sr,_r,Ar){_r===void 0&&(_r=null);let Er=c(_e?zt().pathname:"/",sr,_r,Ar);return D(Er.pathname.charAt(0)==="/","relative pathnames are not supported in memory history: "+JSON.stringify(sr)),Er}function xr(sr){return typeof sr=="string"?sr:d(sr)}return{get index(){return ut},get action(){return rt},get location(){return zt()},createHref:xr,createURL(sr){return new URL(xr(sr),"http://localhost")},encodeLocation(sr){let _r=typeof sr=="string"?g(sr):sr;return{pathname:_r.pathname||"",search:_r.search||"",hash:_r.hash||""}},push(sr,_r){rt=A.Push;let Ar=Nt(sr,_r);ut+=1,_e.splice(ut,_e.length,Ar),me&&mt&&mt({action:rt,location:Ar,delta:1})},replace(sr,_r){rt=A.Replace;let Ar=Nt(sr,_r);_e[ut]=Ar,me&&mt&&mt({action:rt,location:Ar,delta:0})},go(sr){rt=A.Pop;let _r=Dt(ut+sr),Ar=_e[_r];ut=_r,mt&&mt({action:rt,location:Ar,delta:sr})},listen(sr){return mt=sr,()=>{mt=null}}}}function C(Z){Z===void 0&&(Z={});function oe(me,_e){let{pathname:ut,search:rt,hash:mt}=me.location;return c("",{pathname:ut,search:rt,hash:mt},_e.state&&_e.state.usr||null,_e.state&&_e.state.key||"default")}function de(me,_e){return typeof _e=="string"?_e:d(_e)}return w(oe,de,null,Z)}function b(Z){Z===void 0&&(Z={});function oe(_e,ut){let{pathname:rt="/",search:mt="",hash:Dt=""}=g(_e.location.hash.substr(1));return!rt.startsWith("/")&&!rt.startsWith(".")&&(rt="/"+rt),c("",{pathname:rt,search:mt,hash:Dt},ut.state&&ut.state.usr||null,ut.state&&ut.state.key||"default")}function de(_e,ut){let rt=_e.document.querySelector("base"),mt="";if(rt&&rt.getAttribute("href")){let Dt=_e.location.href,zt=Dt.indexOf("#");mt=zt===-1?Dt:Dt.slice(0,zt)}return mt+"#"+(typeof ut=="string"?ut:d(ut))}function me(_e,ut){D(_e.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(ut)+")")}return w(oe,de,me,Z)}function m(Z,oe){if(Z===!1||Z===null||typeof Z>"u")throw new Error(oe)}function D(Z,oe){if(!Z){typeof console<"u"&&console.warn(oe);try{throw new Error(oe)}catch{}}}function f(){return Math.random().toString(36).substr(2,8)}function p(Z,oe){return{usr:Z.state,key:Z.key,idx:oe}}function c(Z,oe,de,me){return de===void 0&&(de=null),u({pathname:typeof Z=="string"?Z:Z.pathname,search:"",hash:""},typeof oe=="string"?g(oe):oe,{state:de,key:oe&&oe.key||me||f()})}function d(Z){let{pathname:oe="/",search:de="",hash:me=""}=Z;return de&&de!=="?"&&(oe+=de.charAt(0)==="?"?de:"?"+de),me&&me!=="#"&&(oe+=me.charAt(0)==="#"?me:"#"+me),oe}function g(Z){let oe={};if(Z){let de=Z.indexOf("#");de>=0&&(oe.hash=Z.substr(de),Z=Z.substr(0,de));let me=Z.indexOf("?");me>=0&&(oe.search=Z.substr(me),Z=Z.substr(0,me)),Z&&(oe.pathname=Z)}return oe}function w(Z,oe,de,me){me===void 0&&(me={});let{window:_e=document.defaultView,v5Compat:ut=!1}=me,rt=_e.history,mt=A.Pop,Dt=null,zt=Nt();zt==null&&(zt=0,rt.replaceState(u({},rt.state,{idx:zt}),""));function Nt(){return(rt.state||{idx:null}).idx}function xr(){mt=A.Pop;let Er=Nt(),fr=Er==null?null:Er-zt;zt=Er,Dt&&Dt({action:mt,location:Ar.location,delta:fr})}function vr(Er,fr){mt=A.Push;let Lr=c(Ar.location,Er,fr);de&&de(Lr,Er),zt=Nt()+1;let an=p(Lr,zt),fn=Ar.createHref(Lr);try{rt.pushState(an,"",fn)}catch(On){if(On instanceof DOMException&&On.name==="DataCloneError")throw On;_e.location.assign(fn)}ut&&Dt&&Dt({action:mt,location:Ar.location,delta:1})}function sr(Er,fr){mt=A.Replace;let Lr=c(Ar.location,Er,fr);de&&de(Lr,Er),zt=Nt();let an=p(Lr,zt),fn=Ar.createHref(Lr);rt.replaceState(an,"",fn),ut&&Dt&&Dt({action:mt,location:Ar.location,delta:0})}function _r(Er){let fr=_e.location.origin!=="null"?_e.location.origin:_e.location.href,Lr=typeof Er=="string"?Er:d(Er);return Lr=Lr.replace(/ $/,"%20"),m(fr,"No window.location.(origin|href) available to create URL for href: "+Lr),new URL(Lr,fr)}let Ar={get action(){return mt},get location(){return Z(_e,rt)},listen(Er){if(Dt)throw new Error("A history only accepts one active listener");return _e.addEventListener(S,xr),Dt=Er,()=>{_e.removeEventListener(S,xr),Dt=null}},createHref(Er){return oe(_e,Er)},createURL:_r,encodeLocation(Er){let fr=_r(Er);return{pathname:fr.pathname,search:fr.search,hash:fr.hash}},push:vr,replace:sr,go(Er){return rt.go(Er)}};return Ar}var x;(function(Z){Z.data="data",Z.deferred="deferred",Z.redirect="redirect",Z.error="error"})(x||(x={}));const T=new Set(["lazy","caseSensitive","path","id","index","children"]);function O(Z){return Z.index===!0}function F(Z,oe,de,me){return de===void 0&&(de=[]),me===void 0&&(me={}),Z.map((_e,ut)=>{let rt=[...de,ut],mt=typeof _e.id=="string"?_e.id:rt.join("-");if(m(_e.index!==!0||!_e.children,"Cannot specify children on an index route"),m(!me[mt],'Found a route id collision on id "'+mt+`".  Route id's must be globally unique within Data Router usages`),O(_e)){let Dt=u({},_e,oe(_e),{id:mt});return me[mt]=Dt,Dt}else{let Dt=u({},_e,oe(_e),{id:mt,children:void 0});return me[mt]=Dt,_e.children&&(Dt.children=F(_e.children,oe,rt,me)),Dt}})}function K(Z,oe,de){de===void 0&&(de="/");let me=typeof oe=="string"?g(oe):oe,_e=Xe(me.pathname||"/",de);if(_e==null)return null;let ut=he(Z);ie(ut);let rt=null;for(let mt=0;rt==null&&mt{let Dt={relativePath:mt===void 0?ut.path||"":mt,caseSensitive:ut.caseSensitive===!0,childrenIndex:rt,route:ut};Dt.relativePath.startsWith("/")&&(m(Dt.relativePath.startsWith(me),'Absolute route path "'+Dt.relativePath+'" nested under path '+('"'+me+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),Dt.relativePath=Dt.relativePath.slice(me.length));let zt=$([me,Dt.relativePath]),Nt=de.concat(Dt);ut.children&&ut.children.length>0&&(m(ut.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+zt+'".')),he(ut.children,oe,Nt,zt)),!(ut.path==null&&!ut.index)&&oe.push({path:zt,score:Q(zt,ut.index),routesMeta:Nt})};return Z.forEach((ut,rt)=>{var mt;if(ut.path===""||!((mt=ut.path)!=null&&mt.includes("?")))_e(ut,rt);else for(let Dt of pe(ut.path))_e(ut,rt,Dt)}),oe}function pe(Z){let oe=Z.split("/");if(oe.length===0)return[];let[de,...me]=oe,_e=de.endsWith("?"),ut=de.replace(/\?$/,"");if(me.length===0)return _e?[ut,""]:[ut];let rt=pe(me.join("/")),mt=[];return mt.push(...rt.map(Dt=>Dt===""?ut:[ut,Dt].join("/"))),_e&&mt.push(...rt),mt.map(Dt=>Z.startsWith("/")&&Dt===""?"/":Dt)}function ie(Z){Z.sort((oe,de)=>oe.score!==de.score?de.score-oe.score:re(oe.routesMeta.map(me=>me.childrenIndex),de.routesMeta.map(me=>me.childrenIndex)))}const we=/^:[\w-]+$/,Ce=3,Ne=2,B=1,k=10,W=null,q=Z=>Z==="*";function Q(Z,oe){let de=Z.split("/"),me=de.length;return de.some(q)&&(me+=W),oe&&(me+=Ne),de.filter(_e=>!q(_e)).reduce((_e,ut)=>_e+(we.test(ut)?Ce:ut===""?B:k),me)}function re(Z,oe){return Z.length===oe.length&&Z.slice(0,-1).every((me,_e)=>me===oe[_e])?Z[Z.length-1]-oe[oe.length-1]:0}function te(Z,oe){let{routesMeta:de}=Z,me={},_e="/",ut=[];for(let rt=0;rtrt==null?"":typeof rt=="string"?rt:String(rt),ut=de.split(/\/+/).map((rt,mt,Dt)=>{if(mt===Dt.length-1&&rt==="*")return _e(oe["*"]);const Nt=rt.match(/^:([\w-]+)(\??)$/);if(Nt){const[,xr,vr]=Nt;let sr=oe[xr];return m(vr==="?"||sr!=null,'Missing ":'+xr+'" param'),_e(sr)}return rt.replace(/\?$/g,"")}).filter(rt=>!!rt);return me+ut.join("/")}function Fe(Z,oe){typeof Z=="string"&&(Z={path:Z,caseSensitive:!1,end:!0});let[de,me]=Qe(Z.path,Z.caseSensitive,Z.end),_e=oe.match(de);if(!_e)return null;let ut=_e[0],rt=ut.replace(/(.)\/+$/,"$1"),mt=_e.slice(1);return{params:me.reduce((zt,Nt,xr)=>{let{paramName:vr,isOptional:sr}=Nt;if(vr==="*"){let Ar=mt[xr]||"";rt=ut.slice(0,ut.length-Ar.length).replace(/(.)\/+$/,"$1")}const _r=mt[xr];return sr&&!_r?zt[vr]=void 0:zt[vr]=(_r||"").replace(/%2F/g,"/"),zt},{}),pathname:ut,pathnameBase:rt,pattern:Z}}function Qe(Z,oe,de){oe===void 0&&(oe=!1),de===void 0&&(de=!0),D(Z==="*"||!Z.endsWith("*")||Z.endsWith("/*"),'Route path "'+Z+'" will be treated as if it were '+('"'+Z.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+Z.replace(/\*$/,"/*")+'".'));let me=[],_e="^"+Z.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(rt,mt,Dt)=>(me.push({paramName:mt,isOptional:Dt!=null}),Dt?"/?([^\\/]+)?":"/([^\\/]+)"));return Z.endsWith("*")?(me.push({paramName:"*"}),_e+=Z==="*"||Z==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):de?_e+="\\/*$":Z!==""&&Z!=="/"&&(_e+="(?:(?=\\/|$))"),[new RegExp(_e,oe?void 0:"i"),me]}function Ke(Z){try{return Z.split("/").map(oe=>decodeURIComponent(oe).replace(/\//g,"%2F")).join("/")}catch(oe){return D(!1,'The URL path "'+Z+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+oe+").")),Z}}function Xe(Z,oe){if(oe==="/")return Z;if(!Z.toLowerCase().startsWith(oe.toLowerCase()))return null;let de=oe.endsWith("/")?oe.length-1:oe.length,me=Z.charAt(de);return me&&me!=="/"?null:Z.slice(de)||"/"}function dt(Z,oe){oe===void 0&&(oe="/");let{pathname:de,search:me="",hash:_e=""}=typeof Z=="string"?g(Z):Z;return{pathname:de?de.startsWith("/")?de:it(de,oe):oe,search:U(me),hash:L(_e)}}function it(Z,oe){let de=oe.replace(/\/+$/,"").split("/");return Z.split("/").forEach(_e=>{_e===".."?de.length>1&&de.pop():_e!=="."&&de.push(_e)}),de.length>1?de.join("/"):"/"}function Ie(Z,oe,de,me){return"Cannot include a '"+Z+"' character in a manually specified "+("`to."+oe+"` field ["+JSON.stringify(me)+"].  Please separate it out to the ")+("`to."+de+"` field. Alternatively you may provide the full path as ")+'a string in  and the router will parse it for you.'}function ue(Z){return Z.filter((oe,de)=>de===0||oe.route.path&&oe.route.path.length>0)}function Le(Z,oe){let de=ue(Z);return oe?de.map((me,_e)=>_e===Z.length-1?me.pathname:me.pathnameBase):de.map(me=>me.pathnameBase)}function je(Z,oe,de,me){me===void 0&&(me=!1);let _e;typeof Z=="string"?_e=g(Z):(_e=u({},Z),m(!_e.pathname||!_e.pathname.includes("?"),Ie("?","pathname","search",_e)),m(!_e.pathname||!_e.pathname.includes("#"),Ie("#","pathname","hash",_e)),m(!_e.search||!_e.search.includes("#"),Ie("#","search","hash",_e)));let ut=Z===""||_e.pathname==="",rt=ut?"/":_e.pathname,mt;if(rt==null)mt=de;else{let xr=oe.length-1;if(!me&&rt.startsWith("..")){let vr=rt.split("/");for(;vr[0]==="..";)vr.shift(),xr-=1;_e.pathname=vr.join("/")}mt=xr>=0?oe[xr]:"/"}let Dt=dt(_e,mt),zt=rt&&rt!=="/"&&rt.endsWith("/"),Nt=(ut||rt===".")&&de.endsWith("/");return!Dt.pathname.endsWith("/")&&(zt||Nt)&&(Dt.pathname+="/"),Dt}function J(Z){return Z===""||Z.pathname===""?"/":typeof Z=="string"?g(Z).pathname:Z.pathname}const $=Z=>Z.join("/").replace(/\/\/+/g,"/"),G=Z=>Z.replace(/\/+$/,"").replace(/^\/*/,"/"),U=Z=>!Z||Z==="?"?"":Z.startsWith("?")?Z:"?"+Z,L=Z=>!Z||Z==="#"?"":Z.startsWith("#")?Z:"#"+Z,j=function(oe,de){de===void 0&&(de={});let me=typeof de=="number"?{status:de}:de,_e=new Headers(me.headers);return _e.has("Content-Type")||_e.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(oe),u({},me,{headers:_e}))};class le extends null{}class Te{constructor(oe,de){this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],m(oe&&typeof oe=="object"&&!Array.isArray(oe),"defer() only accepts plain objects");let me;this.abortPromise=new Promise((ut,rt)=>me=rt),this.controller=new AbortController;let _e=()=>me(new le("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",_e),this.controller.signal.addEventListener("abort",_e),this.data=Object.entries(oe).reduce((ut,rt)=>{let[mt,Dt]=rt;return Object.assign(ut,{[mt]:this.trackPromise(mt,Dt)})},{}),this.done&&this.unlistenAbortSignal(),this.init=de}trackPromise(oe,de){if(!(de instanceof Promise))return de;this.deferredKeys.push(oe),this.pendingKeysSet.add(oe);let me=Promise.race([de,this.abortPromise]).then(_e=>this.onSettle(me,oe,void 0,_e),_e=>this.onSettle(me,oe,_e));return me.catch(()=>{}),Object.defineProperty(me,"_tracked",{get:()=>!0}),me}onSettle(oe,de,me,_e){if(this.controller.signal.aborted&&me instanceof le)return this.unlistenAbortSignal(),Object.defineProperty(oe,"_error",{get:()=>me}),Promise.reject(me);if(this.pendingKeysSet.delete(de),this.done&&this.unlistenAbortSignal(),me===void 0&&_e===void 0){let ut=new Error('Deferred data for key "'+de+'" resolved/rejected with `undefined`, you must resolve/reject with a value or `null`.');return Object.defineProperty(oe,"_error",{get:()=>ut}),this.emit(!1,de),Promise.reject(ut)}return _e===void 0?(Object.defineProperty(oe,"_error",{get:()=>me}),this.emit(!1,de),Promise.reject(me)):(Object.defineProperty(oe,"_data",{get:()=>_e}),this.emit(!1,de),_e)}emit(oe,de){this.subscribers.forEach(me=>me(oe,de))}subscribe(oe){return this.subscribers.add(oe),()=>this.subscribers.delete(oe)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((oe,de)=>this.pendingKeysSet.delete(de)),this.emit(!0)}async resolveData(oe){let de=!1;if(!this.done){let me=()=>this.cancel();oe.addEventListener("abort",me),de=await new Promise(_e=>{this.subscribe(ut=>{oe.removeEventListener("abort",me),(ut||this.done)&&_e(ut)})})}return de}get done(){return this.pendingKeysSet.size===0}get unwrappedData(){return m(this.data!==null&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((oe,de)=>{let[me,_e]=de;return Object.assign(oe,{[me]:ot(_e)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function Je(Z){return Z instanceof Promise&&Z._tracked===!0}function ot(Z){if(!Je(Z))return Z;if(Z._error)throw Z._error;return Z._data}const Gt=function(oe,de){de===void 0&&(de={});let me=typeof de=="number"?{status:de}:de;return new Te(oe,me)},Ye=function(oe,de){de===void 0&&(de=302);let me=de;typeof me=="number"?me={status:me}:typeof me.status>"u"&&(me.status=302);let _e=new Headers(me.headers);return _e.set("Location",oe),new Response(null,u({},me,{headers:_e}))},ct=(Z,oe)=>{let de=Ye(Z,oe);return de.headers.set("X-Remix-Reload-Document","true"),de};class We{constructor(oe,de,me,_e){_e===void 0&&(_e=!1),this.status=oe,this.statusText=de||"",this.internal=_e,me instanceof Error?(this.data=me.toString(),this.error=me):this.data=me}}function Ze(Z){return Z!=null&&typeof Z.status=="number"&&typeof Z.statusText=="string"&&typeof Z.internal=="boolean"&&"data"in Z}const Re=["post","put","patch","delete"],lt=new Set(Re),pt=["get",...Re],vt=new Set(pt),Pt=new Set([301,302,303,307,308]),Ge=new Set([307,308]),Be={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},It={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ht={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},wr=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ir=Z=>({hasErrorBoundary:!!Z.hasErrorBoundary}),tr="remix-router-transitions";function Fr(Z){const oe=Z.window?Z.window:typeof window<"u"?window:void 0,de=typeof oe<"u"&&typeof oe.document<"u"&&typeof oe.document.createElement<"u",me=!de;m(Z.routes.length>0,"You must provide a non-empty routes array to createRouter");let _e;if(Z.mapRouteProperties)_e=Z.mapRouteProperties;else if(Z.detectErrorBoundary){let lr=Z.detectErrorBoundary;_e=Cr=>({hasErrorBoundary:lr(Cr)})}else _e=ir;let ut={},rt=F(Z.routes,_e,void 0,ut),mt,Dt=Z.basename||"/",zt=u({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1},Z.future),Nt=null,xr=new Set,vr=null,sr=null,_r=null,Ar=Z.hydrationData!=null,Er=K(rt,Z.history.location,Dt),fr=null;if(Er==null){let lr=Mt(404,{pathname:Z.history.location.pathname}),{matches:Cr,route:zr}=yt(rt);Er=Cr,fr={[zr.id]:lr}}let Lr,an=Er.some(lr=>lr.route.lazy),fn=Er.some(lr=>lr.route.loader);if(an)Lr=!1;else if(!fn)Lr=!0;else if(zt.v7_partialHydration){let lr=Z.hydrationData?Z.hydrationData.loaderData:null,Cr=Z.hydrationData?Z.hydrationData.errors:null,zr=sn=>sn.route.loader?sn.route.loader.hydrate===!0?!1:lr&&lr[sn.route.id]!==void 0||Cr&&Cr[sn.route.id]!==void 0:!0;if(Cr){let sn=Er.findIndex(Rn=>Cr[Rn.route.id]!==void 0);Lr=Er.slice(0,sn+1).every(zr)}else Lr=Er.every(zr)}else Lr=Z.hydrationData!=null;let On,or={historyAction:Z.history.action,location:Z.history.location,matches:Er,initialized:Lr,navigation:Be,restoreScrollPosition:Z.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:Z.hydrationData&&Z.hydrationData.loaderData||{},actionData:Z.hydrationData&&Z.hydrationData.actionData||null,errors:Z.hydrationData&&Z.hydrationData.errors||fr,fetchers:new Map,blockers:new Map},on=A.Pop,En=!1,wn,Ni=!1,wi=new Map,ki=null,Ji=!1,la=!1,_=[],Y=[],fe=new Map,Ae=0,De=-1,at=new Map,Ct=new Set,nr=new Map,Tr=new Map,Dr=new Set,Br=new Map,dn=new Map,xn=!1;function jt(){if(Nt=Z.history.listen(lr=>{let{action:Cr,location:zr,delta:sn}=lr;if(xn){xn=!1;return}D(dn.size===0||sn!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.");let Rn=Rs({currentLocation:or.location,nextLocation:zr,historyAction:Cr});if(Rn&&sn!=null){xn=!0,Z.history.go(sn*-1),jo(Rn,{state:"blocked",location:zr,proceed(){jo(Rn,{state:"proceeding",proceed:void 0,reset:void 0,location:zr}),Z.history.go(sn)},reset(){let si=new Map(or.blockers);si.set(Rn,Ht),tn({blockers:si})}});return}return Fi(Cr,zr)}),de){Li(oe,wi);let lr=()=>Mi(oe,wi);oe.addEventListener("pagehide",lr),ki=()=>oe.removeEventListener("pagehide",lr)}return or.initialized||Fi(A.Pop,or.location,{initialHydration:!0}),On}function hr(){Nt&&Nt(),ki&&ki(),xr.clear(),wn&&wn.abort(),or.fetchers.forEach((lr,Cr)=>Ao(Cr)),or.blockers.forEach((lr,Cr)=>ds(Cr))}function ur(lr){return xr.add(lr),()=>xr.delete(lr)}function tn(lr,Cr){Cr===void 0&&(Cr={}),or=u({},or,lr);let zr=[],sn=[];zt.v7_fetcherPersist&&or.fetchers.forEach((Rn,si)=>{Rn.state==="idle"&&(Dr.has(si)?sn.push(si):zr.push(si))}),[...xr].forEach(Rn=>Rn(or,{deletedFetchers:sn,unstable_viewTransitionOpts:Cr.viewTransitionOpts,unstable_flushSync:Cr.flushSync===!0})),zt.v7_fetcherPersist&&(zr.forEach(Rn=>or.fetchers.delete(Rn)),sn.forEach(Rn=>Ao(Rn)))}function kn(lr,Cr,zr){var sn,Rn;let{flushSync:si}=zr===void 0?{}:zr,Zn=or.actionData!=null&&or.navigation.formMethod!=null&&Xr(or.navigation.formMethod)&&or.navigation.state==="loading"&&((sn=lr.state)==null?void 0:sn._isRedirect)!==!0,Kn;Cr.actionData?Object.keys(Cr.actionData).length>0?Kn=Cr.actionData:Kn=null:Zn?Kn=or.actionData:Kn=null;let Nn=Cr.loaderData?pr(or.loaderData,Cr.loaderData,Cr.matches||[],Cr.errors):or.loaderData,vi=or.blockers;vi.size>0&&(vi=new Map(vi),vi.forEach((Yi,Ea)=>vi.set(Ea,Ht)));let mi=En===!0||or.navigation.formMethod!=null&&Xr(or.navigation.formMethod)&&((Rn=lr.state)==null?void 0:Rn._isRedirect)!==!0;mt&&(rt=mt,mt=void 0),Ji||on===A.Pop||(on===A.Push?Z.history.push(lr,lr.state):on===A.Replace&&Z.history.replace(lr,lr.state));let Un;if(on===A.Pop){let Yi=wi.get(or.location.pathname);Yi&&Yi.has(lr.pathname)?Un={currentLocation:or.location,nextLocation:lr}:wi.has(lr.pathname)&&(Un={currentLocation:lr,nextLocation:or.location})}else if(Ni){let Yi=wi.get(or.location.pathname);Yi?Yi.add(lr.pathname):(Yi=new Set([lr.pathname]),wi.set(or.location.pathname,Yi)),Un={currentLocation:or.location,nextLocation:lr}}tn(u({},Cr,{actionData:Kn,loaderData:Nn,historyAction:on,location:lr,initialized:!0,navigation:Be,revalidation:"idle",restoreScrollPosition:Bo(lr,Cr.matches||or.matches),preventScrollReset:mi,blockers:vi}),{viewTransitionOpts:Un,flushSync:si===!0}),on=A.Pop,En=!1,Ni=!1,Ji=!1,la=!1,_=[],Y=[]}async function xi(lr,Cr){if(typeof lr=="number"){Z.history.go(lr);return}let zr=mn(or.location,or.matches,Dt,zt.v7_prependBasename,lr,zt.v7_relativeSplatPath,Cr==null?void 0:Cr.fromRouteId,Cr==null?void 0:Cr.relative),{path:sn,submission:Rn,error:si}=An(zt.v7_normalizeFormMethod,!1,zr,Cr),Zn=or.location,Kn=c(or.location,sn,Cr&&Cr.state);Kn=u({},Kn,Z.history.encodeLocation(Kn));let Nn=Cr&&Cr.replace!=null?Cr.replace:void 0,vi=A.Push;Nn===!0?vi=A.Replace:Nn===!1||Rn!=null&&Xr(Rn.formMethod)&&Rn.formAction===or.location.pathname+or.location.search&&(vi=A.Replace);let mi=Cr&&"preventScrollReset"in Cr?Cr.preventScrollReset===!0:void 0,Un=(Cr&&Cr.unstable_flushSync)===!0,Yi=Rs({currentLocation:Zn,nextLocation:Kn,historyAction:vi});if(Yi){jo(Yi,{state:"blocked",location:Kn,proceed(){jo(Yi,{state:"proceeding",proceed:void 0,reset:void 0,location:Kn}),xi(lr,Cr)},reset(){let Ea=new Map(or.blockers);Ea.set(Yi,Ht),tn({blockers:Ea})}});return}return await Fi(vi,Kn,{submission:Rn,pendingError:si,preventScrollReset:mi,replace:Cr&&Cr.replace,enableViewTransition:Cr&&Cr.unstable_viewTransition,flushSync:Un})}function pa(){if(ko(),tn({revalidation:"loading"}),or.navigation.state!=="submitting"){if(or.navigation.state==="idle"){Fi(or.historyAction,or.location,{startUninterruptedRevalidation:!0});return}Fi(on||or.historyAction,or.navigation.location,{overrideNavigation:or.navigation})}}async function Fi(lr,Cr,zr){wn&&wn.abort(),wn=null,on=lr,Ji=(zr&&zr.startUninterruptedRevalidation)===!0,Vo(or.location,or.matches),En=(zr&&zr.preventScrollReset)===!0,Ni=(zr&&zr.enableViewTransition)===!0;let sn=mt||rt,Rn=zr&&zr.overrideNavigation,si=K(sn,Cr,Dt),Zn=(zr&&zr.flushSync)===!0;if(!si){let Ea=Mt(404,{pathname:Cr.pathname}),{matches:ja,route:ga}=yt(sn);ao(),kn(Cr,{matches:ja,loaderData:{},errors:{[ga.id]:Ea}},{flushSync:Zn});return}if(or.initialized&&!la&&qe(or.location,Cr)&&!(zr&&zr.submission&&Xr(zr.submission.formMethod))){kn(Cr,{matches:si},{flushSync:Zn});return}wn=new AbortController;let Kn=Ue(Z.history,Cr,wn.signal,zr&&zr.submission),Nn,vi;if(zr&&zr.pendingError)vi={[Wt(si).route.id]:zr.pendingError};else if(zr&&zr.submission&&Xr(zr.submission.formMethod)){let Ea=await ms(Kn,Cr,zr.submission,si,{replace:zr.replace,flushSync:Zn});if(Ea.shortCircuited)return;Nn=Ea.pendingActionData,vi=Ea.pendingActionError,Rn=li(Cr,zr.submission),Zn=!1,Kn=new Request(Kn.url,{signal:Kn.signal})}let{shortCircuited:mi,loaderData:Un,errors:Yi}=await sl(Kn,Cr,si,Rn,zr&&zr.submission,zr&&zr.fetcherSubmission,zr&&zr.replace,zr&&zr.initialHydration===!0,Zn,Nn,vi);mi||(wn=null,kn(Cr,u({matches:si},Nn?{actionData:Nn}:{},{loaderData:Un,errors:Yi})))}async function ms(lr,Cr,zr,sn,Rn){Rn===void 0&&(Rn={}),ko();let si=Qn(Cr,zr);tn({navigation:si},{flushSync:Rn.flushSync===!0});let Zn,Kn=Yn(sn,Cr);if(!Kn.route.action&&!Kn.route.lazy)Zn={type:x.error,error:Mt(405,{method:lr.method,pathname:Cr.pathname,routeId:Kn.route.id})};else if(Zn=await Ee("action",lr,Kn,sn,ut,_e,Dt,zt.v7_relativeSplatPath),lr.signal.aborted)return{shortCircuited:!0};if(At(Zn)){let Nn;return Rn&&Rn.replace!=null?Nn=Rn.replace:Nn=Zn.location===or.location.pathname+or.location.search,await Ha(or,Zn,{submission:zr,replace:Nn}),{shortCircuited:!0}}if(rr(Zn)){let Nn=Wt(sn,Kn.route.id);return(Rn&&Rn.replace)!==!0&&(on=A.Push),{pendingActionData:{},pendingActionError:{[Nn.route.id]:Zn.error}}}if(er(Zn))throw Mt(400,{type:"defer-action"});return{pendingActionData:{[Kn.route.id]:Zn.data}}}async function sl(lr,Cr,zr,sn,Rn,si,Zn,Kn,Nn,vi,mi){let Un=sn||li(Cr,Rn),Yi=Rn||si||ni(Un),Ea=mt||rt,[ja,ga]=Jr(Z.history,or,zr,Yi,Cr,zt.v7_partialHydration&&Kn===!0,la,_,Y,Dr,nr,Ct,Ea,Dt,vi,mi);if(ao(Ti=>!(zr&&zr.some(Wi=>Wi.route.id===Ti))||ja&&ja.some(Wi=>Wi.route.id===Ti)),De=++Ae,ja.length===0&&ga.length===0){let Ti=fs();return kn(Cr,u({matches:zr,loaderData:{},errors:mi||null},vi?{actionData:vi}:{},Ti?{fetchers:new Map(or.fetchers)}:{}),{flushSync:Nn}),{shortCircuited:!0}}if(!Ji&&(!zt.v7_partialHydration||!Kn)){ga.forEach(Wi=>{let La=or.fetchers.get(Wi.key),fa=ui(void 0,La?La.data:void 0);or.fetchers.set(Wi.key,fa)});let Ti=vi||or.actionData;tn(u({navigation:Un},Ti?Object.keys(Ti).length===0?{actionData:null}:{actionData:Ti}:{},ga.length>0?{fetchers:new Map(or.fetchers)}:{}),{flushSync:Nn})}ga.forEach(Ti=>{fe.has(Ti.key)&&Fo(Ti.key),Ti.controller&&fe.set(Ti.key,Ti.controller)});let vo=()=>ga.forEach(Ti=>Fo(Ti.key));wn&&wn.signal.addEventListener("abort",vo);let{results:So,loaderResults:Eo,fetcherResults:Ra}=await Wa(or.matches,zr,ja,ga,lr);if(lr.signal.aborted)return{shortCircuited:!0};wn&&wn.signal.removeEventListener("abort",vo),ga.forEach(Ti=>fe.delete(Ti.key));let va=Jt(So);if(va){if(va.idx>=ja.length){let Ti=ga[va.idx-ja.length].key;Ct.add(Ti)}return await Ha(or,va.result,{replace:Zn}),{shortCircuited:!0}}let{loaderData:eo,errors:to}=br(or,zr,ja,Eo,mi,ga,Ra,Br);Br.forEach((Ti,Wi)=>{Ti.subscribe(La=>{(La||Ti.done)&&Br.delete(Wi)})}),zt.v7_partialHydration&&Kn&&or.errors&&Object.entries(or.errors).filter(Ti=>{let[Wi]=Ti;return!ja.some(La=>La.route.id===Wi)}).forEach(Ti=>{let[Wi,La]=Ti;to=Object.assign(to||{},{[Wi]:La})});let _o=fs(),Ko=go(De),xs=_o||Ko||ga.length>0;return u({loaderData:eo,errors:to},xs?{fetchers:new Map(or.fetchers)}:{})}function qa(lr,Cr,zr,sn){if(me)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");fe.has(lr)&&Fo(lr);let Rn=(sn&&sn.unstable_flushSync)===!0,si=mt||rt,Zn=mn(or.location,or.matches,Dt,zt.v7_prependBasename,zr,zt.v7_relativeSplatPath,Cr,sn==null?void 0:sn.relative),Kn=K(si,Zn,Dt);if(!Kn){qo(lr,Cr,Mt(404,{pathname:Zn}),{flushSync:Rn});return}let{path:Nn,submission:vi,error:mi}=An(zt.v7_normalizeFormMethod,!0,Zn,sn);if(mi){qo(lr,Cr,mi,{flushSync:Rn});return}let Un=Yn(Kn,Nn);if(En=(sn&&sn.preventScrollReset)===!0,vi&&Xr(vi.formMethod)){ys(lr,Cr,Nn,Un,Kn,Rn,vi);return}nr.set(lr,{routeId:Cr,path:Nn}),cs(lr,Cr,Nn,Un,Kn,Rn,vi)}async function ys(lr,Cr,zr,sn,Rn,si,Zn){if(ko(),nr.delete(lr),!sn.route.action&&!sn.route.lazy){let Wi=Mt(405,{method:Zn.formMethod,pathname:zr,routeId:Cr});qo(lr,Cr,Wi,{flushSync:si});return}let Kn=or.fetchers.get(lr);Ci(lr,pi(Zn,Kn),{flushSync:si});let Nn=new AbortController,vi=Ue(Z.history,zr,Nn.signal,Zn);fe.set(lr,Nn);let mi=Ae,Un=await Ee("action",vi,sn,Rn,ut,_e,Dt,zt.v7_relativeSplatPath);if(vi.signal.aborted){fe.get(lr)===Nn&&fe.delete(lr);return}if(zt.v7_fetcherPersist&&Dr.has(lr)){if(At(Un)||rr(Un)){Ci(lr,Dn(void 0));return}}else{if(At(Un))if(fe.delete(lr),De>mi){Ci(lr,Dn(void 0));return}else return Ct.add(lr),Ci(lr,ui(Zn)),Ha(or,Un,{fetcherSubmission:Zn});if(rr(Un)){qo(lr,Cr,Un.error);return}}if(er(Un))throw Mt(400,{type:"defer-action"});let Yi=or.navigation.location||or.location,Ea=Ue(Z.history,Yi,Nn.signal),ja=mt||rt,ga=or.navigation.state!=="idle"?K(ja,or.navigation.location,Dt):or.matches;m(ga,"Didn't find any matches after fetcher action");let vo=++Ae;at.set(lr,vo);let So=ui(Zn,Un.data);or.fetchers.set(lr,So);let[Eo,Ra]=Jr(Z.history,or,ga,Zn,Yi,!1,la,_,Y,Dr,nr,Ct,ja,Dt,{[sn.route.id]:Un.data},void 0);Ra.filter(Wi=>Wi.key!==lr).forEach(Wi=>{let La=Wi.key,fa=or.fetchers.get(La),Co=ui(void 0,fa?fa.data:void 0);or.fetchers.set(La,Co),fe.has(La)&&Fo(La),Wi.controller&&fe.set(La,Wi.controller)}),tn({fetchers:new Map(or.fetchers)});let va=()=>Ra.forEach(Wi=>Fo(Wi.key));Nn.signal.addEventListener("abort",va);let{results:eo,loaderResults:to,fetcherResults:_o}=await Wa(or.matches,ga,Eo,Ra,Ea);if(Nn.signal.aborted)return;Nn.signal.removeEventListener("abort",va),at.delete(lr),fe.delete(lr),Ra.forEach(Wi=>fe.delete(Wi.key));let Ko=Jt(eo);if(Ko){if(Ko.idx>=Eo.length){let Wi=Ra[Ko.idx-Eo.length].key;Ct.add(Wi)}return Ha(or,Ko.result)}let{loaderData:xs,errors:Ti}=br(or,or.matches,Eo,to,void 0,Ra,_o,Br);if(or.fetchers.has(lr)){let Wi=Dn(Un.data);or.fetchers.set(lr,Wi)}go(vo),or.navigation.state==="loading"&&vo>De?(m(on,"Expected pending action"),wn&&wn.abort(),kn(or.navigation.location,{matches:ga,loaderData:xs,errors:Ti,fetchers:new Map(or.fetchers)})):(tn({errors:Ti,loaderData:pr(or.loaderData,xs,ga,Ti),fetchers:new Map(or.fetchers)}),la=!1)}async function cs(lr,Cr,zr,sn,Rn,si,Zn){let Kn=or.fetchers.get(lr);Ci(lr,ui(Zn,Kn?Kn.data:void 0),{flushSync:si});let Nn=new AbortController,vi=Ue(Z.history,zr,Nn.signal);fe.set(lr,Nn);let mi=Ae,Un=await Ee("loader",vi,sn,Rn,ut,_e,Dt,zt.v7_relativeSplatPath);if(er(Un)&&(Un=await qr(Un,vi.signal,!0)||Un),fe.get(lr)===Nn&&fe.delete(lr),!vi.signal.aborted){if(Dr.has(lr)){Ci(lr,Dn(void 0));return}if(At(Un))if(De>mi){Ci(lr,Dn(void 0));return}else{Ct.add(lr),await Ha(or,Un);return}if(rr(Un)){qo(lr,Cr,Un.error);return}m(!er(Un),"Unhandled fetcher deferred data"),Ci(lr,Dn(Un.data))}}async function Ha(lr,Cr,zr){let{submission:sn,fetcherSubmission:Rn,replace:si}=zr===void 0?{}:zr;Cr.revalidate&&(la=!0);let Zn=c(lr.location,Cr.location,{_isRedirect:!0});if(m(Zn,"Expected a location on the redirect navigation"),de){let Yi=!1;if(Cr.reloadDocument)Yi=!0;else if(wr.test(Cr.location)){const Ea=Z.history.createURL(Cr.location);Yi=Ea.origin!==oe.location.origin||Xe(Ea.pathname,Dt)==null}if(Yi){si?oe.location.replace(Cr.location):oe.location.assign(Cr.location);return}}wn=null;let Kn=si===!0?A.Replace:A.Push,{formMethod:Nn,formAction:vi,formEncType:mi}=lr.navigation;!sn&&!Rn&&Nn&&vi&&mi&&(sn=ni(lr.navigation));let Un=sn||Rn;if(Ge.has(Cr.status)&&Un&&Xr(Un.formMethod))await Fi(Kn,Zn,{submission:u({},Un,{formAction:Cr.location}),preventScrollReset:En});else{let Yi=li(Zn,sn);await Fi(Kn,Zn,{overrideNavigation:Yi,fetcherSubmission:Rn,preventScrollReset:En})}}async function Wa(lr,Cr,zr,sn,Rn){let si=await Promise.all([...zr.map(Nn=>Ee("loader",Rn,Nn,Cr,ut,_e,Dt,zt.v7_relativeSplatPath)),...sn.map(Nn=>Nn.matches&&Nn.match&&Nn.controller?Ee("loader",Ue(Z.history,Nn.path,Nn.controller.signal),Nn.match,Nn.matches,ut,_e,Dt,zt.v7_relativeSplatPath):{type:x.error,error:Mt(404,{pathname:Nn.path})})]),Zn=si.slice(0,zr.length),Kn=si.slice(zr.length);return await Promise.all([un(lr,zr,Zn,Zn.map(()=>Rn.signal),!1,or.loaderData),un(lr,sn.map(Nn=>Nn.match),Kn,sn.map(Nn=>Nn.controller?Nn.controller.signal:null),!0)]),{results:si,loaderResults:Zn,fetcherResults:Kn}}function ko(){la=!0,_.push(...ao()),nr.forEach((lr,Cr)=>{fe.has(Cr)&&(Y.push(Cr),Fo(Cr))})}function Ci(lr,Cr,zr){zr===void 0&&(zr={}),or.fetchers.set(lr,Cr),tn({fetchers:new Map(or.fetchers)},{flushSync:(zr&&zr.flushSync)===!0})}function qo(lr,Cr,zr,sn){sn===void 0&&(sn={});let Rn=Wt(or.matches,Cr);Ao(lr),tn({errors:{[Rn.route.id]:zr},fetchers:new Map(or.fetchers)},{flushSync:(sn&&sn.flushSync)===!0})}function bs(lr){return zt.v7_fetcherPersist&&(Tr.set(lr,(Tr.get(lr)||0)+1),Dr.has(lr)&&Dr.delete(lr)),or.fetchers.get(lr)||It}function Ao(lr){let Cr=or.fetchers.get(lr);fe.has(lr)&&!(Cr&&Cr.state==="loading"&&at.has(lr))&&Fo(lr),nr.delete(lr),at.delete(lr),Ct.delete(lr),Dr.delete(lr),or.fetchers.delete(lr)}function ll(lr){if(zt.v7_fetcherPersist){let Cr=(Tr.get(lr)||0)-1;Cr<=0?(Tr.delete(lr),Dr.add(lr)):Tr.set(lr,Cr)}else Ao(lr);tn({fetchers:new Map(or.fetchers)})}function Fo(lr){let Cr=fe.get(lr);m(Cr,"Expected fetch controller: "+lr),Cr.abort(),fe.delete(lr)}function Os(lr){for(let Cr of lr){let zr=bs(Cr),sn=Dn(zr.data);or.fetchers.set(Cr,sn)}}function fs(){let lr=[],Cr=!1;for(let zr of Ct){let sn=or.fetchers.get(zr);m(sn,"Expected fetcher: "+zr),sn.state==="loading"&&(Ct.delete(zr),lr.push(zr),Cr=!0)}return Os(lr),Cr}function go(lr){let Cr=[];for(let[zr,sn]of at)if(sn0}function es(lr,Cr){let zr=or.blockers.get(lr)||Ht;return dn.get(lr)!==Cr&&dn.set(lr,Cr),zr}function ds(lr){or.blockers.delete(lr),dn.delete(lr)}function jo(lr,Cr){let zr=or.blockers.get(lr)||Ht;m(zr.state==="unblocked"&&Cr.state==="blocked"||zr.state==="blocked"&&Cr.state==="blocked"||zr.state==="blocked"&&Cr.state==="proceeding"||zr.state==="blocked"&&Cr.state==="unblocked"||zr.state==="proceeding"&&Cr.state==="unblocked","Invalid blocker state transition: "+zr.state+" -> "+Cr.state);let sn=new Map(or.blockers);sn.set(lr,Cr),tn({blockers:sn})}function Rs(lr){let{currentLocation:Cr,nextLocation:zr,historyAction:sn}=lr;if(dn.size===0)return;dn.size>1&&D(!1,"A router only supports one blocker at a time");let Rn=Array.from(dn.entries()),[si,Zn]=Rn[Rn.length-1],Kn=or.blockers.get(si);if(!(Kn&&Kn.state==="proceeding")&&Zn({currentLocation:Cr,nextLocation:zr,historyAction:sn}))return si}function ao(lr){let Cr=[];return Br.forEach((zr,sn)=>{(!lr||lr(sn))&&(zr.cancel(),Cr.push(sn),Br.delete(sn))}),Cr}function ws(lr,Cr,zr){if(vr=lr,_r=Cr,sr=zr||null,!Ar&&or.navigation===Be){Ar=!0;let sn=Bo(or.location,or.matches);sn!=null&&tn({restoreScrollPosition:sn})}return()=>{vr=null,_r=null,sr=null}}function hs(lr,Cr){return sr&&sr(lr,Cr.map(sn=>ee(sn,or.loaderData)))||lr.key}function Vo(lr,Cr){if(vr&&_r){let zr=hs(lr,Cr);vr[zr]=_r()}}function Bo(lr,Cr){if(vr){let zr=hs(lr,Cr),sn=vr[zr];if(typeof sn=="number")return sn}return null}function Go(lr){ut={},mt=F(lr,_e,void 0,ut)}return On={get basename(){return Dt},get future(){return zt},get state(){return or},get routes(){return rt},get window(){return oe},initialize:jt,subscribe:ur,enableScrollRestoration:ws,navigate:xi,fetch:qa,revalidate:pa,createHref:lr=>Z.history.createHref(lr),encodeLocation:lr=>Z.history.encodeLocation(lr),getFetcher:bs,deleteFetcher:ll,dispose:hr,getBlocker:es,deleteBlocker:ds,_internalFetchControllers:fe,_internalActiveDeferreds:Br,_internalSetRoutes:Go},On}const mr=Symbol("deferred");function Or(Z,oe){m(Z.length>0,"You must provide a non-empty routes array to createStaticHandler");let de={},me=(oe?oe.basename:null)||"/",_e;if(oe!=null&&oe.mapRouteProperties)_e=oe.mapRouteProperties;else if(oe!=null&&oe.detectErrorBoundary){let vr=oe.detectErrorBoundary;_e=sr=>({hasErrorBoundary:vr(sr)})}else _e=ir;let ut=u({v7_relativeSplatPath:!1,v7_throwAbortReason:!1},oe?oe.future:null),rt=F(Z,_e,void 0,de);async function mt(vr,sr){let{requestContext:_r}=sr===void 0?{}:sr,Ar=new URL(vr.url),Er=vr.method,fr=c("",d(Ar),null,"default"),Lr=K(rt,fr,me);if(!Pr(Er)&&Er!=="HEAD"){let fn=Mt(405,{method:Er}),{matches:On,route:or}=yt(rt);return{basename:me,location:fr,matches:On,loaderData:{},actionData:null,errors:{[or.id]:fn},statusCode:fn.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}else if(!Lr){let fn=Mt(404,{pathname:fr.pathname}),{matches:On,route:or}=yt(rt);return{basename:me,location:fr,matches:On,loaderData:{},actionData:null,errors:{[or.id]:fn},statusCode:fn.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let an=await zt(vr,fr,Lr,_r);return gr(an)?an:u({location:fr,basename:me},an)}async function Dt(vr,sr){let{routeId:_r,requestContext:Ar}=sr===void 0?{}:sr,Er=new URL(vr.url),fr=vr.method,Lr=c("",d(Er),null,"default"),an=K(rt,Lr,me);if(!Pr(fr)&&fr!=="HEAD"&&fr!=="OPTIONS")throw Mt(405,{method:fr});if(!an)throw Mt(404,{pathname:Lr.pathname});let fn=_r?an.find(En=>En.route.id===_r):Yn(an,Lr);if(_r&&!fn)throw Mt(403,{pathname:Lr.pathname,routeId:_r});if(!fn)throw Mt(404,{pathname:Lr.pathname});let On=await zt(vr,Lr,an,Ar,fn);if(gr(On))return On;let or=On.errors?Object.values(On.errors)[0]:void 0;if(or!==void 0)throw or;if(On.actionData)return Object.values(On.actionData)[0];if(On.loaderData){var on;let En=Object.values(On.loaderData)[0];return(on=On.activeDeferreds)!=null&&on[fn.route.id]&&(En[mr]=On.activeDeferreds[fn.route.id]),En}}async function zt(vr,sr,_r,Ar,Er){m(vr.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(Xr(vr.method.toLowerCase()))return await Nt(vr,_r,Er||Yn(_r,sr),Ar,Er!=null);let fr=await xr(vr,_r,Ar,Er);return gr(fr)?fr:u({},fr,{actionData:null,actionHeaders:{}})}catch(fr){if(Ur(fr)){if(fr.type===x.error)throw fr.response;return fr.response}if(dr(fr))return fr;throw fr}}async function Nt(vr,sr,_r,Ar,Er){let fr;if(!_r.route.action&&!_r.route.lazy){let fn=Mt(405,{method:vr.method,pathname:new URL(vr.url).pathname,routeId:_r.route.id});if(Er)throw fn;fr={type:x.error,error:fn}}else fr=await Ee("action",vr,_r,sr,de,_e,me,ut.v7_relativeSplatPath,{isStaticRequest:!0,isRouteRequest:Er,requestContext:Ar}),vr.signal.aborted&&Gr(vr,Er,ut);if(At(fr))throw new Response(null,{status:fr.status,headers:{Location:fr.location}});if(er(fr)){let fn=Mt(400,{type:"defer-action"});if(Er)throw fn;fr={type:x.error,error:fn}}if(Er){if(rr(fr))throw fr.error;return{matches:[_r],loaderData:{},actionData:{[_r.route.id]:fr.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}if(rr(fr)){let fn=Wt(sr,_r.route.id),On=await xr(vr,sr,Ar,void 0,{[fn.route.id]:fr.error});return u({},On,{statusCode:Ze(fr.error)?fr.error.status:500,actionData:null,actionHeaders:u({},fr.headers?{[_r.route.id]:fr.headers}:{})})}let Lr=new Request(vr.url,{headers:vr.headers,redirect:vr.redirect,signal:vr.signal}),an=await xr(Lr,sr,Ar);return u({},an,fr.statusCode?{statusCode:fr.statusCode}:{},{actionData:{[_r.route.id]:fr.data},actionHeaders:u({},fr.headers?{[_r.route.id]:fr.headers}:{})})}async function xr(vr,sr,_r,Ar,Er){let fr=Ar!=null;if(fr&&!(Ar!=null&&Ar.route.loader)&&!(Ar!=null&&Ar.route.lazy))throw Mt(400,{method:vr.method,pathname:new URL(vr.url).pathname,routeId:Ar==null?void 0:Ar.route.id});let an=(Ar?[Ar]:ln(sr,Object.keys(Er||{})[0])).filter(En=>En.route.loader||En.route.lazy);if(an.length===0)return{matches:sr,loaderData:sr.reduce((En,wn)=>Object.assign(En,{[wn.route.id]:null}),{}),errors:Er||null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let fn=await Promise.all([...an.map(En=>Ee("loader",vr,En,sr,de,_e,me,ut.v7_relativeSplatPath,{isStaticRequest:!0,isRouteRequest:fr,requestContext:_r}))]);vr.signal.aborted&&Gr(vr,fr,ut);let On=new Map,or=ht(sr,an,fn,Er,On),on=new Set(an.map(En=>En.route.id));return sr.forEach(En=>{on.has(En.route.id)||(or.loaderData[En.route.id]=null)}),u({},or,{matches:sr,activeDeferreds:On.size>0?Object.fromEntries(On.entries()):null})}return{dataRoutes:rt,query:mt,queryRoute:Dt}}function Nr(Z,oe,de){return u({},oe,{statusCode:Ze(de)?de.status:500,errors:{[oe._deepestRenderedBoundaryId||Z[0].id]:de}})}function Gr(Z,oe,de){if(de.v7_throwAbortReason&&Z.signal.reason!==void 0)throw Z.signal.reason;let me=oe?"queryRoute":"query";throw new Error(me+"() call aborted: "+Z.method+" "+Z.url)}function Ir(Z){return Z!=null&&("formData"in Z&&Z.formData!=null||"body"in Z&&Z.body!==void 0)}function mn(Z,oe,de,me,_e,ut,rt,mt){let Dt,zt;if(rt){Dt=[];for(let xr of oe)if(Dt.push(xr),xr.route.id===rt){zt=xr;break}}else Dt=oe,zt=oe[oe.length-1];let Nt=je(_e||".",Le(Dt,ut),Xe(Z.pathname,de)||Z.pathname,mt==="path");return _e==null&&(Nt.search=Z.search,Nt.hash=Z.hash),(_e==null||_e===""||_e===".")&&zt&&zt.route.index&&!Bn(Nt.search)&&(Nt.search=Nt.search?Nt.search.replace(/^\?/,"?index&"):"?index"),me&&de!=="/"&&(Nt.pathname=Nt.pathname==="/"?de:$([de,Nt.pathname])),d(Nt)}function An(Z,oe,de,me){if(!me||!Ir(me))return{path:de};if(me.formMethod&&!Pr(me.formMethod))return{path:de,error:Mt(405,{method:me.formMethod})};let _e=()=>({path:de,error:Mt(400,{type:"invalid-body"})}),ut=me.formMethod||"get",rt=Z?ut.toUpperCase():ut.toLowerCase(),mt=Se(de);if(me.body!==void 0){if(me.formEncType==="text/plain"){if(!Xr(rt))return _e();let vr=typeof me.body=="string"?me.body:me.body instanceof FormData||me.body instanceof URLSearchParams?Array.from(me.body.entries()).reduce((sr,_r)=>{let[Ar,Er]=_r;return""+sr+Ar+"="+Er+`
`},""):String(me.body);return{path:de,submission:{formMethod:rt,formAction:mt,formEncType:me.formEncType,formData:void 0,json:void 0,text:vr}}}else if(me.formEncType==="application/json"){if(!Xr(rt))return _e();try{let vr=typeof me.body=="string"?JSON.parse(me.body):me.body;return{path:de,submission:{formMethod:rt,formAction:mt,formEncType:me.formEncType,formData:void 0,json:vr,text:void 0}}}catch{return _e()}}}m(typeof FormData=="function","FormData is not available in this environment");let Dt,zt;if(me.formData)Dt=Ft(me.formData),zt=me.formData;else if(me.body instanceof FormData)Dt=Ft(me.body),zt=me.body;else if(me.body instanceof URLSearchParams)Dt=me.body,zt=Rt(Dt);else if(me.body==null)Dt=new URLSearchParams,zt=new FormData;else try{Dt=new URLSearchParams(me.body),zt=Rt(Dt)}catch{return _e()}let Nt={formMethod:rt,formAction:mt,formEncType:me&&me.formEncType||"application/x-www-form-urlencoded",formData:zt,json:void 0,text:void 0};if(Xr(Nt.formMethod))return{path:de,submission:Nt};let xr=g(de);return oe&&xr.search&&Bn(xr.search)&&Dt.append("index",""),xr.search="?"+Dt,{path:d(xr),submission:Nt}}function ln(Z,oe){let de=Z;if(oe){let me=Z.findIndex(_e=>_e.route.id===oe);me>=0&&(de=Z.slice(0,me))}return de}function Jr(Z,oe,de,me,_e,ut,rt,mt,Dt,zt,Nt,xr,vr,sr,_r,Ar){let Er=Ar?Object.values(Ar)[0]:_r?Object.values(_r)[0]:void 0,fr=Z.createURL(oe.location),Lr=Z.createURL(_e),an=Ar?Object.keys(Ar)[0]:void 0,On=ln(de,an).filter((on,En)=>{let{route:wn}=on;if(wn.lazy)return!0;if(wn.loader==null)return!1;if(ut)return wn.loader.hydrate?!0:oe.loaderData[wn.id]===void 0&&(!oe.errors||oe.errors[wn.id]===void 0);if(Zr(oe.loaderData,oe.matches[En],on)||mt.some(ki=>ki===on.route.id))return!0;let Ni=oe.matches[En],wi=on;return Ot(on,u({currentUrl:fr,currentParams:Ni.params,nextUrl:Lr,nextParams:wi.params},me,{actionResult:Er,defaultShouldRevalidate:rt||fr.pathname+fr.search===Lr.pathname+Lr.search||fr.search!==Lr.search||St(Ni,wi)}))}),or=[];return Nt.forEach((on,En)=>{if(ut||!de.some(Ji=>Ji.route.id===on.routeId)||zt.has(En))return;let wn=K(vr,on.path,sr);if(!wn){or.push({key:En,routeId:on.routeId,path:on.path,matches:null,match:null,controller:null});return}let Ni=oe.fetchers.get(En),wi=Yn(wn,on.path),ki=!1;xr.has(En)?ki=!1:Dt.includes(En)?ki=!0:Ni&&Ni.state!=="idle"&&Ni.data===void 0?ki=rt:ki=Ot(wi,u({currentUrl:fr,currentParams:oe.matches[oe.matches.length-1].params,nextUrl:Lr,nextParams:de[de.length-1].params},me,{actionResult:Er,defaultShouldRevalidate:rt})),ki&&or.push({key:En,routeId:on.routeId,path:on.path,matches:wn,match:wi,controller:new AbortController})}),[On,or]}function Zr(Z,oe,de){let me=!oe||de.route.id!==oe.route.id,_e=Z[de.route.id]===void 0;return me||_e}function St(Z,oe){let de=Z.route.path;return Z.pathname!==oe.pathname||de!=null&&de.endsWith("*")&&Z.params["*"]!==oe.params["*"]}function Ot(Z,oe){if(Z.route.shouldRevalidate){let de=Z.route.shouldRevalidate(oe);if(typeof de=="boolean")return de}return oe.defaultShouldRevalidate}async function Pe(Z,oe,de){if(!Z.lazy)return;let me=await Z.lazy();if(!Z.lazy)return;let _e=de[Z.id];m(_e,"No route found in manifest");let ut={};for(let rt in me){let Dt=_e[rt]!==void 0&&rt!=="hasErrorBoundary";D(!Dt,'Route "'+_e.id+'" has a static property "'+rt+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+rt+'" will be ignored.')),!Dt&&!T.has(rt)&&(ut[rt]=me[rt])}Object.assign(_e,ut),Object.assign(_e,u({},oe(_e),{lazy:void 0}))}async function Ee(Z,oe,de,me,_e,ut,rt,mt,Dt){Dt===void 0&&(Dt={});let zt,Nt,xr,vr=Ar=>{let Er,fr=new Promise((Lr,an)=>Er=an);return xr=()=>Er(),oe.signal.addEventListener("abort",xr),Promise.race([Ar({request:oe,params:de.params,context:Dt.requestContext}),fr])};try{let Ar=de.route[Z];if(de.route.lazy)if(Ar){let Er,fr=await Promise.all([vr(Ar).catch(Lr=>{Er=Lr}),Pe(de.route,ut,_e)]);if(Er)throw Er;Nt=fr[0]}else if(await Pe(de.route,ut,_e),Ar=de.route[Z],Ar)Nt=await vr(Ar);else if(Z==="action"){let Er=new URL(oe.url),fr=Er.pathname+Er.search;throw Mt(405,{method:oe.method,pathname:fr,routeId:de.route.id})}else return{type:x.data,data:void 0};else if(Ar)Nt=await vr(Ar);else{let Er=new URL(oe.url),fr=Er.pathname+Er.search;throw Mt(404,{pathname:fr})}m(Nt!==void 0,"You defined "+(Z==="action"?"an action":"a loader")+" for route "+('"'+de.route.id+"\" but didn't return anything from your `"+Z+"` ")+"function. Please return a value or `null`.")}catch(Ar){zt=x.error,Nt=Ar}finally{xr&&oe.signal.removeEventListener("abort",xr)}if(gr(Nt)){let Ar=Nt.status;if(Pt.has(Ar)){let fr=Nt.headers.get("Location");if(m(fr,"Redirects returned/thrown from loaders/actions must have a Location header"),!wr.test(fr))fr=mn(new URL(oe.url),me.slice(0,me.indexOf(de)+1),rt,!0,fr,mt);else if(!Dt.isStaticRequest){let Lr=new URL(oe.url),an=fr.startsWith("//")?new URL(Lr.protocol+fr):new URL(fr),fn=Xe(an.pathname,rt)!=null;an.origin===Lr.origin&&fn&&(fr=an.pathname+an.search+an.hash)}if(Dt.isStaticRequest)throw Nt.headers.set("Location",fr),Nt;return{type:x.redirect,status:Ar,location:fr,revalidate:Nt.headers.get("X-Remix-Revalidate")!==null,reloadDocument:Nt.headers.get("X-Remix-Reload-Document")!==null}}if(Dt.isRouteRequest)throw{type:zt===x.error?x.error:x.data,response:Nt};let Er;try{let fr=Nt.headers.get("Content-Type");fr&&/\bapplication\/json\b/.test(fr)?Nt.body==null?Er=null:Er=await Nt.json():Er=await Nt.text()}catch(fr){return{type:x.error,error:fr}}return zt===x.error?{type:zt,error:new We(Ar,Nt.statusText,Er),headers:Nt.headers}:{type:x.data,data:Er,statusCode:Nt.status,headers:Nt.headers}}if(zt===x.error)return{type:zt,error:Nt};if(ar(Nt)){var sr,_r;return{type:x.deferred,deferredData:Nt,statusCode:(sr=Nt.init)==null?void 0:sr.status,headers:((_r=Nt.init)==null?void 0:_r.headers)&&new Headers(Nt.init.headers)}}return{type:x.data,data:Nt}}function Ue(Z,oe,de,me){let _e=Z.createURL(Se(oe)).toString(),ut={signal:de};if(me&&Xr(me.formMethod)){let{formMethod:rt,formEncType:mt}=me;ut.method=rt.toUpperCase(),mt==="application/json"?(ut.headers=new Headers({"Content-Type":mt}),ut.body=JSON.stringify(me.json)):mt==="text/plain"?ut.body=me.text:mt==="application/x-www-form-urlencoded"&&me.formData?ut.body=Ft(me.formData):ut.body=me.formData}return new Request(_e,ut)}function Ft(Z){let oe=new URLSearchParams;for(let[de,me]of Z.entries())oe.append(de,typeof me=="string"?me:me.name);return oe}function Rt(Z){let oe=new FormData;for(let[de,me]of Z.entries())oe.append(de,me);return oe}function ht(Z,oe,de,me,_e){let ut={},rt=null,mt,Dt=!1,zt={};return de.forEach((Nt,xr)=>{let vr=oe[xr].route.id;if(m(!At(Nt),"Cannot handle redirect results in processLoaderData"),rr(Nt)){let sr=Wt(Z,vr),_r=Nt.error;me&&(_r=Object.values(me)[0],me=void 0),rt=rt||{},rt[sr.route.id]==null&&(rt[sr.route.id]=_r),ut[vr]=void 0,Dt||(Dt=!0,mt=Ze(Nt.error)?Nt.error.status:500),Nt.headers&&(zt[vr]=Nt.headers)}else er(Nt)?(_e.set(vr,Nt.deferredData),ut[vr]=Nt.deferredData.data):ut[vr]=Nt.data,Nt.statusCode!=null&&Nt.statusCode!==200&&!Dt&&(mt=Nt.statusCode),Nt.headers&&(zt[vr]=Nt.headers)}),me&&(rt=me,ut[Object.keys(me)[0]]=void 0),{loaderData:ut,errors:rt,statusCode:mt||200,loaderHeaders:zt}}function br(Z,oe,de,me,_e,ut,rt,mt){let{loaderData:Dt,errors:zt}=ht(oe,de,me,_e,mt);for(let Nt=0;Ntme.route.id===oe)+1):[...Z]).reverse().find(me=>me.route.hasErrorBoundary===!0)||Z[0]}function yt(Z){let oe=Z.length===1?Z[0]:Z.find(de=>de.index||!de.path||de.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:oe}],route:oe}}function Mt(Z,oe){let{pathname:de,routeId:me,method:_e,type:ut}=oe===void 0?{}:oe,rt="Unknown Server Error",mt="Unknown @remix-run/router error";return Z===400?(rt="Bad Request",_e&&de&&me?mt="You made a "+_e+' request to "'+de+'" but '+('did not provide a `loader` for route "'+me+'", ')+"so there is no way to handle the request.":ut==="defer-action"?mt="defer() is not supported in actions":ut==="invalid-body"&&(mt="Unable to encode submission body")):Z===403?(rt="Forbidden",mt='Route "'+me+'" does not match URL "'+de+'"'):Z===404?(rt="Not Found",mt='No route matches URL "'+de+'"'):Z===405&&(rt="Method Not Allowed",_e&&de&&me?mt="You made a "+_e.toUpperCase()+' request to "'+de+'" but '+('did not provide an `action` for route "'+me+'", ')+"so there is no way to handle the request.":_e&&(mt='Invalid request method "'+_e.toUpperCase()+'"')),new We(Z||500,rt,new Error(mt),!0)}function Jt(Z){for(let oe=Z.length-1;oe>=0;oe--){let de=Z[oe];if(At(de))return{result:de,idx:oe}}}function Se(Z){let oe=typeof Z=="string"?g(Z):Z;return d(u({},oe,{hash:""}))}function qe(Z,oe){return Z.pathname!==oe.pathname||Z.search!==oe.search?!1:Z.hash===""?oe.hash!=="":Z.hash===oe.hash?!0:oe.hash!==""}function er(Z){return Z.type===x.deferred}function rr(Z){return Z.type===x.error}function At(Z){return(Z&&Z.type)===x.redirect}function ar(Z){let oe=Z;return oe&&typeof oe=="object"&&typeof oe.data=="object"&&typeof oe.subscribe=="function"&&typeof oe.cancel=="function"&&typeof oe.resolveData=="function"}function gr(Z){return Z!=null&&typeof Z.status=="number"&&typeof Z.statusText=="string"&&typeof Z.headers=="object"&&typeof Z.body<"u"}function dr(Z){if(!gr(Z))return!1;let oe=Z.status,de=Z.headers.get("Location");return oe>=300&&oe<=399&&de!=null}function Ur(Z){return Z&&gr(Z.response)&&(Z.type===x.data||Z.type===x.error)}function Pr(Z){return vt.has(Z.toLowerCase())}function Xr(Z){return lt.has(Z.toLowerCase())}async function un(Z,oe,de,me,_e,ut){for(let rt=0;rtxr.route.id===Dt.route.id),Nt=zt!=null&&!St(zt,Dt)&&(ut&&ut[Dt.route.id])!==void 0;if(er(mt)&&(_e||Nt)){let xr=me[rt];m(xr,"Expected an AbortSignal for revalidating fetcher deferred result"),await qr(mt,xr,_e).then(vr=>{vr&&(de[rt]=vr||de[rt])})}}}async function qr(Z,oe,de){if(de===void 0&&(de=!1),!await Z.deferredData.resolveData(oe)){if(de)try{return{type:x.data,data:Z.deferredData.unwrappedData}}catch(_e){return{type:x.error,error:_e}}return{type:x.data,data:Z.deferredData.data}}}function Bn(Z){return new URLSearchParams(Z).getAll("index").some(oe=>oe==="")}function Yn(Z,oe){let de=typeof oe=="string"?g(oe).search:oe.search;if(Z[Z.length-1].route.index&&Bn(de||""))return Z[Z.length-1];let me=ue(Z);return me[me.length-1]}function ni(Z){let{formMethod:oe,formAction:de,formEncType:me,text:_e,formData:ut,json:rt}=Z;if(!(!oe||!de||!me)){if(_e!=null)return{formMethod:oe,formAction:de,formEncType:me,formData:void 0,json:void 0,text:_e};if(ut!=null)return{formMethod:oe,formAction:de,formEncType:me,formData:ut,json:void 0,text:void 0};if(rt!==void 0)return{formMethod:oe,formAction:de,formEncType:me,formData:void 0,json:rt,text:void 0}}}function li(Z,oe){return oe?{state:"loading",location:Z,formMethod:oe.formMethod,formAction:oe.formAction,formEncType:oe.formEncType,formData:oe.formData,json:oe.json,text:oe.text}:{state:"loading",location:Z,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Qn(Z,oe){return{state:"submitting",location:Z,formMethod:oe.formMethod,formAction:oe.formAction,formEncType:oe.formEncType,formData:oe.formData,json:oe.json,text:oe.text}}function ui(Z,oe){return Z?{state:"loading",formMethod:Z.formMethod,formAction:Z.formAction,formEncType:Z.formEncType,formData:Z.formData,json:Z.json,text:Z.text,data:oe}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:oe}}function pi(Z,oe){return{state:"submitting",formMethod:Z.formMethod,formAction:Z.formAction,formEncType:Z.formEncType,formData:Z.formData,json:Z.json,text:Z.text,data:oe?oe.data:void 0}}function Dn(Z){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:Z}}function Li(Z,oe){try{let de=Z.sessionStorage.getItem(tr);if(de){let me=JSON.parse(de);for(let[_e,ut]of Object.entries(me||{}))ut&&Array.isArray(ut)&&oe.set(_e,new Set(ut||[]))}}catch{}}function Mi(Z,oe){if(oe.size>0){let de={};for(let[me,_e]of oe)de[me]=[..._e];try{Z.sessionStorage.setItem(tr,JSON.stringify(de))}catch(me){D(!1,"Failed to save applied view transitions in sessionStorage ("+me+").")}}}/**
 * React Router DOM v6.22.3
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */function ci(){return ci=Object.assign?Object.assign.bind():function(Z){for(var oe=1;oe=0)&&(de[_e]=Z[_e]);return de}const ai="get",Ui="application/x-www-form-urlencoded";function Ei(Z){return Z!=null&&typeof Z.tagName=="string"}function Hi(Z){return Ei(Z)&&Z.tagName.toLowerCase()==="button"}function $n(Z){return Ei(Z)&&Z.tagName.toLowerCase()==="form"}function st(Z){return Ei(Z)&&Z.tagName.toLowerCase()==="input"}function Tt(Z){return!!(Z.metaKey||Z.altKey||Z.ctrlKey||Z.shiftKey)}function Sr(Z,oe){return Z.button===0&&(!oe||oe==="_self")&&!Tt(Z)}function kr(Z){return Z===void 0&&(Z=""),new URLSearchParams(typeof Z=="string"||Array.isArray(Z)||Z instanceof URLSearchParams?Z:Object.keys(Z).reduce((oe,de)=>{let me=Z[de];return oe.concat(Array.isArray(me)?me.map(_e=>[de,_e]):[[de,me]])},[]))}function Pn(Z,oe){let de=kr(Z);return oe&&oe.forEach((me,_e)=>{de.has(_e)||oe.getAll(_e).forEach(ut=>{de.append(_e,ut)})}),de}let en=null;function Cn(){if(en===null)try{new FormData(document.createElement("form"),0),en=!1}catch{en=!0}return en}const ri=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function di(Z){return Z!=null&&!ri.has(Z)?null:Z}function $i(Z,oe){let de,me,_e,ut,rt;if($n(Z)){let mt=Z.getAttribute("action");me=mt?stripBasename(mt,oe):null,de=Z.getAttribute("method")||ai,_e=di(Z.getAttribute("enctype"))||Ui,ut=new FormData(Z)}else if(Hi(Z)||st(Z)&&(Z.type==="submit"||Z.type==="image")){let mt=Z.form;if(mt==null)throw new Error('Cannot submit a ',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1}}function F(pe){u&&u(pe)}function K(pe){var ie=ee(),we=pe.iconClass||ie.iconClass;if(typeof pe.optionsOverride<"u"&&(ie=s.extend(ie,pe.optionsOverride),we=pe.optionsOverride.iconClass||we),J(ie,pe))return;A++,h=m(ie,!0);var Ce=null,Ne=s("
"),B=s("
"),k=s("
"),W=s("
"),q=s(ie.closeHtml),Q={intervalId:null,hideEta:null,maxHideTime:null},re={toastId:A,state:"visible",startTime:new Date,options:ie,map:pe};return ge(),Ke(),Qe(),F(re),ie.debug&&console&&console.log(re),Ne;function te(j){return j==null&&(j=""),j.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function ge(){Xe(),it(),Ie(),ue(),Le(),je(),dt(),Fe()}function Fe(){var j="";switch(pe.iconClass){case"toast-success":case"toast-info":j="polite";break;default:j="assertive"}Ne.attr("aria-live",j)}function Qe(){ie.closeOnHover&&Ne.hover(U,G),!ie.onclick&&ie.tapToDismiss&&Ne.click($),ie.closeButton&&q&&q.click(function(j){j.stopPropagation?j.stopPropagation():j.cancelBubble!==void 0&&j.cancelBubble!==!0&&(j.cancelBubble=!0),ie.onCloseClick&&ie.onCloseClick(j),$(!0)}),ie.onclick&&Ne.click(function(j){ie.onclick(j),$()})}function Ke(){Ne.hide(),Ne[ie.showMethod]({duration:ie.showDuration,easing:ie.showEasing,complete:ie.onShown}),ie.timeOut>0&&(Ce=setTimeout($,ie.timeOut),Q.maxHideTime=parseFloat(ie.timeOut),Q.hideEta=new Date().getTime()+Q.maxHideTime,ie.progressBar&&(Q.intervalId=setInterval(L,10)))}function Xe(){pe.iconClass&&Ne.addClass(ie.toastClass).addClass(we)}function dt(){ie.newestOnTop?h.prepend(Ne):h.append(Ne)}function it(){if(pe.title){var j=pe.title;ie.escapeHtml&&(j=te(pe.title)),B.append(j).addClass(ie.titleClass),Ne.append(B)}}function Ie(){if(pe.message){var j=pe.message;ie.escapeHtml&&(j=te(pe.message)),k.append(j).addClass(ie.messageClass),Ne.append(k)}}function ue(){ie.closeButton&&(q.addClass(ie.closeClass).attr("role","button"),Ne.prepend(q))}function Le(){ie.progressBar&&(W.addClass(ie.progressClass),Ne.prepend(W))}function je(){ie.rtl&&Ne.addClass("rtl")}function J(j,le){if(j.preventDuplicates){if(le.message===C)return!0;C=le.message}return!1}function $(j){var le=j&&ie.closeMethod!==!1?ie.closeMethod:ie.hideMethod,Te=j&&ie.closeDuration!==!1?ie.closeDuration:ie.hideDuration,Je=j&&ie.closeEasing!==!1?ie.closeEasing:ie.hideEasing;if(!(s(":focus",Ne).length&&!j))return clearTimeout(Q.intervalId),Ne[le]({duration:Te,easing:Je,complete:function(){he(Ne),clearTimeout(Ce),ie.onHidden&&re.state!=="hidden"&&ie.onHidden(),re.state="hidden",re.endTime=new Date,F(re)}})}function G(){(ie.timeOut>0||ie.extendedTimeOut>0)&&(Ce=setTimeout($,ie.extendedTimeOut),Q.maxHideTime=parseFloat(ie.extendedTimeOut),Q.hideEta=new Date().getTime()+Q.maxHideTime)}function U(){clearTimeout(Ce),Q.hideEta=0,Ne.stop(!0,!0)[ie.showMethod]({duration:ie.showDuration,easing:ie.showEasing})}function L(){var j=(Q.hideEta-new Date().getTime())/Q.maxHideTime*100;W.width(j+"%")}}function ee(){return s.extend({},O(),l.options)}function he(pe){h||(h=m()),!pe.is(":visible")&&(pe.remove(),pe=null,h.children().length===0&&(h.remove(),C=void 0))}}()}.apply(v,n),o!==void 0&&(I.exports=o)})(t.amdD)},yjdIzlkZ:function(I,v,t){var n,o,n,o;/*! * typeahead.js 0.11.1 * https://github.com/twitter/typeahead.js * Copyright 2013-2015 Twitter, Inc. and other contributors; Licensed MIT */(function(r,s){n=[t("kqAR+wt5")],o=function(h){return r.Bloodhound=s(h)}.apply(v,n),o!==void 0&&(I.exports=o)})(this,function(r){var s=function(){"use strict";return{isMsie:function(){return/(msie|trident)/i.test(navigator.userAgent)?navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]:!1},isBlankString:function(p){return!p||/^\s*$/.test(p)},escapeRegExChars:function(p){return p.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(p){return typeof p=="string"},isNumber:function(p){return typeof p=="number"},isArray:r.isArray,isFunction:r.isFunction,isObject:r.isPlainObject,isUndefined:function(p){return typeof p>"u"},isElement:function(p){return!!(p&&p.nodeType===1)},isJQuery:function(p){return p instanceof r},toStr:function(c){return s.isUndefined(c)||c===null?"":c+""},bind:r.proxy,each:function(p,c){r.each(p,d);function d(g,w){return c(w,g)}},map:r.map,filter:r.grep,every:function(p,c){var d=!0;return p?(r.each(p,function(g,w){if(!(d=c.call(null,w,g,p)))return!1}),!!d):d},some:function(p,c){var d=!1;return p?(r.each(p,function(g,w){if(d=c.call(null,w,g,p))return!1}),!!d):d},mixin:r.extend,identity:function(p){return p},clone:function(p){return r.extend(!0,{},p)},getIdGenerator:function(){var p=0;return function(){return p++}},templatify:function(c){return r.isFunction(c)?c:d;function d(){return String(c)}},defer:function(p){setTimeout(p,0)},debounce:function(p,c,d){var g,w;return function(){var x=this,T=arguments,O,F;return O=function(){g=null,d||(w=p.apply(x,T))},F=d&&!g,clearTimeout(g),g=setTimeout(O,c),F&&(w=p.apply(x,T)),w}},throttle:function(p,c){var d,g,w,x,T,O;return T=0,O=function(){T=new Date,w=null,x=p.apply(d,g)},function(){var F=new Date,K=c-(F-T);return d=this,g=arguments,K<=0?(clearTimeout(w),w=null,T=F,x=p.apply(d,g)):w||(w=setTimeout(O,K)),x}},stringify:function(p){return s.isString(p)?p:JSON.stringify(p)},noop:function(){}}}(),h="0.11.1",u=function(){"use strict";return{nonword:c,whitespace:p,obj:{nonword:d(c),whitespace:d(p)}};function p(g){return g=s.toStr(g),g?g.split(/\s+/):[]}function c(g){return g=s.toStr(g),g?g.split(/\W+/):[]}function d(g){return function(x){return x=s.isArray(x)?x:[].slice.call(arguments,0),function(O){var F=[];return s.each(x,function(K){F=F.concat(g(s.toStr(O[K])))}),F}}}}(),A=function(){"use strict";function p(g){this.maxSize=s.isNumber(g)?g:100,this.reset(),this.maxSize<=0&&(this.set=this.get=r.noop)}s.mixin(p.prototype,{set:function(w,x){var T=this.list.tail,O;this.size>=this.maxSize&&(this.list.remove(T),delete this.hash[T.key],this.size--),(O=this.hash[w])?(O.val=x,this.list.moveToFront(O)):(O=new d(w,x),this.list.add(O),this.hash[w]=O,this.size++)},get:function(w){var x=this.hash[w];if(x)return this.list.moveToFront(x),x.val},reset:function(){this.size=0,this.hash={},this.list=new c}});function c(){this.head=this.tail=null}s.mixin(c.prototype,{add:function(w){this.head&&(w.next=this.head,this.head.prev=w),this.head=w,this.tail=this.tail||w},remove:function(w){w.prev?w.prev.next=w.next:this.head=w.next,w.next?w.next.prev=w.prev:this.tail=w.prev},moveToFront:function(g){this.remove(g),this.add(g)}});function d(g,w){this.key=g,this.val=w,this.prev=this.next=null}return p}(),S=function(){"use strict";var p;try{p=window.localStorage,p.setItem("~~~","!"),p.removeItem("~~~")}catch{p=null}function c(T,O){this.prefix=["__",T,"__"].join(""),this.ttlKey="__ttl__",this.keyMatcher=new RegExp("^"+s.escapeRegExChars(this.prefix)),this.ls=O||p,!this.ls&&this._noop()}return s.mixin(c.prototype,{_prefix:function(T){return this.prefix+T},_ttlKey:function(T){return this._prefix(T)+this.ttlKey},_noop:function(){this.get=this.set=this.remove=this.clear=this.isExpired=s.noop},_safeSet:function(T,O){try{this.ls.setItem(T,O)}catch(F){F.name==="QuotaExceededError"&&(this.clear(),this._noop())}},get:function(T){return this.isExpired(T)&&this.remove(T),w(this.ls.getItem(this._prefix(T)))},set:function(T,O,F){return s.isNumber(F)?this._safeSet(this._ttlKey(T),g(d()+F)):this.ls.removeItem(this._ttlKey(T)),this._safeSet(this._prefix(T),g(O))},remove:function(T){return this.ls.removeItem(this._ttlKey(T)),this.ls.removeItem(this._prefix(T)),this},clear:function(){var T,O=x(this.keyMatcher);for(T=O.length;T--;)this.remove(O[T]);return this},isExpired:function(T){var O=w(this.ls.getItem(this._ttlKey(T)));return!!(s.isNumber(O)&&d()>O)}}),c;function d(){return new Date().getTime()}function g(T){return JSON.stringify(s.isUndefined(T)?null:T)}function w(T){return r.parseJSON(T)}function x(T){var O,F,K=[],ee=p.length;for(O=0;OF[ee]||(he.push(O[K]),K++),ee++);return he}}(),b=function(){"use strict";var p;p={data:"data",protocol:"protocol",thumbprint:"thumbprint"};function c(d){this.url=d.url,this.ttl=d.ttl,this.cache=d.cache,this.prepare=d.prepare,this.transform=d.transform,this.transport=d.transport,this.thumbprint=d.thumbprint,this.storage=new S(d.cacheKey)}return s.mixin(c.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},store:function(g){this.cache&&(this.storage.set(p.data,g,this.ttl),this.storage.set(p.protocol,location.protocol,this.ttl),this.storage.set(p.thumbprint,this.thumbprint,this.ttl))},fromCache:function(){var g={},w;return this.cache?(g.data=this.storage.get(p.data),g.protocol=this.storage.get(p.protocol),g.thumbprint=this.storage.get(p.thumbprint),w=g.thumbprint!==this.thumbprint||g.protocol!==location.protocol,g.data&&!w?g.data:null):null},fromNetwork:function(d){var g=this,w;if(!d)return;w=this.prepare(this._settings()),this.transport(w).fail(x).done(T);function x(){d(!0)}function T(O){d(null,g.transform(O))}},clear:function(){return this.storage.clear(),this}}),c}(),m=function(){"use strict";function p(c){this.url=c.url,this.prepare=c.prepare,this.transform=c.transform,this.transport=new l({cache:c.cache,limiter:c.limiter,transport:c.transport})}return s.mixin(p.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},get:function(d,g){var w=this,x;if(!g)return;return d=d||"",x=this.prepare(d,this._settings()),this.transport.get(x,T);function T(O,F){g(O?[]:w.transform(F))}},cancelLastRequest:function(){this.transport.cancel()}}),p}(),D=function(){"use strict";return function(T){var O,F;return O={initialize:!0,identify:s.stringify,datumTokenizer:null,queryTokenizer:null,sufficient:5,sorter:null,local:[],prefetch:null,remote:null},T=s.mixin(O,T||{}),!T.datumTokenizer&&r.error("datumTokenizer is required"),!T.queryTokenizer&&r.error("queryTokenizer is required"),F=T.sorter,T.sorter=F?function(K){return K.sort(F)}:s.identity,T.local=s.isFunction(T.local)?T.local():T.local,T.prefetch=p(T.prefetch),T.remote=c(T.remote),T};function p(x){var T;return x?(T={url:null,ttl:24*60*60*1e3,cache:!0,cacheKey:null,thumbprint:"",prepare:s.identity,transform:s.identity,transport:null},x=s.isString(x)?{url:x}:x,x=s.mixin(T,x),!x.url&&r.error("prefetch requires url to be set"),x.transform=x.filter||x.transform,x.cacheKey=x.cacheKey||x.url,x.thumbprint=h+x.thumbprint,x.transport=x.transport?w(x.transport):r.ajax,x):null}function c(x){var T;if(x)return T={url:null,cache:!0,prepare:null,replace:null,wildcard:null,limiter:null,rateLimitBy:"debounce",rateLimitWait:300,transform:s.identity,transport:null},x=s.isString(x)?{url:x}:x,x=s.mixin(T,x),!x.url&&r.error("remote requires url to be set"),x.transform=x.filter||x.transform,x.prepare=d(x),x.limiter=g(x),x.transport=x.transport?w(x.transport):r.ajax,delete x.replace,delete x.wildcard,delete x.rateLimitBy,delete x.rateLimitWait,x}function d(x){var T,O,F;if(T=x.prepare,O=x.replace,F=x.wildcard,T)return T;return O?T=K:x.wildcard?T=ee:T=he,T;function K(pe,ie){return ie.url=O(ie.url,pe),ie}function ee(pe,ie){return ie.url=ie.url.replace(F,encodeURIComponent(pe)),ie}function he(pe,ie){return ie}}function g(x){var T,O,F;return T=x.limiter,O=x.rateLimitBy,F=x.rateLimitWait,T||(T=/^throttle$/i.test(O)?ee(F):K(F)),T;function K(he){return function(ie){return s.debounce(ie,he)}}function ee(he){return function(ie){return s.throttle(ie,he)}}}function w(x){return function(O){var F=r.Deferred();return x(O,K,ee),F;function K(he){s.defer(function(){F.resolve(he)})}function ee(he){s.defer(function(){F.reject(he)})}}}}(),f=function(){"use strict";var p;p=window&&window.Bloodhound;function c(d){d=D(d),this.sorter=d.sorter,this.identify=d.identify,this.sufficient=d.sufficient,this.local=d.local,this.remote=d.remote?new m(d.remote):null,this.prefetch=d.prefetch?new b(d.prefetch):null,this.index=new C({identify:this.identify,datumTokenizer:d.datumTokenizer,queryTokenizer:d.queryTokenizer}),d.initialize!==!1&&this.initialize()}return c.noConflict=function(){return window&&(window.Bloodhound=p),c},c.tokenizers=u,s.mixin(c.prototype,{__ttAdapter:function(){var g=this;return this.remote?w:x;function w(T,O,F){return g.search(T,O,F)}function x(T,O){return g.search(T,O)}},_loadPrefetch:function(){var g=this,w,x;return w=r.Deferred(),this.prefetch?(x=this.prefetch.fromCache())?(this.index.bootstrap(x),w.resolve()):this.prefetch.fromNetwork(T):w.resolve(),w.promise();function T(O,F){if(O)return w.reject();g.add(F),g.prefetch.store(g.index.serialize()),w.resolve()}},_initialize:function(){var g=this,w;return this.clear(),(this.initPromise=this._loadPrefetch()).done(x),this.initPromise;function x(){g.add(g.local)}},initialize:function(g){return!this.initPromise||g?this._initialize():this.initPromise},add:function(g){return this.index.add(g),this},get:function(g){return g=s.isArray(g)?g:[].slice.call(arguments),this.index.get(g)},search:function(g,w,x){var T=this,O;return O=this.sorter(this.index.search(g)),w(this.remote?O.slice():O),this.remote&&O.length"u"},isElement:function(f){return!!(f&&f.nodeType===1)},isJQuery:function(f){return f instanceof r},toStr:function(p){return s.isUndefined(p)||p===null?"":p+""},bind:r.proxy,each:function(f,p){r.each(f,c);function c(d,g){return p(g,d)}},map:r.map,filter:r.grep,every:function(f,p){var c=!0;return f?(r.each(f,function(d,g){if(!(c=p.call(null,g,d,f)))return!1}),!!c):c},some:function(f,p){var c=!1;return f?(r.each(f,function(d,g){if(c=p.call(null,g,d,f))return!1}),!!c):c},mixin:r.extend,identity:function(f){return f},clone:function(f){return r.extend(!0,{},f)},getIdGenerator:function(){var f=0;return function(){return f++}},templatify:function(p){return r.isFunction(p)?p:c;function c(){return String(p)}},defer:function(f){setTimeout(f,0)},debounce:function(f,p,c){var d,g;return function(){var w=this,x=arguments,T,O;return T=function(){d=null,c||(g=f.apply(w,x))},O=c&&!d,clearTimeout(d),d=setTimeout(T,p),O&&(g=f.apply(w,x)),g}},throttle:function(f,p){var c,d,g,w,x,T;return x=0,T=function(){x=new Date,g=null,w=f.apply(c,d)},function(){var O=new Date,F=p-(O-x);return c=this,d=arguments,F<=0?(clearTimeout(g),g=null,x=O,w=f.apply(c,d)):g||(g=setTimeout(T,F)),w}},stringify:function(f){return s.isString(f)?f:JSON.stringify(f)},noop:function(){}}}(),h=function(){"use strict";var f={wrapper:"twitter-typeahead",input:"tt-input",hint:"tt-hint",menu:"tt-menu",dataset:"tt-dataset",suggestion:"tt-suggestion",selectable:"tt-selectable",empty:"tt-empty",open:"tt-open",cursor:"tt-cursor",highlight:"tt-highlight"};return p;function p(w){var x,T;return T=s.mixin({},f,w),x={css:g(),classes:T,html:c(T),selectors:d(T)},{css:x.css,html:x.html,classes:x.classes,selectors:x.selectors,mixin:function(O){s.mixin(O,x)}}}function c(w){return{wrapper:'',menu:'
'}}function d(w){var x={};return s.each(w,function(T,O){x[O]="."+T}),x}function g(){var w={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},menu:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};return s.isMsie()&&s.mixin(w.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),w}}(),u=function(){"use strict";var f,p;f="typeahead:",p={render:"rendered",cursorchange:"cursorchanged",select:"selected",autocomplete:"autocompleted"};function c(d){(!d||!d.el)&&r.error("EventBus initialized without el"),this.$el=r(d.el)}return s.mixin(c.prototype,{_trigger:function(d,g){var w;return w=r.Event(f+d),(g=g||[]).unshift(w),this.$el.trigger.apply(this.$el,g),w},before:function(d){var g,w;return g=[].slice.call(arguments,1),w=this._trigger("before"+d,g),w.isDefaultPrevented()},trigger:function(d){var g;this._trigger(d,[].slice.call(arguments,1)),(g=p[d])&&this._trigger(g,[].slice.call(arguments,1))}}),c}(),A=function(){"use strict";var f=/\s+/,p=O();return{onSync:g,onAsync:d,off:w,trigger:x};function c(K,ee,he,pe){var ie;if(!he)return this;for(ee=ee.split(f),he=pe?F(he,pe):he,this._callbacks=this._callbacks||{};ie=ee.shift();)this._callbacks[ie]=this._callbacks[ie]||{sync:[],async:[]},this._callbacks[ie][K].push(he);return this}function d(K,ee,he){return c.call(this,"async",K,ee,he)}function g(K,ee,he){return c.call(this,"sync",K,ee,he)}function w(K){var ee;if(!this._callbacks)return this;for(K=K.split(f);ee=K.shift();)delete this._callbacks[ee];return this}function x(K){var ee,he,pe,ie,we;if(!this._callbacks)return this;for(K=K.split(f),pe=[].slice.call(arguments,1);(ee=K.shift())&&(he=this._callbacks[ee]);)ie=T(he.sync,this,[ee].concat(pe)),we=T(he.async,this,[ee].concat(pe)),ie()&&p(we);return this}function T(K,ee,he){return pe;function pe(){for(var ie,we=0,Ce=K.length;!ie&&we9?this.$input.on("input.tt",F):this.$input.on("keydown.tt keypress.tt cut.tt paste.tt",function(K){f[K.which||K.keyCode]||s.defer(s.bind(w._onInput,w,K))}),this},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getLangDir:function(){return this.dir},getQuery:function(){return this.query||""},setQuery:function(x,T){this.setInputValue(x),this._setQuery(x,T)},hasQueryChangedSinceLastFocus:function(){return this.query!==this.queryWhenFocused},getInputValue:function(){return this.$input.val()},setInputValue:function(x){this.$input.val(x),this.clearHintIfInvalid(),this._checkLanguageDirection()},resetInputValue:function(){this.setInputValue(this.query)},getHint:function(){return this.$hint.val()},setHint:function(x){this.$hint.val(x)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var x,T,O,F;x=this.getInputValue(),T=this.getHint(),O=x!==T&&T.indexOf(x)===0,F=x!==""&&O&&!this.hasOverflow(),!F&&this.clearHint()},hasFocus:function(){return this.$input.is(":focus")},hasOverflow:function(){var x=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=x},isCursorAtEnd:function(){var w,x,T;return w=this.$input.val().length,x=this.$input[0].selectionStart,s.isNumber(x)?x===w:document.selection?(T=document.selection.createRange(),T.moveStart("character",-w),w===T.text.length):!0},destroy:function(){this.$hint.off(".tt"),this.$input.off(".tt"),this.$overflowHelper.remove(),this.$hint=this.$input=this.$overflowHelper=r("
")}}),p;function c(w){return r('').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:w.css("font-family"),fontSize:w.css("font-size"),fontStyle:w.css("font-style"),fontVariant:w.css("font-variant"),fontWeight:w.css("font-weight"),wordSpacing:w.css("word-spacing"),letterSpacing:w.css("letter-spacing"),textIndent:w.css("text-indent"),textRendering:w.css("text-rendering"),textTransform:w.css("text-transform")}).insertAfter(w)}function d(w,x){return p.normalizeQuery(w)===p.normalizeQuery(x)}function g(w){return w.altKey||w.ctrlKey||w.metaKey||w.shiftKey}}(),C=function(){"use strict";var f,p;f={val:"tt-selectable-display",obj:"tt-selectable-object"},p=s.getIdGenerator();function c(x,T){x=x||{},x.templates=x.templates||{},x.templates.notFound=x.templates.notFound||x.templates.empty,x.source||r.error("missing source"),x.node||r.error("missing node"),x.name&&!w(x.name)&&r.error("invalid dataset name: "+x.name),T.mixin(this),this.highlight=!!x.highlight,this.name=x.name||p(),this.limit=x.limit||5,this.displayFn=d(x.display||x.displayKey),this.templates=g(x.templates,this.displayFn),this.source=x.source.__ttAdapter?x.source.__ttAdapter():x.source,this.async=s.isUndefined(x.async)?this.source.length>2:!!x.async,this._resetLastSuggestion(),this.$el=r(x.node).addClass(this.classes.dataset).addClass(this.classes.dataset+"-"+this.name)}return c.extractData=function(T){var O=r(T);return O.data(f.obj)?{val:O.data(f.val)||"",obj:O.data(f.obj)||null}:null},s.mixin(c.prototype,A,{_overwrite:function(T,O){O=O||[],O.length?this._renderSuggestions(T,O):this.async&&this.templates.pending?this._renderPending(T):!this.async&&this.templates.notFound?this._renderNotFound(T):this._empty(),this.trigger("rendered",this.name,O,!1)},_append:function(T,O){O=O||[],O.length&&this.$lastSuggestion.length?this._appendSuggestions(T,O):O.length?this._renderSuggestions(T,O):!this.$lastSuggestion.length&&this.templates.notFound&&this._renderNotFound(T),this.trigger("rendered",this.name,O,!0)},_renderSuggestions:function(T,O){var F;F=this._getSuggestionsFragment(T,O),this.$lastSuggestion=F.children().last(),this.$el.html(F).prepend(this._getHeader(T,O)).append(this._getFooter(T,O))},_appendSuggestions:function(T,O){var F,K;F=this._getSuggestionsFragment(T,O),K=F.children().last(),this.$lastSuggestion.after(F),this.$lastSuggestion=K},_renderPending:function(T){var O=this.templates.pending;this._resetLastSuggestion(),O&&this.$el.html(O({query:T,dataset:this.name}))},_renderNotFound:function(T){var O=this.templates.notFound;this._resetLastSuggestion(),O&&this.$el.html(O({query:T,dataset:this.name}))},_empty:function(){this.$el.empty(),this._resetLastSuggestion()},_getSuggestionsFragment:function(T,O){var F=this,K;return K=document.createDocumentFragment(),s.each(O,function(he){var pe,ie;ie=F._injectQuery(T,he),pe=r(F.templates.suggestion(ie)).data(f.obj,he).data(f.val,F.displayFn(he)).addClass(F.classes.suggestion+" "+F.classes.selectable),K.appendChild(pe[0])}),this.highlight&&S({className:this.classes.highlight,node:K,pattern:T}),r(K)},_getFooter:function(T,O){return this.templates.footer?this.templates.footer({query:T,suggestions:O,dataset:this.name}):null},_getHeader:function(T,O){return this.templates.header?this.templates.header({query:T,suggestions:O,dataset:this.name}):null},_resetLastSuggestion:function(){this.$lastSuggestion=r()},_injectQuery:function(T,O){return s.isObject(O)?s.mixin({_query:T},O):O},update:function(T){var O=this,F=!1,K=!1,ee=0;this.cancel(),this.cancel=function(){F=!0,O.cancel=r.noop,O.async&&O.trigger("asyncCanceled",T)},this.source(T,he,pe),!K&&he([]);function he(ie){K||(K=!0,ie=(ie||[]).slice(0,O.limit),ee=ie.length,O._overwrite(T,ie),ee")}}),c;function d(x){return x=x||s.stringify,s.isFunction(x)?x:T;function T(O){return O[x]}}function g(x,T){return{notFound:x.notFound&&s.templatify(x.notFound),pending:x.pending&&s.templatify(x.pending),header:x.header&&s.templatify(x.header),footer:x.footer&&s.templatify(x.footer),suggestion:x.suggestion||O};function O(F){return r("
").text(T(F))}}function w(x){return/^[_a-zA-Z0-9-]+$/.test(x)}}(),b=function(){"use strict";function f(p,c){var d=this;p=p||{},p.node||r.error("node is required"),c.mixin(this),this.$node=r(p.node),this.query=null,this.datasets=s.map(p.datasets,g);function g(w){var x=d.$node.find(w.node).first();return w.node=x.length?x:r("
").appendTo(d.$node),new C(w,c)}}return s.mixin(f.prototype,A,{_onSelectableClick:function(c){this.trigger("selectableClicked",r(c.currentTarget))},_onRendered:function(c,d,g,w){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetRendered",d,g,w)},_onCleared:function(){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetCleared")},_propagate:function(){this.trigger.apply(this,arguments)},_allDatasetsEmpty:function(){return s.every(this.datasets,c);function c(d){return d.isEmpty()}},_getSelectables:function(){return this.$node.find(this.selectors.selectable)},_removeCursor:function(){var c=this.getActiveSelectable();c&&c.removeClass(this.classes.cursor)},_ensureVisible:function(c){var d,g,w,x;d=c.position().top,g=d+c.outerHeight(!0),w=this.$node.scrollTop(),x=this.$node.height()+parseInt(this.$node.css("paddingTop"),10)+parseInt(this.$node.css("paddingBottom"),10),d<0?this.$node.scrollTop(w+d):x"),s.each(this.datasets,c);function c(d){d.destroy()}}}),f}(),m=function(){"use strict";var f=b.prototype;function p(){b.apply(this,[].slice.call(arguments,0))}return s.mixin(p.prototype,b.prototype,{open:function(){return!this._allDatasetsEmpty()&&this._show(),f.open.apply(this,[].slice.call(arguments,0))},close:function(){return this._hide(),f.close.apply(this,[].slice.call(arguments,0))},_onRendered:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),f._onRendered.apply(this,[].slice.call(arguments,0))},_onCleared:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),f._onCleared.apply(this,[].slice.call(arguments,0))},setLanguageDirection:function(d){return this.$node.css(d==="ltr"?this.css.ltr:this.css.rtl),f.setLanguageDirection.apply(this,[].slice.call(arguments,0))},_hide:function(){this.$node.hide()},_show:function(){this.$node.css("display","block")}}),p}(),D=function(){"use strict";function f(c,d){var g,w,x,T,O,F,K,ee,he,pe,ie;c=c||{},c.input||r.error("missing input"),c.menu||r.error("missing menu"),c.eventBus||r.error("missing event bus"),d.mixin(this),this.eventBus=c.eventBus,this.minLength=s.isNumber(c.minLength)?c.minLength:1,this.input=c.input,this.menu=c.menu,this.enabled=!0,this.active=!1,this.input.hasFocus()&&this.activate(),this.dir=this.input.getLangDir(),this._hacks(),this.menu.bind().onSync("selectableClicked",this._onSelectableClicked,this).onSync("asyncRequested",this._onAsyncRequested,this).onSync("asyncCanceled",this._onAsyncCanceled,this).onSync("asyncReceived",this._onAsyncReceived,this).onSync("datasetRendered",this._onDatasetRendered,this).onSync("datasetCleared",this._onDatasetCleared,this),g=p(this,"activate","open","_onFocused"),w=p(this,"deactivate","_onBlurred"),x=p(this,"isActive","isOpen","_onEnterKeyed"),T=p(this,"isActive","isOpen","_onTabKeyed"),O=p(this,"isActive","_onEscKeyed"),F=p(this,"isActive","open","_onUpKeyed"),K=p(this,"isActive","open","_onDownKeyed"),ee=p(this,"isActive","isOpen","_onLeftKeyed"),he=p(this,"isActive","isOpen","_onRightKeyed"),pe=p(this,"_openIfActive","_onQueryChanged"),ie=p(this,"_openIfActive","_onWhitespaceChanged"),this.input.bind().onSync("focused",g,this).onSync("blurred",w,this).onSync("enterKeyed",x,this).onSync("tabKeyed",T,this).onSync("escKeyed",O,this).onSync("upKeyed",F,this).onSync("downKeyed",K,this).onSync("leftKeyed",ee,this).onSync("rightKeyed",he,this).onSync("queryChanged",pe,this).onSync("whitespaceChanged",ie,this).onSync("langDirChanged",this._onLangDirChanged,this)}return s.mixin(f.prototype,{_hacks:function(){var d,g;d=this.input.$input||r("
"),g=this.menu.$node||r("
"),d.on("blur.tt",function(w){var x,T,O;x=document.activeElement,T=g.is(x),O=g.has(x).length>0,s.isMsie()&&(T||O)&&(w.preventDefault(),w.stopImmediatePropagation(),s.defer(function(){d.focus()}))}),g.on("mousedown.tt",function(w){w.preventDefault()})},_onSelectableClicked:function(d,g){this.select(g)},_onDatasetCleared:function(){this._updateHint()},_onDatasetRendered:function(d,g,w,x){this._updateHint(),this.eventBus.trigger("render",w,x,g)},_onAsyncRequested:function(d,g,w){this.eventBus.trigger("asyncrequest",w,g)},_onAsyncCanceled:function(d,g,w){this.eventBus.trigger("asynccancel",w,g)},_onAsyncReceived:function(d,g,w){this.eventBus.trigger("asyncreceive",w,g)},_onFocused:function(){this._minLengthMet()&&this.menu.update(this.input.getQuery())},_onBlurred:function(){this.input.hasQueryChangedSinceLastFocus()&&this.eventBus.trigger("change",this.input.getQuery())},_onEnterKeyed:function(d,g){var w;(w=this.menu.getActiveSelectable())&&this.select(w)&&g.preventDefault()},_onTabKeyed:function(d,g){var w;(w=this.menu.getActiveSelectable())?this.select(w)&&g.preventDefault():(w=this.menu.getTopSelectable())&&this.autocomplete(w)&&g.preventDefault()},_onEscKeyed:function(){this.close()},_onUpKeyed:function(){this.moveCursor(-1)},_onDownKeyed:function(){this.moveCursor(1)},_onLeftKeyed:function(){this.dir==="rtl"&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getTopSelectable())},_onRightKeyed:function(){this.dir==="ltr"&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getTopSelectable())},_onQueryChanged:function(d,g){this._minLengthMet(g)?this.menu.update(g):this.menu.empty()},_onWhitespaceChanged:function(){this._updateHint()},_onLangDirChanged:function(d,g){this.dir!==g&&(this.dir=g,this.menu.setLanguageDirection(g))},_openIfActive:function(){this.isActive()&&this.open()},_minLengthMet:function(d){return d=s.isString(d)?d:this.input.getQuery()||"",d.length>=this.minLength},_updateHint:function(){var d,g,w,x,T,O,F;d=this.menu.getTopSelectable(),g=this.menu.getSelectableData(d),w=this.input.getInputValue(),g&&!s.isBlankString(w)&&!this.input.hasOverflow()?(x=l.normalizeQuery(w),T=s.escapeRegExChars(x),O=new RegExp("^(?:"+T+")(.+$)","i"),F=O.exec(g.val),F&&this.input.setHint(w+F[1])):this.input.clearHint()},isEnabled:function(){return this.enabled},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},isActive:function(){return this.active},activate:function(){return this.isActive()?!0:!this.isEnabled()||this.eventBus.before("active")?!1:(this.active=!0,this.eventBus.trigger("active"),!0)},deactivate:function(){return this.isActive()?this.eventBus.before("idle")?!1:(this.active=!1,this.close(),this.eventBus.trigger("idle"),!0):!0},isOpen:function(){return this.menu.isOpen()},open:function(){return!this.isOpen()&&!this.eventBus.before("open")&&(this.menu.open(),this._updateHint(),this.eventBus.trigger("open")),this.isOpen()},close:function(){return this.isOpen()&&!this.eventBus.before("close")&&(this.menu.close(),this.input.clearHint(),this.input.resetInputValue(),this.eventBus.trigger("close")),!this.isOpen()},setVal:function(d){this.input.setQuery(s.toStr(d))},getVal:function(){return this.input.getQuery()},select:function(d){var g=this.menu.getSelectableData(d);return g&&!this.eventBus.before("select",g.obj)?(this.input.setQuery(g.val,!0),this.eventBus.trigger("select",g.obj),this.close(),!0):!1},autocomplete:function(d){var g,w,x;return g=this.input.getQuery(),w=this.menu.getSelectableData(d),x=w&&g!==w.val,x&&!this.eventBus.before("autocomplete",w.obj)?(this.input.setQuery(w.val),this.eventBus.trigger("autocomplete",w.obj),!0):!1},moveCursor:function(d){var g,w,x,T,O;return g=this.input.getQuery(),w=this.menu.selectableRelativeToCursor(d),x=this.menu.getSelectableData(w),T=x?x.obj:null,O=this._minLengthMet()&&this.menu.update(g),!O&&!this.eventBus.before("cursorchange",T)?(this.menu.setCursor(w),x?this.input.setInputValue(x.val):(this.input.resetInputValue(),this._updateHint()),this.eventBus.trigger("cursorchange",T),!0):!1},destroy:function(){this.input.destroy(),this.menu.destroy()}}),f;function p(c){var d=[].slice.call(arguments,1);return function(){var g=[].slice.call(arguments);s.each(d,function(w){return c[w].apply(c,g)})}}}();(function(){"use strict";var f,p,c;f=r.fn.typeahead,p={www:"tt-www",attrs:"tt-attrs",typeahead:"tt-typeahead"},c={initialize:function(K,ee){var he;return ee=s.isArray(ee)?ee:[].slice.call(arguments,1),K=K||{},he=h(K.classNames),this.each(pe);function pe(){var ie,we,Ce,Ne,B,k,W,q,Q,re,te;s.each(ee,function(ge){ge.highlight=!!K.highlight}),ie=r(this),we=r(he.html.wrapper),Ce=O(K.hint),Ne=O(K.menu),B=K.hint!==!1&&!Ce,k=K.menu!==!1&&!Ne,B&&(Ce=g(ie,he)),k&&(Ne=r(he.html.menu).css(he.css.menu)),Ce&&Ce.val(""),ie=w(ie,he),(B||k)&&(we.css(he.css.wrapper),ie.css(B?he.css.input:he.css.inputWithNoHint),ie.wrap(we).parent().prepend(B?Ce:null).append(k?Ne:null)),te=k?m:b,W=new u({el:ie}),q=new l({hint:Ce,input:ie},he),Q=new te({node:Ne,datasets:ee},he),re=new D({input:q,menu:Q,eventBus:W,minLength:K.minLength},he),ie.data(p.www,he),ie.data(p.typeahead,re)}},isEnabled:function(){var K;return d(this.first(),function(ee){K=ee.isEnabled()}),K},enable:function(){return d(this,function(K){K.enable()}),this},disable:function(){return d(this,function(K){K.disable()}),this},isActive:function(){var K;return d(this.first(),function(ee){K=ee.isActive()}),K},activate:function(){return d(this,function(K){K.activate()}),this},deactivate:function(){return d(this,function(K){K.deactivate()}),this},isOpen:function(){var K;return d(this.first(),function(ee){K=ee.isOpen()}),K},open:function(){return d(this,function(K){K.open()}),this},close:function(){return d(this,function(K){K.close()}),this},select:function(K){var ee=!1,he=r(K);return d(this.first(),function(pe){ee=pe.select(he)}),ee},autocomplete:function(K){var ee=!1,he=r(K);return d(this.first(),function(pe){ee=pe.autocomplete(he)}),ee},moveCursor:function(K){var ee=!1;return d(this.first(),function(he){ee=he.moveCursor(K)}),ee},val:function(K){var ee;return arguments.length?(d(this,function(he){he.setVal(K)}),this):(d(this.first(),function(he){ee=he.getVal()}),ee)},destroy:function(){return d(this,function(K,ee){T(ee),K.destroy()}),this}},r.fn.typeahead=function(F){return c[F]?c[F].apply(this,[].slice.call(arguments,1)):c.initialize.apply(this,arguments)},r.fn.typeahead.noConflict=function(){return r.fn.typeahead=f,this};function d(F,K){F.each(function(){var ee=r(this),he;(he=ee.data(p.typeahead))&&K(he,ee)})}function g(F,K){return F.clone().addClass(K.classes.hint).removeData().css(K.css.hint).css(x(F)).prop("readonly",!0).removeAttr("id name placeholder required").attr({autocomplete:"off",spellcheck:"false",tabindex:-1})}function w(F,K){F.data(p.attrs,{dir:F.attr("dir"),autocomplete:F.attr("autocomplete"),spellcheck:F.attr("spellcheck"),style:F.attr("style")}),F.addClass(K.classes.input).attr({autocomplete:"off",spellcheck:!1});try{!F.attr("dir")&&F.attr("dir","auto")}catch{}return F}function x(F){return{backgroundAttachment:F.css("background-attachment"),backgroundClip:F.css("background-clip"),backgroundColor:F.css("background-color"),backgroundImage:F.css("background-image"),backgroundOrigin:F.css("background-origin"),backgroundPosition:F.css("background-position"),backgroundRepeat:F.css("background-repeat"),backgroundSize:F.css("background-size")}}function T(F){var K,ee;K=F.data(p.www),ee=F.parent().filter(K.selectors.wrapper),s.each(F.data(p.attrs),function(he,pe){s.isUndefined(he)?F.removeAttr(pe):F.attr(pe,he)}),F.removeData(p.typeahead).removeData(p.www).removeData(p.attr).removeClass(K.classes.input),ee.length&&(F.detach().insertAfter(ee),ee.remove())}function O(F){var K,ee;return K=s.isJQuery(F)||s.isElement(F),ee=K?r(F).first():[],ee.length?ee:null}})()})},"UlRz/7g7":(I,v)=>{"use strict";v.ITEM_TYPES={PAGE:"PAGE",ELLIPSIS:"ELLIPSIS",FIRST_PAGE_LINK:"FIRST_PAGE_LINK",PREVIOUS_PAGE_LINK:"PREVIOUS_PAGE_LINK",NEXT_PAGE_LINK:"NEXT_PAGE_LINK",LAST_PAGE_LINK:"LAST_PAGE_LINK"},v.ITEM_KEYS={FIRST_ELLIPSIS:-1,SECOND_ELLIPSIS:-2,FIRST_PAGE_LINK:-3,PREVIOUS_PAGE_LINK:-4,NEXT_PAGE_LINK:-5,LAST_PAGE_LINK:-6}},YDO0FFPu:(I,v,t)=>{"use strict";var n=t("UlRz/7g7");v.createFirstEllipsis=function(o){return{type:n.ITEM_TYPES.ELLIPSIS,key:n.ITEM_KEYS.FIRST_ELLIPSIS,value:o,isActive:!1}},v.createSecondEllipsis=function(o){return{type:n.ITEM_TYPES.ELLIPSIS,key:n.ITEM_KEYS.SECOND_ELLIPSIS,value:o,isActive:!1}},v.createFirstPageLink=function(o){var r=o.currentPage;return{type:n.ITEM_TYPES.FIRST_PAGE_LINK,key:n.ITEM_KEYS.FIRST_PAGE_LINK,value:1,isActive:r===1}},v.createPreviousPageLink=function(o){var r=o.currentPage;return{type:n.ITEM_TYPES.PREVIOUS_PAGE_LINK,key:n.ITEM_KEYS.PREVIOUS_PAGE_LINK,value:Math.max(1,r-1),isActive:r===1}},v.createNextPageLink=function(o){var r=o.currentPage,s=o.totalPages;return{type:n.ITEM_TYPES.NEXT_PAGE_LINK,key:n.ITEM_KEYS.NEXT_PAGE_LINK,value:Math.min(s,r+1),isActive:r===s}},v.createLastPageLink=function(o){var r=o.currentPage,s=o.totalPages;return{type:n.ITEM_TYPES.LAST_PAGE_LINK,key:n.ITEM_KEYS.LAST_PAGE_LINK,value:s,isActive:r===s}},v.createPageFunctionFactory=function(o){var r=o.currentPage;return function(s){return{type:n.ITEM_TYPES.PAGE,key:s,value:s,isActive:s===r}}}},"5cKGxdQ2":(I,v)=>{"use strict";function t(n,o){for(var r=[],s=n;s<=o;s++)r.push(s);return r}v.createRange=t},vA7vUidr:(I,v,t)=>{"use strict";var n=t("5cKGxdQ2"),o=t("YDO0FFPu");function r(h){if(h==null)throw new Error("getPaginationModel(): options object should be a passed");var u=Number(h.totalPages);if(isNaN(u))throw new Error("getPaginationModel(): totalPages should be a number");if(u<0)throw new Error("getPaginationModel(): totalPages shouldn't be a negative number");var A=Number(h.currentPage);if(isNaN(A))throw new Error("getPaginationModel(): currentPage should be a number");if(A<0)throw new Error("getPaginationModel(): currentPage shouldn't be a negative number");if(A>u)throw new Error("getPaginationModel(): currentPage shouldn't be greater than totalPages");var S=h.boundaryPagesRange==null?1:Number(h.boundaryPagesRange);if(isNaN(S))throw new Error("getPaginationModel(): boundaryPagesRange should be a number");if(S<0)throw new Error("getPaginationModel(): boundaryPagesRange shouldn't be a negative number");var l=h.siblingPagesRange==null?1:Number(h.siblingPagesRange);if(isNaN(l))throw new Error("getPaginationModel(): siblingPagesRange should be a number");if(l<0)throw new Error("getPaginationModel(): siblingPagesRange shouldn't be a negative number");var C=!!h.hidePreviousAndNextPageLinks,b=!!h.hideFirstAndLastPageLinks,m=!!h.hideEllipsis,D=m?0:1,f=[],p=o.createPageFunctionFactory(h);if(b||f.push(o.createFirstPageLink(h)),C||f.push(o.createPreviousPageLink(h)),1+2*D+2*l+2*S>=u){var c=n.createRange(1,u).map(p);f.push.apply(f,c)}else{var d=1,g=S,w=n.createRange(d,g).map(p),x=u+1-S,T=u,O=n.createRange(x,T).map(p),F=Math.min(Math.max(A-l,g+D+1),x-D-2*l-1),K=F+2*l,ee=n.createRange(F,K).map(p);if(f.push.apply(f,w),!m){var he=F-1,pe=he===g+1,ie=pe?p:o.createFirstEllipsis,we=ie(he);f.push(we)}if(f.push.apply(f,ee),!m){var Ce=K+1,Ne=Ce===x-1,B=Ne?p:o.createSecondEllipsis,k=B(Ce);f.push(k)}f.push.apply(f,O)}return C||f.push(o.createNextPageLink(h)),b||f.push(o.createLastPageLink(h)),f}v.getPaginationModel=r;var s=t("UlRz/7g7");v.ITEM_TYPES=s.ITEM_TYPES,v.ITEM_KEYS=s.ITEM_KEYS},xaHQBVAH:function(I,v,t){var n,o;/*! * URI.js - Mutating URLs * IPv6 Support * * Version: 1.19.11 * * Author: Rodney Rehm * Web: http://medialize.github.io/URI.js/ * * Licensed under * MIT License http://www.opensource.org/licenses/mit-license * */(function(r,s){"use strict";I.exports?I.exports=s():(n=s,o=typeof n=="function"?n.call(v,t,v,I):n,o!==void 0&&(I.exports=o))})(this,function(r){"use strict";var s=r&&r.IPv6;function h(A){var S=A.toLowerCase(),l=S.split(":"),C=l.length,b=8;l[0]===""&&l[1]===""&&l[2]===""?(l.shift(),l.shift()):l[0]===""&&l[1]===""?l.shift():l[C-1]===""&&l[C-2]===""&&l.pop(),C=l.length,l[C-1].indexOf(".")!==-1&&(b=7);var m;for(m=0;m1);p++)D.splice(0,1);l[f]=D.join("")}var c=-1,d=0,g=0,w=-1,x=!1;for(f=0;fd&&(c=w,d=g)):l[f]==="0"&&(x=!0,w=f,g=1);g>d&&(c=w,d=g),d>1&&l.splice(c,d,""),C=l.length;var T="";for(l[0]===""&&(T=":"),f=0;f=u.length-1)return!1;var S=u.lastIndexOf(".",A-1);if(S<=0||S>=A-1)return!1;var l=h.list[u.slice(A+1)];return l?l.indexOf(" "+u.slice(S+1,A)+" ")>=0:!1},is:function(u){var A=u.lastIndexOf(".");if(A<=0||A>=u.length-1)return!1;var S=u.lastIndexOf(".",A-1);if(S>=0)return!1;var l=h.list[u.slice(A+1)];return l?l.indexOf(" "+u.slice(0,A)+" ")>=0:!1},get:function(u){var A=u.lastIndexOf(".");if(A<=0||A>=u.length-1)return null;var S=u.lastIndexOf(".",A-1);if(S<=0||S>=A-1)return null;var l=h.list[u.slice(A+1)];return!l||l.indexOf(" "+u.slice(S+1,A)+" ")<0?null:u.slice(S+1)},noConflict:function(){return r.SecondLevelDomains===this&&(r.SecondLevelDomains=s),this}};return h})},"HM+Bgqj5":function(I,v,t){var n,o,r;/*! * URI.js - Mutating URLs * * Version: 1.19.11 * * Author: Rodney Rehm * Web: http://medialize.github.io/URI.js/ * * Licensed under * MIT License http://www.opensource.org/licenses/mit-license * */(function(s,h){"use strict";I.exports?I.exports=h(t("U8HBYKER"),t("xaHQBVAH"),t("16snztmE")):(o=[t("U8HBYKER"),t("xaHQBVAH"),t("16snztmE")],n=h,r=typeof n=="function"?n.apply(v,o):n,r!==void 0&&(I.exports=r))})(this,function(s,h,u,A){"use strict";var S=A&&A.URI;function l(B,k){var W=arguments.length>=1,q=arguments.length>=2;if(!(this instanceof l))return W?q?new l(B,k):new l(B):new l;if(B===void 0){if(W)throw new TypeError("undefined is not a valid argument for URI");typeof location<"u"?B=location.href+"":B=""}if(B===null&&W)throw new TypeError("null is not a valid argument for URI");return this.href(B),k!==void 0?this.absoluteTo(k):this}function C(B){return/^[0-9]+$/.test(B)}l.version="1.19.11";var b=l.prototype,m=Object.prototype.hasOwnProperty;function D(B){return B.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function f(B){return B===void 0?"Undefined":String(Object.prototype.toString.call(B)).slice(8,-1)}function p(B){return f(B)==="Array"}function c(B,k){var W={},q,Q;if(f(k)==="RegExp")W=null;else if(p(k))for(q=0,Q=k.length;q]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/ig,l.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},l.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,l.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,l.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},l.hostProtocols=["http","https"],l.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,l.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},l.getDomAttribute=function(B){if(!(!B||!B.nodeName)){var k=B.nodeName.toLowerCase();if(!(k==="input"&&B.type!=="image"))return l.domAttributes[k]}};function x(B){return escape(B)}function T(B){return encodeURIComponent(B).replace(/[!'()*]/g,x).replace(/\*/g,"%2A")}l.encode=T,l.decode=decodeURIComponent,l.iso8859=function(){l.encode=escape,l.decode=unescape},l.unicode=function(){l.encode=T,l.decode=decodeURIComponent},l.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/ig,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/ig,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/ig,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},l.encodeQuery=function(B,k){var W=l.encode(B+"");return k===void 0&&(k=l.escapeQuerySpace),k?W.replace(/%20/g,"+"):W},l.decodeQuery=function(B,k){B+="",k===void 0&&(k=l.escapeQuerySpace);try{return l.decode(k?B.replace(/\+/g,"%20"):B)}catch{return B}};var O={encode:"encode",decode:"decode"},F,K=function(B,k){return function(W){try{return l[k](W+"").replace(l.characters[B][k].expression,function(q){return l.characters[B][k].map[q]})}catch{return W}}};for(F in O)l[F+"PathSegment"]=K("pathname",O[F]),l[F+"UrnPathSegment"]=K("urnpath",O[F]);var ee=function(B,k,W){return function(q){var Q;W?Q=function(Fe){return l[k](l[W](Fe))}:Q=l[k];for(var re=(q+"").split(B),te=0,ge=re.length;te-1&&(k.fragment=B.substring(W+1)||null,B=B.substring(0,W)),W=B.indexOf("?"),W>-1&&(k.query=B.substring(W+1)||null,B=B.substring(0,W)),B=B.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://"),B=B.replace(/^[/\\]{2,}/i,"//"),B.substring(0,2)==="//"?(k.protocol=null,B=B.substring(2),B=l.parseAuthority(B,k)):(W=B.indexOf(":"),W>-1&&(k.protocol=B.substring(0,W)||null,k.protocol&&!k.protocol.match(l.protocol_expression)?k.protocol=void 0:B.substring(W+1,W+3).replace(/\\/g,"/")==="//"?(B=B.substring(W+3),B=l.parseAuthority(B,k)):(B=B.substring(W+1),k.urn=!0))),k.path=B,k},l.parseHost=function(B,k){B||(B=""),B=B.replace(/\\/g,"/");var W=B.indexOf("/"),q,Q;if(W===-1&&(W=B.length),B.charAt(0)==="[")q=B.indexOf("]"),k.hostname=B.substring(1,q)||null,k.port=B.substring(q+2,W)||null,k.port==="/"&&(k.port=null);else{var re=B.indexOf(":"),te=B.indexOf("/"),ge=B.indexOf(":",re+1);ge!==-1&&(te===-1||ge-1?Q:B.length-1),te;return re>-1&&(Q===-1||re-1?dt=dt.slice(0,it)+dt.slice(it).replace(re,""):dt=dt.replace(re,""),!(dt.length<=Fe[0].length)&&!(W.ignore&&W.ignore.test(dt))){Xe=Qe+dt.length;var Le=k(dt,Qe,Xe,B);if(Le===void 0){q.lastIndex=Xe;continue}Le=String(Le),B=B.slice(0,Qe)+Le+B.slice(Xe),q.lastIndex=Qe+Le.length}}return q.lastIndex=0,B},l.ensureValidHostname=function(B,k){var W=!!B,q=!!k,Q=!1;if(q&&(Q=d(l.hostProtocols,k)),Q&&!W)throw new TypeError("Hostname cannot be empty, if protocol is "+k);if(B&&B.match(l.invalid_hostname_characters)){if(!s)throw new TypeError('Hostname "'+B+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(s.toASCII(B).match(l.invalid_hostname_characters))throw new TypeError('Hostname "'+B+'" contains characters other than [A-Z0-9.-:_]')}},l.ensureValidPort=function(B){if(B){var k=Number(B);if(!(C(k)&&k>0&&k<65536))throw new TypeError('Port "'+B+'" is not a valid port')}},l.noConflict=function(B){if(B){var k={URI:this.noConflict()};return A.URITemplate&&typeof A.URITemplate.noConflict=="function"&&(k.URITemplate=A.URITemplate.noConflict()),A.IPv6&&typeof A.IPv6.noConflict=="function"&&(k.IPv6=A.IPv6.noConflict()),A.SecondLevelDomains&&typeof A.SecondLevelDomains.noConflict=="function"&&(k.SecondLevelDomains=A.SecondLevelDomains.noConflict()),k}else A.URI===this&&(A.URI=S);return this},b.build=function(B){return B===!0?this._deferred_build=!0:(B===void 0||this._deferred_build)&&(this._string=l.build(this._parts),this._deferred_build=!1),this},b.clone=function(){return new l(this)},b.valueOf=b.toString=function(){return this.build(!1)._string};function he(B){return function(k,W){return k===void 0?this._parts[B]||"":(this._parts[B]=k||null,this.build(!W),this)}}function pe(B,k){return function(W,q){return W===void 0?this._parts[B]||"":(W!==null&&(W=W+"",W.charAt(0)===k&&(W=W.substring(1))),this._parts[B]=W,this.build(!q),this)}}b.protocol=he("protocol"),b.username=he("username"),b.password=he("password"),b.hostname=he("hostname"),b.port=he("port"),b.query=pe("query","?"),b.fragment=pe("fragment","#"),b.search=function(B,k){var W=this.query(B,k);return typeof W=="string"&&W.length?"?"+W:W},b.hash=function(B,k){var W=this.fragment(B,k);return typeof W=="string"&&W.length?"#"+W:W},b.pathname=function(B,k){if(B===void 0||B===!0){var W=this._parts.path||(this._parts.hostname?"/":"");return B?(this._parts.urn?l.decodeUrnPath:l.decodePath)(W):W}else return this._parts.urn?this._parts.path=B?l.recodeUrnPath(B):"":this._parts.path=B?l.recodePath(B):"/",this.build(!k),this},b.path=b.pathname,b.href=function(B,k){var W;if(B===void 0)return this.toString();this._string="",this._parts=l._parts();var q=B instanceof l,Q=typeof B=="object"&&(B.hostname||B.path||B.pathname);if(B.nodeName){var re=l.getDomAttribute(B);B=B[re]||"",Q=!1}if(!q&&Q&&B.pathname!==void 0&&(B=B.toString()),typeof B=="string"||B instanceof String)this._parts=l.parse(String(B),this._parts);else if(q||Q){var te=q?B._parts:B;for(W in te)W!=="query"&&m.call(this._parts,W)&&(this._parts[W]=te[W]);te.query&&this.query(te.query,!1)}else throw new TypeError("invalid input");return this.build(!k),this},b.is=function(B){var k=!1,W=!1,q=!1,Q=!1,re=!1,te=!1,ge=!1,Fe=!this._parts.urn;switch(this._parts.hostname&&(Fe=!1,W=l.ip4_expression.test(this._parts.hostname),q=l.ip6_expression.test(this._parts.hostname),k=W||q,Q=!k,re=Q&&u&&u.has(this._parts.hostname),te=Q&&l.idn_expression.test(this._parts.hostname),ge=Q&&l.punycode_expression.test(this._parts.hostname)),B.toLowerCase()){case"relative":return Fe;case"absolute":return!Fe;case"domain":case"name":return Q;case"sld":return re;case"ip":return k;case"ip4":case"ipv4":case"inet4":return W;case"ip6":case"ipv6":case"inet6":return q;case"idn":return te;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return ge}return null};var ie=b.protocol,we=b.port,Ce=b.hostname;b.protocol=function(B,k){if(B&&(B=B.replace(/:(\/\/)?$/,""),!B.match(l.protocol_expression)))throw new TypeError('Protocol "'+B+`" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]`);return ie.call(this,B,k)},b.scheme=b.protocol,b.port=function(B,k){return this._parts.urn?B===void 0?"":this:(B!==void 0&&(B===0&&(B=null),B&&(B+="",B.charAt(0)===":"&&(B=B.substring(1)),l.ensureValidPort(B))),we.call(this,B,k))},b.hostname=function(B,k){if(this._parts.urn)return B===void 0?"":this;if(B!==void 0){var W={preventInvalidHostname:this._parts.preventInvalidHostname},q=l.parseHost(B,W);if(q!=="/")throw new TypeError('Hostname "'+B+'" contains characters other than [A-Z0-9.-]');B=W.hostname,this._parts.preventInvalidHostname&&l.ensureValidHostname(B,this._parts.protocol)}return Ce.call(this,B,k)},b.origin=function(B,k){if(this._parts.urn)return B===void 0?"":this;if(B===void 0){var W=this.protocol(),q=this.authority();return q?(W?W+"://":"")+this.authority():""}else{var Q=l(B);return this.protocol(Q.protocol()).authority(Q.authority()).build(!k),this}},b.host=function(B,k){if(this._parts.urn)return B===void 0?"":this;if(B===void 0)return this._parts.hostname?l.buildHost(this._parts):"";var W=l.parseHost(B,this._parts);if(W!=="/")throw new TypeError('Hostname "'+B+'" contains characters other than [A-Z0-9.-]');return this.build(!k),this},b.authority=function(B,k){if(this._parts.urn)return B===void 0?"":this;if(B===void 0)return this._parts.hostname?l.buildAuthority(this._parts):"";var W=l.parseAuthority(B,this._parts);if(W!=="/")throw new TypeError('Hostname "'+B+'" contains characters other than [A-Z0-9.-]');return this.build(!k),this},b.userinfo=function(B,k){if(this._parts.urn)return B===void 0?"":this;if(B===void 0){var W=l.buildUserinfo(this._parts);return W&&W.substring(0,W.length-1)}else return B[B.length-1]!=="@"&&(B+="@"),l.parseUserinfo(B,this._parts),this.build(!k),this},b.resource=function(B,k){var W;return B===void 0?this.path()+this.search()+this.hash():(W=l.parse(B),this._parts.path=W.path,this._parts.query=W.query,this._parts.fragment=W.fragment,this.build(!k),this)},b.subdomain=function(B,k){if(this._parts.urn)return B===void 0?"":this;if(B===void 0){if(!this._parts.hostname||this.is("IP"))return"";var W=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,W)||""}else{var q=this._parts.hostname.length-this.domain().length,Q=this._parts.hostname.substring(0,q),re=new RegExp("^"+D(Q));if(B&&B.charAt(B.length-1)!=="."&&(B+="."),B.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");return B&&l.ensureValidHostname(B,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(re,B),this.build(!k),this}},b.domain=function(B,k){if(this._parts.urn)return B===void 0?"":this;if(typeof B=="boolean"&&(k=B,B=void 0),B===void 0){if(!this._parts.hostname||this.is("IP"))return"";var W=this._parts.hostname.match(/\./g);if(W&&W.length<2)return this._parts.hostname;var q=this._parts.hostname.length-this.tld(k).length-1;return q=this._parts.hostname.lastIndexOf(".",q-1)+1,this._parts.hostname.substring(q)||""}else{if(!B)throw new TypeError("cannot set domain empty");if(B.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");if(l.ensureValidHostname(B,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=B;else{var Q=new RegExp(D(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(Q,B)}return this.build(!k),this}},b.tld=function(B,k){if(this._parts.urn)return B===void 0?"":this;if(typeof B=="boolean"&&(k=B,B=void 0),B===void 0){if(!this._parts.hostname||this.is("IP"))return"";var W=this._parts.hostname.lastIndexOf("."),q=this._parts.hostname.substring(W+1);return k!==!0&&u&&u.list[q.toLowerCase()]&&u.get(this._parts.hostname)||q}else{var Q;if(B)if(B.match(/[^a-zA-Z0-9-]/))if(u&&u.is(B))Q=new RegExp(D(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(Q,B);else throw new TypeError('TLD "'+B+'" contains characters other than [A-Z0-9]');else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");Q=new RegExp(D(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(Q,B)}else throw new TypeError("cannot set TLD empty");return this.build(!k),this}},b.directory=function(B,k){if(this._parts.urn)return B===void 0?"":this;if(B===void 0||B===!0){if(!this._parts.path&&!this._parts.hostname)return"";if(this._parts.path==="/")return"/";var W=this._parts.path.length-this.filename().length-1,q=this._parts.path.substring(0,W)||(this._parts.hostname?"/":"");return B?l.decodePath(q):q}else{var Q=this._parts.path.length-this.filename().length,re=this._parts.path.substring(0,Q),te=new RegExp("^"+D(re));return this.is("relative")||(B||(B="/"),B.charAt(0)!=="/"&&(B="/"+B)),B&&B.charAt(B.length-1)!=="/"&&(B+="/"),B=l.recodePath(B),this._parts.path=this._parts.path.replace(te,B),this.build(!k),this}},b.filename=function(B,k){if(this._parts.urn)return B===void 0?"":this;if(typeof B!="string"){if(!this._parts.path||this._parts.path==="/")return"";var W=this._parts.path.lastIndexOf("/"),q=this._parts.path.substring(W+1);return B?l.decodePathSegment(q):q}else{var Q=!1;B.charAt(0)==="/"&&(B=B.substring(1)),B.match(/\.?\//)&&(Q=!0);var re=new RegExp(D(this.filename())+"$");return B=l.recodePath(B),this._parts.path=this._parts.path.replace(re,B),Q?this.normalizePath(k):this.build(!k),this}},b.suffix=function(B,k){if(this._parts.urn)return B===void 0?"":this;if(B===void 0||B===!0){if(!this._parts.path||this._parts.path==="/")return"";var W=this.filename(),q=W.lastIndexOf("."),Q,re;return q===-1?"":(Q=W.substring(q+1),re=/^[a-z0-9%]+$/i.test(Q)?Q:"",B?l.decodePathSegment(re):re)}else{B.charAt(0)==="."&&(B=B.substring(1));var te=this.suffix(),ge;if(te)B?ge=new RegExp(D(te)+"$"):ge=new RegExp(D("."+te)+"$");else{if(!B)return this;this._parts.path+="."+l.recodePath(B)}return ge&&(B=l.recodePath(B),this._parts.path=this._parts.path.replace(ge,B)),this.build(!k),this}},b.segment=function(B,k,W){var q=this._parts.urn?":":"/",Q=this.path(),re=Q.substring(0,1)==="/",te=Q.split(q);if(B!==void 0&&typeof B!="number"&&(W=k,k=B,B=void 0),B!==void 0&&typeof B!="number")throw new Error('Bad segment "'+B+'", must be 0-based integer');if(re&&te.shift(),B<0&&(B=Math.max(te.length+B,0)),k===void 0)return B===void 0?te:te[B];if(B===null||te[B]===void 0)if(p(k)){te=[];for(var ge=0,Fe=k.length;ge= 0x80 (not a basic code point)","invalid-input":"Invalid input"},x=S-l,T=Math.floor,O=String.fromCharCode,F;function K(Q){throw new RangeError(w[Q])}function ee(Q,re){for(var te=Q.length,ge=[];te--;)ge[te]=re(Q[te]);return ge}function he(Q,re){var te=Q.split("@"),ge="";te.length>1&&(ge=te[0]+"@",Q=te[1]),Q=Q.replace(g,".");var Fe=Q.split("."),Qe=ee(Fe,re).join(".");return ge+Qe}function pe(Q){for(var re=[],te=0,ge=Q.length,Fe,Qe;te=55296&&Fe<=56319&&te65535&&(re-=65536,te+=O(re>>>10&1023|55296),re=56320|re&1023),te+=O(re),te}).join("")}function we(Q){return Q-48<10?Q-22:Q-65<26?Q-65:Q-97<26?Q-97:S}function Ce(Q,re){return Q+22+75*(Q<26)-((re!=0)<<5)}function Ne(Q,re,te){var ge=0;for(Q=te?T(Q/m):Q>>1,Q+=T(Q/re);Q>x*C>>1;ge+=S)Q=T(Q/x);return T(ge+(x+1)*Q/(Q+b))}function B(Q){var re=[],te=Q.length,ge,Fe=0,Qe=f,Ke=D,Xe,dt,it,Ie,ue,Le,je,J,$;for(Xe=Q.lastIndexOf(p),Xe<0&&(Xe=0),dt=0;dt=128&&K("not-basic"),re.push(Q.charCodeAt(dt));for(it=Xe>0?Xe+1:0;it=te&&K("invalid-input"),je=we(Q.charCodeAt(it++)),(je>=S||je>T((A-Fe)/ue))&&K("overflow"),Fe+=je*ue,J=Le<=Ke?l:Le>=Ke+C?C:Le-Ke,!(jeT(A/$)&&K("overflow"),ue*=$;ge=re.length+1,Ke=Ne(Fe-Ie,ge,Ie==0),T(Fe/ge)>A-Qe&&K("overflow"),Qe+=T(Fe/ge),Fe%=ge,re.splice(Fe++,0,Qe)}return ie(re)}function k(Q){var re,te,ge,Fe,Qe,Ke,Xe,dt,it,Ie,ue,Le=[],je,J,$,G;for(Q=pe(Q),je=Q.length,re=f,te=0,Qe=D,Ke=0;Ke=re&&ueT((A-te)/J)&&K("overflow"),te+=(Xe-re)*J,re=Xe,Ke=0;KeA&&K("overflow"),ue==re){for(dt=te,it=S;Ie=it<=Qe?l:it>=Qe+C?C:it-Qe,!(dt{"use strict";t.d(v,{A:()=>r});var n=t("Z7aTuO5B"),o=n.useLayoutEffect;const r=o},"/G8hFj5s":(I,v)=>{var t,n;/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */(function(){"use strict";var o={}.hasOwnProperty;function r(){for(var u="",A=0;A{"use strict";t.d(v,{A:()=>n});function n(o,r){(r==null||r>o.length)&&(r=o.length);for(var s=0,h=new Array(r);s{"use strict";t.d(v,{A:()=>n});function n(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}},roqSBHdw:(I,v,t)=>{"use strict";t.d(v,{A:()=>o});var n=t("THXGo1wf");function o(r,s,h){return s=(0,n.A)(s),s in r?Object.defineProperty(r,s,{value:h,enumerable:!0,configurable:!0,writable:!0}):r[s]=h,r}},"66aSeaJf":(I,v,t)=>{"use strict";t.d(v,{A:()=>n});function n(){return n=Object.assign?Object.assign.bind():function(o){for(var r=1;r{"use strict";t.d(v,{A:()=>o});var n=t("yuI3KKau");function o(r,s){r.prototype=Object.create(s.prototype),r.prototype.constructor=r,(0,n.A)(r,s)}},JLz9t3N8:(I,v,t)=>{"use strict";t.d(v,{A:()=>r});var n=t("roqSBHdw");function o(s,h){var u=Object.keys(s);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(s);h&&(A=A.filter(function(S){return Object.getOwnPropertyDescriptor(s,S).enumerable})),u.push.apply(u,A)}return u}function r(s){for(var h=1;h{"use strict";t.d(v,{A:()=>o});function n(r,s){if(r==null)return{};var h={},u=Object.keys(r),A,S;for(S=0;S=0)&&(h[A]=r[A]);return h}function o(r,s){if(r==null)return{};var h=n(r,s),u,A;if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(r);for(A=0;A=0)&&Object.prototype.propertyIsEnumerable.call(r,u)&&(h[u]=r[u])}return h}},yuI3KKau:(I,v,t)=>{"use strict";t.d(v,{A:()=>n});function n(o,r){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(h,u){return h.__proto__=u,h},n(o,r)}},bUAIxHhg:(I,v,t)=>{"use strict";t.d(v,{A:()=>h});function n(u){if(Array.isArray(u))return u}function o(u,A){var S=u==null?null:typeof Symbol<"u"&&u[Symbol.iterator]||u["@@iterator"];if(S!=null){var l,C,b,m,D=[],f=!0,p=!1;try{if(b=(S=S.call(u)).next,A===0){if(Object(S)!==S)return;f=!1}else for(;!(f=(l=b.call(S)).done)&&(D.push(l.value),D.length!==A);f=!0);}catch(c){p=!0,C=c}finally{try{if(!f&&S.return!=null&&(m=S.return(),Object(m)!==m))return}finally{if(p)throw C}}return D}}var r=t("nMAtOiD8");function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function h(u,A){return n(u)||o(u,A)||(0,r.A)(u,A)||s()}},"idfFIFt/":(I,v,t)=>{"use strict";t.d(v,{A:()=>u});var n=t("QRQOhVM/");function o(A){if(Array.isArray(A))return(0,n.A)(A)}function r(A){if(typeof Symbol<"u"&&A[Symbol.iterator]!=null||A["@@iterator"]!=null)return Array.from(A)}var s=t("nMAtOiD8");function h(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(A){return o(A)||r(A)||(0,s.A)(A)||h()}},THXGo1wf:(I,v,t)=>{"use strict";t.d(v,{A:()=>r});var n=t("SFBNsA1v");function o(s,h){if((0,n.A)(s)!="object"||!s)return s;var u=s[Symbol.toPrimitive];if(u!==void 0){var A=u.call(s,h||"default");if((0,n.A)(A)!="object")return A;throw new TypeError("@@toPrimitive must return a primitive value.")}return(h==="string"?String:Number)(s)}function r(s){var h=o(s,"string");return(0,n.A)(h)=="symbol"?h:String(h)}},SFBNsA1v:(I,v,t)=>{"use strict";t.d(v,{A:()=>n});function n(o){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},n(o)}},nMAtOiD8:(I,v,t)=>{"use strict";t.d(v,{A:()=>o});var n=t("QRQOhVM/");function o(r,s){if(r){if(typeof r=="string")return(0,n.A)(r,s);var h=Object.prototype.toString.call(r).slice(8,-1);if(h==="Object"&&r.constructor&&(h=r.constructor.name),h==="Map"||h==="Set")return Array.from(r);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return(0,n.A)(r,s)}}},"VA3wEY/A":(I,v,t)=>{"use strict";t.d(v,{L:()=>r});var n=t("Z7aTuO5B");const o=["mousedown","touchstart"];function r(s,h,u){const A=(0,n.useRef)();return(0,n.useEffect)(()=>{const S=l=>{const{target:C}=l!=null?l:{};if(Array.isArray(u)){const b=(C==null?void 0:C.hasAttribute("data-ignore-outside-clicks"))||!document.body.contains(C)&&C.tagName!=="HTML";u.every(D=>!!D&&!l.composedPath().includes(D))&&!b&&s()}else A.current&&!A.current.contains(C)&&s()};return(h||o).forEach(l=>document.addEventListener(l,S)),()=>{(h||o).forEach(l=>document.removeEventListener(l,S))}},[A,s,u]),A}},VWnDUXd2:(I,v,t)=>{"use strict";t.d(v,{j:()=>o});var n=t("Z7aTuO5B");function o(r=!1,s){const{onOpen:h,onClose:u}=s||{},[A,S]=(0,n.useState)(r),l=(0,n.useCallback)(()=>{S(m=>m||(h==null||h(),!0))},[h]),C=(0,n.useCallback)(()=>{S(m=>m&&(u==null||u(),!1))},[u]),b=(0,n.useCallback)(()=>{A?C():l()},[C,l,A]);return[A,{open:l,close:C,toggle:b}]}},"0aBCy/SW":(I,v,t)=>{"use strict";t.d(v,{Z:()=>o});var n=t("Z7aTuO5B");function o(r,s,h={autoInvoke:!1}){const u=(0,n.useRef)(null),A=(0,n.useCallback)((...l)=>{u.current||(u.current=window.setTimeout(()=>{r(l),u.current=null},s))},[s]),S=(0,n.useCallback)(()=>{u.current&&(window.clearTimeout(u.current),u.current=null)},[]);return(0,n.useEffect)(()=>(h.autoInvoke&&A(),S),[S,A]),{start:A,clear:S}}},"2kIrnlNs":(I,v,t)=>{"use strict";t.d(v,{A:()=>Gt});var n=t("Z7aTuO5B");function o(Ye){return Object.prototype.toString.call(Ye)==="[object Object]"}function r(Ye){return o(Ye)||Array.isArray(Ye)}function s(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function h(Ye,ct){const We=Object.keys(Ye),Ze=Object.keys(ct);if(We.length!==Ze.length)return!1;const Re=JSON.stringify(Object.keys(Ye.breakpoints||{})),lt=JSON.stringify(Object.keys(ct.breakpoints||{}));return Re!==lt?!1:We.every(pt=>{const vt=Ye[pt],Pt=ct[pt];return typeof vt=="function"?`${vt}`==`${Pt}`:!r(vt)||!r(Pt)?vt===Pt:h(vt,Pt)})}function u(Ye){return Ye.concat().sort((ct,We)=>ct.name>We.name?1:-1).map(ct=>ct.options)}function A(Ye,ct){if(Ye.length!==ct.length)return!1;const We=u(Ye),Ze=u(ct);return We.every((Re,lt)=>{const pt=Ze[lt];return h(Re,pt)})}function S(Ye){return typeof Ye=="number"}function l(Ye){return typeof Ye=="string"}function C(Ye){return typeof Ye=="boolean"}function b(Ye){return Object.prototype.toString.call(Ye)==="[object Object]"}function m(Ye){return Math.abs(Ye)}function D(Ye){return Math.sign(Ye)}function f(Ye,ct){return m(Ye-ct)}function p(Ye,ct){if(Ye===0||ct===0||m(Ye)<=m(ct))return 0;const We=f(m(Ye),m(ct));return m(We/Ye)}function c(Ye){return T(Ye).map(Number)}function d(Ye){return Ye[g(Ye)]}function g(Ye){return Math.max(0,Ye.length-1)}function w(Ye,ct){return ct===g(Ye)}function x(Ye,ct=0){return Array.from(Array(Ye),(We,Ze)=>ct+Ze)}function T(Ye){return Object.keys(Ye)}function O(Ye,ct){return[Ye,ct].reduce((We,Ze)=>(T(Ze).forEach(Re=>{const lt=We[Re],pt=Ze[Re],vt=b(lt)&&b(pt);We[Re]=vt?O(lt,pt):pt}),We),{})}function F(Ye,ct){return typeof ct.MouseEvent<"u"&&Ye instanceof ct.MouseEvent}function K(Ye,ct){const We={start:Ze,center:Re,end:lt};function Ze(){return 0}function Re(Pt){return lt(Pt)/2}function lt(Pt){return ct-Pt}function pt(Pt,Ge){return l(Ye)?We[Ye](Pt):Ye(ct,Pt,Ge)}return{measure:pt}}function ee(){let Ye=[];function ct(Re,lt,pt,vt={passive:!0}){let Pt;if("addEventListener"in Re)Re.addEventListener(lt,pt,vt),Pt=()=>Re.removeEventListener(lt,pt,vt);else{const Ge=Re;Ge.addListener(pt),Pt=()=>Ge.removeListener(pt)}return Ye.push(Pt),Ze}function We(){Ye=Ye.filter(Re=>Re())}const Ze={add:ct,clear:We};return Ze}function he(Ye,ct,We,Ze){const Re=ee(),lt=1e3/60;let pt=null,vt=0,Pt=0;function Ge(){Re.add(Ye,"visibilitychange",()=>{Ye.hidden&&ir()})}function Be(){wr(),Re.clear()}function It(Fr){if(!Pt)return;pt||(pt=Fr);const mr=Fr-pt;for(pt=Fr,vt+=mr;vt>=lt;)We(),vt-=lt;const Or=m(vt/lt);Ze(Or),Pt&&ct.requestAnimationFrame(It)}function Ht(){Pt||(Pt=ct.requestAnimationFrame(It))}function wr(){ct.cancelAnimationFrame(Pt),pt=null,vt=0,Pt=0}function ir(){pt=null,vt=0}return{init:Ge,destroy:Be,start:Ht,stop:wr,update:We,render:Ze}}function pe(Ye,ct){const We=Ye==="y"?"y":"x",Ze=Ye==="y"?"x":"y",Re=vt(),lt=Pt();function pt(Be){const{width:It,height:Ht}=Be;return We==="x"?It:Ht}function vt(){return We==="y"?"top":ct==="rtl"?"right":"left"}function Pt(){return We==="y"?"bottom":ct==="rtl"?"left":"right"}return{scroll:We,cross:Ze,startEdge:Re,endEdge:lt,measureSize:pt}}function ie(Ye=0,ct=0){const We=m(Ye-ct);function Ze(Ge){return Gect}function lt(Ge){return Ze(Ge)||Re(Ge)}function pt(Ge){return lt(Ge)?Ze(Ge)?Ye:ct:Ge}function vt(Ge){return We?Ge-We*Math.ceil((Ge-ct)/We):Ge}return{length:We,max:ct,min:Ye,constrain:pt,reachedAny:lt,reachedMax:Re,reachedMin:Ze,removeOffset:vt}}function we(Ye,ct,We){const{constrain:Ze}=ie(0,Ye),Re=Ye+1;let lt=pt(ct);function pt(Ht){return We?m((Re+Ht)%Re):Ze(Ht)}function vt(){return lt}function Pt(Ht){return lt=pt(Ht),It}function Ge(Ht){return Be().set(vt()+Ht)}function Be(){return we(Ye,vt(),We)}const It={get:vt,set:Pt,add:Ge,clone:Be};return It}function Ce(Ye){const ct=Ye==="rtl"?-1:1;function We(Re){return Re*ct}return{apply:We}}function Ne(Ye,ct,We,Ze,Re,lt,pt,vt,Pt,Ge,Be,It,Ht,wr,ir,tr,Fr,mr,Or,Nr){const{cross:Gr}=Ye,Ir=["INPUT","SELECT","TEXTAREA"],mn={passive:!1},An=ee(),ln=ee(),Jr=ie(50,225).constrain(ir.measure(20)),Zr={mouse:300,touch:400},St={mouse:500,touch:600},Ot=tr?43:25;let Pe=!1,Ee=0,Ue=0,Ft=!1,Rt=!1,ht=!1,br=!1;function pr(dr){if(!Nr)return;function Ur(Xr){(C(Nr)||Nr(dr,Xr))&&qe(Xr)}const Pr=We;An.add(Pr,"dragstart",Xr=>Xr.preventDefault(),mn).add(Pr,"touchmove",()=>{},mn).add(Pr,"touchend",()=>{}).add(Pr,"touchstart",Ur).add(Pr,"mousedown",Ur).add(Pr,"touchcancel",rr).add(Pr,"contextmenu",rr).add(Pr,"click",At,!0)}function Wt(){An.clear(),ln.clear()}function yt(){const dr=br?Ze:We;ln.add(dr,"touchmove",er,mn).add(dr,"touchend",rr).add(dr,"mousemove",er,mn).add(dr,"mouseup",rr)}function Mt(dr){const Ur=dr.nodeName||"";return Ir.includes(Ur)}function Jt(){return(tr?St:Zr)[br?"mouse":"touch"]}function Se(dr,Ur){const Pr=Ht.add(D(dr)*-1),Xr=It.byDistance(dr,!tr).distance;return tr||m(dr)=2,Ft=!0,pt.pointerDown(dr),Be.useFriction(0).useDuration(0),lt.set(vt),yt(),Ee=pt.readPoint(dr),Ue=pt.readPoint(dr,Gr),wr.emit("pointerDown")))}function er(dr){const Ur=pt.readPoint(dr),Pr=pt.readPoint(dr,Gr),Xr=f(Ur,Ee),un=f(Pr,Ue);if(!Rt&&!br&&(!dr.cancelable||(Rt=Xr>un,!Rt)))return rr(dr);const qr=pt.pointerMove(dr);Xr>Fr&&(ht=!0),Be.useFriction(.3).useDuration(1),Pt.start(),lt.add(ct.apply(qr)),dr.preventDefault()}function rr(dr){const Pr=It.byDistance(0,!1).index!==Ht.get(),Xr=pt.pointerUp(dr)*Jt(),un=Se(ct.apply(Xr),Pr),qr=p(Xr,un),Bn=Ot-10*qr,Yn=Or+qr/50;Rt=!1,Ft=!1,ln.clear(),Be.useDuration(Bn).useFriction(Yn),Ge.distance(un,!tr),br=!1,wr.emit("pointerUp")}function At(dr){ht&&(dr.stopPropagation(),dr.preventDefault())}function ar(){return Ft}return{init:pr,pointerDown:ar,destroy:Wt}}function B(Ye,ct){let Ze,Re;function lt(It){return It.timeStamp}function pt(It,Ht){const ir=`client${(Ht||Ye.scroll)==="x"?"X":"Y"}`;return(F(It,ct)?It:It.touches[0])[ir]}function vt(It){return Ze=It,Re=It,pt(It)}function Pt(It){const Ht=pt(It)-pt(Re),wr=lt(It)-lt(Ze)>170;return Re=It,wr&&(Ze=It),Ht}function Ge(It){if(!Ze||!Re)return 0;const Ht=pt(Re)-pt(Ze),wr=lt(It)-lt(Ze),ir=lt(It)-lt(Re)>170,tr=Ht/wr;return wr&&!ir&&m(tr)>.1?tr:0}return{pointerDown:vt,pointerMove:Pt,pointerUp:Ge,readPoint:pt}}function k(){function Ye(We){const{offsetTop:Ze,offsetLeft:Re,offsetWidth:lt,offsetHeight:pt}=We;return{top:Ze,right:Re+lt,bottom:Ze+pt,left:Re,width:lt,height:pt}}return{measure:Ye}}function W(Ye){function ct(Ze){return Ye*(Ze/100)}return{measure:ct}}function q(Ye,ct,We,Ze,Re,lt,pt){let vt,Pt,Ge=[],Be=!1;function It(tr){return Re.measureSize(pt.measure(tr))}function Ht(tr){if(!lt)return;Pt=It(Ye),Ge=Ze.map(It);function Fr(Or){for(const Nr of Or){const Gr=Nr.target===Ye,Ir=Ze.indexOf(Nr.target),mn=Gr?Pt:Ge[Ir],An=It(Gr?Ye:Ze[Ir]);if(m(An-mn)>=.5){We.requestAnimationFrame(()=>{tr.reInit(),ct.emit("resize")});break}}}vt=new ResizeObserver(Or=>{Be||(C(lt)||lt(tr,Or))&&Fr(Or)}),[Ye].concat(Ze).forEach(Or=>vt.observe(Or))}function wr(){vt&&vt.disconnect(),Be=!0}return{init:Ht,destroy:wr}}function Q(Ye,ct,We,Ze,Re){let lt=0,pt=0,vt=Ze,Pt=Re,Ge=Ye.get(),Be=0;function It(){const Ir=We.get()-Ye.get(),mn=!vt;let An=0;return mn?(lt=0,Ye.set(We),An=Ir):(lt+=Ir/vt,lt*=Pt,Ge+=lt,Ye.add(lt),An=Ge-Be),pt=D(An),Be=Ge,Gr}function Ht(){const Ir=We.get()-ct.get();return m(Ir)<.001}function wr(){return vt}function ir(){return pt}function tr(){return lt}function Fr(){return Or(Ze)}function mr(){return Nr(Re)}function Or(Ir){return vt=Ir,Gr}function Nr(Ir){return Pt=Ir,Gr}const Gr={direction:ir,duration:wr,velocity:tr,seek:It,settled:Ht,useBaseFriction:mr,useBaseDuration:Fr,useFriction:Nr,useDuration:Or};return Gr}function re(Ye,ct,We,Ze,Re){const lt=Re.measure(10),pt=Re.measure(50),vt=ie(.1,.99);let Pt=!1;function Ge(){return!(Pt||!Ye.reachedAny(We.get())||!Ye.reachedAny(ct.get()))}function Be(wr){if(!Ge())return;const ir=Ye.reachedMin(ct.get())?"min":"max",tr=m(Ye[ir]-ct.get()),Fr=We.get()-ct.get(),mr=vt.constrain(tr/pt);We.subtract(Fr*mr),!wr&&m(Fr){const{min:Fr,max:mr}=lt,Or=lt.constrain(ir),Nr=!tr,Gr=w(We,tr);return Nr?mr:Gr||Ge(Fr,Or)?Fr:Ge(mr,Or)?mr:Or}).map(ir=>parseFloat(ir.toFixed(3)))}function Ht(){if(ct<=Ye+Re)return[lt.max];if(Ze==="keepSnaps")return pt;const{min:ir,max:tr}=vt;return pt.slice(ir,tr)}return{snapsContained:Pt,scrollContainLimit:vt}}function ge(Ye,ct,We){const Ze=ct[0],Re=We?Ze-Ye:d(ct);return{limit:ie(Re,Ze)}}function Fe(Ye,ct,We,Ze){const lt=ct.min+.1,pt=ct.max+.1,{reachedMin:vt,reachedMax:Pt}=ie(lt,pt);function Ge(Ht){return Ht===1?Pt(We.get()):Ht===-1?vt(We.get()):!1}function Be(Ht){if(!Ge(Ht))return;const wr=Ye*(Ht*-1);Ze.forEach(ir=>ir.add(wr))}return{loop:Be}}function Qe(Ye){const{max:ct,length:We}=Ye;function Ze(lt){const pt=lt-ct;return We?pt/-We:0}return{get:Ze}}function Ke(Ye,ct,We,Ze,Re){const{startEdge:lt,endEdge:pt}=Ye,{groupSlides:vt}=Re,Pt=It().map(ct.measure),Ge=Ht(),Be=wr();function It(){return vt(Ze).map(tr=>d(tr)[pt]-tr[0][lt]).map(m)}function Ht(){return Ze.map(tr=>We[lt]-tr[lt]).map(tr=>-m(tr))}function wr(){return vt(Ge).map(tr=>tr[0]).map((tr,Fr)=>tr+Pt[Fr])}return{snaps:Ge,snapsAligned:Be}}function Xe(Ye,ct,We,Ze,Re,lt){const{groupSlides:pt}=Re,{min:vt,max:Pt}=Ze,Ge=Be();function Be(){const Ht=pt(lt),wr=!Ye||ct==="keepSnaps";return We.length===1?[lt]:wr?Ht:Ht.slice(vt,Pt).map((ir,tr,Fr)=>{const mr=!tr,Or=w(Fr,tr);if(mr){const Nr=d(Fr[0])+1;return x(Nr)}if(Or){const Nr=g(lt)-d(Fr)[0]+1;return x(Nr,d(Fr)[0])}return ir})}return{slideRegistry:Ge}}function dt(Ye,ct,We,Ze,Re){const{reachedAny:lt,removeOffset:pt,constrain:vt}=Ze;function Pt(ir){return ir.concat().sort((tr,Fr)=>m(tr)-m(Fr))[0]}function Ge(ir){const tr=Ye?pt(ir):vt(ir),Fr=ct.map(Or=>Or-tr).map(Or=>Be(Or,0)).map((Or,Nr)=>({diff:Or,index:Nr})).sort((Or,Nr)=>m(Or.diff)-m(Nr.diff)),{index:mr}=Fr[0];return{index:mr,distance:tr}}function Be(ir,tr){const Fr=[ir,ir+We,ir-We];if(!Ye)return Fr[0];if(!tr)return Pt(Fr);const mr=Fr.filter(Or=>D(Or)===tr);return mr.length?Pt(mr):d(Fr)-We}function It(ir,tr){const Fr=ct[ir]-Re.get(),mr=Be(Fr,tr);return{index:ir,distance:mr}}function Ht(ir,tr){const Fr=Re.get()+ir,{index:mr,distance:Or}=Ge(Fr),Nr=!Ye&<(Fr);if(!tr||Nr)return{index:mr,distance:ir};const Gr=ct[mr]-Or,Ir=ir+Be(Gr,0);return{index:mr,distance:Ir}}return{byDistance:Ht,byIndex:It,shortcut:Be}}function it(Ye,ct,We,Ze,Re,lt,pt){function vt(It){const Ht=It.distance,wr=It.index!==ct.get();lt.add(Ht),Ht&&(Ze.duration()?Ye.start():(Ye.update(),Ye.render(1),Ye.update())),wr&&(We.set(ct.get()),ct.set(It.index),pt.emit("select"))}function Pt(It,Ht){const wr=Re.byDistance(It,Ht);vt(wr)}function Ge(It,Ht){const wr=ct.clone().set(It),ir=Re.byIndex(wr.get(),Ht);vt(ir)}return{distance:Pt,index:Ge}}function Ie(Ye,ct,We,Ze,Re,lt){let pt=0;function vt(){lt.add(document,"keydown",Pt,!1),ct.forEach(Ge)}function Pt(It){It.code==="Tab"&&(pt=new Date().getTime())}function Ge(It){const Ht=()=>{if(new Date().getTime()-pt>10)return;Ye.scrollLeft=0;const tr=ct.indexOf(It),Fr=We.findIndex(mr=>mr.includes(tr));S(Fr)&&(Re.useDuration(0),Ze.index(Fr,0))};lt.add(It,"focus",Ht,{passive:!0,capture:!0})}return{init:vt}}function ue(Ye){let ct=Ye;function We(){return ct}function Ze(Pt){ct=pt(Pt)}function Re(Pt){ct+=pt(Pt)}function lt(Pt){ct-=pt(Pt)}function pt(Pt){return S(Pt)?Pt:Pt.get()}return{get:We,set:Ze,add:Re,subtract:lt}}function Le(Ye,ct,We){const Ze=Ye.scroll==="x"?pt:vt,Re=We.style;let lt=!1;function pt(Ht){return`translate3d(${Ht}px,0px,0px)`}function vt(Ht){return`translate3d(0px,${Ht}px,0px)`}function Pt(Ht){lt||(Re.transform=Ze(ct.apply(Ht)))}function Ge(Ht){lt=!Ht}function Be(){lt||(Re.transform="",We.getAttribute("style")||We.removeAttribute("style"))}return{clear:Be,to:Pt,toggleActive:Ge}}function je(Ye,ct,We,Ze,Re,lt,pt,vt,Pt,Ge){const It=c(lt),Ht=c(lt).reverse(),wr=Or().concat(Nr());function ir(ln,Jr){return ln.reduce((Zr,St)=>Zr-lt[St],Jr)}function tr(ln,Jr){return ln.reduce((Zr,St)=>ir(Zr,Jr)>0?Zr.concat([St]):Zr,[])}function Fr(ln){return pt.map((Jr,Zr)=>({start:Jr-Re[Zr]+.5+ln,end:Jr+We-.5+ln}))}function mr(ln,Jr,Zr){const St=Fr(Jr);return ln.map(Ot=>{const Pe=Zr?0:-Ze,Ee=Zr?Ze:0,Ue=Zr?"end":"start",Ft=St[Ot][Ue];return{index:Ot,loopPoint:Ft,slideLocation:ue(-1),translate:Le(Ye,ct,Ge[Ot]),target:()=>Pt.get()>Ft?Pe:Ee}})}function Or(){const ln=vt[0],Jr=tr(Ht,ln);return mr(Jr,Ze,!1)}function Nr(){const ln=We-vt[0]-1,Jr=tr(It,ln);return mr(Jr,-Ze,!0)}function Gr(){return wr.every(({index:ln})=>{const Jr=It.filter(Zr=>Zr!==ln);return ir(Jr,We)<=.1})}function Ir(){wr.forEach(ln=>{const{target:Jr,translate:Zr,slideLocation:St}=ln,Ot=Jr();Ot!==St.get()&&(Zr.to(Ot),St.set(Ot))})}function mn(){wr.forEach(ln=>ln.translate.clear())}return{canLoop:Gr,clear:mn,loop:Ir,loopPoints:wr}}function J(Ye,ct,We){let Ze,Re=!1;function lt(Pt){if(!We)return;function Ge(Be){for(const It of Be)if(It.type==="childList"){Pt.reInit(),ct.emit("slidesChanged");break}}Ze=new MutationObserver(Be=>{Re||(C(We)||We(Pt,Be))&&Ge(Be)}),Ze.observe(Ye,{childList:!0})}function pt(){Ze&&Ze.disconnect(),Re=!0}return{init:lt,destroy:pt}}function $(Ye,ct,We,Ze){const Re={};let lt=null,pt=null,vt,Pt=!1;function Ge(){vt=new IntersectionObserver(ir=>{Pt||(ir.forEach(tr=>{const Fr=ct.indexOf(tr.target);Re[Fr]=tr}),lt=null,pt=null,We.emit("slidesInView"))},{root:Ye.parentElement,threshold:Ze}),ct.forEach(ir=>vt.observe(ir))}function Be(){vt&&vt.disconnect(),Pt=!0}function It(ir){return T(Re).reduce((tr,Fr)=>{const mr=parseInt(Fr),{isIntersecting:Or}=Re[mr];return(ir&&Or||!ir&&!Or)&&tr.push(mr),tr},[])}function Ht(ir=!0){if(ir&<)return lt;if(!ir&&pt)return pt;const tr=It(ir);return ir&&(lt=tr),ir||(pt=tr),tr}return{init:Ge,destroy:Be,get:Ht}}function G(Ye,ct,We,Ze,Re,lt){const{measureSize:pt,startEdge:vt,endEdge:Pt}=Ye,Ge=We[0]&&Re,Be=ir(),It=tr(),Ht=We.map(pt),wr=Fr();function ir(){if(!Ge)return 0;const Or=We[0];return m(ct[vt]-Or[vt])}function tr(){if(!Ge)return 0;const Or=lt.getComputedStyle(d(Ze));return parseFloat(Or.getPropertyValue(`margin-${Pt}`))}function Fr(){return We.map((Or,Nr,Gr)=>{const Ir=!Nr,mn=w(Gr,Nr);return Ir?Ht[Nr]+Be:mn?Ht[Nr]+It:Gr[Nr+1][vt]-Or[vt]}).map(m)}return{slideSizes:Ht,slideSizesWithGaps:wr,startGap:Be,endGap:It}}function U(Ye,ct,We,Ze,Re,lt,pt,vt,Pt,Ge){const{startEdge:Be,endEdge:It}=Ye,Ht=S(Ze);function wr(mr,Or){return c(mr).filter(Nr=>Nr%Or===0).map(Nr=>mr.slice(Nr,Nr+Or))}function ir(mr){return mr.length?c(mr).reduce((Or,Nr)=>{const Gr=d(Or)||0,Ir=Gr===0,mn=Nr===g(mr),An=lt[Be]-pt[Gr][Be],ln=lt[Be]-pt[Nr][It],Jr=!Re&&Ir?ct.apply(vt):0,Zr=!Re&&mn?ct.apply(Pt):0;return m(ln-Zr-(An+Jr))>We+Ge&&Or.push(Nr),mn&&Or.push(mr.length),Or},[]).map((Or,Nr,Gr)=>{const Ir=Math.max(Gr[Nr-1]||0);return mr.slice(Ir,Or)}):[]}function tr(mr){return Ht?wr(mr,Ze):ir(mr)}return{groupSlides:tr}}function L(Ye,ct,We,Ze,Re,lt,pt){const{align:vt,axis:Pt,direction:Ge,startIndex:Be,loop:It,duration:Ht,dragFree:wr,dragThreshold:ir,inViewThreshold:tr,slidesToScroll:Fr,skipSnaps:mr,containScroll:Or,watchResize:Nr,watchSlides:Gr,watchDrag:Ir}=lt,mn=2,An=k(),ln=An.measure(ct),Jr=We.map(An.measure),Zr=Ce(Ge),St=pe(Pt,Ge),Ot=St.measureSize(ln),Pe=W(Ot),Ee=K(vt,Ot),Ue=!It&&!!Or,Ft=It||!!Or,{slideSizes:Rt,slideSizesWithGaps:ht,startGap:br,endGap:pr}=G(St,ln,Jr,We,Ft,Re),Wt=U(St,Zr,Ot,Fr,It,ln,Jr,br,pr,mn),{snaps:yt,snapsAligned:Mt}=Ke(St,Ee,ln,Jr,Wt),Jt=-d(yt)+d(ht),{snapsContained:Se,scrollContainLimit:qe}=te(Ot,Jt,Mt,Or,mn),er=Ue?Se:Mt,{limit:rr}=ge(Jt,er,It),At=we(g(er),Be,It),ar=At.clone(),gr=c(We),dr=({dragHandler:fi,scrollBody:ai,scrollBounds:Ui,options:{loop:Ei}})=>{Ei||Ui.constrain(fi.pointerDown()),ai.seek()},Ur=({scrollBody:fi,translate:ai,location:Ui,offsetLocation:Ei,scrollLooper:Hi,slideLooper:$n,dragHandler:st,animation:Tt,eventHandler:Sr,options:{loop:kr}},Pn)=>{const en=fi.velocity(),Cn=fi.settled();Cn&&!st.pointerDown()&&(Tt.stop(),Sr.emit("settle")),Cn||Sr.emit("scroll"),Ei.set(Ui.get()-en+en*Pn),kr&&(Hi.loop(fi.direction()),$n.loop()),ai.to(Ei.get())},Pr=he(Ze,Re,()=>dr(ci),fi=>Ur(ci,fi)),Xr=.68,un=er[At.get()],qr=ue(un),Bn=ue(un),Yn=ue(un),ni=Q(qr,Bn,Yn,Ht,Xr),li=dt(It,er,Jt,rr,Yn),Qn=it(Pr,At,ar,ni,li,Yn,pt),ui=Qe(rr),pi=ee(),Dn=$(ct,We,pt,tr),{slideRegistry:Li}=Xe(Ue,Or,er,qe,Wt,gr),Mi=Ie(Ye,We,Li,Qn,ni,pi),ci={ownerDocument:Ze,ownerWindow:Re,eventHandler:pt,containerRect:ln,slideRects:Jr,animation:Pr,axis:St,direction:Zr,dragHandler:Ne(St,Zr,Ye,Ze,Re,Yn,B(St,Re),qr,Pr,Qn,ni,li,At,pt,Pe,wr,ir,mr,Xr,Ir),eventStore:pi,percentOfView:Pe,index:At,indexPrevious:ar,limit:rr,location:qr,offsetLocation:Bn,options:lt,resizeHandler:q(ct,pt,Re,We,St,Nr,An),scrollBody:ni,scrollBounds:re(rr,Bn,Yn,ni,Pe),scrollLooper:Fe(Jt,rr,Bn,[qr,Bn,Yn]),scrollProgress:ui,scrollSnapList:er.map(ui.get),scrollSnaps:er,scrollTarget:li,scrollTo:Qn,slideLooper:je(St,Zr,Ot,Jt,Rt,ht,yt,er,Bn,We),slideFocus:Mi,slidesHandler:J(ct,pt,Gr),slidesInView:Dn,slideIndexes:gr,slideRegistry:Li,slidesToScroll:Wt,target:Yn,translate:Le(St,Zr,ct)};return ci}function j(){const Ye={};let ct;function We(Pt){ct=Pt}function Ze(Pt){return Ye[Pt]||[]}function Re(Pt){return Ze(Pt).forEach(Ge=>Ge(ct,Pt)),vt}function lt(Pt,Ge){return Ye[Pt]=Ze(Pt).concat([Ge]),vt}function pt(Pt,Ge){return Ye[Pt]=Ze(Pt).filter(Be=>Be!==Ge),vt}const vt={init:We,emit:Re,off:pt,on:lt};return vt}const le={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0};function Te(Ye){function ct(lt,pt){return O(lt,pt||{})}function We(lt){const pt=lt.breakpoints||{},vt=T(pt).filter(Pt=>Ye.matchMedia(Pt).matches).map(Pt=>pt[Pt]).reduce((Pt,Ge)=>ct(Pt,Ge),{});return ct(lt,vt)}function Ze(lt){return lt.map(pt=>T(pt.breakpoints||{})).reduce((pt,vt)=>pt.concat(vt),[]).map(Ye.matchMedia)}return{mergeOptions:ct,optionsAtMedia:We,optionsMediaQueries:Ze}}function Je(Ye){let ct=[];function We(lt,pt){return ct=pt.filter(({options:vt})=>Ye.optionsAtMedia(vt).active!==!1),ct.forEach(vt=>vt.init(lt,Ye)),pt.reduce((vt,Pt)=>Object.assign(vt,{[Pt.name]:Pt}),{})}function Ze(){ct=ct.filter(lt=>lt.destroy())}return{init:We,destroy:Ze}}function ot(Ye,ct,We){const Ze=Ye.ownerDocument,Re=Ze.defaultView,lt=Te(Re),pt=Je(lt),vt=ee(),Pt=j(),{mergeOptions:Ge,optionsAtMedia:Be,optionsMediaQueries:It}=lt,{on:Ht,off:wr,emit:ir}=Pt,tr=St;let Fr=!1,mr,Or=Ge(le,ot.globalOptions),Nr=Ge(Or),Gr=[],Ir,mn,An;function ln(){const{container:gr,slides:dr}=Nr;mn=(l(gr)?Ye.querySelector(gr):gr)||Ye.children[0];const Pr=l(dr)?mn.querySelectorAll(dr):dr;An=[].slice.call(Pr||mn.children)}function Jr(gr){const dr=L(Ye,mn,An,Ze,Re,gr,Pt);if(gr.loop&&!dr.slideLooper.canLoop()){const Ur=Object.assign({},gr,{loop:!1});return Jr(Ur)}return dr}function Zr(gr,dr){Fr||(Or=Ge(Or,gr),Nr=Be(Or),Gr=dr||Gr,ln(),mr=Jr(Nr),It([Or,...Gr.map(({options:Ur})=>Ur)]).forEach(Ur=>vt.add(Ur,"change",St)),Nr.active&&(mr.translate.to(mr.location.get()),mr.animation.init(),mr.slidesInView.init(),mr.slideFocus.init(),mr.eventHandler.init(ar),mr.resizeHandler.init(ar),mr.slidesHandler.init(ar),mr.options.loop&&mr.slideLooper.loop(),mn.offsetParent&&An.length&&mr.dragHandler.init(ar),Ir=pt.init(ar,Gr)))}function St(gr,dr){const Ur=Wt();Ot(),Zr(Ge({startIndex:Ur},gr),dr),Pt.emit("reInit")}function Ot(){mr.dragHandler.destroy(),mr.eventStore.clear(),mr.translate.clear(),mr.slideLooper.clear(),mr.resizeHandler.destroy(),mr.slidesHandler.destroy(),mr.slidesInView.destroy(),mr.animation.destroy(),pt.destroy(),vt.clear()}function Pe(){Fr||(Fr=!0,vt.clear(),Ot(),Pt.emit("destroy"))}function Ee(gr,dr,Ur){!Nr.active||Fr||(mr.scrollBody.useBaseFriction().useDuration(dr===!0?0:Nr.duration),mr.scrollTo.index(gr,Ur||0))}function Ue(gr){const dr=mr.index.add(1).get();Ee(dr,gr,-1)}function Ft(gr){const dr=mr.index.add(-1).get();Ee(dr,gr,1)}function Rt(){return mr.index.add(1).get()!==Wt()}function ht(){return mr.index.add(-1).get()!==Wt()}function br(){return mr.scrollSnapList}function pr(){return mr.scrollProgress.get(mr.location.get())}function Wt(){return mr.index.get()}function yt(){return mr.indexPrevious.get()}function Mt(){return mr.slidesInView.get()}function Jt(){return mr.slidesInView.get(!1)}function Se(){return Ir}function qe(){return mr}function er(){return Ye}function rr(){return mn}function At(){return An}const ar={canScrollNext:Rt,canScrollPrev:ht,containerNode:rr,internalEngine:qe,destroy:Pe,off:wr,on:Ht,emit:ir,plugins:Se,previousScrollSnap:yt,reInit:tr,rootNode:er,scrollNext:Ue,scrollPrev:Ft,scrollProgress:pr,scrollSnapList:br,scrollTo:Ee,selectedScrollSnap:Wt,slideNodes:At,slidesInView:Mt,slidesNotInView:Jt};return Zr(ct,We),setTimeout(()=>Pt.emit("init"),0),ar}ot.globalOptions=void 0;function Gt(Ye={},ct=[]){const We=(0,n.useRef)(Ye),Ze=(0,n.useRef)(ct),[Re,lt]=(0,n.useState)(),[pt,vt]=(0,n.useState)(),Pt=(0,n.useCallback)(()=>{Re&&Re.reInit(We.current,Ze.current)},[Re]);return(0,n.useEffect)(()=>{if(s()&&pt){ot.globalOptions=Gt.globalOptions;const Ge=ot(pt,We.current,Ze.current);return lt(Ge),()=>Ge.destroy()}else lt(void 0)},[pt,lt]),(0,n.useEffect)(()=>{h(We.current,Ye)||(We.current=Ye,Pt())},[Ye,Pt]),(0,n.useEffect)(()=>{A(Ze.current,ct)||(Ze.current=ct,Pt())},[ct,Pt]),[vt,Re]}Gt.globalOptions=void 0},OMslc0Et:(I,v,t)=>{"use strict";var ln,nc,Zr,Gc;function n(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let o=n();function r(Ot){o=Ot}const s=/[&<>"']/,h=new RegExp(s.source,"g"),u=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,A=new RegExp(u.source,"g"),S={"&":"&","<":"<",">":">",'"':""","'":"'"},l=Ot=>S[Ot];function C(Ot,Pe){if(Pe){if(s.test(Ot))return Ot.replace(h,l)}else if(u.test(Ot))return Ot.replace(A,l);return Ot}const b=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function m(Ot){return Ot.replace(b,(Pe,Ee)=>(Ee=Ee.toLowerCase(),Ee==="colon"?":":Ee.charAt(0)==="#"?Ee.charAt(1)==="x"?String.fromCharCode(parseInt(Ee.substring(2),16)):String.fromCharCode(+Ee.substring(1)):""))}const D=/(^|[^\[])\^/g;function f(Ot,Pe){let Ee=typeof Ot=="string"?Ot:Ot.source;Pe=Pe||"";const Ue={replace:(Ft,Rt)=>{let ht=typeof Rt=="string"?Rt:Rt.source;return ht=ht.replace(D,"$1"),Ee=Ee.replace(Ft,ht),Ue},getRegex:()=>new RegExp(Ee,Pe)};return Ue}function p(Ot){try{Ot=encodeURI(Ot).replace(/%25/g,"%")}catch{return null}return Ot}const c={exec:()=>null};function d(Ot,Pe){const Ee=Ot.replace(/\|/g,(Rt,ht,br)=>{let pr=!1,Wt=ht;for(;--Wt>=0&&br[Wt]==="\\";)pr=!pr;return pr?"|":" |"}),Ue=Ee.split(/ \|/);let Ft=0;if(Ue[0].trim()||Ue.shift(),Ue.length>0&&!Ue[Ue.length-1].trim()&&Ue.pop(),Pe)if(Ue.length>Pe)Ue.splice(Pe);else for(;Ue.length{const Rt=Ft.match(/^\s+/);if(Rt===null)return Ft;const[ht]=Rt;return ht.length>=Ue.length?Ft.slice(Ue.length):Ft}).join(` `)}class O{constructor(Pe){ba(this,"options");ba(this,"rules");ba(this,"lexer");this.options=Pe||o}space(Pe){const Ee=this.rules.block.newline.exec(Pe);if(Ee&&Ee[0].length>0)return{type:"space",raw:Ee[0]}}code(Pe){const Ee=this.rules.block.code.exec(Pe);if(Ee){const Ue=Ee[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:Ee[0],codeBlockStyle:"indented",text:this.options.pedantic?Ue:g(Ue,` `)}}}fences(Pe){const Ee=this.rules.block.fences.exec(Pe);if(Ee){const Ue=Ee[0],Ft=T(Ue,Ee[3]||"");return{type:"code",raw:Ue,lang:Ee[2]?Ee[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):Ee[2],text:Ft}}}heading(Pe){const Ee=this.rules.block.heading.exec(Pe);if(Ee){let Ue=Ee[2].trim();if(/#$/.test(Ue)){const Ft=g(Ue,"#");(this.options.pedantic||!Ft||/ $/.test(Ft))&&(Ue=Ft.trim())}return{type:"heading",raw:Ee[0],depth:Ee[1].length,text:Ue,tokens:this.lexer.inline(Ue)}}}hr(Pe){const Ee=this.rules.block.hr.exec(Pe);if(Ee)return{type:"hr",raw:Ee[0]}}blockquote(Pe){const Ee=this.rules.block.blockquote.exec(Pe);if(Ee){const Ue=g(Ee[0].replace(/^ *>[ \t]?/gm,""),` `),Ft=this.lexer.state.top;this.lexer.state.top=!0;const Rt=this.lexer.blockTokens(Ue);return this.lexer.state.top=Ft,{type:"blockquote",raw:Ee[0],tokens:Rt,text:Ue}}}list(Pe){let Ee=this.rules.block.list.exec(Pe);if(Ee){let Ue=Ee[1].trim();const Ft=Ue.length>1,Rt={type:"list",raw:"",ordered:Ft,start:Ft?+Ue.slice(0,-1):"",loose:!1,items:[]};Ue=Ft?`\\d{1,9}\\${Ue.slice(-1)}`:`\\${Ue}`,this.options.pedantic&&(Ue=Ft?Ue:"[*+-]");const ht=new RegExp(`^( {0,3}${Ue})((?:[ ][^\\n]*)?(?:\\n|$))`);let br="",pr="",Wt=!1;for(;Pe;){let yt=!1;if(!(Ee=ht.exec(Pe))||this.rules.block.hr.test(Pe))break;br=Ee[0],Pe=Pe.substring(br.length);let Mt=Ee[2].split(` `,1)[0].replace(/^\t+/,At=>" ".repeat(3*At.length)),Jt=Pe.split(` `,1)[0],Se=0;this.options.pedantic?(Se=2,pr=Mt.trimStart()):(Se=Ee[2].search(/[^ ]/),Se=Se>4?1:Se,pr=Mt.slice(Se),Se+=Ee[1].length);let qe=!1;if(!Mt&&/^ *$/.test(Jt)&&(br+=Jt+` `,Pe=Pe.substring(Jt.length+1),yt=!0),!yt){const At=new RegExp(`^ {0,${Math.min(3,Se-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),ar=new RegExp(`^ {0,${Math.min(3,Se-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),gr=new RegExp(`^ {0,${Math.min(3,Se-1)}}(?:\`\`\`|~~~)`),dr=new RegExp(`^ {0,${Math.min(3,Se-1)}}#`);for(;Pe;){const Ur=Pe.split(` `,1)[0];if(Jt=Ur,this.options.pedantic&&(Jt=Jt.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),gr.test(Jt)||dr.test(Jt)||At.test(Jt)||ar.test(Pe))break;if(Jt.search(/[^ ]/)>=Se||!Jt.trim())pr+=` `+Jt.slice(Se);else{if(qe||Mt.search(/[^ ]/)>=4||gr.test(Mt)||dr.test(Mt)||ar.test(Mt))break;pr+=` `+Jt}!qe&&!Jt.trim()&&(qe=!0),br+=Ur+` `,Pe=Pe.substring(Ur.length+1),Mt=Jt.slice(Se)}}Rt.loose||(Wt?Rt.loose=!0:/\n *\n *$/.test(br)&&(Wt=!0));let er=null,rr;this.options.gfm&&(er=/^\[[ xX]\] /.exec(pr),er&&(rr=er[0]!=="[ ] ",pr=pr.replace(/^\[[ xX]\] +/,""))),Rt.items.push({type:"list_item",raw:br,task:!!er,checked:rr,loose:!1,text:pr,tokens:[]}),Rt.raw+=br}Rt.items[Rt.items.length-1].raw=br.trimEnd(),Rt.items[Rt.items.length-1].text=pr.trimEnd(),Rt.raw=Rt.raw.trimEnd();for(let yt=0;ytSe.type==="space"),Jt=Mt.length>0&&Mt.some(Se=>/\n.*\n/.test(Se.raw));Rt.loose=Jt}if(Rt.loose)for(let yt=0;yt$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",Rt=Ee[3]?Ee[3].substring(1,Ee[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):Ee[3];return{type:"def",tag:Ue,raw:Ee[0],href:Ft,title:Rt}}}table(Pe){const Ee=this.rules.block.table.exec(Pe);if(!Ee||!/[:|]/.test(Ee[2]))return;const Ue=d(Ee[1]),Ft=Ee[2].replace(/^\||\| *$/g,"").split("|"),Rt=Ee[3]&&Ee[3].trim()?Ee[3].replace(/\n[ \t]*$/,"").split(` `):[],ht={type:"table",raw:Ee[0],header:[],align:[],rows:[]};if(Ue.length===Ft.length){for(const br of Ft)/^ *-+: *$/.test(br)?ht.align.push("right"):/^ *:-+: *$/.test(br)?ht.align.push("center"):/^ *:-+ *$/.test(br)?ht.align.push("left"):ht.align.push(null);for(const br of Ue)ht.header.push({text:br,tokens:this.lexer.inline(br)});for(const br of Rt)ht.rows.push(d(br,ht.header.length).map(pr=>({text:pr,tokens:this.lexer.inline(pr)})));return ht}}lheading(Pe){const Ee=this.rules.block.lheading.exec(Pe);if(Ee)return{type:"heading",raw:Ee[0],depth:Ee[2].charAt(0)==="="?1:2,text:Ee[1],tokens:this.lexer.inline(Ee[1])}}paragraph(Pe){const Ee=this.rules.block.paragraph.exec(Pe);if(Ee){const Ue=Ee[1].charAt(Ee[1].length-1)===` `?Ee[1].slice(0,-1):Ee[1];return{type:"paragraph",raw:Ee[0],text:Ue,tokens:this.lexer.inline(Ue)}}}text(Pe){const Ee=this.rules.block.text.exec(Pe);if(Ee)return{type:"text",raw:Ee[0],text:Ee[0],tokens:this.lexer.inline(Ee[0])}}escape(Pe){const Ee=this.rules.inline.escape.exec(Pe);if(Ee)return{type:"escape",raw:Ee[0],text:C(Ee[1])}}tag(Pe){const Ee=this.rules.inline.tag.exec(Pe);if(Ee)return!this.lexer.state.inLink&&/^/i.test(Ee[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(Ee[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Ee[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:Ee[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:Ee[0]}}link(Pe){const Ee=this.rules.inline.link.exec(Pe);if(Ee){const Ue=Ee[2].trim();if(!this.options.pedantic&&/^$/.test(Ue))return;const ht=g(Ue.slice(0,-1),"\\");if((Ue.length-ht.length)%2===0)return}else{const ht=w(Ee[2],"()");if(ht>-1){const pr=(Ee[0].indexOf("!")===0?5:4)+Ee[1].length+ht;Ee[2]=Ee[2].substring(0,ht),Ee[0]=Ee[0].substring(0,pr).trim(),Ee[3]=""}}let Ft=Ee[2],Rt="";if(this.options.pedantic){const ht=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Ft);ht&&(Ft=ht[1],Rt=ht[3])}else Rt=Ee[3]?Ee[3].slice(1,-1):"";return Ft=Ft.trim(),/^$/.test(Ue)?Ft=Ft.slice(1):Ft=Ft.slice(1,-1)),x(Ee,{href:Ft&&Ft.replace(this.rules.inline.anyPunctuation,"$1"),title:Rt&&Rt.replace(this.rules.inline.anyPunctuation,"$1")},Ee[0],this.lexer)}}reflink(Pe,Ee){let Ue;if((Ue=this.rules.inline.reflink.exec(Pe))||(Ue=this.rules.inline.nolink.exec(Pe))){const Ft=(Ue[2]||Ue[1]).replace(/\s+/g," "),Rt=Ee[Ft.toLowerCase()];if(!Rt){const ht=Ue[0].charAt(0);return{type:"text",raw:ht,text:ht}}return x(Ue,Rt,Ue[0],this.lexer)}}emStrong(Pe,Ee,Ue=""){let Ft=this.rules.inline.emStrongLDelim.exec(Pe);if(!Ft||Ft[3]&&Ue.match(/[\p{L}\p{N}]/u))return;if(!(Ft[1]||Ft[2]||"")||!Ue||this.rules.inline.punctuation.exec(Ue)){const ht=[...Ft[0]].length-1;let br,pr,Wt=ht,yt=0;const Mt=Ft[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(Mt.lastIndex=0,Ee=Ee.slice(-1*Pe.length+ht);(Ft=Mt.exec(Ee))!=null;){if(br=Ft[1]||Ft[2]||Ft[3]||Ft[4]||Ft[5]||Ft[6],!br)continue;if(pr=[...br].length,Ft[3]||Ft[4]){Wt+=pr;continue}else if((Ft[5]||Ft[6])&&ht%3&&!((ht+pr)%3)){yt+=pr;continue}if(Wt-=pr,Wt>0)continue;pr=Math.min(pr,pr+Wt+yt);const Jt=[...Ft[0]][0].length,Se=Pe.slice(0,ht+Ft.index+Jt+pr);if(Math.min(ht,pr)%2){const er=Se.slice(1,-1);return{type:"em",raw:Se,text:er,tokens:this.lexer.inlineTokens(er)}}const qe=Se.slice(2,-2);return{type:"strong",raw:Se,text:qe,tokens:this.lexer.inlineTokens(qe)}}}}codespan(Pe){const Ee=this.rules.inline.code.exec(Pe);if(Ee){let Ue=Ee[2].replace(/\n/g," ");const Ft=/[^ ]/.test(Ue),Rt=/^ /.test(Ue)&&/ $/.test(Ue);return Ft&&Rt&&(Ue=Ue.substring(1,Ue.length-1)),Ue=C(Ue,!0),{type:"codespan",raw:Ee[0],text:Ue}}}br(Pe){const Ee=this.rules.inline.br.exec(Pe);if(Ee)return{type:"br",raw:Ee[0]}}del(Pe){const Ee=this.rules.inline.del.exec(Pe);if(Ee)return{type:"del",raw:Ee[0],text:Ee[2],tokens:this.lexer.inlineTokens(Ee[2])}}autolink(Pe){const Ee=this.rules.inline.autolink.exec(Pe);if(Ee){let Ue,Ft;return Ee[2]==="@"?(Ue=C(Ee[1]),Ft="mailto:"+Ue):(Ue=C(Ee[1]),Ft=Ue),{type:"link",raw:Ee[0],text:Ue,href:Ft,tokens:[{type:"text",raw:Ue,text:Ue}]}}}url(Pe){var Ue,Ft;let Ee;if(Ee=this.rules.inline.url.exec(Pe)){let Rt,ht;if(Ee[2]==="@")Rt=C(Ee[0]),ht="mailto:"+Rt;else{let br;do br=Ee[0],Ee[0]=(Ft=(Ue=this.rules.inline._backpedal.exec(Ee[0]))==null?void 0:Ue[0])!=null?Ft:"";while(br!==Ee[0]);Rt=C(Ee[0]),Ee[1]==="www."?ht="http://"+Ee[0]:ht=Ee[0]}return{type:"link",raw:Ee[0],text:Rt,href:ht,tokens:[{type:"text",raw:Rt,text:Rt}]}}}inlineText(Pe){const Ee=this.rules.inline.text.exec(Pe);if(Ee){let Ue;return this.lexer.state.inRawBlock?Ue=Ee[0]:Ue=C(Ee[0]),{type:"text",raw:Ee[0],text:Ue}}}}const F=/^(?: *(?:\n|$))+/,K=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,ee=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,he=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,pe=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,ie=/(?:[*+-]|\d{1,9}[.)])/,we=f(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,ie).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),Ce=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Ne=/^[^\n]+/,B=/(?!\s*\])(?:\\.|[^\[\]\\])+/,k=f(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",B).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),W=f(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,ie).getRegex(),q="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Q=/|$))/,re=f("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",Q).replace("tag",q).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),te=f(Ce).replace("hr",he).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",q).getRegex(),Fe={blockquote:f(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",te).getRegex(),code:K,def:k,fences:ee,heading:pe,hr:he,html:re,lheading:we,list:W,newline:F,paragraph:te,table:c,text:Ne},Qe=f("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",he).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",q).getRegex(),Ke={...Fe,table:Qe,paragraph:f(Ce).replace("hr",he).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Qe).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",q).getRegex()},Xe={...Fe,html:f(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Q).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:c,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:f(Ce).replace("hr",he).replace("heading",` *#{1,6} *[^ ]`).replace("lheading",we).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},dt=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,it=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Ie=/^( {2,}|\\)\n(?!\s*$)/,ue=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,$=f(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,Le).getRegex(),G=f("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,Le).getRegex(),U=f("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,Le).getRegex(),L=f(/\\([punct])/,"gu").replace(/punct/g,Le).getRegex(),j=f(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),le=f(Q).replace("(?:-->|$)","-->").getRegex(),Te=f("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",le).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Je=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,ot=f(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Je).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Gt=f(/^!?\[(label)\]\[(ref)\]/).replace("label",Je).replace("ref",B).getRegex(),Ye=f(/^!?\[(ref)\](?:\[\])?/).replace("ref",B).getRegex(),ct=f("reflink|nolink(?!\\()","g").replace("reflink",Gt).replace("nolink",Ye).getRegex(),We={_backpedal:c,anyPunctuation:L,autolink:j,blockSkip:J,br:Ie,code:it,del:c,emStrongLDelim:$,emStrongRDelimAst:G,emStrongRDelimUnd:U,escape:dt,link:ot,nolink:Ye,punctuation:je,reflink:Gt,reflinkSearch:ct,tag:Te,text:ue,url:c},Ze={...We,link:f(/^!?\[(label)\]\((.*?)\)/).replace("label",Je).getRegex(),reflink:f(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Je).getRegex()},Re={...We,escape:f(dt).replace("])","~|])").getRegex(),url:f(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\pr+" ".repeat(Wt.length));let Ue,Ft,Rt,ht;for(;Pe;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(br=>(Ue=br.call({lexer:this},Pe,Ee))?(Pe=Pe.substring(Ue.raw.length),Ee.push(Ue),!0):!1))){if(Ue=this.tokenizer.space(Pe)){Pe=Pe.substring(Ue.raw.length),Ue.raw.length===1&&Ee.length>0?Ee[Ee.length-1].raw+=` `:Ee.push(Ue);continue}if(Ue=this.tokenizer.code(Pe)){Pe=Pe.substring(Ue.raw.length),Ft=Ee[Ee.length-1],Ft&&(Ft.type==="paragraph"||Ft.type==="text")?(Ft.raw+=` `+Ue.raw,Ft.text+=` `+Ue.text,this.inlineQueue[this.inlineQueue.length-1].src=Ft.text):Ee.push(Ue);continue}if(Ue=this.tokenizer.fences(Pe)){Pe=Pe.substring(Ue.raw.length),Ee.push(Ue);continue}if(Ue=this.tokenizer.heading(Pe)){Pe=Pe.substring(Ue.raw.length),Ee.push(Ue);continue}if(Ue=this.tokenizer.hr(Pe)){Pe=Pe.substring(Ue.raw.length),Ee.push(Ue);continue}if(Ue=this.tokenizer.blockquote(Pe)){Pe=Pe.substring(Ue.raw.length),Ee.push(Ue);continue}if(Ue=this.tokenizer.list(Pe)){Pe=Pe.substring(Ue.raw.length),Ee.push(Ue);continue}if(Ue=this.tokenizer.html(Pe)){Pe=Pe.substring(Ue.raw.length),Ee.push(Ue);continue}if(Ue=this.tokenizer.def(Pe)){Pe=Pe.substring(Ue.raw.length),Ft=Ee[Ee.length-1],Ft&&(Ft.type==="paragraph"||Ft.type==="text")?(Ft.raw+=` `+Ue.raw,Ft.text+=` `+Ue.raw,this.inlineQueue[this.inlineQueue.length-1].src=Ft.text):this.tokens.links[Ue.tag]||(this.tokens.links[Ue.tag]={href:Ue.href,title:Ue.title});continue}if(Ue=this.tokenizer.table(Pe)){Pe=Pe.substring(Ue.raw.length),Ee.push(Ue);continue}if(Ue=this.tokenizer.lheading(Pe)){Pe=Pe.substring(Ue.raw.length),Ee.push(Ue);continue}if(Rt=Pe,this.options.extensions&&this.options.extensions.startBlock){let br=1/0;const pr=Pe.slice(1);let Wt;this.options.extensions.startBlock.forEach(yt=>{Wt=yt.call({lexer:this},pr),typeof Wt=="number"&&Wt>=0&&(br=Math.min(br,Wt))}),br<1/0&&br>=0&&(Rt=Pe.substring(0,br+1))}if(this.state.top&&(Ue=this.tokenizer.paragraph(Rt))){Ft=Ee[Ee.length-1],ht&&Ft.type==="paragraph"?(Ft.raw+=` `+Ue.raw,Ft.text+=` `+Ue.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=Ft.text):Ee.push(Ue),ht=Rt.length!==Pe.length,Pe=Pe.substring(Ue.raw.length);continue}if(Ue=this.tokenizer.text(Pe)){Pe=Pe.substring(Ue.raw.length),Ft=Ee[Ee.length-1],Ft&&Ft.type==="text"?(Ft.raw+=` `+Ue.raw,Ft.text+=` `+Ue.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=Ft.text):Ee.push(Ue);continue}if(Pe){const br="Infinite loop on byte: "+Pe.charCodeAt(0);if(this.options.silent){console.error(br);break}else throw new Error(br)}}return this.state.top=!0,Ee}inline(Pe,Ee=[]){return this.inlineQueue.push({src:Pe,tokens:Ee}),Ee}inlineTokens(Pe,Ee=[]){let Ue,Ft,Rt,ht=Pe,br,pr,Wt;if(this.tokens.links){const yt=Object.keys(this.tokens.links);if(yt.length>0)for(;(br=this.tokenizer.rules.inline.reflinkSearch.exec(ht))!=null;)yt.includes(br[0].slice(br[0].lastIndexOf("[")+1,-1))&&(ht=ht.slice(0,br.index)+"["+"a".repeat(br[0].length-2)+"]"+ht.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(br=this.tokenizer.rules.inline.blockSkip.exec(ht))!=null;)ht=ht.slice(0,br.index)+"["+"a".repeat(br[0].length-2)+"]"+ht.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(br=this.tokenizer.rules.inline.anyPunctuation.exec(ht))!=null;)ht=ht.slice(0,br.index)+"++"+ht.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;Pe;)if(pr||(Wt=""),pr=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(yt=>(Ue=yt.call({lexer:this},Pe,Ee))?(Pe=Pe.substring(Ue.raw.length),Ee.push(Ue),!0):!1))){if(Ue=this.tokenizer.escape(Pe)){Pe=Pe.substring(Ue.raw.length),Ee.push(Ue);continue}if(Ue=this.tokenizer.tag(Pe)){Pe=Pe.substring(Ue.raw.length),Ft=Ee[Ee.length-1],Ft&&Ue.type==="text"&&Ft.type==="text"?(Ft.raw+=Ue.raw,Ft.text+=Ue.text):Ee.push(Ue);continue}if(Ue=this.tokenizer.link(Pe)){Pe=Pe.substring(Ue.raw.length),Ee.push(Ue);continue}if(Ue=this.tokenizer.reflink(Pe,this.tokens.links)){Pe=Pe.substring(Ue.raw.length),Ft=Ee[Ee.length-1],Ft&&Ue.type==="text"&&Ft.type==="text"?(Ft.raw+=Ue.raw,Ft.text+=Ue.text):Ee.push(Ue);continue}if(Ue=this.tokenizer.emStrong(Pe,ht,Wt)){Pe=Pe.substring(Ue.raw.length),Ee.push(Ue);continue}if(Ue=this.tokenizer.codespan(Pe)){Pe=Pe.substring(Ue.raw.length),Ee.push(Ue);continue}if(Ue=this.tokenizer.br(Pe)){Pe=Pe.substring(Ue.raw.length),Ee.push(Ue);continue}if(Ue=this.tokenizer.del(Pe)){Pe=Pe.substring(Ue.raw.length),Ee.push(Ue);continue}if(Ue=this.tokenizer.autolink(Pe)){Pe=Pe.substring(Ue.raw.length),Ee.push(Ue);continue}if(!this.state.inLink&&(Ue=this.tokenizer.url(Pe))){Pe=Pe.substring(Ue.raw.length),Ee.push(Ue);continue}if(Rt=Pe,this.options.extensions&&this.options.extensions.startInline){let yt=1/0;const Mt=Pe.slice(1);let Jt;this.options.extensions.startInline.forEach(Se=>{Jt=Se.call({lexer:this},Mt),typeof Jt=="number"&&Jt>=0&&(yt=Math.min(yt,Jt))}),yt<1/0&&yt>=0&&(Rt=Pe.substring(0,yt+1))}if(Ue=this.tokenizer.inlineText(Rt)){Pe=Pe.substring(Ue.raw.length),Ue.raw.slice(-1)!=="_"&&(Wt=Ue.raw.slice(-1)),pr=!0,Ft=Ee[Ee.length-1],Ft&&Ft.type==="text"?(Ft.raw+=Ue.raw,Ft.text+=Ue.text):Ee.push(Ue);continue}if(Pe){const yt="Infinite loop on byte: "+Pe.charCodeAt(0);if(this.options.silent){console.error(yt);break}else throw new Error(yt)}}return Ee}}class Ge{constructor(Pe){ba(this,"options");this.options=Pe||o}code(Pe,Ee,Ue){var Rt;const Ft=(Rt=(Ee||"").match(/^\S*/))==null?void 0:Rt[0];return Pe=Pe.replace(/\n$/,"")+` `,Ft?'
'+(Ue?Pe:C(Pe,!0))+`
`:"
"+(Ue?Pe:C(Pe,!0))+`
`}blockquote(Pe){return`
${Pe}
`}html(Pe,Ee){return Pe}heading(Pe,Ee,Ue){return`${Pe} `}hr(){return`
`}list(Pe,Ee,Ue){const Ft=Ee?"ol":"ul",Rt=Ee&&Ue!==1?' start="'+Ue+'"':"";return"<"+Ft+Rt+`> `+Pe+" `}listitem(Pe,Ee,Ue){return`
  • ${Pe}
  • `}checkbox(Pe){return"'}paragraph(Pe){return`

    ${Pe}

    `}table(Pe,Ee){return Ee&&(Ee=`${Ee}`),` `+Pe+` `+Ee+`
    `}tablerow(Pe){return` ${Pe} `}tablecell(Pe,Ee){const Ue=Ee.header?"th":"td";return(Ee.align?`<${Ue} align="${Ee.align}">`:`<${Ue}>`)+Pe+` `}strong(Pe){return`${Pe}`}em(Pe){return`${Pe}`}codespan(Pe){return`${Pe}`}br(){return"
    "}del(Pe){return`${Pe}`}link(Pe,Ee,Ue){const Ft=p(Pe);if(Ft===null)return Ue;Pe=Ft;let Rt='
    ",Rt}image(Pe,Ee,Ue){const Ft=p(Pe);if(Ft===null)return Ue;Pe=Ft;let Rt=`${Ue}0&&Jt.tokens[0].type==="paragraph"?(Jt.tokens[0].text=rr+" "+Jt.tokens[0].text,Jt.tokens[0].tokens&&Jt.tokens[0].tokens.length>0&&Jt.tokens[0].tokens[0].type==="text"&&(Jt.tokens[0].tokens[0].text=rr+" "+Jt.tokens[0].tokens[0].text)):Jt.tokens.unshift({type:"text",text:rr+" "}):er+=rr+" "}er+=this.parse(Jt.tokens,Wt),yt+=this.renderer.listitem(er,qe,!!Se)}Ue+=this.renderer.list(yt,br,pr);continue}case"html":{const ht=Rt;Ue+=this.renderer.html(ht.text,ht.block);continue}case"paragraph":{const ht=Rt;Ue+=this.renderer.paragraph(this.parseInline(ht.tokens));continue}case"text":{let ht=Rt,br=ht.tokens?this.parseInline(ht.tokens):ht.text;for(;Ft+1{const Wt=br[pr].flat(1/0);Ue=Ue.concat(this.walkTokens(Wt,Ee))}):br.tokens&&(Ue=Ue.concat(this.walkTokens(br.tokens,Ee)))}}return Ue}use(...Pe){const Ee=this.defaults.extensions||{renderers:{},childTokens:{}};return Pe.forEach(Ue=>{const Ft={...Ue};if(Ft.async=this.defaults.async||Ft.async||!1,Ue.extensions&&(Ue.extensions.forEach(Rt=>{if(!Rt.name)throw new Error("extension name required");if("renderer"in Rt){const ht=Ee.renderers[Rt.name];ht?Ee.renderers[Rt.name]=function(...br){let pr=Rt.renderer.apply(this,br);return pr===!1&&(pr=ht.apply(this,br)),pr}:Ee.renderers[Rt.name]=Rt.renderer}if("tokenizer"in Rt){if(!Rt.level||Rt.level!=="block"&&Rt.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const ht=Ee[Rt.level];ht?ht.unshift(Rt.tokenizer):Ee[Rt.level]=[Rt.tokenizer],Rt.start&&(Rt.level==="block"?Ee.startBlock?Ee.startBlock.push(Rt.start):Ee.startBlock=[Rt.start]:Rt.level==="inline"&&(Ee.startInline?Ee.startInline.push(Rt.start):Ee.startInline=[Rt.start]))}"childTokens"in Rt&&Rt.childTokens&&(Ee.childTokens[Rt.name]=Rt.childTokens)}),Ft.extensions=Ee),Ue.renderer){const Rt=this.defaults.renderer||new Ge(this.defaults);for(const ht in Ue.renderer){if(!(ht in Rt))throw new Error(`renderer '${ht}' does not exist`);if(ht==="options")continue;const br=ht,pr=Ue.renderer[br],Wt=Rt[br];Rt[br]=(...yt)=>{let Mt=pr.apply(Rt,yt);return Mt===!1&&(Mt=Wt.apply(Rt,yt)),Mt||""}}Ft.renderer=Rt}if(Ue.tokenizer){const Rt=this.defaults.tokenizer||new O(this.defaults);for(const ht in Ue.tokenizer){if(!(ht in Rt))throw new Error(`tokenizer '${ht}' does not exist`);if(["options","rules","lexer"].includes(ht))continue;const br=ht,pr=Ue.tokenizer[br],Wt=Rt[br];Rt[br]=(...yt)=>{let Mt=pr.apply(Rt,yt);return Mt===!1&&(Mt=Wt.apply(Rt,yt)),Mt}}Ft.tokenizer=Rt}if(Ue.hooks){const Rt=this.defaults.hooks||new Ht;for(const ht in Ue.hooks){if(!(ht in Rt))throw new Error(`hook '${ht}' does not exist`);if(ht==="options")continue;const br=ht,pr=Ue.hooks[br],Wt=Rt[br];Ht.passThroughHooks.has(ht)?Rt[br]=yt=>{if(this.defaults.async)return Promise.resolve(pr.call(Rt,yt)).then(Jt=>Wt.call(Rt,Jt));const Mt=pr.call(Rt,yt);return Wt.call(Rt,Mt)}:Rt[br]=(...yt)=>{let Mt=pr.apply(Rt,yt);return Mt===!1&&(Mt=Wt.apply(Rt,yt)),Mt}}Ft.hooks=Rt}if(Ue.walkTokens){const Rt=this.defaults.walkTokens,ht=Ue.walkTokens;Ft.walkTokens=function(br){let pr=[];return pr.push(ht.call(this,br)),Rt&&(pr=pr.concat(Rt.call(this,br))),pr}}this.defaults={...this.defaults,...Ft}}),this}setOptions(Pe){return this.defaults={...this.defaults,...Pe},this}lexer(Pe,Ee){return Pt.lex(Pe,Ee!=null?Ee:this.defaults)}parser(Pe,Ee){return It.parse(Pe,Ee!=null?Ee:this.defaults)}}ln=new WeakSet,nc=function(Pe,Ee){return(Ue,Ft)=>{const Rt={...Ft},ht={...this.defaults,...Rt};this.defaults.async===!0&&Rt.async===!1&&(ht.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),ht.async=!0);const br=Ou(this,Zr,Gc).call(this,!!ht.silent,!!ht.async);if(typeof Ue>"u"||Ue===null)return br(new Error("marked(): input parameter is undefined or null"));if(typeof Ue!="string")return br(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Ue)+", string expected"));if(ht.hooks&&(ht.hooks.options=ht),ht.async)return Promise.resolve(ht.hooks?ht.hooks.preprocess(Ue):Ue).then(pr=>Pe(pr,ht)).then(pr=>ht.hooks?ht.hooks.processAllTokens(pr):pr).then(pr=>ht.walkTokens?Promise.all(this.walkTokens(pr,ht.walkTokens)).then(()=>pr):pr).then(pr=>Ee(pr,ht)).then(pr=>ht.hooks?ht.hooks.postprocess(pr):pr).catch(br);try{ht.hooks&&(Ue=ht.hooks.preprocess(Ue));let pr=Pe(Ue,ht);ht.hooks&&(pr=ht.hooks.processAllTokens(pr)),ht.walkTokens&&this.walkTokens(pr,ht.walkTokens);let Wt=Ee(pr,ht);return ht.hooks&&(Wt=ht.hooks.postprocess(Wt)),Wt}catch(pr){return br(pr)}}},Zr=new WeakSet,Gc=function(Pe,Ee){return Ue=>{if(Ue.message+=` Please report this to https://github.com/markedjs/marked.`,Pe){const Ft="

    An error occurred:

    "+C(Ue.message+"",!0)+"
    ";return Ee?Promise.resolve(Ft):Ft}if(Ee)return Promise.reject(Ue);throw Ue}};const ir=new wr;function tr(Ot,Pe){return ir.parse(Ot,Pe)}tr.options=tr.setOptions=function(Ot){return ir.setOptions(Ot),tr.defaults=ir.defaults,r(tr.defaults),tr},tr.getDefaults=n,tr.defaults=o,tr.use=function(...Ot){return ir.use(...Ot),tr.defaults=ir.defaults,r(tr.defaults),tr},tr.walkTokens=function(Ot,Pe){return ir.walkTokens(Ot,Pe)},tr.parseInline=ir.parseInline,tr.Parser=It,tr.parser=It.parse,tr.Renderer=Ge,tr.TextRenderer=Be,tr.Lexer=Pt,tr.lexer=Pt.lex,tr.Tokenizer=O,tr.Hooks=Ht,tr.parse=tr;const Fr=tr.options,mr=tr.setOptions,Or=tr.use,Nr=tr.walkTokens,Gr=tr.parseInline,Ir=null,mn=It.parse,An=Pt.lex}}]);})(); //# sourceMappingURL=bf9ab447-17.ad6de67c9f41baffb77e.js.map




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy