1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[544],{90741:function(){},18357:function(e,t,r){"use strict";r.d(t,{YD:function(){return f},df:function(){return d}});var n=r(67294),o=Object.defineProperty,i=(e,t,r)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,s=(e,t,r)=>i(e,"symbol"!=typeof t?t+"":t,r),l=new Map,u=new WeakMap,a=0,c=void 0;function h(e,t,r={},n=c){if(void 0===window.IntersectionObserver&&void 0!==n){let o=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),()=>{}}let{id:i,observer:s,elements:h}=function(e){var t;let r=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var r;return`${t}_${"root"===t?(r=e.root)?(u.has(r)||(a+=1,u.set(r,a.toString())),u.get(r)):"0":e[t]}`}).toString(),n=l.get(r);if(!n){let o=new Map,i,s=new IntersectionObserver(t=>{t.forEach(t=>{var r;let n=t.isIntersecting&&i.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=n),null==(r=o.get(t.target))||r.forEach(e=>{e(n,t)})})},e);i=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:r,observer:s,elements:o},l.set(r,n)}return n}(r),d=h.get(e)||[];return h.has(e)||h.set(e,d),d.push(t),s.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(h.delete(e),s.unobserve(e)),0===h.size&&(s.disconnect(),l.delete(i))}}var d=class extends n.Component{constructor(e){super(e),s(this,"node",null),s(this,"_unobserveCb",null),s(this,"handleNode",e=>{!this.node||(this.unobserve(),e||this.props.triggerOnce||this.props.skip||this.setState({inView:!!this.props.initialInView,entry:void 0})),this.node=e||null,this.observeNode()}),s(this,"handleChange",(e,t)=>{var r;e&&this.props.triggerOnce&&this.unobserve(),"function"==typeof(r=this.props).children&&this.setState({inView:e,entry:t}),this.props.onChange&&this.props.onChange(e,t)}),this.state={inView:!!e.initialInView,entry:void 0}}componentDidMount(){this.unobserve(),this.observeNode()}componentDidUpdate(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())}componentWillUnmount(){this.unobserve()}observeNode(){if(!this.node||this.props.skip)return;let{threshold:e,root:t,rootMargin:r,trackVisibility:n,delay:o,fallbackInView:i}=this.props;this._unobserveCb=h(this.node,this.handleChange,{threshold:e,root:t,rootMargin:r,trackVisibility:n,delay:o},i)}unobserve(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)}render(){let{children:e}=this.props;if("function"==typeof e){let{inView:t,entry:r}=this.state;return e({inView:t,entry:r,ref:this.handleNode})}let{as:o,triggerOnce:i,threshold:s,root:l,rootMargin:u,onChange:a,skip:c,trackVisibility:h,delay:d,initialInView:f,fallbackInView:p,...v}=this.props;return n.createElement(o||"div",{ref:this.handleNode,...v},e)}};function f({threshold:e,delay:t,trackVisibility:r,rootMargin:o,root:i,triggerOnce:s,skip:l,initialInView:u,fallbackInView:a,onChange:c}={}){var d;let[f,p]=n.useState(null),v=n.useRef(),[g,b]=n.useState({inView:!!u,entry:void 0});v.current=c,n.useEffect(()=>{if(l||!f)return;let n;return n=h(f,(e,t)=>{b({inView:e,entry:t}),v.current&&v.current(e,t),t.isIntersecting&&s&&n&&(n(),n=void 0)},{root:i,rootMargin:o,threshold:e,trackVisibility:r,delay:t},a),()=>{n&&n()}},[Array.isArray(e)?e.toString():e,f,i,o,s,l,r,a,t]);let m=null==(d=g.entry)?void 0:d.target,w=n.useRef();f||!m||s||l||w.current===m||(w.current=m,b({inView:!!u,entry:void 0}));let y=[p,g.inView,g.entry];return y.ref=y[0],y.inView=y[1],y.entry=y[2],y}},53438:function(e,t,r){"use strict";r.d(t,{Z:function(){return R}});var n=r(85893),o=r(67294);function i(e,[t,r]){let[n,o]=e;return void 0!==n&&void 0!==o&&void 0!==t&&void 0!==r&&t>n&&t-n<=20&&r<o?[n,r]:n!==t||o!==r?[t,r]:e}function s(e,t,r){let[[n],s]=(0,o.useReducer)(i,[r]),l=function(e){let t=(0,o.useRef)(e);return(!e||!t.current||e.length!==t.current.length||t.current.some((t,r)=>t!==e[r]))&&(t.current=e),t.current}(t),u=(0,o.useRef)(),a=(0,o.useCallback)(t=>{u.current?.disconnect(),u.current=void 0;let r=()=>s([function(e,t){let r=e?.clientWidth;if(void 0!==r&&t&&t.length>0){let n=[...t.filter(e=>e>0)].sort((e,t)=>
1t-e);n.push(Math.floor(n[n.length-1]/2)),r=n.find((e,t)=>e<=r||t===n.length-1)}return r}(t,l),window.innerWidth-document.documentElement.clientWidth]);r(),t&&"undefined"!=typeof ResizeObserver&&(u.current=new ResizeObserver(r),u.current.observe(t)),"function"==typeof e?e(t):e&&(e.current=t)},[e,l]);return{containerRef:a,containerWidth:n}}function l(e){return["react-photo-album",e].filter(Boolean).join("--")}let u=Object.freeze([1200,600,300,0]);function a(e,t){return"function"==typeof e?e(t):e}function c(e,t){return void 0!==t?a(e,t):void 0}function h(e,t,r,n=0){if(void 0===t)return;let o=c(e,t);return Math.round(Math.max(void 0===o?function(e,t){let r=u.findIndex(e=>e<=t);return a(e[Math.max(r,0)],t)}(r,t):o,n))}function d(e,{spacing:t,padding:r,componentsProps:n,render:o}){return{spacing:h(t,e,[20,15,10,5]),padding:h(r,e,[0,0,0,0]),componentsProps:a(n,e)||{},render:a(o,e)}}function f(e,t=0){let r=10**t;return Math.round((e+Number.EPSILON)*r)/r}let p=(0,o.forwardRef)(function({as:e,render:t,context:r,classes:o=[],variables:i={},style:s,className:u,children:a,...c},h){let d=function(...e){return[...e].filter(Boolean).join(" ")}(...(Array.isArray(o)?o:[o]).filter(e=>"string"==typeof e).map(l),u),p={...Object.fromEntries(Object.entries(i).map(([e,t])=>{var r;return[`--${l(r=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())}`,"number"==typeof t?f(t,5):t]})),...s},v={style:p,className:d,children:a,...c};if(t){let g=t({ref:h,...v},r);if(g)return g}return(0,n.jsx)(e||"div",{ref:h,...v})}),v=(0,o.forwardRef)(function({photo:e,index:t,width:r,height:o,onClick:i,render:{wrapper:s,link:l,button:u,image:a,extras:c}={},componentsProps:{link:h,button:d,wrapper:v,image:g}={}},b){let{href:m}=e,w={photo:e,index:t,width:f(r,3),height:f(o,3)},y;return y=m?{...h,as:"a",render:l,classes:["photo","link"],href:m,onClick:i}:i?{...d,as:"button",type:"button",render:u,classes:["photo","button"],onClick:i}:{...v,render:s,classes:"photo"},(0,n.jsxs)(p,{ref:b,variables:{photoWidth:w.width,photoHeight:w.height},...{context:w,...y},children:[(0,n.jsx)(p,{as:"img",classes:"image",render:a,context:w,...g}),c?.({},w)]})}),g=(0,o.forwardRef)(function({layout:e,sizes:t,model:r,skeleton:i,onClick:s,render:{container:l,track:u,photo:c,...h}={},componentsProps:{container:d,track:g,link:b,button:m,wrapper:w,image:y}={}},k){let{spacing:M,padding:R,containerWidth:j,tracks:x,variables:C,horizontal:$}=r||{};return(0,n.jsxs)(p,{role:"group","aria-label":"Photo album",...d,variables:{spacing:M,padding:R,containerWidth:j,...C},classes:["",e],render:l,ref:k,children:[void 0!==M&&void 0!==R&&void 0!==j&&x?.map(({photos:e,variables:r},i)=>{let l=e.length,d=$?l:x.length;return(0,o.createElement)(p,{...g,key:i,render:u,classes:"track",variables:{trackSize:l,...r}},e.map(e=>{let{photo:r,index:o,width:i}=e,{key:l,src:u,alt:p,title:g,label:k}=r,x=s?e=>{s({event:e,photo:r,index:o})}:void 0;if(c){let C=c({onClick:x},e);if(C)return C}let $=e=>k?{"aria-label":k,...e}:e;return(0,n.jsx)(v,{onClick:x,render:h,componentsProps:{image:{loading:"lazy",decoding:"async",src:u,alt:p,title:g,...function(e,t,r,n,o,i,s){let l,u,a=e=>{let t=i*(o-1)+2*s*o;return`calc((${e.match(/^\s*calc\((.*)\)\s*$/)?.[1]??e} - ${t}px) / ${f((n-t)/r,5)})`},c=e.srcSet;return c&&c.length>0&&(l=c.concat(c.some(({width:t})=>t===e.width)?[]:[{src:e.src,width:e.width,height:e.height}]).sort((e,t)=>e.width-t.width).map(e=>`${e.src}
1 ${e.width}w`).join(", ")),u=t?.size?(t.sizes||[]).map(({viewport:e,size:t})=>`${e} ${a(t)}`).concat(a(t.size)).join(", "):`${Math.ceil(r/n*100)}vw`,{srcSet:l,sizes:u}}(r,t,i,j,d,M,R),...a(y,e)},link:$(a(b,e)),button:$(a(m,e)),wrapper:a(w,e)},...e},l??u)}))}),void 0===j&&i]})});function b(e,t,r,n){return(t-(e.length-1)*r-2*n*e.length)/e.reduce((e,t)=>e+function({width:e,height:t}){return e/t}(t),0)}function m(e,t,r,n,o,i,s){let l=e.slice(t,r),u=b(l,n,o,i);return u>0?(u-s)**2*l.length:void 0}let w=(0,o.forwardRef)(function({photos:e,breakpoints:t,defaultContainerWidth:r,...i},l){let{containerRef:u,containerWidth:a}=s(l,t,r),{spacing:p,padding:v,targetRowHeight:w,minPhotos:y,maxPhotos:k,...M}=function(e,{photos:t,targetRowHeight:r,rowConstraints:n,...o}){let{spacing:i,padding:s,componentsProps:l,render:u}=d(e,o),{singleRowMaxHeight:a,minPhotos:f,maxPhotos:p}=c(n,e)||{};if(void 0!==a&&void 0!==i&&void 0!==s){let v=Math.floor(t.reduce((e,{width:t,height:r})=>e+t/r*a-2*s,s*t.length*2+i*(t.length-1)));v>0&&(l.container={...l.container},l.container.style={maxWidth:v,...l.container.style})}return{...o,targetRowHeight:h(r,e,[e=>e/5,e=>e/4,e=>e/3,e=>e/2]),render:u,spacing:i,padding:s,minPhotos:f,maxPhotos:p,componentsProps:l}}(a,{photos:e,...i}),R=(0,o.useMemo)(()=>void 0!==a&&void 0!==p&&void 0!==v&&void 0!==w?function(e,t,r,n,o,i,s){var l,u,a,c,h,d,p,v,g,w,y,k,M,R;let j=f(n/o/Math.min(...e.map(e=>(function({width:e,height:t}){return e/t})(e))))+(i||0)+2,x=l=>{let u=new Map;u.set(l,0);let a=Math.min(j,s||1/0);for(let c=l+(i||1);c<e.length+1&&!(c-l>a);c+=1){let h=m(e,l,c,n,t,r,o);if(void 0===h)break;u.set(c,h)}return u},C=function(e,t){if(!e)return;let r=[];for(let n=t;void 0!==n;n=e.get(n))r.push(n);return r.reverse()}(function(e,t,r){var n;let o=new Map,i=new Set,s=new Map;s.set(t,0);let l=function(e){let t=0,r=[],n=(t,n)=>0>e(r[t],r[n]),o=(e,t)=>{let n=r[e];r[e]=r[t],r[t]=n},i=e=>{let t=e,r=Math.floor(t/2);for(;t>1&&n(r,t);)o(r,t),r=Math.floor((t=r)/2)},s=e=>{let r=e,i=2*r;for(;i<=t&&(i<t&&n(i,i+1)&&(i+=1),n(r,i));)o(r,i),i=2*(r=i)},l=e=>{r[t+=1]=e,i(t)},u=()=>{if(0===t)return;o(1,t),t-=1;let e=r.pop();return s(1),e};return{push:l,pop:u,size:()=>t}}((n=e=>e[1],(e,t)=>n(t)-n(e)));for(l.push([t,0]);l.size()>0;){let[u,a]=l.pop();if(!i.has(u)){let c=e(u);i.add(u),c.forEach((e,t)=>{let r=a+e,n=o.get(t),i=s.get(t);(void 0===i||i>r&&(i/r>1.005||void 0!==n&&n<u))&&(s.set(t,r),l.push([t,r]),o.set(t,u))})}}return s.has(r)?o:void 0}(x,0,R=e.length),R);if(!C)return;let $=[];for(let E=1;E<C.length;E+=1){let O=e.map((e,t)=>({photo:e,index:t})).slice(C[E-1],C[E]),V=b(O.map(({photo:e})=>e),n,t,r);$.push({photos:O.map(({photo:e,index:t})=>({photo:e,index:t,width:V*function({width:e,height:t}){return e/t}(e),height:V}))})}return{spacing:t,padding:r,containerWidth:n,tracks:$,horizontal:!0}}(e,p,v,a,w,y,k):void 0,[e,p,v,a,w,y,k]);return(0,n.jsx)(g,{layout:"rows",ref:u,model:R,...M})});function y(e,t,r,n,o,i,s){let l=[],u=s.reduce((e,t)=>e+t,0);for(let a=0;a<e.length-1;a+=1){let c=t.map((e,t)=>({photo:e,index:t})).slice(e[a],e[a+1]),h=s.reduce((e,t,r)=>e+(i[a]-i[r])*t,0),d=(o-(e.length-2)*r-2*(e.length-1)*n-h)*s[a]/u;l.push({photos:c.map(({photo:e,index:t})=>({photo:e,index:t,width:d,height:d/function({width:e,height:t}){return e/t}(e)})),variables:{adjustedGaps:h,columnRatio:s[a]}})}return{tracks:l,variables:{totalRatio:u}}}let k=(0,o.forwardRef)(function({photos:e,breakpoints:t,defaultContainerWidth:r,...i},l){let{containerRef:u,containerWidth:a}=s(l,t,r),{spacing:c,padding:f,columns:p,...v}=function(e,{columns:t,...r}){return{...r,...d(e,r),columns:h(t,e,[5,4,3,2],1)}}(a,{photos:e,...i}),b=(0,o.useMemo)(()=>void 0!==a&&void 0!==c&&void 0!==f&&void 0!==p?function e(t,r,n,o,i){let{tracks:s,variables:l}=function(e,t,r,n,o,i){var s,l,u,a,c,h,d,f;let p=[],v=[];if(e.length<=i){let g=e.length>0?e.reduce((e,t)=>e+function({width:e,height:t}){return e/t}(t),0)/e.length:1;for(let b=0;b<i;b+=1)p[b]=2*r,v[b]=b<e.length?function({width:e,height:t}){return e/t}(e[b]):g;return y(Array.from({length:i+1},(t,r)=>Math.min(r,e.length)),e,t,r,n,p,v)}let m=(e.reduce((e,t)=>
1e+o/function({width:e,height:t}){return e/t}(t),0)+t*(e.length-i)+2*r*e.length)/i,w=n=>{let i=[],s=1.5*m,l=o/function({width:e,height:t}){return e/t}(e[n])+2*r;for(let u=n+1;u<e.length+1&&(i.push([u,(m-l)**2]),!(l>s)&&u!==e.length);u+=1)l+=o/function({width:e,height:t}){return e/t}(e[u])+t+2*r;return i},k=function(e,t,r){let n=[r];for(let o=r,i=t;i>0;i-=1)[o]=e.get(o)[i],n.push(o);return n.reverse()}(function(e,t,r,n){let o=new Map,i=new Set;i.add(0);for(let s=0;s<t;s+=1){let l=[...i.keys()];i.clear(),l.forEach(r=>{let l=s>0?o.get(r)[s][1]:0;e(r).forEach(([e,u])=>{let a=o.get(e);a||(a=[],o.set(e,a));let c=l+u,h=a[s+1];(!h||h[1]>c&&(h[1]/c>1.0001||r<h[0]))&&(a[s+1]=[r,c]),s<t-1&&e!==n&&i.add(e)})})}return o}(w,i,0,f=e.length),i,f);for(let M=0;M<k.length-1;M+=1){let R=e.slice(k[M],k[M+1]);p[M]=t*(R.length-1)+2*r*R.length,v[M]=1/R.reduce((e,t)=>e+1/function({width:e,height:t}){return e/t}(t),0)}return y(k,e,t,r,n,p,v)}(t,r,n,o,(o-r*(i-1)-2*n*i)/i,i);return s.some(e=>e.photos.some(({width:e,height:t})=>e<0||t<0))?i>1?e(t,r,n,o,i-1):void 0:{tracks:s,spacing:r,padding:n,containerWidth:o,variables:{columns:i,...l}}}(e,c,f,a,p):void 0,[e,c,f,a,p]);return(0,n.jsx)(g,{layout:"columns",ref:u,model:b,...v})}),M=(0,o.forwardRef)(function({photos:e,breakpoints:t,defaultContainerWidth:r,...i},l){let{containerRef:u,containerWidth:a}=s(l,t,r),{spacing:c,padding:f,columns:p,...v}=function(e,{columns:t,...r}){return{...r,...d(e,r),columns:h(t,e,[5,4,3,2],1)}}(a,{photos:e,...i}),b=(0,o.useMemo)(()=>void 0!==a&&void 0!==c&&void 0!==f&&void 0!==p?function e(t,r,n,o,i){let s=(o-r*(i-1)-2*n*i)/i;if(s<=0)return i>1?e(t,r,n,o,i-1):void 0;let l=[];for(let u=0;u<i;u+=1)l[u]=0;let a=t.reduce((e,t,o)=>{let i=l.reduce((e,t,r)=>t<l[e]-1?r:e,0);return l[i]=l[i]+s/function({width:e,height:t}){return e/t}(t)+r+2*n,e[i].push({photo:t,index:o}),e},Array.from({length:i},()=>[]));return{spacing:r,padding:n,containerWidth:o,variables:{columns:i},tracks:a.map(e=>({photos:e.map(({photo:e,index:t})=>({photo:e,index:t,width:s,height:s/function({width:e,height:t}){return e/t}(e)}))}))}}(e,c,f,a,p):void 0,[e,c,f,a,p]);return(0,n.jsx)(g,{layout:"masonry",ref:u,model:b,...v})}),R=(0,o.forwardRef)(function({layout:e,...t},r){return"rows"===e?(0,n.jsx)(w,{ref:r,...t}):"columns"===e?(0,n.jsx)(k,{ref:r,...t}):"masonry"===e?(0,n.jsx)(M,{ref:r,...t}):null})}}]);
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.