https://designsystems.international/aac9c7e67895c7f43b7ade73b26be611d72448fa-8be93df9d70e798c4705.js
1/*! For license information please see aac9c7e67895c7f43b7ade73b26be611d72448fa-8be93df9d70e798c4705.js.LICENSE.txt */ 2(self.webpackChunkdesign_systems_international=self.webpackChunkdesign_systems_international||[]).push([[4798],{3431:function(e){var t=.1,n="function"==typeof Float32Array;function r(e,t){return 1-3*t+3*e}function a(e,t){return 3*t-6*e}function o(e){return 3*e}function l(e,t,n){return((r(t,n)*e+a(t,n))*e+o(t))*e}function i(e,t,n){return 3*r(t,n)*e*e+2*a(t,n)*e+o(t)}function s(e){return e}e.exports=function(e,r,a,o){if(!(0<=e&&e<=1&&0<=a&&a<=1))throw new Error("bezier x values must be in [0, 1] range");if(e===r&&a===o)return s;for(var c=n?new Float32Array(11):new Array(11),u=0;u<11;++u)c[u]=l(u*t,e,a);function m(n){for(var r=0,o=1;10!==o&&c[o]<=n;++o)r+=t;--o;var s=r+(n-c[o])/(c[o+1]-c[o])*t,u=i(s,e,a);return u>=.001?function(e,t,n,r){for(var a=0;a<4;++a){var o=i(t,n,r);if(0===o)return t;t-=(l(t,n,r)-e)/o}return t}(n,s,e,a):0===u?s:function(e,t,n,r,a){var o,i,s=0;do{(o=l(i=t+(n-t)/2,r,a)-e)>0?n=i:t=i}while(Math.abs(o)>1e-7&&++s<10);return i}(n,r,r+t,e,a)}return function(e){return 0===e?0:1===e?1:l(m(e),r,o)}}},6620:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(7294),a=n(4184),o=n.n(a),l=n(8032),i=n(9424),s=n(4160),c="NewHeader-module--metaTitle--0dc75",u="NewHeader-module--metaValue--181b5",m="NewHeader-module--sideRow--1f74e",d=n(1037);var f=e=>{let{title:t,description:n,tag:a="header",headerImage:f,scope:h=[],client:p}=e;const g=a;return r.createElement(g,{className:"NewHeader-module--root--dc3af"},r.createElement("div",{className:"NewHeader-module--image--922c5"},r.createElement(l.G,{image:(0,l.c)(f),alt:t,fit:"cover",style:{width:"100%",height:"100%"}})),r.createElement(i.Z,{className:o()("NewHeader-module--content--39cb9")},r.createElement("div",{className:o()(d.O)},r.createElement("div",{className:d.T,style:{"--col-span":16,"--col-span-medium":24,"--col-span-small":24,"--col-offset":0,"--col-offset-medium":0,"--col-offset-small":0}},r.createElement("h1",{className:"NewHeader-module--title--43627"},r.createElement("span",null,t),r.createElement("span",{className:"NewHeader-module--caption--6c998"},n))),r.createElement("div",{className:o()(d.T,"NewHeader-module--side--41f2d"),style:{"--col-span":6,"--col-span-medium":24,"--col-span-small":24,"--col-offset":2,"--col-offset-medium":0,"--col-offset-small":0}},r.createElement("div",{className:m},r.createElement("div",null,r.createElement("h3",{className:c},"Scope")),r.createElement("div",null,r.createElement("ul",{className:"NewHeader-module--list--80f5d"},h.map(((e,t)=>r.createElement("li",{key:"link-"+t,className:u},r.createElement(s.rU,{to:e.path},r.createElement("span",null,e.titleShort)))))))),r.createElement("div",{className:m},r.createElement("div",null,r.createElement("h3",{className:c},"Client")),r.createElement("div",{className:u},p))))))},h="OldHeader-module--metaItem--c3b4c",p="OldHeader-module--metaTitle--fc1e8",g="OldHeader-module--metaValue--07c9c",v=n(1857);var y=e=>{let{title:t,description:n,tags:a,tag:s="header",takeaways:c=[],duration:u,services:m=[],nda:f=!1,headerImage:y}=e;const w=s,E=c&&c.length>0,b=m&&m.length>0;return r.createElement(w,{className:"OldHeader-module--root--a16bb"},r.createElement("div",{className:"OldHeader-module--image--3c1b8"},r.createElement(l.G,{image:(0,l.c)(y),alt:t,fit:"cover",style:{width:"100%",height:"100%"}})),r.createElement(i.Z,{className:o()("OldHeader-module--content--4501b")},r.createElement("div",{className:o()(d.O)},r.createElement("div",{className:d.T,style:{"--col-span":16,"--col-span-medium":24,"--col-span-small":24,"--col-offset":8,"--col-offset-medium":0,"--col-offset-small":0}},r.createElement("h1",{className:"OldHeader-module--title--d6305"},r.createElement("span",{className:"OldHeader-module--caption--dda64"},t),r.createElement("span",null,n)),r.createElement("div",{className:o()("OldHeader-module--tags--6ec53")},a))),E&&r.createElement("div",{className:o()(d.O,"OldHeader-module--info--daba9")},r.createElement("div",{className:o()(d.T,"OldHeader-module--meta--882d7"),style:{"--col-span":8,"--col-span-medium":24,"--col-span-small":24,"--col-offset":0,"--col-offset-medium":0,"--col-offset-small":0}},b&&r.createElement("div",{className:h},r.createElement("h3",{className:p},"Services"),r.createElement("div",{className:g},m.map(((e,t)=>r.createElement("div",{key:"service-"+t},e))))),u&&r.createElement("div",{className:h},r.createElement("h3",{className:p},"Duration"),r.createElement("div",{className:g},u))),r.createElement("div",{className:o()(d.T,"OldHeader-module--takeaways--59450"),style:{"--col-span":16,"--col-span-medium":24,"--col-span-small":24,"--col-offset":0,"--col-offset-medium":0,"--col-offset-small":0}},r.createElement("h2",{className:o()("OldHeader-module--subtitle--ad85e",{[v.i]:!!f})},"Key Takeaways"),r.createElement("ul",{className:"OldHeader-module--list--098e3"},c.map(((e,t)=>r.createElement("li",{key:"takeaway-"+t,className:"OldHeader-module--item--318a9"},e))))))))};var w=e=>{let{title:t,description:n,tags:a,tag:o="header",takeaways:l=[],duration:i,services:s=[],nda:c=!1,headerImage:u,newHeader:m=!1,scope:d=[],client:h}=e;return m?r.createElement(f,{title:t,description:n,tag:o,headerImage:u,scope:d,client:h}):r.createElement(y,{title:t,description:n,tag:o,tags:a,headerImage:u,scope:d,takeaways:l,duration:i,services:s,nda:c})}},7696:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(7294),a=n(4184),o=n.n(a),l=n(9424),i="ProjectInfo-module--metaList--edd47",s="ProjectInfo-module--metaTitle--60383",c=n(1037);var u=e=>{let{team:t,teams:n,duration:a,services:u}=e;return r.createElement(l.Z,{className:"ProjectInfo-module--root--856cc"},r.createElement("div",{className:o()(c.O,"ProjectInfo-module--wrapper--acd58")},r.createElement("div",{className:o()(c.T),style:{"--col-span":8,"--col-span-medium":12,"--col-span-small":12,"--col-offset":8,"--col-offset-medium":0,"--col-offset-small":0}},t&&r.createElement("div",null,r.createElement("span",{className:s},"Team"),r.createElement("ul",{className:i},t.map(((e,t)=>r.createElement("li",{key:"team-member-"+t},e)))))),n&&r.createElement("div",{className:o()(c.T),style:{"--col-span":8,"--col-span-medium":12,"--col-span-small":12,"--col-offset":0,"--col-offset-medium":0,"--col-offset-small":0}},r.createElement("div",null,n&&n.map(((e,t)=>{const n=r.createElement("span",{key:"title-"+t,className:s},e[0]),a=r.createElement("ul",{className:i},e.slice(1).map(((e,n)=>r.createElement("li",{key:"member-"+t+"-"+n},e))));return r.createElement("div",{key:"team-"+t,className:"ProjectInfo-module--metaTeam--4d263"},n,a)}))))))}},9898:function(e,t,n){"use strict";n.d(t,{w:function(){return Rl}});var r={};n.r(r),n.d(r,{arrow:function(){return x},caption:function(){return N},carousel:function(){return _},children:function(){return k},crossfade:function(){return C},fadeIn:function(){return M},image:function(){return S},inner:function(){return A},item:function(){return I},left:function(){return T},noCaption:function(){return P},root:function(){return j},sub:function(){return L},withGutter:function(){return O}});var a={};n.r(a),n.d(a,{a:function(){return go},b:function(){return vo},c:function(){return yo},darkText:function(){return wo},divider:function(){return Eo},graphLabel:function(){return bo},lightText:function(){return xo},numberLabel:function(){return No},root:function(){return _o},textAnchorEnd:function(){return ko}});var o={};n.r(o),n.d(o,{a:function(){return So},b:function(){return Ao},gridCell:function(){return Io},label:function(){return To},numberLabel:function(){return Po},root:function(){return jo},small:function(){return Lo},square:function(){return Oo}});var l={};n.r(l),n.d(l,{a:function(){return Ho},axisX:function(){return $o},axisY:function(){return Xo},b:function(){return Ro},c:function(){return Do},line:function(){return zo}
2,meanLine:function(){return Go},root:function(){return Yo}});var i={};n.r(i),n.d(i,{kd:function(){return Ko},$f:function(){return el},wc:function(){return tl},Jz:function(){return nl},TT:function(){return rl},Sj:function(){return al}});var s={};n.r(s),n.d(s,{f3:function(){return El},ZY:function(){return bl},VJ:function(){return xl},Ah:function(){return Nl},ai:function(){return _l},YD:function(){return kl},Jz:function(){return Cl},j:function(){return Ml},C_:function(){return Sl},d0:function(){return Al},j5:function(){return Il},KT:function(){return Tl},Rk:function(){return Pl},Bs:function(){return jl}});var c=n(7294),u=n(9424),m=(n(3383),n(4184)),d=n.n(m),f=n(1037),h=n(9175),p=n(1304),g=n.n(p);var v=e=>{let{children:t,className:n,size:r,eyebrow:a,eyebrowTag:o="h2"}=e;const l=d()("TextWrapper-module--root--e2293",f.O,n,{"TextWrapper-module--withTitle--17376":!!a},{"TextWrapper-module--large--da1c5":"large"===r}),i=o,s=(e=>c.Children.map(e,(e=>{var t;if("p"===(null===(t=e.props)||void 0===t?void 0:t.originalType)&&e.props.children){const t=[e.props.children].flat(),n=t.map(((e,n)=>n===t.length-1&&"string"==typeof e?(0,h.J)(e):e));return c.cloneElement(e,{children:n})}return e})).flat())(t),m=!!a&&g()(a,{lower:!0});return c.createElement(u.Z,null,c.createElement("div",{className:l},c.createElement("div",{className:f.T,style:{"--col-span":16,"--col-span-medium":24,"--col-span-small":24,"--col-offset":8,"--col-offset-medium":0,"--col-offset-small":0}},a&&c.createElement(i,{id:m,className:d()("TextWrapper-module--eyebrow--82af2"),onClick:e=>{if(!m)return;const t="#"+m;e.preventDefault();const n=document.querySelector(t);n?(n.scrollIntoView({behavior:"smooth"}),window.history.pushState(null,null,t)):console.warn("No element found with id "+t)}},a),c.createElement("div",{className:d()("TextWrapper-module--inner--ffed1")},s))))},y=n(105),w=n(8032),E=n(4197),b=n.n(E),x="ImageWrapper-module--arrow--a3b44",N="ImageWrapper-module--caption--01942",_="ImageWrapper-module--carousel--05e90",k="ImageWrapper-module--children--0cba9",C="ImageWrapper-module--crossfade--37331",M="ImageWrapper-module--fade-in--e6eb7",S="ImageWrapper-module--image--f5d7d",A="ImageWrapper-module--inner--850c0",I="ImageWrapper-module--item--609d5",T="ImageWrapper-module--left--84afb",P="ImageWrapper-module--noCaption--3207a",j="ImageWrapper-module--root--ad17d",L="ImageWrapper-module--sub--c46dd",O="ImageWrapper-module--withGutter--9d350";var W=e=>{let{images:t=[],children:n,crossfade:a,caption:o,className:l,captionSize:i="large",captionOnSide:s="right",maxHeight:u,withGutter:m=!1}=e;if(t.length>0&&n)throw new Error("ImageWrapper can only have images or children, not both");const f=d()(j,{[r[s]]:!!o,[r[i]]:!!o,[P]:!o,[C]:a,[O]:m},l),h="(min-width: 700px) "+Math.round(100/t.length)+"vw, 100vw";return c.createElement("figure",{className:f},c.createElement("div",{className:d()(A)},c.createElement("div",{className:d()(S)},t.length>0?t.map(((e,t)=>c.createElement("div",{className:d()(I),key:t,style:{"--width-ratio":e.width||"100%"}},e.isVideo?c.createElement(y.Z,{video:e.src,poster:e.poster}):(e=>{var t;return"svg"===(null==e||null===(t=e.src)||void 0===t?void 0:t.extension)})(e)?c.createElement("img",{src:e.src.publicURL,alt:e.alt,style:{width:"100%",height:"auto",maxHeight:u+"px"}}):c.createElement(w.G,{image:e.src,sizes:h,alt:e.alt,style:{maxHeight:u+"px"}}),e.caption&&c.createElement("figcaption",{className:d()(N,L)},c.createElement("div",{"aria-hidden":!0,className:d()(x,L)},c.createElement(b(),null)),e.href?c.createElement("a",{href:e.href,target:"_blank",rel:"noopener noreferrer"},e.caption):c.createElement("p",null,e.caption))))):c.createElement("div",{className:d()(k)},n)),o&&c.createElement("figcaption",{className:d()(N)},c.createElement("div",{"aria-hidden":!0,className:d()(x)},c.createElement(b(),null)),c.createElement("p",null,o))))},H="text-module--caption--94e2b";var $=e=>{let{children:t,author:n,year:r,byline:a,eyebrow:o,backgroundColor:l,textColor:i}=e;return c.createElement("figure",{className:"Quote-module--root--92b5e",style:{"--quote-background":l,"--quote-text":i}},o&&c.createElement("span",{className:d()(H,"Quote-module--eyebrow--a75ff")},o),c.createElement("blockquote",{className:d()("Quote-module--quote--d6456")},t),n&&c.createElement("figcaption",{className:d()("Quote-module--author--aaff4")},c.createElement("span",null,"â "+n),!!r&&c.createElement("span",{className:d()("Quote-module--year--e2317")}
2,r),!!a&&c.createElement("span",{className:d()("Quote-module--byline--ee238")},a)))},X=n(9376),R=n(4160),D=n(3431),z=n.n(D),G=n(6708),Y=n(3917),B=n(6768),q="Carousel-module--bottom--37130",Z="Carousel-module--next--c19b8",F="Carousel-module--prev--4f00c",V="Carousel-module--roll--eb68a",U="Carousel-module--top--1f605",J=n(6703);const Q=z()(.5,.2,.3,.75),K=e=>{let{slide:t}=e;return c.createElement("figure",{className:"Carousel-module--slide--bf403"},t.isVideo?c.createElement(y.Z,{className:"Carousel-module--video--71e49",video:t.image}):c.createElement("div",{className:"Carousel-module--image--cef6a"},c.createElement(w.G,{className:"Carousel-module--gatsbyImage--b4367",image:null!=t.image.gatsbyImageData?(0,w.c)(t.image):t.image,alt:t.caption,fit:"cover"})))},ee=e=>{let{slide:t}=e;return c.createElement("div",{className:"Carousel-module--caption--f6d0c"},c.createElement("p",{className:"Carousel-module--client--2c3a3"},t.link?c.createElement(c.Fragment,null,c.createElement(R.rU,{to:t.link},t.caption," "),c.createElement("span",{"aria-hidden":!0,className:"Carousel-module--arrow--69d8f"},c.createElement(B.Z,{size:"small",expanded:!0}))):t.caption),t.intro&&c.createElement("p",{className:"Carousel-module--description--0c4a7"},t.intro))};var te=e=>{let{slides:t=[],autoplay:n=!1,captionBackground:r,skipCaption:a,currentSlide:o,setCurrentSlide:l,pendingCurrentSlide:i,setPendingCurrentSlide:s}=e;const u=(0,J.Z)(),{0:m,1:f}=(0,c.useState)(!0),{0:h,1:p}=(0,c.useState)(!0),{0:g,1:v}=(0,c.useState)(null),y=(0,c.useRef)(null),w=(0,c.useRef)(null),E=(0,c.useRef)(null),b=((0,c.useRef)(),(0,c.useMemo)((()=>t.slice().reverse()),[t])),x=t.length+2,N=(0,Y.c)({duration:2,steps:Math.round(Math.sqrt(u[0])),easingFunction:(0,G.aj)(Q)}),_=(0,c.useCallback)((()=>{o===t.length?(f(!1),s([0,1])):l(o+1)}),[o,t.length,f,s,l]),k=(0,c.useCallback)((()=>{1===o?(f(!1),s([t.length+1,t.length])):l(o-1)}),[o,t.length,f,s,l]),C=e=>{if(!h||t.length<2)return;y.current&&clearTimeout(y.current);const{className:n}=e.target;n===F?k():n===Z&&_()},M=e=>{if(t.length<2)return;const{className:n}=e.target;if([F,Z].includes(n)&&E.current&&w.current){const t=w.current.getBoundingClientRect(),n=e.clientX-t.left,r=e.clientY-t.top;E.current.style="top: "+r+"px; left: "+n+"px;"}v(n===F?"prev":n===Z?"next":null)};return(0,c.useEffect)((()=>{i&&(m?(l(i[1]),s(null)):(l(i[0]),f(!0)))}),[i,m,l,s]),(0,c.useEffect)((()=>{if(n&&!(t.length<=1)&&h)return y.current&&clearTimeout(y.current),y.current=setTimeout((()=>{_()}),5e3),()=>clearTimeout(y.current)}),[n,t.length,h,_]),0===t.length?null:c.createElement("div",{className:d()("Carousel-module--root--cb941",{"Carousel-module--oneSlide--6940c":t.length<2,"Carousel-module--hoverRight--555d2":"next"===g,"Carousel-module--hoverLeft--98207":"prev"===g}),onMouseEnter:M,onMouseMove:M,onMouseLeave:()=>{t.length<2||v(null)},role:"menu",tabIndex:"0",ref:w},c.createElement("div",{className:F,onClick:C,onKeyUp:C,role:"button",tabIndex:"0","aria-label":"Previous item"}),c.createElement("div",{className:Z,onClick:C,onKeyUp:C,role:"button",tabIndex:"0","aria-label":"Next item"}),m?c.createElement(X.m.div,{className:d()(V,U),style:{width:100*x+"%"},initial:!1,animate:{x:-100*o/x+"%"},onAnimationStart:()=>p(!1),onAnimationComplete:()=>p(!0),transition:N},c.createElement(K,{slide:t[t.length-1]}),t.map(((e,t)=>c.createElement(K,{slide:e,key:e.id}))),c.createElement(K,{slide:t[0]})):c.createElement("div",{className:d()(V,U),style:{width:100*x+"%",transform:"translateX("+-100*o/x+"%)"}},c.createElement(K,{slide:t[t.length-1]}),t.map(((e,t)=>c.createElement(K,{slide:e,key:e.id}))),c.createElement(K,{slide:t[0]})),m?c.createElement(X.m.div,{className:d()(V,q),style:{width:100*x+"%"},initial:!1,animate:{x:-100*(x-1-o)/x+"%"},transition:N},c.createElement(K,{slide:b[b.length-1]}),b.map(((e,t)=>c.createElement(K,{slide:e,key:e.id}))),c.createElement(K,{slide:b[0]})):c.createElement("div",{className:d()(V,q),style:{width:100*x+"%",transform:"translateX("+-100*(x-1-o)/x+"%)"}},c.createElement(K,{slide:b[b.length-1]}),b.map(((e,t)=>c.createElement(K,{slide:e,key:e.id}))),c.createElement(K,{slide:b[0]})),!a&&c.createElement(c.Fragment,null,m?c.createElement(X.m.div,{className:d()(V),style:{width:100*x+"%",background:null!=r?r:"transparent"},initial:!1,animate:{x:-100*(x-1-o)/x+"%"},transition:N},c.createElement(ee,{slide:b[b.length-1]}),b.map(((e,t)=>
2e.caption&&c.createElement(ee,{slide:e,key:t}))),c.createElement(ee,{slide:b[0]})):c.createElement("div",{className:d()(V),style:{width:100*x+"%",transform:"translateX("+-100*(x-1-o)/x+"%)",background:null!=r?r:"transparent"}},c.createElement(ee,{slide:b[b.length-1]}),b.map(((e,t)=>e.caption&&c.createElement(ee,{slide:e,key:t}))),c.createElement(ee,{slide:b[0]}))),c.createElement("div",{className:"Carousel-module--customCursor--85a8e",ref:E}))},ne=n(9697);var re=e=>{let{items:t,height:n=700}=e;const{0:r,1:a}=(0,c.useState)(1),{0:o,1:l}=(0,c.useState)(null),i=t.map(((e,t)=>({...e,id:t,image:e.src}))),s=e=>{a(e+1)},u=0===r?i.length:r===i.length+1?1:r;return c.createElement("div",{className:"CasestudyGallery-module--galleryWrapper--d4cee"},i.length>1&&c.createElement(c.Fragment,null,c.createElement("div",{className:"CasestudyGallery-module--slideCounter--91221"},c.createElement(ne.Z,{as:"span",className:"CasestudyGallery-module--slideText--3fc7f"},u," / ",i.length)),c.createElement("div",{className:"CasestudyGallery-module--slideIndicators--3672a"},i.map(((e,t)=>c.createElement("button",{key:t,className:d()("CasestudyGallery-module--indicator--a4f80",{"CasestudyGallery-module--activeIndicator--c40ae":u===t+1}),onClick:()=>s(t)}))))),c.createElement(te,{slides:i,skipCaption:!0,currentSlide:r,setCurrentSlide:a,pendingCurrentSlide:o,setPendingCurrentSlide:l,onIndicatorClick:s}))},ae="SketchGraphic-module--handlerCircle--2ec47",oe="SketchGraphic-module--handlerLine--4189b";const le=(0,c.memo)((e=>{let{x1:t,y1:n,x2:r,y2:a,d:o,unit:l,growCircle1:i,growCircle2:s}=e;return c.createElement("g",null,o&&c.createElement("path",{d:o,className:oe}),!o&&c.createElement("line",{x1:t*l,y1:n*l,x2:r*l,y2:a*l,className:oe}),t>-1&&c.createElement("circle",{cx:t*l,cy:n*l,r:i?7:4,stroke:i?"#FEEF6B":null,className:ae}),t>-1&&c.createElement("circle",{cx:r*l,cy:a*l,r:s?7:4,stroke:s?"#FEEF6B":null,className:ae}))}));var ie=e=>{const{showGrid:t,width:n,height:r,shapes:a,strokeWeight:o,strokeCap:l}=e,i=(n-2)/8,s=(0,c.useMemo)((()=>{if(!t)return null;const e=[];for(let t=0;t<8;t++)for(let n=0;n<8;n++)e.push(c.createElement("rect",{key:"grid-"+t+"-"+n,x:t*i,y:n*i,width:i,height:i}));return e}),[t,i]),u=l?"butt":"round";return c.createElement("svg",{viewBox:"0 0 "+n+" "+r,className:"SketchGraphic-module--root--bd24d"},c.createElement("g",{transform:"translate(1, 1)"},c.createElement("g",{className:"SketchGraphic-module--grid--6b3a5"},s),a.map(((e,t)=>{const n=e.showHandlers||null!==e.dragging,r="rgb("+e.color[0]+","+e.color[1]+","+e.color[2]+")",{dragging:a,showPoint:l}=e;if(e.line)return c.createElement(c.Fragment,{key:t},c.createElement("line",{x1:e.pos[0]*i,y1:e.pos[1]*i,x2:e.pos[6]*i,y2:e.pos[7]*i,stroke:r,strokeWidth:o*i,strokeLinecap:u}),n&&c.createElement(le,{growCircle1:0===a||1===a||0===l||1===l,growCircle2:6===a||7===a||6===l||7===l,x1:e.pos[0],y1:e.pos[1],x2:e.pos[6],y2:e.pos[7],unit:i}));{const s="M "+e.pos[0]*i+" "+e.pos[1]*i+" C "+e.pos[2]*i+" "+e.pos[3]*i+" "+e.pos[4]*i+" "+e.pos[5]*i+" "+e.pos[6]*i+" "+e.pos[7]*i;return c.createElement(c.Fragment,{key:t},c.createElement("path",{d:s,stroke:r,fill:"none",strokeWidth:o*i,strokeLinecap:u}),n&&c.createElement("g",null,c.createElement(le,{d:s,unit:i}),c.createElement(le,{growCircle1:0===a||1===a||0===l||1===l,growCircle2:2===a||3===a||2===l||3===l,x1:e.pos[0],y1:e.pos[1],x2:e.pos[2],y2:e.pos[3],unit:i}),c.createElement(le,{growCircle1:6===a||7===a||6===l||7===l,growCircle2:4===a||5===a||4===l||5===l,x1:e.pos[6],y1:e.pos[7],x2:e.pos[4],y2:e.pos[5],unit:i})))}}))))};const se=(e,t)=>Number(Math.round(e+"e"+t)+"e-"+t);"undefined"!=typeof window&&window.sessionStorage,"undefined"!=typeof window&&window.localStorage;const ce=e=>{let{value:t,index:n=null,min:r,max:a,isInteger:o=!0,className:l,onChange:i,onDraggingStart:s,onDraggingEnd:u,onMouseEnter:m,onMouseLeave:f,tabIndex:h}=e;const{0:p,1:g}=(0,c.useState)(null);(0,c.useEffect)((()=>{if(p){const e=e=>{g(null),u&&u(n)},t=e=>{if(p){const m=(t=e.screenX-p.startX,l=p.dragMin,s=p.dragMax,c=r,u=a,Math.min(1,Math.max(0,(t-l)/(s-l)))*(u-c)+c),d=o?Math.round(m):se(m,2);null===n?i(d):i(n,d)}var t,l,s,c,u};return document.addEventListener("mouseup",e),document.addEventListener("mousemove",t),()=>{document.removeEventListener("mouseup",e),document.removeEventListener("mousemove",t)}}}),[p,n,o,i,u,r,a]);return c.createElement("span",{role:"button","aria-label":"change position",tabIndex:h,className:d()(l,"Draggable-module--root--1fffd"),onMouseEnter:e=>{m&&m(n)},onMouseLeave:e=>{m&&f(n)},onMouseDown:e=>{const o=(t-r)/(a-r);g({startX:e.screenX,dragMin:-250*o,dragMax:250*(1-o)}),s&&s(n)},onMouseUp:e=>{g(null)},onKeyDown:e=>{if(39===e.keyCode){const e=o?t+1:se(t+.1,2);e<=a&&(null===n?i(e):i(n,e))}
2else if(37===e.keyCode){const e=o?t-1:se(t-.1,2);e>=r&&(null===n?i(e):i(n,e))}}},t)};var ue=(0,c.memo)(ce);const me=e=>{let{color:t,shapeIndex:n,onChangeShape:r,tabIndex:a,draggableClassName:o}=e;const l=(e,a)=>{const o=t.slice();o[e]=a,r(n,"color",o)},i=(e=>"string"==typeof e?e:"#"+e[0].toString(16).padStart(2,"0")+e[1].toString(16).padStart(2,"0")+e[2].toString(16).padStart(2,"0"))(t);return c.createElement("span",null,c.createElement(ue,{className:o,onChange:l,min:0,max:255,index:0,value:t[0],tabIndex:a}),", ",c.createElement(ue,{className:o,onChange:l,min:0,max:255,index:1,value:t[1],tabIndex:a}),", ",c.createElement(ue,{className:o,onChange:l,min:0,max:255,index:2,value:t[2],tabIndex:a}),c.createElement("span",{className:"Color-module--colorPatch--b36e6",style:{backgroundColor:i}},c.createElement("input",{type:"color",className:"Color-module--input--eb1d4",value:i,"aria-label":"Choose color",tabIndex:a,onChange:e=>r(n,"color",(e=>{if("object"==typeof e&&null!==e)return e;let t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:null})(e.target.value))})))};var de=(0,c.memo)(me);const fe=e=>{const{draggableClassName:t,shape:n,shapeIndex:r,min:a,max:o,onChangeShape:l,tabIndex:i}=e,s=(e,t)=>{const a=n.pos.slice();a[e]=t,l(r,"pos",a)},u=e=>{l(r,"dragging",e)},m=()=>{l(r,"dragging",null)},f=e=>{l(r,"showPoint",e)},h=()=>{l(r,"showPoint",null)},p=[];for(let d=0;d<n.pos.length;d++)(!n.line||d<2||d>5)&&(p.push(c.createElement(ue,{key:"shape-pos-"+d,value:n.pos[d],index:d,className:t,onChange:s,onMouseEnter:f,onMouseLeave:h,onDraggingStart:u,onDraggingEnd:m,min:a,max:o,tabIndex:i})),p.push(d===n.pos.length-1?" * u":" * u, "));return c.createElement("span",{tabIndex:i,className:"Shape-module--root--4735d",onMouseEnter:()=>{l(r,"showHandlers",!0)},onMouseLeave:()=>{l(r,"showHandlers",!1)}}," ",c.createElement("span",{className:"Shape-module--breakWhitespace--a2532"},c.createElement("button",{className:d()(t,"hljs-built_in"),onClick:()=>{l(r,"line",!n.line)},tabIndex:i},n.line?"line":"bezier"),"(",p,")"))};var he=(0,c.memo)(fe),pe="SketchCode-module--interactive--8efc3";const ge=e=>{let{num:t,children:n}=e;return c.createElement("div",{className:"SketchCode-module--line--436e7"},c.createElement("div",{className:"SketchCode-module--num--19ec2"},t),c.createElement("div",{className:"SketchCode-module--code--f39e4"},n))},ve=()=>c.createElement("div",{className:"SketchCode-module--folded--b96e8"},c.createElement("span",null,"···"),"}");var ye=e=>{let{showGrid:t,shapes:n,strokeWeight:r,strokeCap:a,isVisible:o=!0,onChange:l,onChangeShape:i}=e;const{0:s,1:u}=(0,c.useState)(!1),m=(0,c.useRef)(null);return c.createElement("div",{className:d()("SketchCode-module--root--d651d",{"SketchCode-module--blink--4a957":!s}),onMouseEnter:()=>u(!0)},c.createElement("div",{className:"SketchCode-module--numBar--ebf92"}),c.createElement(ge,{num:1},c.createElement("span",{className:"hljs-datatype"},"int")," u = 60;"),c.createElement(ge,{num:2},c.createElement("span",{className:"hljs-datatype"},"boolean")," showGrid ="," ",c.createElement("button",{className:d()(pe,"hljs-keyword"),onClick:e=>l("showGrid",!t),tabIndex:o?0:-1,ref:m},t?"true":"false"),";"),c.createElement(ge,{num:3}),c.createElement("details",{open:!0},c.createElement("summary",{tabIndex:o?0:-1},c.createElement(ge,{num:4},c.createElement("span",{className:"hljs-keyword"},"void")," ",c.createElement("span",{className:"hljs-title"},"setup"),"() {",c.createElement(ve,null))),c.createElement(ge,{num:5}," ",c.createElement("span",{className:"hljs-built_in"},"size"),"(600, 600);"),c.createElement(ge,{num:6},"}")),c.createElement(ge,{num:7}),c.createElement("details",{open:!0},c.createElement("summary",{tabIndex:o?0:-1},c.createElement(ge,{num:8},c.createElement("span",{className:"hljs-keyword"},"void")," ",c.createElement("span",{className:"hljs-title"},"draw"),"() {",c.createElement(ve,null))),c.createElement(ge,{num:9}," ",c.createElement("span",{className:"hljs-built_in"},"background"),"(255);"),c.createElement(ge,{num:10}," if (showGrid) drawGrid();"),c.createElement(ge,{num:11}," ",c.createElement("span",{className:"hljs-built_in"},"strokeCap"),"(",c.createElement("button",{className:d()(pe,"hljs-constant"),onClick:e=>l("strokeCap",!a),tabIndex:o?0:-1},a?"SQUARE":"ROUND"),");"),c.createElement(ge,{num:12}," ",c.createElement("span",{className:"hljs-built_in"},"strokeWeight"),"(",c.createElement(ue,{className:pe,value:r,min:.5,max:2,isInteger:!1,onChange:e=>l("strokeWeight",e),tabIndex:o?0:-1})," * u);"),c.createElement(ge,{num:13}),n.map(((e,t)=>{const r=14+3*t;return c.createElement(c.Fragment,{key:"shape-block-"+t},c.createElement(ge,{num:r}," ",c.createElement("span",{className:"hljs-built_in"}
2,"stroke"),"(",c.createElement(de,{draggableClassName:pe,onChangeShape:i,color:n[t].color,shapeIndex:t,tabIndex:o?0:-1}),");"),c.createElement(ge,{num:r+1},c.createElement(he,{shape:e,shapeIndex:t,onChangeShape:i,draggableClassName:pe,min:0,max:8,tabIndex:o?0:-1}),";"),t<n.length-1&&c.createElement(ge,{num:r+2}))})),c.createElement(ge,{num:22},"}")),c.createElement(ge,{num:23}),c.createElement("details",null,c.createElement("summary",{tabIndex:o?0:-1},c.createElement(ge,{num:24},c.createElement("span",{className:"hljs-keyword"},"void")," drawGrid() {",c.createElement(ve,null))),c.createElement(ge,{num:25}," ",c.createElement("span",{className:"hljs-built_in"},"strokeWeight"),"(1);"),c.createElement(ge,{num:26}," ",c.createElement("span",{className:"hljs-built_in"},"noFill"),"();"),c.createElement(ge,{num:27}," ",c.createElement("span",{className:"hljs-built_in"},"stroke"),"(200);"),c.createElement(ge,{num:28}," ",c.createElement("span",{className:"hljs-loop"},"for"),"(",c.createElement("span",{className:"hljs-datatype"},"int")," ","col = 0; col < 9; col++) {"),c.createElement(ge,{num:29}," ",c.createElement("span",{className:"hljs-built_in"},"line"),"(col * u, 0, col * u, 8 * u);"),c.createElement(ge,{num:30}," }"),c.createElement(ge,{num:31}," ",c.createElement("span",{className:"hljs-loop"},"for"),"(",c.createElement("span",{className:"hljs-datatype"},"int")," ","row = 0; row < 9; row++) {"),c.createElement(ge,{num:32}," ",c.createElement("span",{className:"hljs-built_in"},"line"),"(0, row * u, 8 * u, row * u);"),c.createElement(ge,{num:33}," }"),c.createElement(ge,{num:34},"}")))},we="Sketch-module--code--0aeb8";const Ee={showGrid:!0,width:600,height:600,unit:60,strokeWeight:1.5,strokeCap:!0,shapes:[{color:[5,100,255],pos:[4,1,7,1,7,5,4,5],showHandlers:!1,showPoint:null,dragging:null},{line:!0,color:[30,50,170],pos:[1,6,1,6,4,2,4,2],showHandlers:!1,showPoint:null,dragging:null},{line:!0,color:[130,175,255],pos:[1,3,1,3,2,5,2,5],showHandlers:!1,showPoint:null,dragging:null}]},be=()=>{const{0:e,1:t}=(0,c.useState)(null);(0,c.useEffect)((()=>{if(window.localStorage){const e=window.localStorage.getItem("sketch");t(e?JSON.parse(e):Ee)}}),[]),(0,c.useEffect)((()=>{window.localStorage&&window.localStorage.setItem("sketch",JSON.stringify(e))}),[e]);const n=(0,c.useCallback)(((e,n)=>{t((t=>Object.assign({},t,{[e]:n})))}),[]),r=(0,c.useCallback)(((e,n,r)=>{t((t=>{const a=Object.assign({},t);return a.shapes=t.shapes.slice(),a.shapes[e]=Object.assign({},a.shapes[e],{[n]:r}),a}))}),[]),a=(0,c.useCallback)((()=>{t(Ee)}),[]);return e?c.createElement("div",{className:"Sketch-module--root--df6aa"},c.createElement("div",{className:we},c.createElement("div",{className:d()(we)},c.createElement(ye,Object.assign({onChange:n,onChangeShape:r,onResetState:a,isVisible:!0},e)))),c.createElement("div",{className:"Sketch-module--sketch--c84f9"},c.createElement(ie,e))):null};var xe=(0,c.memo)(be);var Ne=e=>{let{editorCaption:t,fallbackVideo:n,fallbackCaption:r}=e;return c.createElement(c.Fragment,null,c.createElement("style",null,"@import url('https://fonts.googleapis.com/css2?family=Space+Mono&display=swap');"),c.createElement(W,{caption:t,captionOnSide:"left",captionSize:"small",className:d()("Sketch-module--editor--73f12")},c.createElement(xe,null)),c.createElement(W,{images:[{src:n,isVideo:!0}],caption:r,captionOnSide:"left",captionSize:"small",className:d()("Sketch-module--fallback--a6783")}))};var _e=e=>{let{image1:t,image2:n}=e;const{0:r,1:a}=(0,c.useState)(.5),o=(0,c.useRef)(null),l=e=>{const t=o.current.getBoundingClientRect();e<t.left?a(0):e>t.right?a(1):a((e-t.left)/t.width)},i=(0,c.useCallback)((e=>{l(e.clientX)}),[]);return c.createElement("div",{onMouseEnter:()=>{window.addEventListener("mousemove",i)},onMouseLeave:()=>{window.removeEventListener("mousemove",i)},onTouchMove:e=>{l(e.touches.item(0).clientX)},className:"CompareImages-module--container--40293"},c.createElement("div",{ref:o,className:"CompareImages-module--images--1b9cc"},c.createElement("div",{className:"CompareImages-module--imageBefore--1fc92"},c.createElement(w.G,{image:t,alt:"before"})),c.createElement("div",{className:"CompareImages-module--imageAfter--c2499"}
vendor: 8,103 bytes, line 2
2,c.createElement(w.G,{style:{clipPath:"polygon(100% 0, "+100*r+"% 0, "+100*r+"% 100%, 100% 100%)"},image:n,alt:"after"})),c.createElement("div",{className:"CompareImages-module--slider--6062a",style:{left:100*r+"%"}},c.createElement("p",null,"Before"),c.createElement("div",{className:"CompareImages-module--line--849da"}),c.createElement("p",null,"After"))))};function ke(e,t){let n;if(void 0===t)for(const r of e)null!=r&&(n<r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let a of e)null!=(a=t(a,++r,e))&&(n<a||void 0===n&&a>=a)&&(n=a)}return n}function Ce(e,t){let n;if(void 0===t)for(const r of e)null!=r&&(n>r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let a of e)null!=(a=t(a,++r,e))&&(n>a||void 0===n&&a>=a)&&(n=a)}return n}function Me(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Se(e=Me){if(e===Me)return Ae;if("function"!=typeof e)throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||0===r?r:(0===e(n,n))-(0===e(t,t))}}function Ae(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(e<t?-1:e>t?1:0)}function Ie(e,t,n=0,r=1/0,a){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(a=void 0===a?Ae:Se(a);r>n;){if(r-n>600){const o=r-n+1,l=t-n+1,i=Math.log(o),s=.5*Math.exp(2*i/3),c=.5*Math.sqrt(i*s*(o-s)/o)*(l-o/2<0?-1:1);Ie(e,t,Math.max(n,Math.floor(t-l*s/o+c)),Math.min(r,Math.floor(t+(o-l)*s/o+c)),a)}const o=e[t];let l=n,i=r;for(Te(e,n,t),a(e[r],o)>0&&Te(e,n,r);l<i;){for(Te(e,l,i),++l,--i;a(e[l],o)<0;)++l;for(;a(e[i],o)>0;)--i}0===a(e[n],o)?Te(e,n,i):(++i,Te(e,i,r)),i<=t&&(n=i+1),t<=i&&(r=i-1)}return e}function Te(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function Pe(e,t,n){if(e=Float64Array.from(function*(e,t){if(void 0===t)for(let n of e)null!=n&&(n=+n)>=n&&(yield n);else{let n=-1;for(let r of e)null!=(r=t(r,++n,e))&&(r=+r)>=r&&(yield r)}}(e,n)),(r=e.length)&&!isNaN(t=+t)){if(t<=0||r<2)return Ce(e);if(t>=1)return ke(e);var r,a=(r-1)*t,o=Math.floor(a),l=ke(Ie(e,o).subarray(0,o+1));return l+(Ce(e.subarray(o+1))-l)*(a-o)}}function je(e){return e}var Le=1,Oe=2,We=3,He=4,$e=1e-6;function Xe(e){return"translate("+e+",0)"}function Re(e){return"translate(0,"+e+")"}function De(e){return t=>+e(t)}function ze(e,t){return t=Math.max(0,e.bandwidth()-2*t)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function Ge(){return!this.__axis}function Ye(e,t){var n=[],r=null,a=null,o=6,l=6,i=3,s="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,c=e===Le||e===He?-1:1,u=e===He||e===Oe?"x":"y",m=e===Le||e===We?Xe:Re;function d(d){var f=null==r?t.ticks?t.ticks.apply(t,n):t.domain():r,h=null==a?t.tickFormat?t.tickFormat.apply(t,n):je:a,p=Math.max(o,0)+i,g=t.range(),v=+g[0]+s,y=+g[g.length-1]+s,w=(t.bandwidth?ze:De)(t.copy(),s),E=d.selection?d.selection():d,b=E.selectAll(".domain").data([null]),x=E.selectAll(".tick").data(f,t).order(),N=x.exit(),_=x.enter().append("g").attr("class","tick"),k=x.select("line"),C=x.select("text");b=b.merge(b.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),x=x.merge(_),k=k.merge(_.append("line").attr("stroke","currentColor").attr(u+"2",c*o)),C=C.merge(_.append("text").attr("fill","currentColor").attr(u,c*p).attr("dy",e===Le?"0em":e===We?"0.71em":"0.32em")),d!==E&&(b=b.transition(d),x=x.transition(d),k=k.transition(d),C=C.transition(d),N=N.transition(d).attr("opacity",$e).attr("transform",(function(e){return isFinite(e=w(e))?m(e+s):this.getAttribute("transform")})),_.attr("opacity",$e).attr("transform",(function(e){var t=this.parentNode.__axis;return m((t&&isFinite(t=t(e))?t:w(e))+s)}))),N.remove(),b.attr("d",e===He||e===Oe?l?"M"+c*l+","+v+"H"+s+"V"+y+"H"+c*l:"M"+s+","+v+"V"+y:l?"M"+v+","+c*l+"V"+s+"H"+y+"V"+c*l:"M"+v+","+s+"H"+y),x.attr("opacity",1).attr("transform",(function(e){return m(w(e)+s)})),k.attr(u+"2",c*o),C.attr(u,c*p).text(h),E.filter(Ge).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",e===Oe?"start":e===He?"end":"middle"),E.each((function(){this.__axis=w}))}return d.scale=function(e){return arguments.length?(t=e,d):t},d.ticks=function(){return n=Array.from(arguments),d},d.tickArguments=function(e){return arguments.length?(n=null==e?[]:Array.from(e),d):n.slice()},d.tickValues=function(e){return arguments.length?(r=null==e?null:Array.from(e),d):r&&r.slice()},d.tickFormat=function(e){return arguments.length?(a=e,d):a},d.tickSize=function(e){return arguments.length?(o=l=+e,d):o},d.tickSizeInner=function(e){return arguments.length?(o=+e,d):o},d.tickSizeOuter=function(e){return arguments.length?(l=+e,d):l},d.tickPadding=function(e){return arguments.length?(i=+e,d):i},d.offset=function(e){return arguments.length?(s=+e,d):s},d}function Be(){}function qe(e){return null==e?Be:function(){return this.querySelector(e)}}function Ze(){return[]}function Fe(e){return null==e?Ze:function(){return this.querySelectorAll(e)}}function Ve(e){return function(){return null==(t=e.apply(this,arguments))?[]:Array.isArray(t)?t:Array.from(t);var t}}function Ue(e){return function(){return this.matches(e)}}function Je(e){return function(t){return t.matches(e)}}var Qe=Array.prototype.find;function Ke(){return this.firstElementChild}var et=Array.prototype.filter;function tt(){return Array.from(this.children)}function nt(e){return new Array(e.length)}function rt(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function at(e,t,n,r,a,o){for(var l,i=0,s=t.length,c=o.length;i<c;++i)(l=t[i])?(l.__data__=o[i],r[i]=l):n[i]=new rt(e,o[i]);for(;i<s;++i)(l=t[i])&&(a[i]=l)}function ot(e,t,n,r,a,o,l){var i,s,c,u=new Map,m=t.length,d=o.length,f=new Array(m);for(i=0;i<m;++i)(s=t[i])&&(f[i]=c=l.call(s,s.__data__,i,t)+"",u.has(c)?a[i]=s:u.set(c,s));for(i=0;i<d;++i)c=l.call(e,o[i],i,o)+"",(s=u.get(c))?(r[i]=s,s.__data__=o[i],u.delete(c)):n[i]=new rt(e,o[i]);for(i=0;i<m;++i)(s=t[i])&&u.get(f[i])===s&&(a[i]=s)}function lt(e){return e.__data__}function it(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function st(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}rt.prototype={constructor:rt,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var ct="http://www.w3.org/1999/xhtml",ut={svg:"http://www.w3.org/2000/svg",xhtml:ct,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function mt(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),ut.hasOwnProperty(t)?{space:ut[t],local:e}:e}function dt(e){return function(){this.removeAttribute(e)}}function ft(e){return function(){this.removeAttributeNS(e.space,e.local)}}function ht(e,t){return function(){this.setAttribute(e,t)}}function pt(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function gt(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function vt(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function yt(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function wt(e){return function(){this.style.removeProperty(e)}}function Et(e,t,n){return function(){this.style.setProperty(e,t,n)}}function bt(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function xt(e,t){return e.style.getPropertyValue(t)||yt(e).getComputedStyle(e,null).getPropertyValue(t)}function Nt(e){return function(){delete this[e]}}function _t(e,t){return function(){this[e]=t}}function kt(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function Ct(e){return e.trim().split(/^|\s+/)}function Mt(e){return e.classList||new St(e)}function St(e){this._node=e,this._names=Ct(e.getAttribute("class")||"")}
vendor: 7,051 bytes, line 2
2function At(e,t){for(var n=Mt(e),r=-1,a=t.length;++r<a;)n.add(t[r])}function It(e,t){for(var n=Mt(e),r=-1,a=t.length;++r<a;)n.remove(t[r])}function Tt(e){return function(){At(this,e)}}function Pt(e){return function(){It(this,e)}}function jt(e,t){return function(){(t.apply(this,arguments)?At:It)(this,e)}}function Lt(){this.textContent=""}function Ot(e){return function(){this.textContent=e}}function Wt(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}function Ht(){this.innerHTML=""}function $t(e){return function(){this.innerHTML=e}}function Xt(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}function Rt(){this.nextSibling&&this.parentNode.appendChild(this)}function Dt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function zt(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===ct&&t.documentElement.namespaceURI===ct?t.createElement(e):t.createElementNS(n,e)}}function Gt(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function Yt(e){var t=mt(e);return(t.local?Gt:zt)(t)}function Bt(){return null}function qt(){var e=this.parentNode;e&&e.removeChild(this)}function Zt(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function Ft(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function Vt(e){return function(){var t=this.__on;if(t){for(var n,r=0,a=-1,o=t.length;r<o;++r)n=t[r],e.type&&n.type!==e.type||n.name!==e.name?t[++a]=n:this.removeEventListener(n.type,n.listener,n.options);++a?t.length=a:delete this.__on}}}function Ut(e,t,n){return function(){var r,a=this.__on,o=function(e){return function(t){e.call(this,t,this.__data__)}}(t);if(a)for(var l=0,i=a.length;l<i;++l)if((r=a[l]).type===e.type&&r.name===e.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),void(r.value=t);this.addEventListener(e.type,o,n),r={type:e.type,name:e.name,value:t,listener:o,options:n},a?a.push(r):this.__on=[r]}}function Jt(e,t,n){var r=yt(e),a=r.CustomEvent;"function"==typeof a?a=new a(t,n):(a=r.document.createEvent("Event"),n?(a.initEvent(t,n.bubbles,n.cancelable),a.detail=n.detail):a.initEvent(t,!1,!1)),e.dispatchEvent(a)}function Qt(e,t){return function(){return Jt(this,e,t)}}function Kt(e,t){return function(){return Jt(this,e,t.apply(this,arguments))}}St.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var en=[null];function tn(e,t){this._groups=e,this._parents=t}function nn(){return new tn([[document.documentElement]],en)}tn.prototype=nn.prototype={constructor:tn,select:function(e){"function"!=typeof e&&(e=qe(e));for(var t=this._groups,n=t.length,r=new Array(n),a=0;a<n;++a)for(var o,l,i=t[a],s=i.length,c=r[a]=new Array(s),u=0;u<s;++u)(o=i[u])&&(l=e.call(o,o.__data__,u,i))&&("__data__"in o&&(l.__data__=o.__data__),c[u]=l);return new tn(r,this._parents)},selectAll:function(e){e="function"==typeof e?Ve(e):Fe(e);for(var t=this._groups,n=t.length,r=[],a=[],o=0;o<n;++o)for(var l,i=t[o],s=i.length,c=0;c<s;++c)(l=i[c])&&(r.push(e.call(l,l.__data__,c,i)),a.push(l));return new tn(r,a)},selectChild:function(e){return this.select(null==e?Ke:function(e){return function(){return Qe.call(this.children,e)}}("function"==typeof e?e:Je(e)))},selectChildren:function(e){return this.selectAll(null==e?tt:function(e){return function(){return et.call(this.children,e)}}("function"==typeof e?e:Je(e)))},filter:function(e){"function"!=typeof e&&(e=Ue(e));for(var t=this._groups,n=t.length,r=new Array(n),a=0;a<n;++a)for(var o,l=t[a],i=l.length,s=r[a]=[],c=0;c<i;++c)(o=l[c])&&e.call(o,o.__data__,c,l)&&s.push(o);return new tn(r,this._parents)},data:function(e,t){if(!arguments.length)return Array.from(this,lt);var n,r=t?ot:at,a=this._parents,o=this._groups;"function"!=typeof e&&(n=e,e=function(){return n});for(var l=o.length,i=new Array(l),s=new Array(l),c=new Array(l),u=0;u<l;++u){var m=a[u],d=o[u],f=d.length,h=it(e.call(m,m&&m.__data__,u,a)),p=h.length,g=s[u]=new Array(p),v=i[u]=new Array(p);r(m,d,g,v,c[u]=new Array(f),h,t);for(var y,w,E=0,b=0;E<p;++E)if(y=g[E]){for(E>=b&&(b=E+1);!(w=v[b])&&++b<p;);y._next=w||null}}return(i=new tn(i,a))._enter=s,i._exit=c,i},enter:function(){return new tn(this._enter||this._groups.map(nt),this._parents)},exit:function(){return new tn(this._exit||this._groups.map(nt),this._parents)},join:function(e,t,n){var r=this.enter(),a=this,o=this.exit();return"function"==typeof e?(r=e(r))&&(r=r.selection()):r=r.append(e+""),null!=t&&(a=t(a))&&(a=a.selection()),null==n?o.remove():n(o),r&&a?r.merge(a).order():a},merge:function(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,a=n.length,o=r.length,l=Math.min(a,o),i=new Array(a),s=0;s<l;++s)for(var c,u=n[s],m=r[s],d=u.length,f=i[s]=new Array(d),h=0;h<d;++h)(c=u[h]||m[h])&&(f[h]=c);for(;s<a;++s)i[s]=n[s];return new tn(i,this._parents)},selection:function(){return this},order:function(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,a=e[t],o=a.length-1,l=a[o];--o>=0;)(r=a[o])&&(l&&4^r.compareDocumentPosition(l)&&l.parentNode.insertBefore(r,l),l=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=st);for(var n=this._groups,r=n.length,a=new Array(r),o=0;o<r;++o){for(var l,i=n[o],s=i.length,c=a[o]=new Array(s),u=0;u<s;++u)(l=i[u])&&(c[u]=l);c.sort(t)}return new tn(a,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],a=0,o=r.length;a<o;++a){var l=r[a];if(l)return l}return null},size:function(){let e=0;for(const t of this)++e;return e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var a,o=t[n],l=0,i=o.length;l<i;++l)(a=o[l])&&e.call(a,a.__data__,l,o);return this},attr:function(e,t){var n=mt(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?ft:dt:"function"==typeof t?n.local?vt:gt:n.local?pt:ht)(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?wt:"function"==typeof t?bt:Et)(e,t,null==n?"":n)):xt(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?Nt:"function"==typeof t?kt:_t)(e,t)):this.node()[e]},classed:function(e,t){var n=Ct(e+"");if(arguments.length<2){for(var r=Mt(this.node()),a=-1,o=n.length;++a<o;)if(!r.contains(n[a]))return!1;return!0}return this.each(("function"==typeof t?jt:t?Tt:Pt)(n,t))},text:function(e){return arguments.length?this.each(null==e?Lt:("function"==typeof e?Wt
vendor: 6,794 bytes, line 2
2:Ot)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?Ht:("function"==typeof e?Xt:$t)(e)):this.node().innerHTML},raise:function(){return this.each(Rt)},lower:function(){return this.each(Dt)},append:function(e){var t="function"==typeof e?e:Yt(e);return this.select((function(){return this.appendChild(t.apply(this,arguments))}))},insert:function(e,t){var n="function"==typeof e?e:Yt(e),r=null==t?Bt:"function"==typeof t?t:qe(t);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(qt)},clone:function(e){return this.select(e?Ft:Zt)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,n){var r,a,o=function(e){return e.trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}}))}(e+""),l=o.length;if(!(arguments.length<2)){for(i=t?Ut:Vt,r=0;r<l;++r)this.each(i(o[r],t,n));return this}var i=this.node().__on;if(i)for(var s,c=0,u=i.length;c<u;++c)for(r=0,s=i[c];r<l;++r)if((a=o[r]).type===s.type&&a.name===s.name)return s.value},dispatch:function(e,t){return this.each(("function"==typeof t?Kt:Qt)(e,t))},[Symbol.iterator]:function*(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r,a=e[t],o=0,l=a.length;o<l;++o)(r=a[o])&&(yield r)}};var rn=nn,an={value:()=>{}};function on(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw new Error("illegal type: "+e);r[e]=[]}return new ln(r)}function ln(e){this._=e}function sn(e,t){for(var n,r=0,a=e.length;r<a;++r)if((n=e[r]).name===t)return n.value}function cn(e,t,n){for(var r=0,a=e.length;r<a;++r)if(e[r].name===t){e[r]=an,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}ln.prototype=on.prototype={constructor:ln,on:function(e,t){var n,r,a=this._,o=(r=a,(e+"").trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");if(n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:t}}))),l=-1,i=o.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++l<i;)if(n=(e=o[l]).type)a[n]=cn(a[n],e.name,t);else if(null==t)for(n in a)a[n]=cn(a[n],e.name,null);return this}for(;++l<i;)if((n=(e=o[l]).type)&&(n=sn(a[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new ln(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,a=new Array(n),o=0;o<n;++o)a[o]=arguments[o+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(o=0,n=(r=this._[e]).length;o<n;++o)r[o].value.apply(t,a)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],a=0,o=r.length;a<o;++a)r[a].value.apply(t,n)}};var un,mn,dn=on,fn=0,hn=0,pn=0,gn=1e3,vn=0,yn=0,wn=0,En="object"==typeof performance&&performance.now?performance:Date,bn="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function xn(){return yn||(bn(Nn),yn=En.now()+wn)}function Nn(){yn=0}function _n(){this._call=this._time=this._next=null}function kn(e,t,n){var r=new _n;return r.restart(e,t,n),r}function Cn(){yn=(vn=En.now())+wn,fn=hn=0;try{!function(){xn(),++fn;for(var e,t=un;t;)(e=yn-t._time)>=0&&t._call.call(void 0,e),t=t._next;--fn}()}finally{fn=0,function(){var e,t,n=un,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:un=t);mn=e,Sn(r)}(),yn=0}}function Mn(){var e=En.now(),t=e-vn;t>gn&&(wn-=t,vn=e)}function Sn(e){fn||(hn&&(hn=clearTimeout(hn)),e-yn>24?(e<1/0&&(hn=setTimeout(Cn,e-En.now()-wn)),pn&&(pn=clearInterval(pn))):(pn||(vn=En.now(),pn=setInterval(Mn,gn)),fn=1,bn(Cn)))}function An(e,t,n){var r=new _n;return t=null==t?0:+t,r.restart((n=>{r.stop(),e(n+t)}),t,n),r}_n.prototype=kn.prototype={constructor:_n,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?xn():+n)+(null==t?0:+t),this._next||mn===this||(mn?mn._next=this:un=this,mn=this),this._call=e,this._time=n,Sn()},stop:function(){this._call&&(this._call=null,this._time=1/0,Sn())}};var In=dn("start","end","cancel","interrupt"),Tn=[],Pn=0,jn=1,Ln=2,On=3,Wn=4,Hn=5,$n=6;function Xn(e,t,n,r,a,o){var l=e.__transition;if(l){if(n in l)return}else e.__transition={};!function(e,t,n){var r,a=e.__transition;function o(e){n.state=jn,n.timer.restart(l,n.delay,n.time),n.delay<=e&&l(e-n.delay)}function l(o){var c,u,m,d;if(n.state!==jn)return s();for(c in a)if((d=a[c]).name===n.name){if(d.state===On)return An(l);d.state===Wn?(d.state=$n,d.timer.stop(),d.on.call("interrupt",e,e.__data__,d.index,d.group),delete a[c]):+c<t&&(d.state=$n,d.timer.stop(),d.on.call("cancel",e,e.__data__,d.index,d.group),delete a[c])}if(An((function(){n.state===On&&(n.state=Wn,n.timer.restart(i,n.delay,n.time),i(o))})),n.state=Ln,n.on.call("start",e,e.__data__,n.index,n.group),n.state===Ln){for(n.state=On,r=new Array(m=n.tween.length),c=0,u=-1;c<m;++c)(d=n.tween[c].value.call(e,e.__data__,n.index,n.group))&&(r[++u]=d);r.length=u+1}}function i(t){for(var a=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(s),n.state=Hn,1),o=-1,l=r.length;++o<l;)r[o].call(e,a);n.state===Hn&&(n.on.call("end",e,e.__data__,n.index,n.group),s())}function s(){for(var r in n.state=$n,n.timer.stop(),delete a[t],a)return;delete e.__transition}a[t]=n,n.timer=kn(o,0,n.time)}(e,n,{name:t,index:r,group:a,on:In,tween:Tn,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:Pn})}function Rn(e,t){var n=zn(e,t);if(n.state>Pn)throw new Error("too late; already scheduled");return n}function Dn(e,t){var n=zn(e,t);if(n.state>On)throw new Error("too late; already running");return n}function zn(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function Gn(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var Yn,Bn=180/Math.PI,qn={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Zn(e,t,n,r,a,o){var l,i,s;return(l=Math.sqrt(e*e+t*t))&&(e/=l,t/=l),(s=e*n+t*r)&&(n-=e*s,r-=t*s),(i=Math.sqrt(n*n+r*r))&&(n/=i,r/=i,s/=i),e*r<t*n&&(e=-e,t=-t,s=-s,l=-l),{translateX:a,translateY:o,rotate:Math.atan2(t,e)*Bn,skewX:Math.atan(s)*Bn,scaleX:l,scaleY:i}}function Fn(e,t,n,r){function a(e){return e.length?e.pop()+" ":""}return function(o,l){var i=[],s=[];return o=e(o),l=e(l),function(e,r,a,o,l,i){if(e!==a||r!==o){var s=l.push("translate(",null,t,null,n);i.push({i:s-4,x:Gn(e,a)},{i:s-2,x:Gn(r,o)})}else(a||o)&&l.push("translate("+a+t+o+n)}(o.translateX,o.translateY,l.translateX,l.translateY,i,s),function(e,t,n,o){e
vendor: 16,195 bytes, line 2
2!==t?(e-t>180?t+=360:t-e>180&&(e+=360),o.push({i:n.push(a(n)+"rotate(",null,r)-2,x:Gn(e,t)})):t&&n.push(a(n)+"rotate("+t+r)}(o.rotate,l.rotate,i,s),function(e,t,n,o){e!==t?o.push({i:n.push(a(n)+"skewX(",null,r)-2,x:Gn(e,t)}):t&&n.push(a(n)+"skewX("+t+r)}(o.skewX,l.skewX,i,s),function(e,t,n,r,o,l){if(e!==n||t!==r){var i=o.push(a(o)+"scale(",null,",",null,")");l.push({i:i-4,x:Gn(e,n)},{i:i-2,x:Gn(t,r)})}else 1===n&&1===r||o.push(a(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,l.scaleX,l.scaleY,i,s),o=l=null,function(e){for(var t,n=-1,r=s.length;++n<r;)i[(t=s[n]).i]=t.x(e);return i.join("")}}}var Vn=Fn((function(e){const t=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?qn:Zn(t.a,t.b,t.c,t.d,t.e,t.f)}),"px, ","px)","deg)"),Un=Fn((function(e){return null==e?qn:(Yn||(Yn=document.createElementNS("http://www.w3.org/2000/svg","g")),Yn.setAttribute("transform",e),(e=Yn.transform.baseVal.consolidate())?Zn((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):qn)}),", ",")",")");function Jn(e,t){var n,r;return function(){var a=Dn(this,e),o=a.tween;if(o!==n)for(var l=0,i=(r=n=o).length;l<i;++l)if(r[l].name===t){(r=r.slice()).splice(l,1);break}a.tween=r}}function Qn(e,t,n){var r,a;if("function"!=typeof n)throw new Error;return function(){var o=Dn(this,e),l=o.tween;if(l!==r){a=(r=l).slice();for(var i={name:t,value:n},s=0,c=a.length;s<c;++s)if(a[s].name===t){a[s]=i;break}s===c&&a.push(i)}o.tween=a}}function Kn(e,t,n){var r=e._id;return e.each((function(){var e=Dn(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return zn(e,r).value[t]}}function er(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function tr(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function nr(){}var rr=.7,ar=1/rr,or="\\s*([+-]?\\d+)\\s*",lr="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ir="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",sr=/^#([0-9a-f]{3,8})$/,cr=new RegExp(`^rgb\\(${or},${or},${or}\\)$`),ur=new RegExp(`^rgb\\(${ir},${ir},${ir}\\)$`),mr=new RegExp(`^rgba\\(${or},${or},${or},${lr}\\)$`),dr=new RegExp(`^rgba\\(${ir},${ir},${ir},${lr}\\)$`),fr=new RegExp(`^hsl\\(${lr},${ir},${ir}\\)$`),hr=new RegExp(`^hsla\\(${lr},${ir},${ir},${lr}\\)$`),pr={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};function gr(){return this.rgb().formatHex()}function vr(){return this.rgb().formatRgb()}function yr(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=sr.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?wr(t):3===n?new xr(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Er(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Er(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=cr.exec(e))?new xr(t[1],t[2],t[3],1):(t=ur.exec(e))?new xr(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=mr.exec(e))?Er(t[1],t[2],t[3],t[4]):(t=dr.exec(e))?Er(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=fr.exec(e))?Sr(t[1],t[2]/100,t[3]/100,1):(t=hr.exec(e))?Sr(t[1],t[2]/100,t[3]/100,t[4]):pr.hasOwnProperty(e)?wr(pr[e]):"transparent"===e?new xr(NaN,NaN,NaN,0):null}function wr(e){return new xr(e>>16&255,e>>8&255,255&e,1)}function Er(e,t,n,r){return r<=0&&(e=t=n=NaN),new xr(e,t,n,r)}function br(e,t,n,r){return 1===arguments.length?((a=e)instanceof nr||(a=yr(a)),a?new xr((a=a.rgb()).r,a.g,a.b,a.opacity):new xr):new xr(e,t,n,null==r?1:r);var a}function xr(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Nr(){return`#${Mr(this.r)}${Mr(this.g)}${Mr(this.b)}`}function _r(){const e=kr(this.opacity);return`${1===e?"rgb(":"rgba("}${Cr(this.r)}, ${Cr(this.g)}, ${Cr(this.b)}${1===e?")":`, ${e})`}`}function kr(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Cr(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Mr(e){return((e=Cr(e))<16?"0":"")+e.toString(16)}function Sr(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Ir(e,t,n,r)}function Ar(e){if(e instanceof Ir)return new Ir(e.h,e.s,e.l,e.opacity);if(e instanceof nr||(e=yr(e)),!e)return new Ir;if(e instanceof Ir)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,a=Math.min(t,n,r),o=Math.max(t,n,r),l=NaN,i=o-a,s=(o+a)/2;return i?(l=t===o?(n-r)/i+6*(n<r):n===o?(r-t)/i+2:(t-n)/i+4,i/=s<.5?o+a:2-o-a,l*=60):i=s>0&&s<1?0:l,new Ir(l,i,s,e.opacity)}function Ir(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Tr(e){return(e=(e||0)%360)<0?e+360:e}function Pr(e){return Math.max(0,Math.min(1,e||0))}function jr(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function Lr(e,t,n,r,a){var o=e*e,l=o*e;return((1-3*e+3*o-l)*t+(4-6*o+3*l)*n+(1+3*e+3*o-3*l)*r+l*a)/6}er(nr,yr,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:gr,formatHex:gr,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ar(this).formatHsl()},formatRgb:vr,toString:vr}),er(xr,br,tr(nr,{brighter(e){return e=null==e?ar:Math.pow(ar,e),new xr(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?rr:Math.pow(rr,e),new xr(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new xr(Cr(this.r),Cr(this.g),Cr(this.b),kr(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Nr,formatHex:Nr,formatHex8:function(){return`#${Mr(this.r)}${Mr(this.g)}${Mr(this.b)}${Mr(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:_r,toString:_r})),er(Ir,(function(e,t,n,r){return 1===arguments.length?Ar(e):new Ir(e,t,n,null==r?1:r)}),tr(nr,{brighter(e){return e=null==e?ar:Math.pow(ar,e),new Ir(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?rr:Math.pow(rr,e),new Ir(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,a=2*n-r;return new xr(jr(e>=240?e-240:e+120,a,r),jr(e,a,r),jr(e<120?e+240:e-120,a,r),this.opacity)},clamp(){return new Ir(Tr(this.h),Pr(this.s),Pr(this.l),kr(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=kr(this.opacity);return`${1===e?"hsl(":"hsla("}${Tr(this.h)}, ${100*Pr(this.s)}%, ${100*Pr(this.l)}%${1===e?")":`, ${e})`}`}}));var Or=e=>()=>e;function Wr(e,t){return function(n){return e+n*t}}function Hr(e){return 1==(e=+e)?$r:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Or(isNaN(t)?n:t)}}function $r(e,t){var n=t-e;return n?Wr(e,n):Or(isNaN(e)?t:e)}var Xr=function e(t){var n=Hr(t);function r(e,t){var r=n((e=br(e)).r,(t=br(t)).r),a=n(e.g,t.g),o=n(e.b,t.b),l=$r(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=a(t),e.b=o(t),e.opacity=l(t),e+""}}return r.gamma=e,r}(1);function Rr(e){return function(t){var n,r,a=t.length,o=new Array(a),l=new Array(a),i=new Array(a);for(n=0;n<a;++n)r=br(t[n]),o[n]=r.r||0,l[n]=r.g||0,i[n]=r.b||0;return o=e(o),l=e(l),i=e(i),r.opacity=1,function(e){return r.r=o(e),r.g=l(e),r.b=i(e),r+""}}}Rr((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),a=e[r],o=e[r+1],l=r>0?e[r-1]:2*a-o,i=r<t-1?e[r+2]:2*o-a;return Lr((n-r/t)*t,l,a,o,i)}})),Rr((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),a=e[(r+t-1)%t],o=e[r%t],l=e[(r+1)%t],i=e[(r+2)%t];return Lr((n-r/t)*t,a,o,l,i)}}));var Dr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,zr=new RegExp(Dr.source,"g");function Gr(e,t){var n,r,a,o=Dr.lastIndex=zr.lastIndex=0,l=-1,i=[],s=[];for(e+="",t+="";(n=Dr.exec(e))&&(r=zr.exec(t));)(a=r.index)>o&&(a=t.slice(o,a),i[l]?i[l]+=a:i[++l]=a),(n=n[0])===(r=r[0])?i[l]?i[l]+=r:i[++l]=r:(i[++l]=null,s.push({i:l,x:Gn(n,r)})),o=zr.lastIndex;return o<t.length&&(a=t.slice(o),i[l]?i[l]+=a:i[++l]=a),i.length<2?s[0]?function(e){return function(t){return e(t)+""}}(s[0].x):function(e){return function(){return e}}(t):(t=s.length,function(e){for(var n,r=0;r<t;++r)i[(n=s[r]).i]=n.x(e);return i.join("")})}function Yr(e,t){var n;return("number"==typeof t?Gn:t instanceof yr?Xr:(n=yr(t))?(t=n,Xr):Gr)(e,t)}function Br(e){return function(){this.removeAttribute(e)}}function qr(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Zr(e,t,n){var r,a,o=n+"";return function(){var l=this.getAttribute(e);return l===o?null:l===r?a:a=t(r=l,n)}}function Fr(e,t,n){var r,a,o=n+"";return function(){var l=this.getAttributeNS(e.space,e.local);return l===o?null:l===r?a:a=t(r=l,n)}}function Vr(e,t,n){var r,a,o;return function(){var l,i,s=n(this);if(null!=s)return(l=this.getAttribute(e))===(i=s+"")?null:l===r&&i===a?o:(a=i,o=t(r=l,s));this.removeAttribute(e)}}function Ur(e,t,n){var r,a,o;return function(){var l,i,s=n(this);if(null!=s)return(l=this.getAttributeNS(e.space,e.local))===(i=s+"")?null:l===r&&i===a?o:(a=i,o=t(r=l,s));this.removeAttributeNS(e.space,e.local)}}function Jr(e,t){var n,r;function a(){var a=t.apply(this,arguments);return a!==r&&(n=(r=a)&&function(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}(e,a)),n}return a._value=t,a}function Qr(e,t){var n,r;function a(){var a=t.apply(this,arguments);return a!==r&&(n=(r=a)&&function(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}(e,a)),n}return a._value=t,a}function Kr(e,t){return function(){Rn(this,e).delay=+t.apply(this,arguments)}}function ea(e,t){return t=+t,function(){Rn(this,e).delay=t}}function ta(e,t){return function(){Dn(this,e).duration=+t.apply(this,arguments)}}function na(e,t){return t=+t,function(){Dn(this,e).duration=t}}var ra=rn.prototype.constructor;function aa(e){return function(){this.style.removeProperty(e)}}var oa=0;function la(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function ia(){return++oa}var sa=rn.prototype;la.prototype=function(e){return rn().transition(e)}.prototype={constructor:la,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=qe(e));for(var r=this._groups,a=r.length,o=new Array(a),l=0;l<a;++l)for(var i,s,c=r[l],u=c.length,m=o[l]=new Array(u),d=0;d<u;++d)(i=c[d])&&(s=e.call(i,i.__data__,d,c))&&("__data__"in i&&(s.__data__=i.__data__),m[d]=s,Xn(m[d],t,n,d,m,zn(i,n)));return new la(o,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=Fe(e));for(var r=this._groups,a=r.length,o=[],l=[],i=0;i<a;++i)for(var s,c=r[i],u=c.length,m=0;m<u;++m)if(s=c[m]){for(var d,f=e.call(s,s.__data__,m,c),h=zn(s,n),p=0,g=f.length;p<g;++p)(d=f[p])&&Xn(d,t,n,p,f,h);o.push(f),l.push(s)}return new la(o,l,t,n)},selectChild:sa.selectChild,selectChildren:sa.selectChildren,filter:function(e){"function"!=typeof e&&(e=Ue(e));for(var t=this._groups,n=t.length,r=new Array(n),a=0;a<n;++a)for(var o,l=t[a],i=l.length,s=r[a]=[],c=0;c<i;++c)(o=l[c])&&e.call(o,o.__data__,c,l)&&s.push(o);return new la(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,a=n.length,o=Math.min(r,a),l=new Array(r),i=0;i<o;++i)for(var s,c=t[i],u=n[i],m=c.length,d=l[i]=new Array(m),f=0;f<m;++f)(s=c[f]||u[f])&&(d[f]=s);for(;i<r;++i)l[i]=t[i];return new la(l,this._parents,this._name,this._id)},selection:function(){return new ra(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=ia(),r=this._groups,a=r.length,o=0;o<a;++o)for(var l,i=r[o],s=i.length,c=0;c<s;++c)if(l=i[c]){var u=zn(l,t);Xn(l,e,n,c,i,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new la(r,this._parents,e,n)},call:sa.call,nodes:sa.nodes,node:sa.node,size:sa.size,empty:sa.empty,each:sa.each,on:function(e,t){var n=this._id;return arguments.length<2?zn(this.node(),n).on.on(e):this.each(function(e,t,n){var r,a,o=function(e){return(e+"").trim().split(/^|\s+/).every((function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?Rn:Dn;return function(){var l=o(this,e),i=l.on;i!==r&&(a=(r=i).copy()).on(t,n),l.on=a}}(n,e,t))},attr:function(e,t){var n=mt(e),r="transform"===n?Un:Yr;return this.attrTween(e,"function"==typeof t?(n.local?Ur:Vr)(n,r,Kn(this,"attr."+e,t)):null==t?(n.local?qr:Br)(n):(n.local?Fr:Zr)(n,r,t))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;var r=mt(e);return this.tween(n,(r.local?Jr:Qr)(r,t))},style:function(e,t,n){var r="transform"==(e+="")?Vn:Yr;return null==t?this.styleTween(e,function(e,t){var n,r,a;return function(){var o=xt(this,e),l=(this.style.removeProperty(e),xt(this,e));return o===l?null:o===n&&l===r?a:a=t(n=o,r=l)}}(e,r)).on("end.style."+e,aa(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,a,o;return function(){var l=xt(this,e),i=n(this),s=i+"";return null==i&&(this.style.removeProperty(e),s=i=xt(this,e)),l===s?null:l===r&&s===a?o:(a=s,o=t(r=l,i))}}(e,r,Kn(this,"style."+e,t))).each(function(e,t){var n,r,a,o,l="style."+t,i="end."+l;return function(){var s=Dn(this,e),c=s.on,u=null==s.value[l]?o||(o=aa(t)):void 0;c===n&&a===u||(r=(n=c).copy()).on(i,a=u),s.on=r}}(this._id,e)):this.styleTween(e,function(e,t,n){var r,a,o=n+"";return function(){var l=xt(this,e);return l===o?null:l===r?a:a=t(r=l,n)}}(e,r,t),n).on("end.style."+e,null)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw new Error;return this.tween(r,function(e,t,n){var r,a;
vendor: 8,190 bytes, line 2
2function o(){var o=t.apply(this,arguments);return o!==a&&(r=(a=o)&&function(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}(e,o,n)),r}return o._value=t,o}(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var t=e(this);this.textContent=null==t?"":t}}(Kn(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},textTween:function(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw new Error;return this.tween(t,function(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&function(e){return function(t){this.textContent=e.call(this,t)}}(r)),t}return r._value=e,r}(e))},remove:function(){return this.on("end.remove",function(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}(this._id))},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,a=zn(this.node(),n).tween,o=0,l=a.length;o<l;++o)if((r=a[o]).name===e)return r.value;return null}return this.each((null==t?Jn:Qn)(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?Kr:ea)(t,e)):zn(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?ta:na)(t,e)):zn(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(function(e,t){if("function"!=typeof t)throw new Error;return function(){Dn(this,e).ease=t}}(t,e)):zn(this.node(),t).ease},easeVarying:function(e){if("function"!=typeof e)throw new Error;return this.each(function(e,t){return function(){var n=t.apply(this,arguments);if("function"!=typeof n)throw new Error;Dn(this,e).ease=n}}(this._id,e))},end:function(){var e,t,n=this,r=n._id,a=n.size();return new Promise((function(o,l){var i={value:l},s={value:function(){0==--a&&o()}};n.each((function(){var n=Dn(this,r),a=n.on;a!==e&&((t=(e=a).copy())._.cancel.push(i),t._.interrupt.push(i),t._.end.push(s)),n.on=t})),0===a&&o()}))},[Symbol.iterator]:sa[Symbol.iterator]};var ca={time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}};function ua(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}rn.prototype.interrupt=function(e){return this.each((function(){!function(e,t){var n,r,a,o=e.__transition,l=!0;if(o){for(a in t=null==t?null:t+"",o)(n=o[a]).name===t?(r=n.state>Ln&&n.state<Hn,n.state=$n,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete o[a]):l=!1;l&&delete e.__transition}}(this,e)}))},rn.prototype.transition=function(e){var t,n;e instanceof la?(t=e._id,e=e._name):(t=ia(),(n=ca).time=xn(),e=null==e?null:e+"");for(var r=this._groups,a=r.length,o=0;o<a;++o)for(var l,i=r[o],s=i.length,c=0;c<s;++c)(l=i[c])&&Xn(l,e,t,c,i,n||ua(l,t));return new la(r,this._parents,e,t)};const{abs:ma,max:da,min:fa}=Math;function ha(e){return[+e[0],+e[1]]}function pa(e){return[ha(e[0]),ha(e[1])]}["w","e"].map(ga),["n","s"].map(ga),["n","w","e","s","nw","ne","sw","se"].map(ga);function ga(e){return{type:e}}const va=Math.sqrt(50),ya=Math.sqrt(10),wa=Math.sqrt(2);function Ea(e,t,n){const r=(t-e)/Math.max(0,n),a=Math.floor(Math.log10(r)),o=r/Math.pow(10,a),l=o>=va?10:o>=ya?5:o>=wa?2:1;let i,s,c;return a<0?(c=Math.pow(10,-a)/l,i=Math.round(e*c),s=Math.round(t*c),i/c<e&&++i,s/c>t&&--s,c=-c):(c=Math.pow(10,a)*l,i=Math.round(e/c),s=Math.round(t/c),i*c<e&&++i,s*c>t&&--s),s<i&&.5<=n&&n<2?Ea(e,t,2*n):[i,s,c]}function ba(e,t,n){return Ea(e=+e,t=+t,n=+n)[2]}function xa(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Na(e){let t,n,r;function a(e,r,a=0,o=e.length){if(a<o){if(0!==t(r,r))return o;do{const t=a+o>>>1;n(e[t],r)<0?a=t+1:o=t}while(a<o)}return a}return 2!==e.length?(t=Me,n=(t,n)=>Me(e(t),n),r=(t,n)=>e(t)-n):(t=e===Me||e===xa?e:_a,n=e,r=e),{left:a,center:function(e,t,n=0,o=e.length){const l=a(e,t,n,o-1);return l>n&&r(e[l-1],t)>-r(e[l],t)?l-1:l},right:function(e,r,a=0,o=e.length){if(a<o){if(0!==t(r,r))return o;do{const t=a+o>>>1;n(e[t],r)<=0?a=t+1:o=t}while(a<o)}return a}}}function _a(){return 0}const ka=Na(Me),Ca=ka.right;ka.left,Na((function(e){return null===e?NaN:+e})).center;var Ma=Ca;function Sa(e,t){var n,r=t?t.length:0,a=e?Math.min(r,e.length):0,o=new Array(a),l=new Array(r);for(n=0;n<a;++n)o[n]=Pa(e[n],t[n]);for(;n<r;++n)l[n]=t[n];return function(e){for(n=0;n<a;++n)l[n]=o[n](e);return l}}function Aa(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Ia(e,t){var n,r={},a={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=Pa(e[n],t[n]):a[n]=t[n];return function(e){for(n in r)a[n]=r[n](e);return a}}function Ta(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,a=t.slice();return function(o){for(n=0;n<r;++n)a[n]=e[n]*(1-o)+t[n]*o;return a}}function Pa(e,t){var n,r,a=typeof t;return null==t||"boolean"===a?Or(t):("number"===a?Gn:"string"===a?(n=yr(t))?(t=n,Xr):Gr:t instanceof yr?Xr:t instanceof Date?Aa:(r=t,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(t)?Sa:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Ia:Gn:Ta))(e,t)}function ja(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function La(e){return+e}var Oa=[0,1];function Wa(e){return e}function Ha(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function $a(e,t,n){var r=e[0],a=e[1],o=t[0],l=t[1];return a<r?(r=Ha(a,r),o=n(l,o)):(r=Ha(r,a),o=n(o,l)),function(e){return o(r(e))}}function Xa(e,t,n){var r=Math.min(e.length,t.length)-1,a=new Array(r),o=new Array(r),l=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++l<r;)a[l]=Ha(e[l],e[l+1]),o[l]=n(t[l],t[l+1]);return function(t){var n=Ma(e,t,1,r)-1;return o[n](a[n](t))}}function Ra(){var e,t,n,r,a,o,l=Oa,i=Oa,s=Pa,c=Wa;function u(){var e=Math.min(l.length,i.length);return c!==Wa&&(c=function(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(l[0],l[e-1])),r=e>2?Xa:$a,a=o=null,m}function m(t){return null==t||isNaN(t=+t)?n:(a||(a=r(l.map(e),i,s)))(e(c(t)))}return m.invert=function(n){return c(t((o||(o=r(i,l.map(e),Gn)))(n)))},m.domain=function(e){return arguments.length?(l=Array.from(e,La),u()):l.slice()},m.range=function(e){return arguments.length?(i=Array.from(e),u()):i.slice()},m.rangeRound=function(e){return i=Array.from(e),s=ja,u()},m.clamp=function(e){return arguments.length?(c=!!e||Wa,u()):c!==Wa},m.interpolate=function(e){return arguments.length?(s=e,u()):s},m.unknown=function(e){return arguments.length?(n=e,m):n},function(n,r){return e=n,t=r,u()}}function Da(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}var za,Ga=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ya(e){if(!(t=Ga.exec(e)))throw new Error("invalid format: "+e);var t;return new Ba({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Ba(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function qa(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Za(e){return(e=qa(Math.abs(e)))?e[1]:NaN}function Fa(e,t){var n=qa(e,t);if(!n)return e+"";var r=n[0],a=n[1];return a<0?"0."+new Array(-a).join("0")+r:r.length>a+1?r.slice(0,a+1)+"."+r.slice(a+1):r+new Array(a-r.length+2).join("0")}Ya.prototype=Ba.prototype,Ba.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?""
vendor: 2,057 bytes, line 2
2:Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Va={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Fa(100*e,t),r:Fa,s:function(e,t){var n=qa(e,t);if(!n)return e+"";var r=n[0],a=n[1],o=a-(za=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,l=r.length;return o===l?r:o>l?r+new Array(o-l+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+qa(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Ua(e){return e}var Ja,Qa,Ka,eo=Array.prototype.map,to=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function no(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Ua:(t=eo.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var a=e.length,o=[],l=0,i=t[0],s=0;a>0&&i>0&&(s+i+1>r&&(i=Math.max(1,r-s)),o.push(e.substring(a-=i,a+i)),!((s+=i+1)>r));)i=t[l=(l+1)%t.length];return o.reverse().join(n)}),a=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",l=void 0===e.decimal?".":e.decimal+"",i=void 0===e.numerals?Ua:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(eo.call(e.numerals,String)),s=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"â":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function m(e){var t=(e=Ya(e)).fill,n=e.align,m=e.sign,d=e.symbol,f=e.zero,h=e.width,p=e.comma,g=e.precision,v=e.trim,y=e.type;"n"===y?(p=!0,y="g"):Va[y]||(void 0===g&&(g=12),v=!0,y="g"),(f||"0"===t&&"="===n)&&(f=!0,t="0",n="=");var w="$"===d?a:"#"===d&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",E="$"===d?o:/[%p]/.test(y)?s:"",b=Va[y],x=/[defgprs%]/.test(y);function N(e){var a,o,s,d=w,N=E;if("c"===y)N=b(e)+N,e="";else{var _=(e=+e)<0||1/e<0;
2if(e=isNaN(e)?u:b(Math.abs(e),g),v&&(e=function(e){e:for(var t,n=e.length,r=1,a=-1;r<n;++r)switch(e[r]){case".":a=t=r;break;case"0":0===a&&(a=r),t=r;break;default:if(!+e[r])break e;a>0&&(a=0)}return a>0?e.slice(0,a)+e.slice(t+1):e}(e)),_&&0==+e&&"+"!==m&&(_=!1),d=(_?"("===m?m:c:"-"===m||"("===m?"":m)+d,N=("s"===y?to[8+za/3]:"")+N+(_&&"("===m?")":""),x)for(a=-1,o=e.length;++a<o;)if(48>(s=e.charCodeAt(a))||s>57){N=(46===s?l+e.slice(a+1):e.slice(a))+N,e=e.slice(0,a);break}}p&&!f&&(e=r(e,1/0));var k=d.length+e.length+N.length,C=k<h?new Array(h-k+1).join(t):"";switch(p&&f&&(e=r(C+e,C.length?h-N.length:1/0),C=""),n){case"<":e=d+e+N+C;break;case"=":e=d+C+e+N;break;case"^":e=C.slice(0,k=C.length>>1)+d+e+N+C.slice(k);break;default:e=C+d+e+N}return i(e)}return g=void 0===g?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),N.toString=function(){return e+""},N}return{format:m,formatPrefix:function(e,t){var n=m(((e=Ya(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Za(t)/3))),a=Math.pow(10,-r),o=to[8+r/3];return function(e){return n(a*e)+o}}}}function ro(e,t,n,r){var a,o=function(e,t,n){n=+n;const r=(t=+t)<(e=+e),a=r?ba(t,e,n):ba(e,t,n);return(r?-1:1)*(a<0?1/-a:a)}(e,t,n);switch((r=Ya(null==r?",f":r)).type){case"s":var l=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(a=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Za(t)/3)))-Za(Math.abs(e)))}(o,l))||(r.precision=a),Ka(r,l);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(a=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Za(t)-Za(e))+1}(o,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=a-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(a=function(e){return Math.max(0,-Za(Math.abs(e)))}(o))||(r.precision=a-2*("%"===r.type))}return Qa(r)}function ao(e){var t=e.domain;return e.ticks=function(e){var n=t();return function(e,t,n){if(!((n=+n)>0))return[];if((e=+e)==(t=+t))return[e];const r=t<e,[a,o,l]=r?Ea(t,e,n):Ea(e,t,n);if(!(o>=a))return[];const i=o-a+1,s=new Array(i);if(r)if(l<0)for(let c=0;c<i;++c)s[c]=(o-c)/-l;else for(let c=0;c<i;++c)s[c]=(o-c)*l;else if(l<0)for(let c=0;c<i;++c)s[c]=(a+c)/-l;else for(let c=0;c<i;++c)s[c]=(a+c)*l;return s}(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return ro(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,a,o=t(),l=0,i=o.length-1,s=o[l],c=o[i],u=10;for(c<s&&(a=s,s=c,c=a,a=l,l=i,i=a);u-- >0;){if((a=ba(s,c,n))===r)return o[l]=s,o[i]=c,t(o);if(a>0)s=Math.floor(s/a)*a,c=Math.ceil(c/a)*a;else{if(!(a<0))break;s=Math.ceil(s*a)/a,c=Math.floor(c*a)/a}r=a}return e},e}function oo(){var e=Ra()(Wa,Wa);return e.copy=function(){return t=e,oo().domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown());var t},Da.apply(e,arguments),ao(e)}function lo(e){return"string"==typeof e?new tn([[document.querySelector(e)]],[document.documentElement]):new tn([[e]],en)}Ja=no({thousands:",",grouping:[3],currency:["$",""]}),Qa=Ja.format,Ka=Ja.formatPrefix;Array.prototype.slice;var io=n(309);function so(e){this._context=e}function co(e){return new so(e)}so.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var uo=n(633);function mo(e){return e[0]}function fo(e){return e[1]}function ho(e,t){var n=(0,io.Z)(!0),r=null,a=co,o=null,l=(0,uo.d)(i);function i(i){var s,c,u,m=(i=function(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}(i)).length,d=!1;for(null==r&&(o=a(u=l())),s=0;s<=m;++s)!(s<m&&n(c=i[s],s,i))===d&&((d=!d)?o.lineStart():o.lineEnd()),d&&o.point(+e(c,s,i),+t(c,s,i));if(u)return o=null,u+""||null}return e="function"==typeof e?e:void 0===e?mo:(0,io.Z)(e),t="function"==typeof t?t:void 0===t?fo:(0,io.Z)(t),i.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,io.Z)(+t),i):e},i.y=function(e){return arguments.length?(t="function"==typeof e?e:(0,io.Z)(+e),i):t},i.defined=function(e){return arguments.length?(n="function"==typeof e?e:(0,io.Z)(!!e),i):n},i.curve=function(e){return arguments.length?(a=e,null!=r&&(o=a(r)),i):a},i.context=function(e){return arguments.length?(null==e?r=o=null:o=a(r=e),i):r},i}
2function po(e,t,n){this.k=e,this.x=t,this.y=n}po.prototype={constructor:po,scale:function(e){return 1===e?this:new po(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new po(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};new po(1,0,0);po.prototype;var go="DivergingBarsPlot-module--a--02fe9",vo="DivergingBarsPlot-module--b--eef75",yo="DivergingBarsPlot-module--c--7836a",wo="DivergingBarsPlot-module--darkText--7fa75",Eo="DivergingBarsPlot-module--divider--01695",bo="DivergingBarsPlot-module--graphLabel--d5c42",xo="DivergingBarsPlot-module--lightText--733c3",No="DivergingBarsPlot-module--numberLabel--85210",_o="DivergingBarsPlot-module--root--17837",ko="DivergingBarsPlot-module--textAnchorEnd--9d86c",Co=n(425);var Mo=e=>{let{data:t,width:n=500,height:r=400,marginTop:o=40,marginRight:l=40,marginBottom:i=40,marginLeft:s=40}=e;const u=(0,c.useRef)(),m=t.length;let f=0;for(let a=0;a<t.length;a++)for(let e=0;e<t[a].length;e++)f++;const h=(n-s-l)/2,p=10,g=n/2,v=(0,Co.Y)(u,{once:!0}),y=(r-o-i-f*p-11*m-8*m-40*(m-1))/f,w=500,E=2e3;return(0,c.useEffect)((()=>{if(v){const e=e=>o+e*t[e].length*y+e*t[e].length*11+18*e+40*e,n=lo(u.current).selectAll("g").data(t).join("g").attr("transform",((t,n)=>"translate(0, "+e(n)+")")),r=n.selectAll("rect").data((e=>e)).enter();r.append("rect").attr("x",g).attr("y",((e,t)=>t*(y+p))).attr("height",y).attr("width",0).attr("class",(e=>a[e.left.category])).transition().duration(2e3).attr("x",(e=>g-e.left.value/100*h)).attr("width",(e=>e.left.value/100*h)),r.append("text").attr("x",(e=>g-e.left.value/100*h+1)).attr("y",((e,t)=>t*(y+p)+y-8)).attr("class",d()(No,xo)).text((e=>e.left.value)).attr("opacity",0).transition().delay(E).duration(w).attr("opacity",1),r.append("rect").attr("x",g).attr("y",((e,t)=>t*(y+p))).attr("height",y).attr("width",0).attr("class",(e=>a[e.right.category])).transition().duration(2e3).attr("width",(e=>e.right.value/100*h)),r.append("text").attr("x",(e=>g+e.right.value/100*h-1)).attr("y",((e,t)=>t*(y+p)+y-8)).attr("class",d()(No,wo,ko)).text((e=>e.right.value)).attr("opacity",0).transition().delay(E).duration(w).attr("opacity",1),n.append("line").attr("class",Eo).attr("x1",g).attr("y1",-10).attr("x2",g).attr("y2",-10).transition().duration(1e3).attr("y2",3*y+50),n.append("text").attr("x",g-5).attr("y",3*y+40).attr("class",d()(bo,wo,ko)).text("Left Category").attr("opacity",0).transition().delay(E).duration(w).attr("opacity",1),n.append("text").attr("x",g+5).attr("y",3*y+40).attr("class",d()(bo,wo)).text("Right Category").attr("opacity",0).transition().delay(E).duration(w).attr("opacity",1)}}),[v,t,y,g,h,18,o]),c.createElement("svg",{ref:u,viewBox:"0 0 "+n+" "+r,className:_o})},So="DotPlot-module--a--775e8",Ao="DotPlot-module--b--986ea",Io="DotPlot-module--gridCell--362f0",To="DotPlot-module--label--3e64c",Po="DotPlot-module--numberLabel--1b7b5",jo="DotPlot-module--root--3d902",Lo="DotPlot-module--small--d6b91",Oo="DotPlot-module--square--cb578";var Wo=e=>{let{data:t,width:n=500,height:r=400,marginTop:a=40,marginRight:l=40,marginBottom:i=40,marginLeft:s=40}=e;const u=(0,c.useRef)(),m=(0,Co.Y)(u,{once:!0}),f=(r-i-a)/10,h=1e3,p=1e3,g=a+7*f,v=e=>72*e+g,y=2*t.length+1,w=new Array(y).fill(new Array(10)),E=(n-s-l)/2,b=(0,c.useCallback)((e=>{let t=0;const n=[];for(let r=0;r<w.length;r++)if(r%2!=0){for(let a=0;a<w[r].length;a++)e[t].value>a&&n.push({x:r,y:9-a,category:e[t].category});t++}return n}),[w,10]);return(0,c.useEffect)((()=>{const e=lo(u.current);e.append("g").selectAll(".row").data(w).join("g").attr("class",o.row).attr("transform",((e,t)=>
2"translate("+t*f+", 0)")).selectAll(Io).data((e=>e)).join("rect").attr("class",d()("cell",Io)).attr("x",E).attr("y",((e,t)=>a+t*f)).attr("width",f).attr("height",f),e.selectAll("circle").data(b(t),(e=>e)).join((e=>e.append("circle").attr("cx",(e=>e.x*f+f/2+E)).attr("cy",(e=>e.y*f+f/2+a)).attr("class",(e=>o[e.category]))))}),[t,E,a,f,w,10,b]),(0,c.useEffect)((()=>{if(m){const e=lo(u.current);e.selectAll("text").attr("opacity",0).transition().delay(p).duration(h).attr("opacity",1),e.selectAll("."+Oo).attr("opacity",0).transition().delay(p).duration(h).attr("opacity",1),e.selectAll(".cell").attr("opacity",0).transition().delay(((e,t)=>10*t)).duration(h).attr("opacity",1),e.selectAll("circle").attr("r",0).attr("opacity",0).transition().delay(((e,t)=>p+50*t)).duration(h).attr("opacity",1).attr("r",.75*f/2)}}),[m,f]),t.length>0&&c.createElement("svg",{ref:u,viewBox:"0 0 "+n+" "+r,className:jo},t.map(((e,t)=>c.createElement("g",{key:"label-"+t,transform:"translate(40, "+v(t)+")"},c.createElement("text",{className:Po,y:0},e.value),c.createElement("text",{className:d()(Po,Lo),y:0,x:20},"/10"),c.createElement("rect",{className:d()(Oo,o[0===t?"a":"b"]),y:12}),c.createElement("text",{className:To,x:12,y:20},"Category "+e.category)))))},Ho="LinePlot-module--a--fdf50",$o="LinePlot-module--axisX--199f3",Xo="LinePlot-module--axisY--2f20e",Ro="LinePlot-module--b--34310",Do="LinePlot-module--c--72e1b",zo="LinePlot-module--line--f5b8a",Go="LinePlot-module--meanLine--63c30",Yo="LinePlot-module--root--d4794";var Bo=e=>{let{data:t,width:n=500,height:r=400,marginTop:a=60,marginRight:o=60,marginBottom:i=60,marginLeft:s=60}=e;const u=Pe(t.map((e=>e.values)).flat(),.5,m);var m;const f=(0,c.useRef)(),h=(0,c.useRef)(),p=(0,c.useRef)(),g=(0,Co.Y)(p,{once:!0}),v=oo([0,t[0].values.length-1],[s,n-o]),y=oo([0,ke(t.map((e=>e.values)).flat())],[r-i,a]),w=(0,c.useMemo)((()=>(console.log("line executing"),ho(((e,t)=>v(t)),(e=>y(e))))),[v,y]);return(0,c.useEffect)((()=>{var e;lo(f.current).call((e=v,Ye(We,e))).attr("opacity",0).transition().duration(1e3).attr("opacity",1)}),[f,v]),(0,c.useEffect)((()=>{var e;lo(h.current).call((e=y,Ye(He,e)).tickSizeInner(n-s-o)).attr("opacity",0).transition().duration(1e3).attr("opacity",1)}),[h,y,n,s,o]),(0,c.useEffect)((()=>{const e=lo(p.current);e.selectAll(".line").data(t,(e=>e)).join("path").attr("class",(e=>d()(zo,l[e.category]))).attr("d",(e=>w(e.values))).attr("stroke-dasharray",((e,t,n)=>n[t].getTotalLength()+" "+n[t].getTotalLength()));const n=e.append("path");n.attr("class",Go).attr("d",(e=>w(t[0].values.map((e=>u))))).attr("stroke-dasharray",n.node().getTotalLength()+" "+n.node().getTotalLength()).attr("stroke-dashoffset",(()=>n.node().getTotalLength()))}),[u,t,w]),(0,c.useEffect)((()=>{if(g){console.log("animating lines");const e=lo(p.current);e.selectAll("."+zo).attr("stroke-dashoffset",((e,t,n)=>n[t].getTotalLength())).transition().duration(4e3).attr("stroke-dashoffset",0);const t=e.select("."+Go);t.attr("stroke-dashoffset",(()=>t.node().getTotalLength())).transition().delay(2e3).duration(2e3).attr("stroke-dashoffset",0)}}),[g]),c.createElement("svg",{ref:p,viewBox:"0 0 "+n+" "+r,className:Yo},c.createElement("g",{className:$o,ref:f,transform:"translate(0,"+(r-i)+")"}),c.createElement("g",{className:Xo,ref:h,transform:"translate("+(n-s)+",0)"}))};const qo=[{category:"a",value:9},{category:"b",value:5}],Zo=[[{left:{value:32.5,category:"a"},right:{value:49,category:"b"}},{left:{value:47,category:"a"},right:{value:8.7,category:"b"}},{left:{value:12.2,category:"a"},right:{value:34.6,category:"b"}}],[{left:{value:30.1,category:"a"},right:{value:51,category:"c"}},{left:{value:36,category:"a"},right:{value:24.4,category:"c"}},{left:{value:14.2,category:"a"},right:{value:7.3,category:"c"}}]],Fo=[{category:"a",values:[33,44,86,90,94,88,115,120,114,77,49,88,115,118]},{category:"b",values:[120,126,112,90,55,35,56,95,145,155,172,128,160,154]},{category:"c",values:[200,180,140,128,110,119,80,86,50,89,125,36,10,8]}];var Vo=()=>c.createElement("div",{className:"DiwilabChartsWrapper-module--root--c826d"},c.createElement(Bo,{data:Fo}),c.createElement(Wo,{data:qo}),c.createElement(Mo,{data:Zo})),Uo=n(5536);var Jo=e=>{var t,n,r,a,o,l,i,s,u;let{video:m,caption:f,poster:h,href:p,backgroundColor:g="#37363a"}=e;const[v]=(0,J.Z)(),y=(0,Uo.J)(m,v);return c.createElement("figure",null,c.createElement("div",{className:"ScreenRecordingWrapper-module--root--1233c",style:{background:g}},c.createElement("video",{autoPlay:!0,className:"ScreenRecordingWrapper-module--video--b62c0",loop:!0,alt:m.alt||f||" ",playsInl
2ine:!0,muted:!0,poster:(null==h||null===(t=h.images)||void 0===t||null===(n=t.fallback)||void 0===n?void 0:n.src)||(null==y||null===(r=y.jpg)||void 0===r||null===(a=r.images)||void 0===a?void 0:a.fallback.src)||(null==y||null===(o=y.jpg)||void 0===o?void 0:o.src)},y?c.createElement(c.Fragment,null,c.createElement("source",{src:null==y||null===(l=y.webm)||void 0===l?void 0:l.src,type:null==y||null===(i=y.webm)||void 0===i?void 0:i.mediaType}),c.createElement("source",{src:null==y||null===(s=y.mp4)||void 0===s?void 0:s.src,type:null==y||null===(u=y.mp4)||void 0===u?void 0:u.mediaType})):null)),f&&c.createElement("figcaption",{className:"ScreenRecordingWrapper-module--caption--94d48"},c.createElement("div",{"aria-hidden":!0,className:d()("ScreenRecordingWrapper-module--arrow--8b2b9")},c.createElement(b(),null)),c.createElement("p",null,p?c.createElement(R.rU,{href:p},f):f)))};var Qo=e=>{let{children:t,eyebrow:n}=e;return c.createElement("div",{className:"Overview-module--root--83137"},n&&c.createElement("span",{className:d()(H,"Overview-module--eyebrow--042d4")},n),c.createElement("p",{className:d()("Overview-module--overview--80a75")},t))},Ko="IdeationGrid-module--arrowRow--9d67f",el="IdeationGrid-module--hint--44f37",tl="IdeationGrid-module--item--c0ec9",nl="IdeationGrid-module--root--eec84",rl="IdeationGrid-module--scrollArea--77610",al="IdeationGrid-module--toolbar--0e319";const ol=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ll=e=>{const t=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,((e,t,n)=>n?n.toUpperCase():t.toLowerCase())))(e);return t.charAt(0).toUpperCase()+t.slice(1)},il=(...e)=>e.filter(((e,t,n)=>Boolean(e)&&""!==e.trim()&&n.indexOf(e)===t)).join(" ").trim(),sl=e=>{for(const t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0};var cl={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const ul=(0,c.forwardRef)((({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:o,iconNode:l,...i},s)=>(0,c.createElement)("svg",{ref:s,...cl,width:t,height:t,stroke:e,strokeWidth:r?24*Number(n)/Number(t):n,className:il("lucide",a),...!o&&!sl(i)&&{"aria-hidden":"true"},...i},[...l.map((([e,t])=>(0,c.createElement)(e,t))),...Array.isArray(o)?o:[o]]))),ml=(e,t)=>{const n=(0,c.forwardRef)((({className:n,...r},a)=>(0,c.createElement)(ul,{ref:a,iconNode:t,className:il(`lucide-${ol(ll(e))}`,`lucide-${e}`,n),...r})));return n.displayName=ll(e),n},dl=ml("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]),fl=ml("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]),hl=ml("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]),pl=ml("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var gl=e=>{let{items:t=[]}=e;const n=(0,c.useRef)(null),r=(0,c.useRef)(null),{0:a,1:o}=(0,c.useState)(!1),{0:l,1:s}=(0,c.useState)({x:0,y:0}),{0:m,1:d}=(0,c.useState)({x:0,y:0}),{0:h,1:p}=(0,c.useState)({minX:0,maxX:0,minY:0,maxY:0}),g=200,v=()=>{const e=n.current,t=r.current;if(!e||!t)return;const a=e.clientWidth,o=e.clientHeight,l=t.scrollWidth,i=t.scrollHeight;p({minX:a-l-64,maxX:64,minY:o-i-64,maxY:64}),d({x:(a-l)/2,y:(o-i)/2})};(0,c.useEffect)((()=>(v(),window.addEventListener("resize",v),()=>window.removeEventListener("resize",v))),[t]);const y=(e,t,n)=>e<t?t+.3*(e-t):e>n?n+.3*(e-n):e,E=(e,t,n)=>Math.max(t,Math.min(n,e)),b=()=>{o(!1),d((e=>({x:E(e.x,h.minX,h.maxX),y:E(e.y,h.minY,h.maxY)})))};return c.createElement(u.Z,null,c.createElement("div",{className:f.O},c.createElement("div",{className:f.T,style:{"--col-span":16,"--col-span-medium":24,"--col-span-small":24,"--col-offset":8,"--col-offset-medium":0,"--col-offset-small":0}},c.createElement("section",{className:nl,ref:n,onMouseDown:e=>{o(!0),s({x:e.clientX-m.x,y:e.clientY-m.y})},onMouseMove:e=>{if(!a)return;const t=e.clientX-l.x,n=e.clientY-l.y;d({x:y(t,h.minX,h.maxX),y:y(n,h.minY,h.maxY)})},onMouseUp:b,onMouseLeave:b,onTouchStart:e=>{if(1!==e.touches.length)return;const t=e.touches[0];o(!0),s({x:t.clientX-m.x,y:t.clientY-m.y})},onTouchMove:e=>{if(!a||1!==e.touches.length)return;e.preventDefault();const t=e.touches[0],n=t.clientX-l.x,r=t.clientY-l.y;d({x:y(n,h.minX,h.maxX),y:y(r,h.minY,h.maxY)})},onTouchEnd:()=>{o(!1),d((e=>({x:E(e.x,h.minX,h.maxX),y:E(e.y,h.minY,h.maxY)})))}},c.createElement("div",{className:al},c.createElement("p",{className:el},"Drag to Move"),c.createElement("div",{className:Ko},c.createElement("button",{onClick:()=>d((e=>({...e,y:E(e.y+g,h.minY,h.maxY)}))),"aria-label":"Move up"},c.createElement(dl,{size:16})),c.createElement("button",{onClick:()=>d((e=>({...e,x:E(e.x+g,h.minX,h.maxX)}))),"aria-label":"Move left"},c.createElement(fl,{size:16})),c.createElement("button",{onClick:()=>d((e=>({...e,y:E(e.y-g,h.minY,h.maxY)}))),"aria-label":"Move down"},c.createElement(hl,{size:16})),c.createElement("button",{onClick:()=>d((e=>({...e,x:E(e.x-g,h.minX,h.maxX)}))),"aria-label":"Move right"},c.createElement(pl,{size:16})))),c.createElement("div",{className:rl,ref:r,style:{transform:"translate("+m.x+"px, "+m.y+"px)",transition:a?"none":"transform 0.25s ease-out"}},t.map(((e,t)=>{var n,r,a;return c.createElement(X.m.div,{className:tl,key:(null===(n=e.src)||void 0===n?void 0:n.src)||e.src||t,tabIndex:-1},"svg"!==(null==(r=e)||null===(a=r.src)||void 0===a?void 0:a.extension)?c.createElement(w.G,{image:e.src,alt:e.alt,className:i.imgStyle}):c.createElement("img",{src:e.src.publicURL,alt:e.alt,className:i.imgStyle}))})))))))},vl=n(5010);var yl=e=>{let{images:t=[],children:n,maxHeight:r=800}=e;return c.createElement(u.Z,null,c.createElement("div",{className:"StickyScroll-module--root--c0732"},c.createElement("div",{className:d()("StickyScroll-module--stickyContainer--1914b","StickyScroll-module--text--96a2f")},n),c.createElement("div",{className:"StickyScroll-module--scrollContainer--2f2a1"},t.map(((e,t)=>c.createElement("figure",{key:t,className:"StickyScroll-module--imageWrapper--10cc5"},e.isVideo?c.createElement(y.Z,{video:e.src,poster:e.poster}):(e=>{var t;return"svg"===(null==e||null===(t=e.src)||void 0===t?void 0:t.extension)})(e)?c.createElement("img",{src:e.src.publicURL,alt:e.alt,style:{width:"100%",height:"auto",maxHeight:r+"px"}}):c.createElement(w.G,{image:e.src,alt:e.alt,style:{maxHeight:r+"px"}}),e.caption&&c.createElement("figcaption",{className:d()("StickyScroll-module--caption--1e847")}
2,c.createElement("div",{"aria-hidden":!0,className:d()("StickyScroll-module--arrow--cf805")},c.createElement(b(),null)),c.createElement("p",null,e.caption))))))))};var wl=e=>{let{children:t,className:n,size:r,eyebrow:a,eyebrowTag:o="h2",footnotes:l=[]}=e;const i=d()("Annotation-module--root--024c1",f.O,n,{"Annotation-module--withTitle--09d56":!!a},{"Annotation-module--large--f845b":"large"===r}),s=o,m=(e=>c.Children.map(e,(e=>{var t;if("p"===(null===(t=e.props)||void 0===t?void 0:t.originalType)&&e.props.children){const t=[e.props.children].flat(),n=t.map(((e,n)=>n===t.length-1&&"string"==typeof e?(0,h.J)(e):e));return c.cloneElement(e,{children:n})}return e})).flat())(t),p=!!a&&g()(a,{lower:!0});return c.createElement(u.Z,null,c.createElement("div",{className:i},c.createElement("div",{className:f.T,style:{"--col-span":16,"--col-span-medium":16,"--col-span-small":24,"--col-offset":0,"--col-offset-medium":0,"--col-offset-small":0}},a&&c.createElement(s,{id:p,className:d()("Annotation-module--eyebrow--d7dfe"),onClick:e=>{if(!p)return;const t="#"+p;e.preventDefault();const n=document.querySelector(t);n?(n.scrollIntoView({behavior:"smooth"}),window.history.pushState(null,null,t)):console.warn("No element found with id "+t)}},a),c.createElement("div",{className:d()("Annotation-module--inner--3f125")},m)),c.createElement("div",{className:d()(f.T,"Annotation-module--footnotes--09503"),style:{"--col-span":6,"--col-span-medium":6,"--col-span-small":24,"--col-offset":2,"--col-offset-medium":0,"--col-offset-small":0}},l.map(((e,t)=>c.createElement("div",{key:t,className:"Annotation-module--footnote--3e72d"},c.createElement("span",null,e)))))))},El="Audio-module--buffer--1c793",bl="Audio-module--buttons--fbfb8",xl="Audio-module--caption--a40a4",Nl="Audio-module--closeButton--691dc",_l="Audio-module--controls--83ae1",kl="Audio-module--progress--9502f",Cl="Audio-module--root--3491b",Ml="Audio-module--track--d3b6c",Sl="Audio-module--transcriptButton--e7d70",Al="Audio-module--transcriptContent--9aaf5",Il="Audio-module--transcriptOverlay--35878",Tl="Audio-module--transcriptText--c9789",Pl="Audio-module--video--63076",jl="Audio-module--videoBlock--9ae00";const Ll=e=>{var t,n,r,a,o,l,i,u,m;let{alt:h,caption:p,loop:g=!1,autoPlay:v=!1,hasAudio:y,video:w,poster:E,colors:b,onLoad:x,children:N}=e;const{0:_,1:k}=(0,c.useState)(!0),{0:C,1:M}=(0,c.useState)(!1),{0:S,1:A}=(0,c.useState)(null),{0:I,1:T}=(0,c.useState)(null),{0:P,1:j}=(0,c.useState)(null),[L,O]=(0,Uo.Y)(),[W]=(0,J.Z)(),H=(0,Uo.J)(w,W);(0,c.useEffect)((()=>{const e=O.current,t=t=>{A(e.duration),null==x||x.call()},n=t=>j(e.buffered),r=()=>T(e.currentTime);if(e)return e.addEventListener("loadedmetadata",t),e.addEventListener("progress",n),e.addEventListener("timeupdate",r),()=>{e.removeEventListener("loadedmetadata",t),e.removeEventListener("progress",n),e.removeEventListener("timeupdate",r)}}),[O,x]);const $=()=>{O.current.paused||O.current.ended?O.current.play():O.current.pause()},X=e=>{e.preventDefault(),M(!C)};if(!w)return console.error("Video not found"),null;const R=[];if(null!=P&&P.length)for(var D=0;D<P.length;D++)R.push([P.start(D),P.end(D)]);return c.createElement("figure",{className:Cl,ref:L},c.createElement("div",{className:d()(f.O,s.wrapper)},c.createElement("div",{className:d()(f.T),style:{"--col-span":16,"--col-span-medium":16,"--col-span-small":24,"--col-offset":0,"--col-offset-medium":0,"--col-offset-small":0}},c.createElement("div",{className:jl},N&&!C&&c.createElement("button",{className:Sl,onClick:X},"Show Transcript"),c.createElement("video",{ref:O,className:Pl,loop:g,alt:h||p||" ",playsInline:!0,muted:_,preload:"metadata",poster:(null==E||null===(t=E.images)||void 0===t||null===(n=t.fallback)||void 0===n?void 0:n.src)||(null==H||null===(r=H.jpg)||void 0===r||null===(a=r.images)||void 0===a?void 0:a.fallback.src)||(null==H||null===(o=H.jpg)||void 0===o?void 0:o.src)},H?c.createElement(c.Fragment,null,c.createElement("source",{src:null==H||null===(l=H.webm)||void 0===l?void 0:l.src,type:null==H||null===(i=H.webm)||void 0===i?void 0:i.mediaType}),c.createElement("source",{src:null==H||null===(u=H.mp4)||void 0===u?void 0:u.src,type:null==H||null===(m=H.mp4)||void 0===m?void 0:m.mediaType})):null),!v&&c.createElement("div",{className:_l,onClick:$,onKeyDown:e=>"Enter"===e.keyCode&&$(),role:"button",tabIndex:0},c.createElement("div",{className:bl},y&&c.createElement("button",{onClick:e=>{e.preventDefault(),k(!_)}},_?"unmute":"mute")),c.createElement("div",{className:Ml,style:{}},R.map(((e,t)=>{var n;return c.createElement("div",{key:t,className:El,style:{left:e[0]/S+"%",width:(e[1]-e[0])/S+"%",backgroundColor:null==b||null===(n=b[0])||void 0===n?void 0:n.main}})})),c.createElement("div",{className:kl,"aria-hidden":!0,style:{width:I/S*100+"%"}})))),p&&c.createElement("figcaption",{className:xl},p),C&&N&&c.createElement("div",{className:Il},c.createElement("div",{className:Al},c.createElement("button",{className:Nl,onClick:X},"â"),c.createElement("div",{className:Tl},N))))))};var Ol=(0,c.memo)(Ll);const Wl=e=>{let{phase:t,index:n,background:r,children:a}=e;const{0:o,1:l}=(0,c.useState)(!1),{0:i,1:s}=(0,c.useState)(!1),u=(0,c.useRef)(null),m=(0,c.useRef)(null);return(0,c.useEffect)((()=>()=>{u.current&&clearTimeout(u.current)}),[]),c.createElement(R.rU,{to:t.href,className:d()("PhasesWrapper-module--root--655ba"),style:{"--background":null!=r?r:"var(--color-background-2)","--click-intent-animate-out":"750ms"},onMouseEnter:e=>{l(!0),m.current&&clearTimeout(m.current),u.current&&clearTimeout(u.current),u.current=setTimeout((()=>{s(!0)}),2500)},onMouseLeave:e=>{s(!1),i?m.current=setTimeout((()=>{l(!1)}),750):l(!1),u.current&&clearTimeout(u.current)}},c.createElement("div",{className:"PhasesWrapper-module--imageContainer--a3867"},c.createElement(w.G,{image:t.src,alt:t.caption,style:{width:"100%",height:"100%",objectFit:"cover"}})),c.createElement("div",{className:"PhasesWrapper-module--inner--5d3ee"},c.createElement(ne.Z,{size:"m",as:"div",className:"PhasesWrapper-module--category--8c6e3"},"Project ",["One","Two","Three"][f=n]||String(f+1)),c.createElement(ne.Z,{size:"l",as:"h2",className:"PhasesWrapper-module--title--d4868"},(0,h.J)(t.caption)),c.createElement("div",{className:d()("PhasesWrapper-module--link--596bc")},c.createElement("span",{className:"PhasesWrapper-module--secondCaption--90470"},a),c.createElement("span",{className:"PhasesWrapper-module--arrowContainer--159ed"},c.createElement(B.Z,{size:"small",expanded:o})))));var f};var Hl=e=>{let{phases:t,className:n}=e;return c.createElement("div",{className:d()("PhasesWrapper-module--grid--f1a7f",n)},t.map(((e,t)=>c.createElement(Wl,{key:t,phase:e,index:t},e.secondCaption))))};const $l=e=>{let{children:t,spacing:n}=e;return c.createElement("div",{className:vl.Ge,"data-spacing":n},t)},Xl=e=>t=>{let{blockSpacing:n,...r}=t;const a=e;return c.createElement($l,{spacing:n},c.createElement(a,r))},Rl={Container:u.Z,HideOnMobile:e=>{let{children:t}=e;return c.createElement("div",{className:vl._X},t)},TextWrapper:Xl(v),ImageWrapper:Xl(W),Video:Xl(y.Z),Intro:Xl((e=>{let{children:t,align:n,eyebrow:r}=e;return c.createElement(v,{size:"large",align:n,eyebrow:r},t)})),Quote:Xl($),Overview:Xl(Qo),Gallery:Xl(re),StickyScrollWrapper:Xl(yl),ProcessingLogoEditor:Xl(Ne),CompareImages:Xl(_e),DiwilabGraphs:Xl(Vo),ScreenRecordingWrapper:Xl(Jo),AnnotationWrapper:Xl(wl),Audio:Xl(Ol),PhasesWrapper:Xl(Hl),IdeationGrid:Xl(gl),a:e=>{let{children:t,...n}=e;return n.href.startsWith("http")&&(n.target="_blank",n.rel="noopener noreferrer"),c.createElement("a",n,t)}}},5010:function(e,t,n){"use strict";n.d(t,{Ge:function(){return r},Jz:function(){return s},Mv:function(){return o},_X:function(){return l},d1:function(){return a},d9:function(){return i}});var r="project-module--block--f3084",a="project-module--body--266a3",o="project-module--footer--72405",l="project-module--hideOnMobile--96352",i="project-module--projectList--2582f",s="project-module--root--6bbba"}}]); 3//# sourceMappingURL=aac9c7e67895c7f43b7ade73b26be611d72448fa-8be93df9d70e798c4705.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.