"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9315],{2639:function(e,t){/*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},n=function(e){return"IMG"===e.tagName},i=function(e){return e&&1===e.nodeType},r=function(e){return".svg"===(e.currentSrc||e.src).substr(-4).toLowerCase()},d=function(e){try{if(Array.isArray(e))return e.filter(n);if(NodeList.prototype.isPrototypeOf(e))return[].slice.call(e).filter(n);if(i(e))return[e].filter(n);if("string"==typeof e)return[].slice.call(document.querySelectorAll(e)).filter(n);return[]}catch(e){throw TypeError("The provided selector is invalid.\nExpects a CSS selector, a Node element, a NodeList or an array.\nSee: https://github.com/francoischalifour/medium-zoom")}},a=function(e){var t=document.createElement("div");return t.classList.add("medium-zoom-overlay"),t.style.background=e,t},l=function(e){var t=e.getBoundingClientRect(),o=t.top,n=t.left,i=t.width,r=t.height,d=e.cloneNode(),a=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,l=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return d.removeAttribute("id"),d.style.position="absolute",d.style.top=o+a+"px",d.style.left=n+l+"px",d.style.width=i+"px",d.style.height=r+"px",d.style.transform="",d},c=function(e,t){var n=o({bubbles:!1,cancelable:!1,detail:void 0},t);if("function"==typeof window.CustomEvent)return new CustomEvent(e,n);var i=document.createEvent("CustomEvent");return i.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),i};!function(e,t){void 0===t&&(t={});var o=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===o&&n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}(".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}"),t.Z=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},m=window.Promise||function(e){function t(){}e(t,t)},u=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];var n=t.reduce(function(e,t){return[].concat(e,d(t))},[]);return n.filter(function(e){return -1===h.indexOf(e)}).forEach(function(e){h.push(e),e.classList.add("medium-zoom-image")}),g.forEach(function(e){var t=e.type,o=e.listener,i=e.options;n.forEach(function(e){e.addEventListener(t,o,i)})}),w},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.target,n=function(){var e={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},t=void 0,n=void 0;if(y.container){if(y.container instanceof Object)t=(e=o({},e,y.container)).width-e.left-e.right-2*y.margin,n=e.height-e.top-e.bottom-2*y.margin;else{var d=(i(y.container)?y.container:document.querySelector(y.container)).getBoundingClientRect();e=o({},e,{width:d.width,height:d.height,left:d.left,top:d.top})}}t=t||e.width-2*y.margin,n=n||e.height-2*y.margin;var a=b.zoomedHd||b.original,l=r(a)?t:a.naturalWidth||t,c=r(a)?n:a.naturalHeight||n,m=a.getBoundingClientRect(),u=m.top,s=m.left,f=m.width,p=m.height,h=Math.min(Math.min(Math.max(f,l),t)/f,Math.min(Math.max(p,c),n)/p),g=(-s+(t-f)/2+y.margin+e.left)/h,v=(-u+(n-p)/2+y.margin+e.top)/h,z="scale("+h+") translate3d("+g+"px, "+v+"px, 0)";b.zoomed.style.transform=z,b.zoomedHd&&(b.zoomedHd.style.transform=z)};return new m(function(e){if(t&&-1===h.indexOf(t)||b.zoomed){e(w);return}if(t)b.original=t;else if(h.length>0){var o=h;b.original=o[0]}else{e(w);return}if(b.original.dispatchEvent(c("medium-zoom:open",{detail:{zoom:w}})),z=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,v=!0,b.zoomed=l(b.original),document.body.appendChild(E),y.template){var r=i(y.template)?y.template:document.querySelector(y.template);b.template=document.createElement("div"),b.template.appendChild(r.content.cloneNode(!0)),document.body.appendChild(b.template)}if(b.original.parentElement&&"PICTURE"===b.original.parentElement.tagName&&b.original.currentSrc&&(b.zoomed.src=b.original.currentSrc),document.body.appendChild(b.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),b.original.classList.add("medium-zoom-image--hidden"),b.zoomed.classList.add("medium-zoom-image--opened"),b.zoomed.addEventListener("click",f),b.zoomed.addEventListener("transitionend",function t(){v=!1,b.zoomed.removeEventListener("transitionend",t),b.original.dispatchEvent(c("medium-zoom:opened",{detail:{zoom:w}})),e(w)}),b.original.getAttribute("data-zoom-src")){b.zoomedHd=b.zoomed.cloneNode(),b.zoomedHd.removeAttribute("srcset"),b.zoomedHd.removeAttribute("sizes"),b.zoomedHd.removeAttribute("loading"),b.zoomedHd.src=b.zoomed.getAttribute("data-zoom-src"),b.zoomedHd.onerror=function(){clearInterval(d),console.warn("Unable to reach the zoom image target "+b.zoomedHd.src),b.zoomedHd=null,n()};var d=setInterval(function(){b.zoomedHd.complete&&(clearInterval(d),b.zoomedHd.classList.add("medium-zoom-image--opened"),b.zoomedHd.addEventListener("click",f),document.body.appendChild(b.zoomedHd),n())},10)}else if(b.original.hasAttribute("srcset")){b.zoomedHd=b.zoomed.cloneNode(),b.zoomedHd.removeAttribute("sizes"),b.zoomedHd.removeAttribute("loading");var a=b.zoomedHd.addEventListener("load",function(){b.zoomedHd.removeEventListener("load",a),b.zoomedHd.classList.add("medium-zoom-image--opened"),b.zoomedHd.addEventListener("click",f),document.body.appendChild(b.zoomedHd),n()})}else n()})},f=function(){return new m(function(e){if(v||!b.original){e(w);return}v=!0,document.body.classList.remove("medium-zoom--opened"),b.zoomed.style.transform="",b.zoomedHd&&(b.zoomedHd.style.transform=""),b.template&&(b.template.style.transition="opacity 150ms",b.template.style.opacity=0),b.original.dispatchEvent(c("medium-zoom:close",{detail:{zoom:w}})),b.zoomed.addEventListener("transitionend",function t(){b.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(b.zoomed),b.zoomedHd&&document.body.removeChild(b.zoomedHd),document.body.removeChild(E),b.zoomed.classList.remove("medium-zoom-image--opened"),b.template&&document.body.removeChild(b.template),v=!1,b.zoomed.removeEventListener("transitionend",t),b.original.dispatchEvent(c("medium-zoom:closed",{detail:{zoom:w}})),b.original=null,b.zoomed=null,b.zoomedHd=null,b.template=null,e(w)})})},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.target;return b.original?f():s({target:t})},h=[],g=[],v=!1,z=0,y=n,b={original:null,zoomed:null,zoomedHd:null,template:null};"[object Object]"===Object.prototype.toString.call(t)?y=t:(t||"string"==typeof t)&&u(t);var E=a((y=o({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},y)).background);document.addEventListener("click",function(e){var t=e.target;if(t===E){f();return}-1!==h.indexOf(t)&&p({target:t})}),document.addEventListener("keyup",function(e){var t=e.key||e.keyCode;("Escape"===t||"Esc"===t||27===t)&&f()}),document.addEventListener("scroll",function(){if(!v&&b.original){var e=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(z-e)>y.scrollOffset&&setTimeout(f,150)}}),window.addEventListener("resize",f);var w={open:s,close:f,toggle:p,update:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.background&&(E.style.background=e.background),e.container&&e.container instanceof Object&&(e.container=o({},y.container,e.container)),e.template){var t=i(e.template)?e.template:document.querySelector(e.template);e.template=t}return y=o({},y,e),h.forEach(function(e){e.dispatchEvent(c("medium-zoom:update",{detail:{zoom:w}}))}),w},clone:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e(o({},y,t))},attach:u,detach:function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];b.zoomed&&f();var n=t.length>0?t.reduce(function(e,t){return[].concat(e,d(t))},[]):h;return n.forEach(function(e){e.classList.remove("medium-zoom-image"),e.dispatchEvent(c("medium-zoom:detach",{detail:{zoom:w}}))}),h=h.filter(function(e){return -1===n.indexOf(e)}),w},on:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return h.forEach(function(n){n.addEventListener("medium-zoom:"+e,t,o)}),g.push({type:"medium-zoom:"+e,listener:t,options:o}),w},off:function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return h.forEach(function(n){n.removeEventListener("medium-zoom:"+e,t,o)}),g=g.filter(function(o){return!(o.type==="medium-zoom:"+e&&o.listener.toString()===t.toString())}),w},getOptions:function(){return y},getImages:function(){return h},getZoomedImage:function(){return b.original}};return w}},99057:function(e,t,o){o.d(t,{useQuery:function(){return r}});var n=o(18046),i=o(81130);function r(e,t){return(0,i.r)(e,n.z,t)}},23966:function(e,t,o){o.d(t,{L:function(){return i}});var n=o(152);let i="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},65703:function(e,t,o){o.d(t,{E:function(){return m}});var n=o(54221),i=o(98512),r=o(27638);function d(e,t){[...t].reverse().forEach(o=>{let n=e.getVariant(o);n&&(0,i.C)(e,n),e.variantChildren&&e.variantChildren.forEach(e=>{d(e,t)})})}function a(){let e=!1,t=new Set,o={subscribe:e=>(t.add(e),()=>void t.delete(e)),start(o,i){(0,n.k)(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let d=[];return t.forEach(e=>{d.push((0,r.d)(e,o,{transitionOverride:i}))}),Promise.all(d)},set:o=>((0,n.k)(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(e=>{Array.isArray(o)?d(e,o):"string"==typeof o?d(e,[o]):(0,i.C)(e,o)})),stop(){t.forEach(e=>{!function(e){e.values.forEach(e=>e.stop())}(e)})},mount:()=>(e=!0,()=>{e=!1,o.stop()})};return o}var l=o(17455),c=o(2375);function m(){let e=(0,l.h)(a);return(0,c.L)(e.mount,[]),e}},88883:function(e,t,o){o.d(t,{YD:function(){return c}});var n=o(152),i=Object.defineProperty,r=new Map,d=new WeakMap,a=0,l=void 0;function c(){var e;let{threshold:t,delay:o,trackVisibility:i,rootMargin:c,root:m,triggerOnce:u,skip:s,initialInView:f,fallbackInView:p,onChange:h}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[g,v]=n.useState(null),z=n.useRef(),[y,b]=n.useState({inView:!!f,entry:void 0});z.current=h,n.useEffect(()=>{let e;if(!s&&g)return e=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l;if(void 0===window.IntersectionObserver&&void 0!==n){let i=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof o.threshold?o.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:i,observer:c,elements:m}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var o;return`${t}_${"root"===t?(o=e.root)?(d.has(o)||(a+=1,d.set(o,a.toString())),d.get(o)):"0":e[t]}`}).toString(),o=r.get(t);if(!o){let n;let i=new Map,d=new IntersectionObserver(t=>{t.forEach(t=>{var o;let r=t.isIntersecting&&n.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=r),null==(o=i.get(t.target))||o.forEach(e=>{e(r,t)})})},e);n=d.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),o={id:t,observer:d,elements:i},r.set(t,o)}return o}(o),u=m.get(e)||[];return m.has(e)||m.set(e,u),u.push(t),c.observe(e),function(){u.splice(u.indexOf(t),1),0===u.length&&(m.delete(e),c.unobserve(e)),0===m.size&&(c.disconnect(),r.delete(i))}}(g,(t,o)=>{b({inView:t,entry:o}),z.current&&z.current(t,o),o.isIntersecting&&u&&e&&(e(),e=void 0)},{root:m,rootMargin:c,threshold:t,trackVisibility:i,delay:o},p),()=>{e&&e()}},[Array.isArray(t)?t.toString():t,g,m,c,u,s,i,p,o]);let E=null==(e=y.entry)?void 0:e.target,w=n.useRef();g||!E||u||s||w.current===E||(w.current=E,b({inView:!!f,entry:void 0}));let C=[v,y.inView,y.entry];return C.ref=C[0],C.inView=C[1],C.entry=C[2],C}n.Component}}]);