1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[920],{55141:(t,e,i)=>{i.d(e,{B:()=>n});var s=i(57150);let n=t=>{let e=Math.ceil(t.mobile),i=Math.ceil(t.tablet||e),n=Math.ceil(t.desktop||i);return`(max-width: ${s.f[1]}px) ${e}vw, (max-width: ${s.f[3]}px) ${i}vw, ${n}vw`}},56043:(t,e,i)=>{i.d(e,{A:()=>d});var s=i(37876),n=i(54587),o=i.n(n),r=i(14232),a=i(40606),h=i(24450),l=i(55141),u=i(57043);let c=({image:t,sx:e,id:i,priority:n,sizes:c,className:d})=>{let{url:f,width:g,height:p,alt:m,title:y,focal_point_x:b,focal_point_y:w,ratioOptions:_={mobile:g/p}}=t,{imagePriority:x}=(0,h.M)(),v=(0,r.useRef)(null),z=(0,r.useRef)(null),L=(0,r.useRef)(null),R=_.mobile,S=_.tablet||R,O=_.desktop||S,E=(0,r.useRef)(!1);(0,r.useEffect)(()=>()=>{L.current&&(L.current.stopListening(),L.current=null)},[]),(0,r.useEffect)(()=>{E.current&&(E.current=!1)},[f]),(0,r.useEffect)(()=>{if(L.current&&null!=b&&null!=w){let t=b/g*2-1,e=w/p*2-1;L.current.setFocus({x:t,y:e})}},[b,w,g,p]);let $=(0,r.useMemo)(()=>({width:"100%",position:"relative",img:{background:"border",imageRendering:"auto",contentVisibility:"auto"},aspectRatio:[`${R} / 1`,null,`${S} / 1`,null,`${O} / 1`],overflow:"hidden",contain:"layout style paint",willChange:"contents",...e}),[R,S,O,e]);return(0,s.jsx)(a.A,{ref:v,sx:$,id:i,className:d,children:(0,s.jsx)("div",{ref:z,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"},children:(0,s.jsx)(o(),{src:f,alt:m||y||"",width:v.current?.offsetWidth||g,height:v.current?.offsetHeight||p,fetchPriority:n||x?"high":void 0,loading:n||x?"eager":"lazy",draggable:!1,sizes:(0,l.B)(c),onLoad:()=>{(()=>{if(!z.current||!v.current)return;let t=z.current.querySelector("img");if(!t)return;L.current&&(L.current.stopListening(),L.current=null);let e=null!=b?b/g*2-1:0,i=null!=w?w/p*2-1:0;L.current=new u.N9(t,{focus:{x:e,y:i},updateOnWindowResize:!0,updateOnContainerResize:!0,debounceTime:17}),E.current=!0})()},onDragStart:t=>t.preventDefault(),"data-decoding":"sync",style:{maxWidth:"none",width:"auto",minHeight:"auto",height:"auto",willChange:"transform"}})})})},d=({image:t,sx:e,id:i,priority:n,sizes:o,className:r})=>(0,s.jsx)(c,{image:t,id:i,sx:e,sizes:o,priority:n,className:r})},57043:(t,e,i)=>{function s(t,...e){return e.forEach(e=>Object.keys(e).forEach(i=>t[i]=e[i])),t}i.d(e,{N9:()=>h});let n={position:"relative",overflow:"hidden"},o={position:"absolute",top:"0",right:"0",bottom:"0",left:"0"},r={minHeight:"100%",minWidth:"100%"},a={debounceTime:17,updateOnWindowResize:!0,updateOnContainerResize:!1,containerPosition:"relative"};class h{constructor(t,e={}){this.imageNode=t,this.listening=!1,this.setFocus=t=>{this.focus=t,this.img.setAttribute("data-focus-x",t.x.toString()),this.img.setAttribute("data-focus-y",t.y.toString()),this.applyShift()},this.applyShift=()=>{let{naturalWidth:t,naturalHeight:e}=this.img,{width:i,height:s}=this.container.getBoundingClientRect(),n="0",o="0";if(!(i>0&&s>0&&t>0&&e>0))return!1;let r=t/i,a=e/s;this.img.style.maxHeight=null,this.img.style.maxWidth=null,t>i&&e>s&&(this.img.style[r>a?"maxHeight":"maxWidth"]="100%"),r>a?n=`${this.calcShift(a,i,t,this.focus.x)}%`:r<a&&(o=`${this.calcShift(r,s,e,this.focus.y,!0)}%`),this.img.style.top=o,this.img.style.left=n},this.options=s(a,e),this.img=t,this.container=t.parentElement,this.img.__focused_image_instance__&&(this.img.__focused_image_instance__.stopListening(),this.img.removeEventListener("load",this.applyShift)),this.img.__focused_image_instance__=this,this.img.addEventListener("load",this.applyShift),s(this.container.style,n),this.container.style.position=this.options.containerPosition,s(this.img.style,r,o),this.debounceApplyShift=function(t,e){let i;return function(...s){clearTimeout(i),i=setTimeout(()=>t(...s),e)}}(this.applyShift,this.options.debounceTime),this.focus=this.options.focus?this.options.focus:{x:parseFloat(this.img.getAttribute("data-focus-x"))||0,y:parseFloat(this.img.getAttribute("data-focus-y"))||0},this.startListening(),this.setFocus(this.focus)}startListening(){!this.listening&&(this.listening=!0,this.options.updateOnWindowResize&&window.addEventListener("resize",this.debounceApplyShift),this.options.updateOnContainerResize&&(this.resizeListenerObject=ne
1w ResizeObserver(()=>this.debounceApplyShift()),this.resizeListenerObject.observe(this.container)))}stopListening(){this.listening&&(this.listening=!1,window.removeEventListener("resize",this.debounceApplyShift),this.resizeListenerObject&&(this.resizeListenerObject.disconnect(),this.resizeListenerObject=null))}calcShift(t,e,i,s,n){let o=Math.floor(e/2),r=Math.floor(i/t),a=Math.floor((s+1)/2*r);n&&(a=r-a);let h=a-o,l=r-a,u=e-o;return l<u&&(h-=u-l),h<0&&(h=0),-100*h/e}}},94114:(t,e,i)=>{function s({src:t,width:e}){try{let i=new URL(t);if("ventionteams.com"===i.hostname&&i.pathname.startsWith("/media/original_images/")){let t=i.pathname.split("/").pop();return`/api/images/${encodeURIComponent(t)}?width=${e}`}}catch{}return t}i.r(e),i.d(e,{default:()=>s})}}]);
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.