PageSourceSearch

https://www.eradauti.ro/_next/static/chunks/592-2ea2ac421e764731.js

js eradauti.ro collected 2026-10-02 22:48:48 UTC 62,801 bytes, 1 lines download raw bytes

vendor: 8,303 bytes, line 1
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[592],{3488:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(1134).Z)("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]])},6004:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(1134).Z)("Binoculars",[["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M19 7V4a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v3",key:"3apit1"}],["path",{d:"M20 21a2 2 0 0 0 2-2v-3.851c0-1.39-2-2.962-2-4.829V8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v11a2 2 0 0 0 2 2z",key:"rhpgnw"}],["path",{d:"M 22 16 L 2 16",key:"14lkq7"}],["path",{d:"M4 21a2 2 0 0 1-2-2v-3.851c0-1.39 2-2.962 2-4.829V8a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v11a2 2 0 0 1-2 2z",key:"104b3k"}],["path",{d:"M9 7V4a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v3",key:"14fczp"}]])},7706:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(1134).Z)("Boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]])},690:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(1134).Z)("BriefcaseBusiness",[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2",key:"1ksdt3"}],["path",{d:"M22 13a18.15 18.15 0 0 1-20 0",key:"12hx5q"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]])},5562:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(1134).Z)("Car",[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]])},5930:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(1134).Z)("Handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]])},6378:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(1134).Z)("HeartHandshake",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}],["path",{d:"M12 5 9.04 7.96a2.17 2.17 0 0 0 0 3.08c.82.82 2.13.85 3 .07l2.07-1.9a2.82 2.82 0 0 1 3.79 0l2.96 2.66",key:"4oyue0"}],["path",{d:"m18 15-2-2",key:"60u0ii"}],["path",{d:"m15 18-2-2",key:"6p76be"}]])},6215:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(1134).Z)("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]])},6691:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(1134).Z)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]])},6147:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(1134).Z)("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]])},3471:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});let r=(0,n(1134).Z)("WashingMachine",[["path",{d:"M3 6h3",key:"155dbl"}],["path",{d:"M17 6h.01",key:"e2y6kg"}],["rect",{width:"18",height:"20",x:"3",y:"2",rx:"2",key:"od3kk9"}],["circle",{cx:"12",cy:"13",r:"5",key:"nlbqau"}],["path",{d:"M12 18a2.5 2.5 0 0 0 0-5 2.5 2.5 0 0 1 0-5",key:"17lach"}]])},209:function(){},3586:function(e,t,n){"use strict";n.d(t,{Z:function(){return H}});var r=n(7294),i=n(3884),o=n.n(i),u=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),a="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,l=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),c="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(l):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},s=["top","right","bottom","left","width","height","size","weight"],d="undefined"!=typeof MutationObserver,h=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&a()}function u(){c(o)}function a(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(u,20);i=e}return a}(this.refresh.bind(this),0)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){a&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),d?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){a&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;s.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=ne
1w e),this.instance_},e.instance_=null,e}(),f=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||l},v=b(0,0,0,0);function m(e){return parseFloat(e)||0}function g(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+m(e["border-"+n+"-width"])},0)}var y="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"==typeof e.getBBox};function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var w=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=function(e){if(!a)return v;if(y(e)){var t;return b(0,0,(t=e.getBBox()).width,t.height)}return function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return v;var r=p(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=m(o)}return t}(r),o=i.left+i.right,u=i.top+i.bottom,a=m(r.width),l=m(r.height);if("border-box"===r.boxSizing&&(Math.round(a+o)!==t&&(a-=g(r,"left","right")+o),Math.round(l+u)!==n&&(l-=g(r,"top","bottom")+u)),e!==p(e).document.documentElement){var c=Math.round(a+o)-t,s=Math.round(l+u)-n;1!==Math.abs(c)&&(a-=c),1!==Math.abs(s)&&(l-=s)}return b(i.left,i.top,a,l)}(e)}(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),E=function(e,t){var n,r,i,o,u,a=(n=t.x,r=t.y,i=t.width,o=t.height,f(u=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:n,y:r,width:i,height:o,top:r,right:n+i,bottom:o+r,left:n}),u);f(this,{target:e,contentRect:a})},k=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new u,"function"!=typeof e)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new w(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new E(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),M="undefined"!=typeof WeakMap?new WeakMap:new u,x=function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=new k(t,h.getInstance(),this);M.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){x.prototype[e]=function(){var t;return(t=M.get(this))[e].apply(t,arguments)}});var _=void 0!==l.ResizeObserver?l.ResizeObserver:x;function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}var S={cursor:"pointer"},P=function(e){var t=e.index,n=e.onClick,i=e.photo,o=e.margin,u=e.direction,a=e.top,l=e.left,c=e.key,s={margin:o,display:"block"};return"column"===u&&(s.position="absolute",s.left=l,s.top=a),r.createElement("img",O({key:c,style:n?C({},s,S):s},i,{onClick:n?function(e){n(e,{photo:i,index:t})}:null}))}
1,N=o().shape({key:o().string,src:o().string.isRequired,width:o().number.isRequired,height:o().number.isRequired,alt:o().string,title:o().string,srcSet:o().oneOfType([o().string,o().array]),sizes:o().oneOfType([o().string,o().array])});P.propTypes={index:o().number.isRequired,onClick:o().func,photo:N.isRequired,margin:o().number,top:function(e){if("column"===e.direction&&"number"!=typeof e.top)return Error("top is a required number when direction is set to `column`")},left:function(e){if("column"===e.direction&&"number"!=typeof e.left)return Error("left is a required number when direction is set to `column`")},direction:o().string};var R=function(e,t){return t||(t=0),Number(Math.round(e+"e"+t)+"e-"+t)},L=function(e){for(var t=e.photos,n=e.columns,r=e.containerWidth,i=e.margin,o=(r-2*i*n)/n,u=t.map(function(e){var t=e.height/e.width*o;return C({},e,{width:R(o,1),height:R(t,1)})}),a=[],l=[],c=0;c<n;c++)a[c]=R(c*(o+2*i),1),l[c]=0;return u.map(function(e){var t=l.reduce(function(e,t,n){return e=t<l[e]?n:e},0);e.top=l[t],e.left=a[t],l[t]=l[t]+e.height+2*i;var n=l.reduce(function(e,t,n){return e=t>l[e]?n:e},0);return e.containerHeight=l[n],e})},I=function(e){return R(e.width/e.height,2)};function T(e){this.content=[],this.scoreFunction=e}T.prototype={push:function(e){this.content.push(e),this.bubbleUp(this.content.length-1)},pop:function(){var e=this.content[0],t=this.content.pop();return this.content.length>0&&(this.content[0]=t,this.sinkDown(0)),e},remove:function(e){for(var t=this.content.length,n=0;n<t;n++)if(this.content[n]==e){var r=this.content.pop();if(n==t-1)break;this.content[n]=r,this.bubbleUp(n),this.sinkDown(n);break}},size:function(){return this.content.length},bubbleUp:function(e){for(var t=this.content[e],n=this.scoreFunction(t);e>0;){var r=Math.floor((e+1)/2)-1,i=this.content[r];if(n>=this.scoreFunction(i))break;this.content[r]=t,this.content[e]=i,e=r}},sinkDown:function(e){for(var t=this.content.length,n=this.content[e],r=this.scoreFunction(n);;){var i=(e+1)*2,o=i-1,u=null;if(o<t){var a=this.content[o],l=this.scoreFunction(a);l<r&&(u=o)}if(i<t){var c=this.content[i];this.scoreFunction(c)<(null==u?r:l)&&(u=i)}if(null==u)break;this.content[e]=this.content[u],this.content[u]=n,e=u}}};var A=function(e,t,n){var r={},i={},o={};o[t]=0;var u=new T(function(e){return e.weight});for(u.push({id:t,weight:0});u.size();){var a=u.pop(),l=a.id;if(!i[l]){var c=e(l)||{};for(var s in i[l]=1,c){var d=a.weight+c[s];(void 0===o[s]||o[s]>d)&&(o[s]=d,u.push({id:s,weight:d}),r[s]=l)}}}if(void 0===o[n])throw Error("There is no path from ".concat(t," to ").concat(n));return r},D=function(e,t){for(var n=[],r=t;r;)n.push(r),e[r],r=e[r];return n.reverse()},Z=function(e,t,n){return(t-e.length*(2*n))/e.reduce(function(e,t){return e+I(t)},0)},$=function(e){var t,n=e.containerWidth,r=e.limitNodeSearch,i=e.targetRowHeight,o=e.margin,u=e.photos,a=D(A(function(e){var t,a,l={};l[+(e=+e)]=0;for(var c=e+1;c<u.length+1&&!(c-e>r);++c)l[c.toString()]=(t=e,a=c,Math.pow(Math.abs(Z(u.slice(t,a),n,o)-i),2));return l},"0",t=u.length),t);a=a.map(function(e){return+e});for(var l=1;l<a.length;++l)for(var c=Z(u.slice(a[l-1],a[l]),n,o),s=a[l-1];s<a[l];++s)u[s].width=R(c*I(u[s]),1),u[s].height=c;return u},z=function(e){var t=e.targetRowHeight;return R(e.containerWidth/t/1.5)+8},W=r.memo(function(e){var t,n,i,o=e.photos,u=e.onClick,a=e.direction,l=e.margin,c=e.limitNodeSearch,s=e.targetRowHeight,d=e.columns,h=e.renderImage,f=function(e){if(Array.isArray(e))return e}(t=(0,r.useState)(0))||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var u,a=e[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),2!==n.length);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}(),p=f[0],v=f[1],m=(0,r.useRef)(null);(0,r.useLayoutEffect)(function(){var e=null,t=new _(function(t){var n=t[0].contentRect.width;p!==n&&(e=window.requestAnimationFrame(function(){v(Math.floor(n))}))});return t.observe(m.current),function(){t.disconnect(),window.cancelAnimationFrame(e)}});var g=function(e,t){var n=t.index;u(e,{index:n,photo:o[n],previous:o[n-1]||null,next:o[n+1]||null})};if(!p)return r.createElement("div",{ref:m},"\xa0");var y=p-1;"row"===a&&("function"==typeof c&&(c=c(p)),"function"==typeof s&&(s=s(p)),void 0===c&&(c=2,p>=450&&(c=z({containerWidth:p,targetRowHeight:s}))),n={display:"flex",flexWrap:"wrap",flexDirection:"row"},i=$({containerWidth:y,limitNodeSearch:c,targetRowHeight:s,margin:l,photos:o})),"column"===a&&("function"==typeof d&&(d=d(p)),void 0===d&&(d=1,p>=500&&(d=2),p>=900&&(d=3),p>=1500&&(d=4)),n={position:"relative"},i=L({containerWidth:y,columns:d,margin:l,photos:o}),n.height=i[i.length-1].containerHeight);var b=h||P;return r.createElement("div",{className:"react-photo-gallery--gallery"},r.createElement("div",{ref:m,style:n},i.map(function(e,t){var n=e.left,r=e.top,i=e.containerHeight,o=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["left","top","containerHeight"]);return b({left:n,top:r,key:e.key||e.src,containerHeight:i,index:t,margin:l,direction:a,onClick:u?g:null,photo:o})})))});W.propTypes={photos:o().arrayOf(N).isRequired,direction:o().string,onClick:o().func,columns:o().oneOfType([o().func,o().number]),targetRowHeight:o().oneOfType([o().func,o().number]),limitNodeSearch:o().oneOfType([o().func,o().number]),margin:o().number,renderImage:o().func},W.defaultProps={margin:2,direction:"row",targetRowHeight:300};var H=W},4880:function(e,t,n){"use strict";var r=n(3976);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,u){if(u!==r){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;
1var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},3884:function(e,t,n){e.exports=n(4880)()},3976:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6709:function(e,t,n){"use strict";n.d(t,{_:function(){return l}});var r=n(8337),i=n(9470),o=n(4419),u=n(1608),a=(e,t,n)=>new Promise((r,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},u=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=e=>e.done?r(e.value):Promise.resolve(e.value).then(o,u);a((n=n.apply(e,t)).next())});function l({resolverName:e,resolverType:t,routePath:l,httpMethod:c}){var s;let d=(s="/api/rpc"+l,(0,r.normalizePathTrailingSlash)((0,i.addBasePath)(s))),h=new URL(d,window.location.origin),f=(e,...t)=>a(this,[e,...t],function*(e,t={},r){let i;let s=(yield n.e(474).then(n.t.bind(n,9474,19))).default("blitz:rpc");if(t.fromQueryHook||t.fromInvoke||console.warn("[Deprecation] Directly calling queries/mutations is deprecated in favor of invoke(queryFn, params)"),u.c)return Promise.resolve();s("Starting request for",d,"with",e,"and",t),i=t.alreadySerialized?e:(0,o.qC)(e),"GET"===c&&i.json&&(h.searchParams.set("params",(0,o.Pz)(i.json)),h.searchParams.set("meta",(0,o.Pz)(i.meta)));let{beforeHttpRequest:f,beforeHttpResponse:p}=globalThis.__BLITZ_MIDDLEWARE_HOOKS;return window.fetch(h,f({method:c,headers:{"Content-Type":"application/json"},credentials:"include",redirect:"follow",body:"POST"===c?JSON.stringify({params:i.json,meta:{params:i.meta}}):void 0,signal:r})).then(r=>a(this,null,function*(){var i,u;if(s("Received request for",l),(r=p(r)).ok){let a;try{a=yield r.json()}catch(t){let e=Error(`Failed to parse json from ${l}`);throw e.stack=null,e}if(a.error){let e=(0,o.vB)({json:a.error,meta:null==(i=a.meta)?void 0:i.error}),t=new CustomEvent("blitz:rpc-error",{detail:e});document.dispatchEvent(t);let n=e.message.match(/invalid.*prisma.*invocation/i);throw!n||"code"in e||((e=Error(n[0])).statusCode=500),e.stack=null,e}{let r=(0,o.vB)({json:a.result,meta:null==(u=a.meta)?void 0:u.result});if(!t.fromQueryHook){let{getQueryKeyFromUrlAndParams:t}=yield Promise.resolve().then(n.bind(n,9947)),i=t(l,e);globalThis.queryClient.setQueryData(i,r)}return r}}{let e=Error(r.statusText);throw e.statusCode=r.status,e.path=l,e.stack=null,e}}))});return f._isRpcClient=!0,f._resolverName=e,f._resolverType=t,f._routePath=d,f}},6249:function(e,t,n){"use strict";n.d(t,{$0:function(){return ec},Eq:function(){return m},Fy:function(){return g},KL:function(){return x},NM:function(){return b},Nc:function(){return h},OL:function(){return eo},P0:function(){return em},QB:function(){return w},RD:function(){return W},U2:function(){return G},VI:function(){return E},Wy:function(){return d},ZP:function(){return ez},bQ:function(){return ey},bc:function(){return eE},bt:function(){return ei},hU:function(){return Q},l6:function(){return N},oc:function(){return j},tS:function(){return T},wQ:function(){return C}});var r,i,o,u,a=n(7294),l=n(6567),c=n(3935);let s="yarl__";function d(...e){return[...e].filter(Boolean).join(" ")}function h(e){return`${s}${e}`}function f(e){return`--${s}${e}`}function p(e,t){return`${e}${t?`_${t}`:""}`}function v(e){return t=>p(e,t)}function m(...e){return()=>{e.forEach(e=>{e()})}}function g(e,t,n){return()=>{let r=a.useContext(n);if(!r)throw Error(`${e} must be used within a ${t}.Provider`);return r}}function y(){return"undefined"!=typeof window}function b(e,t=0){let n=10**t;return Math.round((e+Number.EPSILON)*n)/n}function w(e){return void 0===e.type||"image"===e.type}function E(e,t){return e.imageFit===l.rO||e.imageFit!==l.j3&&t===l.rO}function k(e){return"string"==typeof e?Number.parseInt(e,10):e}function M(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){let t=k(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function x(){return(y()?null==window?void 0:window.devicePixelRatio:void 0)||1}function _(e,t){var n;return e[(n=e.length)>0?(t%n+n)%n:0]}function O(e,t){return e.length>0?_(e,t):void 0}
1function C(e,t,n){if(!n)return e;let{buttons:r,...i}=e,o=r.findIndex(e=>e===t),u=a.isValidElement(n)?a.cloneElement(n,{key:t},null):n;if(o>=0){let e=[...r];return e.splice(o,1,u),{buttons:e,...i}}return{buttons:[u,...r],...i}}let S=Number(a.version.split(".")[0])>=19,P={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[l.t9]},labels:{},animation:{fade:250,swipe:500,easing:{fade:"ease",swipe:"ease-out",navigation:"ease-in-out"}},carousel:{finite:!1,preload:2,padding:"16px",spacing:"30%",imageFit:l.j3,imageProps:{}},controller:{ref:null,focus:!0,aria:!1,touchAction:"none",closeOnPullUp:!1,closeOnPullDown:!1,closeOnBackdropClick:!1,preventDefaultWheelX:!0,preventDefaultWheelY:!1},portal:{},noScroll:{disabled:!1},on:{},styles:{},className:""};function N(e,t){return{name:e,component:t}}function R(e,t){return{module:e,children:t}}function L(e,t,n){return e.flatMap(e=>{var r;return null!==(r=function e(t,n,r){return t.module.name===n?r(t):t.children?[R(t.module,t.children.flatMap(t=>{var i;return null!==(i=e(t,n,r))&&void 0!==i?i:[]}))]:[t]}(e,t,n))&&void 0!==r?r:[]})}let I=a.createContext(null),T=g("useDocument","DocumentContext",I);function A({nodeRef:e,children:t}){let n=a.useMemo(()=>{let t=t=>{var n;return(null===(n=t||e.current)||void 0===n?void 0:n.ownerDocument)||document};return{getOwnerDocument:t,getOwnerWindow:e=>{var n;return(null===(n=t(e))||void 0===n?void 0:n.defaultView)||window}}},[e]);return a.createElement(I.Provider,{value:n},t)}let D=a.createContext(null),Z=g("useEvents","EventsContext",D);function $({children:e}){let[t]=a.useState({});a.useEffect(()=>()=>{Object.keys(t).forEach(e=>delete t[e])},[t]);let n=a.useMemo(()=>{let e=(e,n)=>{var r;null===(r=t[e])||void 0===r||r.splice(0,t[e].length,...t[e].filter(e=>e!==n))};return{publish:(...[e,n])=>{var r;null===(r=t[e])||void 0===r||r.forEach(e=>e(n))},subscribe:(n,r)=>(t[n]||(t[n]=[]),t[n].push(r),()=>e(n,r)),unsubscribe:e}},[t]);return a.createElement(D.Provider,{value:n},e)}let z=a.createContext(null),W=g("useLightboxProps","LightboxPropsContext",z);function H({children:e,...t}){return a.createElement(z.Provider,{value:t},e)}let F=a.createContext(null),j=g("useLightboxState","LightboxStateContext",F),B=a.createContext(null),q=g("useLightboxDispatch","LightboxDispatchContext",B);function U(e,t){switch(t.type){case"swipe":{var n;let{slides:r}=e,i=(null==t?void 0:t.increment)||0,o=e.globalIndex+i,u=(n=r.length)>0?(o%n+n)%n:0,a=O(r,u);return{slides:r,currentIndex:u,globalIndex:o,currentSlide:a,animation:i||t.duration?{increment:i,duration:t.duration,easing:t.easing}:void 0}}case"update":if(t.slides!==e.slides||t.index!==e.currentIndex)return{slides:t.slides,currentIndex:t.index,globalIndex:t.index,currentSlide:O(t.slides,t.index)};return e;default:throw Error(l.c3)}}function V({slides:e,index:t,children:n}){let[r,i]=a.useReducer(U,{slides:e,currentIndex:t,globalIndex:t,currentSlide:O(e,t)});a.useEffect(()=>{i({type:"update",slides:e,index:t})},[e,t]);let o=a.useMemo(()=>({...r,state:r,dispatch:i}),[r,i]);return a.createElement(B.Provider,{value:i},a.createElement(F.Provider,{value:o},n))}let X=a.createContext(null),K=g("useTimeouts","TimeoutsContext",X);function Y({children:e}){let[t]=a.useState([]);a.useEffect(()=>()=>{t.forEach(e=>window.clearTimeout(e)),t.splice(0,t.length)},[t]);let n=a.useMemo(()=>{let e=e=>{t.splice(0,t.length,...t.filter(t=>t!==e))};return{setTimeout:(n,r)=>{let i=window.setTimeout(()=>{e(i),n()},r);return t.push(i),i},clearTimeout:t=>{void 0!==t&&(e(t),window.clearTimeout(t))}}},[t]);return a.createElement(X.Provider,{value:n},e)}let Q=a.forwardRef(function({label:e,className:t,icon:n,renderIcon:r,onClick:i,style:o,...u},c){var s;let{styles:f,labels:p}=W(),v=null!==(s=null==p?void 0:p[e])&&void 0!==s?s:e;return a.createElement("button",{ref:c,type:"button",title:v,"aria-label":v,className:d(h(l.bg),t),onClick:i,style:{...o,...f.button},...u},r?r():a.createElement(n,{className:h(l.vg),style:f.icon}))});function G(e,t){return function(e,t){let n=e=>a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false",...e},t);return n.displayName=e,n}(e,a.createElement("g",{fill:"currentColor"},a.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}let J=G("Close",a.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),ee=G("Previous",a.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),et=G("Next",a.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}
1)),en=G("Loading",a.createElement(a.Fragment,null,Array.from({length:8}).map((e,t,n)=>a.createElement("line",{key:t,x1:"12",y1:"6.5",x2:"12",y2:"1.8",strokeLinecap:"round",strokeWidth:"2.6",stroke:"currentColor",strokeOpacity:1/n.length*(t+1),transform:`rotate(${360/n.length*t}, 12, 12)`})))),er=G("Error",a.createElement("path",{d:"M21.9,21.9l-8.49-8.49l0,0L3.59,3.59l0,0L2.1,2.1L0.69,3.51L3,5.83V19c0,1.1,0.9,2,2,2h13.17l2.31,2.31L21.9,21.9z M5,18 l3.5-4.5l2.5,3.01L12.17,15l3,3H5z M21,18.17L5.83,3H19c1.1,0,2,0.9,2,2V18.17z"})),ei=y()?a.useLayoutEffect:a.useEffect;function eo(){let[e,t]=a.useState(!1);return a.useEffect(()=>{var e,n;let r=null===(e=window.matchMedia)||void 0===e?void 0:e.call(window,"(prefers-reduced-motion: reduce)");t(null==r?void 0:r.matches);let i=e=>t(e.matches);return null===(n=null==r?void 0:r.addEventListener)||void 0===n||n.call(r,"change",i),()=>{var e;return null===(e=null==r?void 0:r.removeEventListener)||void 0===e?void 0:e.call(r,"change",i)}},[]),e}function eu(e,t){let n=a.useRef(),r=a.useRef(),i=eo();return ei(()=>{var o,u,a;if(e.current&&void 0!==n.current&&!i){let{keyframes:i,duration:l,easing:c,onfinish:s}=t(n.current,e.current.getBoundingClientRect(),function(e){let t=0,n=0,r=0,i=window.getComputedStyle(e).transform.match(/matrix.*\((.+)\)/);if(i){let e=i[1].split(",").map(k);6===e.length?(t=e[4],n=e[5]):16===e.length&&(t=e[12],n=e[13],r=e[14])}return{x:t,y:n,z:r}}(e.current))||{};if(i&&l){null===(o=r.current)||void 0===o||o.cancel(),r.current=void 0;try{r.current=null===(a=(u=e.current).animate)||void 0===a?void 0:a.call(u,i,{duration:l,easing:c})}catch(e){console.error(e)}r.current&&(r.current.onfinish=()=>{r.current=void 0,null==s||s()})}}n.current=void 0}),{prepareAnimation:e=>{n.current=e},isAnimationPlaying:()=>{var e;return(null===(e=r.current)||void 0===e?void 0:e.playState)==="running"}}}function ea(){let e=a.useRef(null),t=a.useRef(),[n,r]=a.useState();return{setContainerRef:a.useCallback(n=>{e.current=n,t.current&&(t.current.disconnect(),t.current=void 0);let i=()=>{if(n){let e=window.getComputedStyle(n),t=e=>parseFloat(e)||0;r({width:Math.round(n.clientWidth-t(e.paddingLeft)-t(e.paddingRight)),height:Math.round(n.clientHeight-t(e.paddingTop)-t(e.paddingBottom))})}else r(void 0)};i(),n&&"undefined"!=typeof ResizeObserver&&(t.current=new ResizeObserver(i),t.current.observe(n))},[]),containerRef:e,containerRect:n}}function el(){let e=a.useRef(),{setTimeout:t,clearTimeout:n}=K();return a.useCallback((r,i)=>{n(e.current),e.current=t(r,i>0?i:0)},[t,n])}function ec(e){let t=a.useRef(e);return ei(()=>{t.current=e}),a.useCallback((...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function es(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function ed(e,t){return a.useMemo(()=>null==e&&null==t?null:n=>{es(e,n),es(t,n)},[e,t])}function eh(){let[e,t]=a.useState(!1);return ei(()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)},[]),e}function ef(e,t){let n=a.useRef(0),r=el(),i=ec((...t)=>{n.current=Date.now(),e(t)});return a.useCallback((...e)=>{r(()=>{i(e)},t-(Date.now()-n.current))},[t,i,r])}let ep=v("slide"),ev=v("slide_image");function em({slide:e,offset:t,render:n,rect:r,imageFit:i,imageProps:o,onClick:u,onLoad:c,onError:s,style:f}){var p,v,m,g,b,w,k;let[M,x]=a.useState(l.Xe),{publish:_}=Z(),{setTimeout:O}=K(),C=a.useRef(null);a.useEffect(()=>{0===t&&_((0,l.J1)(M))},[t,M,_]);let S=ec(e=>{("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{e.parentNode&&(x(l.Zv),O(()=>{null==c||c(e)},0))})}),P=a.useCallback(e=>{C.current=e,(null==e?void 0:e.complete)&&S(e)},[S]),N=a.useCallback(e=>{S(e.currentTarget)},[S]),R=ec(()=>{x(l.fS),null==s||s()}),L=E(e,i),I=(e,t)=>Number.isFinite(e)?e:t,T=I(Math.max(...(null!==(v=null===(p=e.srcSet)||void 0===p?void 0:p.map(e=>e.width))&&void 0!==v?v:[]).concat(e.width?[e.width]:[]).filter(Boolean)),(null===(m=C.current)||void 0===m?void 0:m.naturalWidth)||0),A=I(Math.max(...(null!==(b=null===(g=e.srcSet)||void 0===g?void 0:g.map(e=>e.height))&&void 0!==b?b:[]).concat(e.height?[e.height]:[]).filter(
1Boolean)),(null===(w=C.current)||void 0===w?void 0:w.naturalHeight)||0),D=T&&A?{maxWidth:`min(${T}px, 100%)`,maxHeight:`min(${A}px, 100%)`}:{maxWidth:"100%",maxHeight:"100%"},$=null===(k=e.srcSet)||void 0===k?void 0:k.sort((e,t)=>e.width-t.width).map(e=>`${e.src} ${e.width}w`).join(", "),z=$&&r&&y()?`${Math.round(Math.min(r&&!L&&e.width&&e.height?r.height/e.height*e.width:Number.MAX_VALUE,r.width))}px`:void 0,{style:W,className:H,...F}=o||{};return a.createElement(a.Fragment,null,a.createElement("img",{ref:P,onLoad:N,onError:R,onClick:u,draggable:!1,className:d(h(ev()),L&&h(ev("cover")),M!==l.Zv&&h(ev("loading")),H),style:{...D,...f,...W},...F,alt:e.alt,sizes:z,srcSet:$,src:e.src}),M!==l.Zv&&a.createElement("div",{className:h(ep(l.$L))},M===l.Xe&&((null==n?void 0:n.iconLoading)?n.iconLoading():a.createElement(en,{className:d(h(l.vg),h(ep(l.Xe)))})),M===l.fS&&((null==n?void 0:n.iconError)?n.iconError():a.createElement(er,{className:d(h(l.vg),h(ep(l.fS)))}))))}let eg=a.forwardRef(function({className:e,children:t,...n},r){let i=a.useRef(null);return a.createElement(A,{nodeRef:i},a.createElement("div",{ref:ed(r,i),className:d(h("root"),e),...n},t))});function ey(e,t,n,r,i){a.useEffect(()=>i?()=>{}:m(e(l.NZ,t),e(l.N4,n),e(l.S2,r),e(l.pE,r),e(l.Vt,r)),[e,t,n,r,i])}(r=o||(o={}))[r.NONE=0]="NONE",r[r.SWIPE=1]="SWIPE",r[r.PULL=2]="PULL",r[r.ANIMATION=3]="ANIMATION",(i=u||(u={}))[i.NONE=0]="NONE",i[i.SWIPE=1]="SWIPE",i[i.PULL=2]="PULL";let eb=v("container"),ew=a.createContext(null),eE=g("useController","ControllerContext",ew),ek=N(l.l4,function({children:e,...t}){var n;let{carousel:r,animation:i,controller:c,on:s,styles:p,render:v}=t,{closeOnPullUp:g,closeOnPullDown:y,preventDefaultWheelX:w,preventDefaultWheelY:E}=c,[k,x]=a.useState(),_=j(),O=q(),[C,S]=a.useState(o.NONE),P=a.useRef(0),N=a.useRef(0),R=a.useRef(1),{registerSensors:L,subscribeSensors:I}=function(){let[e]=a.useState({}),t=a.useCallback((t,n)=>{var r;null===(r=e[t])||void 0===r||r.forEach(e=>{n.isPropagationStopped()||e(n)})},[e]);return{registerSensors:a.useMemo(()=>({onPointerDown:e=>t(l.NZ,e),onPointerMove:e=>t(l.N4,e),onPointerUp:e=>t(l.S2,e),onPointerLeave:e=>t(l.pE,e),onPointerCancel:e=>t(l.Vt,e),onKeyDown:e=>t(l.ds,e),onKeyUp:e=>t(l.Bm,e),onWheel:e=>t(l.yq,e)}),[t]),subscribeSensors:a.useCallback((t,n)=>(e[t]||(e[t]=[]),e[t].unshift(n),()=>{let r=e[t];r&&r.splice(0,r.length,...r.filter(e=>e!==n))}),[e])}}(),{subscribe:A,publish:D}=Z(),$=el(),z=el(),W=el(),{containerRef:H,setContainerRef:F,containerRect:B}=ea(),U=ed(function({preventDefaultWheelX:e,preventDefaultWheelY:t}){let n=a.useRef(null),r=ec(n=>{let r=Math.abs(n.deltaX)>Math.abs(n.deltaY);(r&&e||!r&&t||n.ctrlKey)&&n.preventDefault()});return a.useCallback(e=>{var t;e?e.addEventListener("wheel",r,{passive:!1}):null===(t=n.current)||void 0===t||t.removeEventListener("wheel",r),n.current=e},[r])}({preventDefaultWheelX:w,preventDefaultWheelY:E}),F),V=a.useRef(null),X=ed(V,void 0),{getOwnerDocument:Y}=T(),Q=eh(),G=e=>(Q?-1:1)*("number"==typeof e?e:1),J=ec(()=>{var e;return null===(e=H.current)||void 0===e?void 0:e.focus()}),ee=ec(()=>t),et=ec(()=>_),en=a.useCallback(e=>D(l.KN,e),[D]),er=a.useCallback(e=>D(l.Eb,e),[D]),ei=a.useCallback(()=>D(l.t9),[D]),eo=e=>!(r.finite&&(G(e)>0&&0===_.currentIndex||0>G(e)&&_.currentIndex===_.slides.length-1)),es=e=>{var t;P.current=e,null===(t=H.current)||void 0===t||t.style.setProperty(f("swipe_offset"),`${Math.round(e)}px`)},ef=e=>{var t,n;N.current=e,R.current=Math.min(Math.max(b(1-(y&&e>0?e:g&&e<0?-e:0)/60*.5,2),.5),1),null===(t=H.current)||void 0===t||t.style.setProperty(f("pull_offset"),`${Math.round(e)}px`),null===(n=H.current)||void 0===n||n.style.setProperty(f("pull_opacity"),`${R.current}`)},{prepareAnimation:ep}=eu(V,(e,t,n)=>{if(V.current&&B)return{keyframes:[{transform:`translate(0, ${e.rect.y-t.y+n.y}px)`,opacity:e.opacity},{transform:"translate(0, 0)",opacity:1}],duration:e.duration,easing:i.easing.fade}}),ev=(e,t)=>{if(g||y){ef(e);let n=0;V.current&&(n=i.fade*(t?2:1),ep({rect:V.current.getBoundingClientRect(),opacity:R.current,duration:n})),W(()=>{ef(0),S(o.NONE)},n),S(o.ANIMATION),t||ei()}},{prepareAnimation:em,isAnimationPlaying:eg}=eu(V,(e,t,n)=>{var i;if(V.current&&B&&(null===(i=_.animation)||void 0===i?void 0:i.duration)){let i=M(r.spacing),o=(i.percent?i.percent*B.width/100:i.pixel)||0;return{keyframes:[{transform:`translate(${G(_.globalIndex-e.index)*(B.width+o)+e.rect.x-t.x+n.x}
1px, 0)`},{transform:"translate(0, 0)"}],duration:_.animation.duration,easing:_.animation.easing}}}),eE=ec(e=>{var t,n;let r=e.offset||0,u=r?i.swipe:null!==(t=i.navigation)&&void 0!==t?t:i.swipe,a=r||eg()?i.easing.swipe:i.easing.navigation,{direction:c}=e,s=null!==(n=e.count)&&void 0!==n?n:1,d=o.ANIMATION,h=u*s;if(!c){let t=null==B?void 0:B.width,n=e.duration||0,i=t?u/t*Math.abs(r):u;0!==s?(n<i?h=h/i*Math.max(n,i/5):t&&(h=u/t*(t-Math.abs(r))),c=G(r)>0?l.KN:l.Eb):h=u/2}let f=0;c===l.KN?eo(G(1))?f=-s:(d=o.NONE,h=u):c===l.Eb&&(eo(G(-1))?f=s:(d=o.NONE,h=u)),z(()=>{es(0),S(o.NONE)},h=Math.round(h)),V.current&&em({rect:V.current.getBoundingClientRect(),index:_.globalIndex}),S(d),D(l.Tn,{type:"swipe",increment:f,duration:h,easing:a})});a.useEffect(()=>{var e,t;(null===(e=_.animation)||void 0===e?void 0:e.increment)&&(null===(t=_.animation)||void 0===t?void 0:t.duration)&&$(()=>O({type:"swipe",increment:0}),_.animation.duration)},[_.animation,O,$]);let ek=[I,eo,(null==B?void 0:B.width)||0,i.swipe,()=>S(o.SWIPE),e=>es(e),(e,t)=>eE({offset:e,duration:t,count:1}),e=>eE({offset:e,count:0})],eM=[()=>{y&&S(o.PULL)},e=>ef(e),e=>ev(e),e=>ev(e,!0)];!function(e,t,n,r,i,o,l,c,s,d,h,f,p,v){let m=a.useRef(0),g=a.useRef([]),y=a.useRef(),b=a.useRef(0),w=a.useRef(u.NONE),E=a.useCallback(e=>{y.current===e.pointerId&&(y.current=void 0,w.current=u.NONE);let t=g.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),k=a.useCallback(e=>{E(e),e.persist(),g.current.push(e)},[E]),M=ec(e=>{k(e)}),x=(e,t)=>d&&e>t||s&&e<-t,_=ec(e=>{if(g.current.find(t=>t.pointerId===e.pointerId)&&y.current===e.pointerId){let e=Date.now()-b.current,t=m.current;w.current===u.SWIPE?Math.abs(t)>.3*n||Math.abs(t)>5&&e<r?l(t,e):c(t):w.current===u.PULL&&(x(t,60)?p(t,e):v(t)),m.current=0,w.current=u.NONE}E(e)});ey(e,M,ec(e=>{let n=g.current.find(t=>t.pointerId===e.pointerId);if(n){let r=y.current===e.pointerId;if(0===e.buttons){r&&0!==m.current?_(e):E(n);return}let a=e.clientX-n.clientX,l=e.clientY-n.clientY;if(void 0===y.current){let n=t=>{k(e),y.current=e.pointerId,b.current=Date.now(),w.current=t};Math.abs(a)>Math.abs(l)&&Math.abs(a)>30&&t(a)?(n(u.SWIPE),i()):Math.abs(l)>Math.abs(a)&&x(l,30)&&(n(u.PULL),h())}else r&&(w.current===u.SWIPE?(m.current=a,o(a)):w.current===u.PULL&&(m.current=l,f(l)))}}),_)}(...ek,g,y,...eM),function(e,t,n,r,i,u,c,s,d){let h=a.useRef(0),f=a.useRef(0),p=a.useRef(),v=a.useRef(),m=a.useRef(0),g=a.useRef(),y=a.useRef(0),{setTimeout:b,clearTimeout:w}=K(),E=a.useCallback(()=>{p.current&&(w(p.current),p.current=void 0)},[w]),k=a.useCallback(()=>{v.current&&(w(v.current),v.current=void 0)},[w]),M=ec(()=>{e!==o.SWIPE&&(h.current=0,y.current=0,E(),k())});a.useEffect(M,[e,M]);let x=ec(e=>{v.current=void 0,h.current===e&&d(h.current)}),_=ec(t=>{if(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX))return;let a=e=>{m.current=e,w(g.current),g.current=e>0?b(()=>{m.current=0,g.current=void 0},300):void 0};if(e===o.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(m.current)){a(t.deltaX);return}if(!n(-t.deltaX))return;if(f.current+=t.deltaX,E(),Math.abs(f.current)>30)f.current=0,a(0),y.current=Date.now(),u();else{let e=f.current;p.current=b(()=>{p.current=void 0,e===f.current&&(f.current=0)},i)}}else if(e===o.SWIPE){let e=h.current-t.deltaX;if(e=Math.min(Math.abs(e),r)*Math.sign(e),h.current=e,c(e),k(),Math.abs(e)>.2*r){a(t.deltaX),s(e,Date.now()-y.current);return}v.current=b(()=>x(e),2*i)}else a(t.deltaX)});a.useEffect(()=>t(l.yq,_),[t,_])}(C,...ek);let ex=ec(()=>{c.focus&&Y().querySelector(`.${h(l.SA)} .${h(eb())}`)&&J()});a.useEffect(ex,[ex]);let e_=ec(()=>{var e;null===(e=s.view)||void 0===e||e.call(s,{index:_.currentIndex})});a.useEffect(e_,[_.globalIndex,e_]),a.useEffect(()=>m(A(l.KN,e=>eE({direction:l.KN,...e})),A(l.Eb,e=>eE({direction:l.Eb,...e})),A(l.Tn,e=>O(e))),[A,eE,O]);let eO=a.useMemo(()=>({prev:en,next:er,close:ei,focus:J,slideRect:B?function(e,t){let n=M(t),r=void 0!==n.percent?e.width/100*n.percent:n.pixel;return{width:Math.max(e.width-2*r,0),height:Math.max(e.height-2*r,0)}}(B,r.padding):{width:0,height:0},containerRect:B||{width:0,height:0},subscribeSensors:I,containerRef:H,setCarouselRef:X,toolbarWidth:k,setToolbarWidth:x}),[en,er,ei,J,I,B,H,X,k,x,r.padding]);return a.useImperativeHandle(c.ref,()=>({prev:en,next:er,close:ei,focus:J,getLightboxProps:ee,getLightboxState:et}),[en,er,ei,J,ee,et]),a.createElement("div",{ref:U,className:d(h(eb()),h(l.aN)),style:{...C===o.SWIPE?{[f("swipe_offset")]:`${Math.round(P.current)}px`}:null,...C===o.PULL?{[f("pull_offset")]:`${Math.round(N.current)}px`,[f("pull_opacity")]:`${R.current}`}:null,..."none"!==c.touchAction?{[f("controller_touch_action")]:c.touchAction}:null,...p.container},...c.aria?{role:"presentation","aria-live":"polite"}:null,tabIndex:-1,...L},B&&a.createElement(ew.Provider,{value:eO}
1,e,null===(n=v.controls)||void 0===n?void 0:n.call(v)))});function eM(e){return p(l.k0,e)}function ex(e){return p("slide",e)}function e_({slide:e,offset:t}){var n,r,i,o;let u;let c=a.useRef(null),{currentIndex:s}=j(),{slideRect:f,close:p,focus:v}=eE(),{render:m,carousel:{imageFit:g,imageProps:y},on:{click:b},controller:{closeOnBackdropClick:E},styles:{slide:k}}=W(),{getOwnerDocument:M}=T(),x=0!==t;return a.useEffect(()=>{var e;x&&(null===(e=c.current)||void 0===e?void 0:e.contains(M().activeElement))&&v()},[x,v,M]),a.createElement("div",{ref:c,className:d(h(ex()),!x&&h(ex("current")),h(l.aN)),inert:S?x:x?"":void 0,onClick:e=>{let t=c.current,n=e.target instanceof HTMLElement?e.target:void 0;E&&n&&t&&(n===t||Array.from(t.children).find(e=>e===n)&&n.classList.contains(h(l.af)))&&p()},style:k},(!(u=null===(n=m.slide)||void 0===n?void 0:n.call(m,{slide:e,offset:t,rect:f}))&&w(e)&&(u=a.createElement(em,{slide:e,offset:t,render:m,rect:f,imageFit:g,imageProps:y,onClick:x?void 0:()=>null==b?void 0:b({index:s})})),u?a.createElement(a.Fragment,null,null===(r=m.slideHeader)||void 0===r?void 0:r.call(m,{slide:e}),(null!==(i=m.slideContainer)&&void 0!==i?i:({children:e})=>e)({slide:e,children:u}),null===(o=m.slideFooter)||void 0===o?void 0:o.call(m,{slide:e})):null))}function eO(){let e=W().styles.slide;return a.createElement("div",{className:h("slide"),style:e})}let eC=N(l.k0,function({carousel:e}){let{slides:t,currentIndex:n,globalIndex:r}=j(),{setCarouselRef:i}=eE(),o=M(e.spacing),u=M(e.padding),l=function(e,t,n=0){return Math.min(e.preload,Math.max(e.finite?t.length-1:Math.floor(t.length/2),n))}(e,t,1),c=[];if(t.length>0)for(let i=n-l;i<=n+l;i+=1){let o=_(t,i),u=r-n+i,a=e.finite&&(i<0||i>t.length-1);c.push(a?{key:u}:{key:[`${u}`,w(o)?o.src:void 0].filter(Boolean).join("|"),offset:i-n,slide:o})}return a.createElement("div",{ref:i,className:d(h(eM()),c.length>0&&h(eM("with_slides"))),style:{[`${f(eM("slides_count"))}`]:c.length,[`${f(eM("spacing_px"))}`]:o.pixel||0,[`${f(eM("spacing_percent"))}`]:o.percent||0,[`${f(eM("padding_px"))}`]:u.pixel||0,[`${f(eM("padding_percent"))}`]:u.percent||0}},c.map(({key:e,slide:t,offset:n})=>t?a.createElement(e_,{key:e,slide:t,offset:n}):a.createElement(eO,{key:e})))});function eS(){let{carousel:e}=W(),{slides:t,currentIndex:n}=j();return{prevDisabled:0===t.length||e.finite&&0===n,nextDisabled:0===t.length||e.finite&&n===t.length-1}}function eP({label:e,icon:t,renderIcon:n,action:r,onClick:i,disabled:o,style:u}){return a.createElement(Q,{label:e,icon:t,renderIcon:n,className:h(`navigation_${r}`),disabled:o,onClick:i,style:u,...function(e,t=!1){let n=a.useRef();return ei(()=>{t&&n.current&&(n.current=!1,e())},[t,e]),{onFocus:a.useCallback(()=>{n.current=!0},[]),onBlur:a.useCallback(()=>{n.current=!1},[])}}(eE().focus,o)})}let eN=N(l.Op,function({render:{buttonPrev:e,buttonNext:t,iconPrev:n,iconNext:r},styles:i}){let{prev:o,next:u,subscribeSensors:c}=eE(),{prevDisabled:s,nextDisabled:d}=eS();return!function(e){var t;let n=eh(),{publish:r}=Z(),{animation:i}=W(),{prevDisabled:o,nextDisabled:u}=eS(),c=(null!==(t=i.navigation)&&void 0!==t?t:i.swipe)/2,s=ef(()=>r(l.KN),c),d=ef(()=>r(l.Eb),c),h=ec(e=>{switch(e.key){case l.PU:r(l.t9);break;case l.Sl:(n?u:o)||(n?d:s)();break;case l.NH:(n?o:u)||(n?s:d)()}});a.useEffect(()=>e(l.ds,h),[e,h])}(c),a.createElement(a.Fragment,null,e?e():a.createElement(eP,{label:"Previous",action:l.KN,icon:ee,renderIcon:n,style:i.navigationPrev,disabled:s,onClick:o}),t?t():a.createElement(eP,{label:"Next",action:l.Eb,icon:et,renderIcon:r,style:i.navigationNext,disabled:d,onClick:u}))}),eR=h(l.Tf),eL=h(l.M9);function eI(e,t,n){let r=window.getComputedStyle(e),i=n?"padding-left":"padding-right",o=n?r.paddingLeft:r.paddingRight,u=e.style.getPropertyValue(i);return e.style.setProperty(i,`${(k(o)||0)+t}px`),()=>{u?e.style.setProperty(i,u):e.style.removeProperty(i)}}let eT=N(l.HE,function({noScroll:{disabled:e},children:t}){let n=eh(),{getOwnerDocument:r,getOwnerWindow:i}=T();return a.useEffect(()=>{if(e)return()=>{};let t=[],o=i(),{body:u,documentElement:a}=r(),l=Math.round(o.innerWidth-a.clientWidth);if(l>0){t.push(eI(u,l,n));let e=u.getElementsByTagName("*");for(let r=0;r<e.length;r+=1){let i=e[r];"style"in i&&"fixed"===o.getComputedStyle(i).getPropertyValue("position")&&!i.classList.contains(eL)&&t.pu
1sh(eI(i,l,n))}}return u.classList.add(eR),()=>{u.classList.remove(eR),t.forEach(e=>e())}},[n,e,r,i]),a.createElement(a.Fragment,null,t)});function eA(e,t,n){let r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}let eD=N(l.SA,function({children:e,animation:t,styles:n,className:r,on:i,portal:o,close:u}){var s;let[v,m]=a.useState(!1),[g,y]=a.useState(!1),b=a.useRef([]),w=a.useRef(null),{setTimeout:E}=K(),{subscribe:k}=Z(),M=eo()?0:t.fade;a.useEffect(()=>(m(!0),()=>{m(!1),y(!1)}),[]);let x=ec(()=>{b.current.forEach(e=>e()),b.current=[]}),_=ec(()=>{var e;y(!1),x(),null===(e=i.exiting)||void 0===e||e.call(i),E(()=>{var e;null===(e=i.exited)||void 0===e||e.call(i),u()},M)});a.useEffect(()=>k(l.t9,_),[k,_]);let O=ec(e=>{var t,n,r;e.scrollTop,y(!0),null===(t=i.entering)||void 0===t||t.call(i);let o=null!==(r=null===(n=e.parentNode)||void 0===n?void 0:n.children)&&void 0!==r?r:[];for(let t=0;t<o.length;t+=1){let n=o[t];-1===["TEMPLATE","SCRIPT","STYLE"].indexOf(n.tagName)&&n!==e&&(b.current.push(eA(n,"inert","")),b.current.push(eA(n,"aria-hidden","true")))}b.current.push(()=>{var e,t;null===(t=null===(e=w.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)}),E(()=>{var e;null===(e=i.entered)||void 0===e||e.call(i)},M)}),C=a.useCallback(e=>{e?O(e):x()},[O,x]);return v?(0,c.createPortal)(a.createElement(eg,{ref:C,className:d(r,h(p(l.SA,void 0)),h(l.M9),g&&h((s="open",p(l.SA,s)))),role:"presentation","aria-live":"polite",style:{...t.fade!==P.animation.fade?{[f("fade_animation_duration")]:`${M}ms`}:null,...t.easing.fade!==P.animation.easing.fade?{[f("fade_animation_timing_function")]:t.easing.fade}:null,...n.root},onFocus:e=>{w.current||(w.current=e.relatedTarget)}},e),o.root||document.body):null}),eZ=N(l.lT,function({children:e}){return a.createElement(a.Fragment,null,e)}),e$=N(l.hb,function({toolbar:{buttons:e},render:{buttonClose:t,iconClose:n},styles:r}){let{close:i,setToolbarWidth:o}=eE(),{setContainerRef:u,containerRect:c}=ea();ei(()=>{o(null==c?void 0:c.width)},[o,null==c?void 0:c.width]);let s=()=>t?t():a.createElement(Q,{key:l.t9,label:"Close",icon:J,renderIcon:n,onClick:i});return a.createElement("div",{ref:u,style:r.toolbar,className:h(p(l.hb,void 0))},null==e?void 0:e.map(e=>e===l.t9?s():e))});function ez({carousel:e,animation:t,render:n,toolbar:r,controller:i,noScroll:o,on:u,plugins:c,slides:s,index:d,...h}){let{animation:f,carousel:p,render:v,toolbar:m,controller:g,noScroll:y,on:b,slides:w,index:E,plugins:M,...x}=P,{config:_,augmentation:O}=function(e,t=[],n=[]){let r=e,i=e=>{let t=[...r];for(;t.length>0;){let n=t.pop();if((null==n?void 0:n.module.name)===e)return!0;(null==n?void 0:n.children)&&t.push(...n.children)}return!1},o=(e,t)=>{if(""===e){r=[R(t,r)];return}r=L(r,e,e=>[R(t,[e])])},u=(e,t)=>{r=L(r,e,e=>[R(e.module,[R(t,e.children)])])},a=(e,t,n)=>{r=L(r,e,e=>{var r;return[R(e.module,[...n?[R(t)]:[],...null!==(r=e.children)&&void 0!==r?r:[],...n?[]:[R(t)]])]})},c=(e,t,n)=>{r=L(r,e,e=>[...n?[R(t)]:[],e,...n?[]:[R(t)]])},s=e=>{u(l.l4,e)},d=(e,t)=>{r=L(r,e,e=>[R(t,e.children)])},h=e=>{r=L(r,e,e=>e.children)},f=e=>{n.push(e)};return t.forEach(e=>{e({contains:i,addParent:o,append:u,addChild:a,addSibling:c,addModule:s,replace:d,remove:h,augment:f})}),{config:r,augmentation:e=>n.reduce((e,t)=>t(e),e)}}([R(eD,[R(eT,[R(ek,[R(eC),R(e$),R(eN)])])])],c||M),C=O({animation:function(e,t={}){let{easing:n,...r}=e,{easing:i,...o}=t;return{easing:{...n,...i},...r,...o}}(f,t),carousel:{...p,...e},render:{...v,...n},toolbar:{...m,...r},controller:{...g,...i},noScroll:{...y,...o},on:{...b,...u},...x,...h});return C.open?a.createElement(H,{...C},a.createElement(V,{slides:s||w,index:k(d||E)},a.createElement(Y,null,a.createElement($,null,function e(t,n){var r;return a.createElement(t.module.component,{key:t.module.name,...n},null===(r=t.children)||void 0===r?void 0:r.map(t=>e(t,n)))}(R(eZ,_),C))))):null}},9621:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(7294),i=n(6249),o=n(6567);let u={separator:"/",container:{}},a=e=>({...u,...e});function l({counter:e}){let{slides:t,currentIndex:n}=(0,i.oc)(),{separator:o,container:{className:u,...l},className:c,...s}=a(e);return 0===t.length?null:r.createElement("div",{className:(0,i.Wy)((0,i.Nc)("counter"),u||c),...s,...l},n+1," ",o," ",t.length)}function c({augment:e,addChild:t}){e(({counter:e,...t})=>({counter:a(e),...t})),t(o.l4,(0,i.l6)(o.mH,l))}},5644:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(7294),i=n(6249),o=n(6567);let u={maxZoomPixelRatio:1,zoomInMultiplier:2,doubleTapDelay:300,doubleClickDelay:500,doubleClickMaxStops:2,keyboardMoveDistance:50,wheelZoomDistanceFactor:100,pinchZoomDistanceFactor:100,scrollToZoom:!1},a=e=>({...u,...e});function l(){let{zoom:e}=(0,i.RD)();return a(e)}function c(e,t){return((e.clientX-t.clientX)**2+(e.clientY-t.clientY)**2)**.5}function s(e,t,n=100,r=2){return e*Math.min(1+Math.abs(t/n),r)**Math.sign(t)}let d=r.createContext(null),h=(0,i.Fy)("useZoom","ZoomControllerContext",d);function f({children:e}){let[t,n]=r.useState(),{slideRect:u}=(0,i.bc)(),{imageRect:a,maxZoom:h}=function(e,t){var n,r;let o={width:0,height:0},u={width:0,height:0},{currentSlide:a}=(0,i.oc)(),{imageFit:c}=(0,i.RD)().carousel,{maxZoomPixelRatio:s}=l();if(e&&a){let l={...a,...t};if((0,i.QB)(l)){let t=(0,i.VI)(l,c),a=Math.max(...((null===(n=l.srcSet)||void 0===n?void 0:n.map(e=>e.width))||[]).concat(l.width?[l.width]:[])),d=Math.max(...((null===(r=l.srcSet)||void 0===r?void 0:r.map(e=>e.height))||[]).concat(l.height?[l.height]:[]));a>0&&d>0&&e.width>0&&e.height>0&&(u={width:(u=t?{width:Math.round(Math.min(a,e.width/e.height*d)),height:Math.round(Math.min(d,e.height/e.width*a))}:{width:a,height:d}).width*s,height:u.height*s},o=t?{width:Math.min(e.width,u.width,a),height:Math.min(e.height,u.height,d)}:{width:Math.round(Math.min(e.width,e.height/d*a,a)),height:Math.round(Math.min(e.height,e.width/a*d,d))})}}let d=o.width?Math.max((0,i.NM)(u.width/o.width,5),1):1;return{imageRect:o,maxZoom:d}}(u,null==t?void 0:t.imageDimensions),{zoom:f,offsetX:p,offsetY:v,disabled:m,changeZoom:g,changeOffsets:y,zoomIn:b,zoomOut:w}=function(e,t,n){let[o,u]=r.useState(1),[a,c]=r.useState(0),[s,d]=r.useState(0),h=function(e,t,n,o){let u=r.useRef(),a=r.useRef(),{zoom:l}=(0,i.RD)().animation,c=(0,i.OL)(),s=(0,i.$0)(()=>{var r,i,s;if(null===(r=u.current)||void 0===r||r.cancel(),u.current=void 0,a.current&&(null==o?void 0:o.current)){try{u.current=null===(s=(i=o.current).animate)||void 0===s?void 0:s.call(i,[{transform:a.current},{transform:`scale(${e}) translateX(${t}px) translateY(${n}px)`}],{duration:c?0:null!=l?l:500,easing:u.current?"ease-out":"ease-in-out"})}catch(e){console.error(e)}a.current=void 0,u.current&&(u.current.onfinish=()=>{u.current=void 0})}});return(0,i.bt)(s,[e,t,n,s]),r.useCallback(()=>{a.current=(null==o?void 0:o.current)?window.getComputedStyle(o.current).transform:void 0},[o])}(o,a,s,n),{currentSlide:f,globalIndex:p}=(0,i.oc)(),{containerRect:v,slideRect:m}=(0,i.bc)(),{zoomInMultiplier:g}=l(),y=f&&(0,i.QB)(f)?f.src:void 0,b=!y||!(null==n?void 0:n.current);(0,i.bt)(()=>{u(1),c(0),d(0)},[p,y]);let w=r.useCallback((t,n,r)=>{let i=r||o,u=a-(t||0),l=s-(n||0),h=(e.width*i-m.width)/2/i,f=(e.height*i-m.height)/2/i;c(Math.min(Math.abs(u),Math.max(h,0))*Math.sign(u)),d(Math.min(Math.abs(l),Math.max(f,0))*Math.sign(l))},[o,a,s,m,e.width,e.height]),E=r.useCallback((e,n,r,a)=>{let l=(0,i.NM)(Math.min(Math.max(e+.001<t?e:t,1),t),5);l!==o&&(n||h(),w(r?r*(1/o-1/l):0,a?a*(1/o-1/l):0,l),u(l))},[o,t,w,h]),k=(0,i.$0)(()=>{o>1&&(o>t&&E(t,!0),w())});(0,i.bt)(k,[v.width,v.height,k]);let M=r.useCallback(()=>E(o*g),[o,g,E]),x=r.useCallback(()=>E(o/g),[o,g,E]);return{zoom:o,offsetX:a,offsetY:s,disabled:b,changeOffsets:w,changeZoom:E,zoomIn:M,zoomOut:x}}(a,h,null==t?void 0:t.zoomWrapperRef);!function(e,t){let{on:n}=(0,i.RD)(),o=(0,i.$0)(()=>{var r;t||null===(r=n.zoom)||void 0===r||r.call(n,{zoom:e})});r.useEffect(o,[e,o])}(f,m),function(e,t,n,u,a,d){let h=r.useRef([]),f=r.useRef(0),p=r.useRef(),{globalIndex:v}=(0,i.oc)(),{getOwnerWindow:m}=(0,i.tS)(),{containerRef:g,subscribeSensors:y}=(0,i.bc)(),{keyboardMoveDistance:b,zoomInMultiplier:w,wheelZoomDistanceFactor:E,scrollToZoom:k,doubleTapDelay:M,doubleClickDelay:x,doubleClickMaxStops:_,pinchZoomDistanceFactor:O}=l(),C=r.useCallback(e=>{if(g.current){let{pageX:t,pageY:n}=e,{scrollX:r,scrollY:i}=m(),{left:o,top:u,width:a,height:l}=g.current.getBoundingClientRect();return[t-o-r-a/2,n-u-i-l/2]}return[]},[g,m]),S=(0,i.$0)(t=>{let n=()=>{t.preventDefault(),t.stopPropagation()};if(e>1){let e=(e,t)=>
1{n(),a(e,t)};"ArrowDown"===t.key?e(0,b):"ArrowUp"===t.key?e(0,-b):"ArrowLeft"===t.key?e(-b,0):"ArrowRight"===t.key&&e(b,0)}let r=e=>{n(),u(e)},i=()=>t.getModifierState("Meta");"+"===t.key||"="===t.key&&i()?r(e*w):"-"===t.key||"_"===t.key&&i()?r(e/w):"0"===t.key&&i()&&r(1)}),P=(0,i.$0)(t=>{if((t.ctrlKey||k)&&Math.abs(t.deltaY)>Math.abs(t.deltaX)){t.stopPropagation(),u(s(e,-t.deltaY,E),!0,...C(t));return}e>1&&(t.stopPropagation(),k||a(t.deltaX,t.deltaY))}),N=r.useCallback(e=>{let t=h.current;t.splice(0,t.length,...t.filter(t=>t.pointerId!==e.pointerId))},[]),R=r.useCallback(e=>{N(e),e.persist(),h.current.push(e)},[N]),L=(0,i.$0)(n=>{var r;let i=h.current;if("mouse"===n.pointerType&&n.buttons>1||!(null===(r=null==d?void 0:d.current)||void 0===r?void 0:r.contains(n.target)))return;e>1&&n.stopPropagation();let{timeStamp:o}=n;0===i.length&&o-f.current<("touch"===n.pointerType?M:x)?(f.current=0,u(e!==t?e*Math.max(t**(1/_),w):1,!1,...C(n))):f.current=o,R(n),2===i.length&&(p.current=c(i[0],i[1]))}),I=(0,i.$0)(t=>{let n=h.current,r=n.find(e=>e.pointerId===t.pointerId);if(2===n.length&&p.current){t.stopPropagation(),R(t);let r=c(n[0],n[1]),i=r-p.current;Math.abs(i)>0&&(u(s(e,i,O),!0,...n.map(e=>C(e)).reduce((e,t)=>t.map((t,n)=>e[n]+t/2))),p.current=r);return}e>1&&(t.stopPropagation(),r&&(1===n.length&&a((r.clientX-t.clientX)/e,(r.clientY-t.clientY)/e),R(t)))}),T=r.useCallback(e=>{let t=h.current;2===t.length&&t.find(t=>t.pointerId===e.pointerId)&&(p.current=void 0),N(e)},[N]),A=r.useCallback(()=>{let e=h.current;e.splice(0,e.length),f.current=0,p.current=void 0},[]);(0,i.bQ)(y,L,I,T,n),r.useEffect(A,[v,A]),r.useEffect(()=>n?()=>{}:(0,i.Eq)(A,y(o.ds,S),y(o.yq,P)),[n,y,A,S,P])}(f,h,m,g,y,null==t?void 0:t.zoomWrapperRef);let E=r.useMemo(()=>({zoom:f,maxZoom:h,offsetX:p,offsetY:v,disabled:m,zoomIn:b,zoomOut:w,changeZoom:g}),[f,h,p,v,m,b,w,g]);r.useImperativeHandle(l().ref,()=>E,[E]);let k=r.useMemo(()=>({...E,setZoomWrapper:n}),[E,n]);return r.createElement(d.Provider,{value:k},e)}let p=(0,i.U2)("ZoomIn",r.createElement(r.Fragment,null,r.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),r.createElement("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"}))),v=(0,i.U2)("ZoomOut",r.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14zM7 9h5v1H7z"})),m=r.forwardRef(function({zoomIn:e,onLoseFocus:t},n){let o=r.useRef(!1),u=r.useRef(!1),{zoom:a,maxZoom:l,zoomIn:c,zoomOut:s,disabled:d}=h(),{render:f}=(0,i.RD)(),m=d||(e?a>=l:a<=1);return r.useEffect(()=>{m&&o.current&&u.current&&t(),m||(o.current=!0)},[m,t]),r.createElement(i.hU,{ref:n,disabled:m,label:e?"Zoom in":"Zoom out",icon:e?p:v,renderIcon:e?f.iconZoomIn:f.iconZoomOut,onClick:e?c:s,onFocus:()=>{u.current=!0},onBlur:()=>{u.current=!1}})});function g(){let e=r.useRef(null),t=r.useRef(null),{focus:n}=(0,i.bc)(),o=r.useCallback(e=>{var t,r;(null===(t=e.current)||void 0===t?void 0:t.disabled)?n():null===(r=e.current)||void 0===r||r.focus()},[n]),u=r.useCallback(()=>o(e),[o]),a=r.useCallback(()=>o(t),[o]);return r.createElement(r.Fragment,null,r.createElement(m,{zoomIn:!0,ref:e,onLoseFocus:a}),r.createElement(m,{ref:t,onLoseFocus:u}))}function y(){let{render:e}=(0,i.RD)(),t=h();
1return e.buttonZoom?r.createElement(r.Fragment,null,e.buttonZoom(t)):r.createElement(g,null)}function b({current:e,preload:t},{type:n,source:r}){switch(n){case"fetch":if(!e)return{current:r};return{current:e,preload:r};case"done":if(r===t)return{current:r};return{current:e,preload:t};default:throw Error(o.c3)}}function w(e){var t,n;let[{current:o,preload:u},a]=r.useReducer(b,{}),{slide:l,rect:c,imageFit:s,render:d,interactive:h}=e,f=l.srcSet.sort((e,t)=>e.width-t.width),p=null!==(t=l.width)&&void 0!==t?t:f[f.length-1].width,v=null!==(n=l.height)&&void 0!==n?n:f[f.length-1].height,m=(0,i.VI)(l,s),g=Math.max(...f.map(e=>e.width)),y=Math.min((m?Math.max:Math.min)(c.width,c.height/v*p),g),w=(0,i.KL)(),E=(0,i.$0)(()=>{var e;let t=null!==(e=f.find(e=>e.width>=y*w))&&void 0!==e?e:f[f.length-1];(!o||f.findIndex(e=>e.src===o)<f.findIndex(e=>e===t))&&a({type:"fetch",source:t.src})});(0,i.bt)(E,[c.width,c.height,w,E]);let k=(0,i.$0)(e=>a({type:"done",source:e})),M={WebkitTransform:h?"initial":"translateZ(0)"};return m||Object.assign(M,c.width/c.height<p/v?{width:"100%",height:"auto"}:{width:"auto",height:"100%"}),r.createElement(r.Fragment,null,u&&u!==o&&r.createElement(i.P0,{key:"preload",...e,slide:{...l,src:u,srcSet:void 0},style:{position:"absolute",visibility:"hidden",...M},onLoad:()=>k(u),render:{...d,iconLoading:()=>null,iconError:()=>null}}),o&&r.createElement(i.P0,{key:"current",...e,slide:{...l,src:o,srcSet:void 0},style:M}))}function E({render:e,slide:t,offset:n,rect:u}){var a,l;let[c,s]=r.useState(),d=r.useRef(null),{zoom:f,maxZoom:p,offsetX:v,offsetY:m,setZoomWrapper:g}=h(),y=f>1,{carousel:b,on:E}=(0,i.RD)(),{currentIndex:k}=(0,i.oc)();(0,i.bt)(()=>0===n?(g({zoomWrapperRef:d,imageDimensions:c}),()=>g(void 0)):()=>{},[n,c,g]);let M=null===(a=e.slide)||void 0===a?void 0:a.call(e,{slide:t,offset:n,rect:u,zoom:f,maxZoom:p});if(!M&&(0,i.QB)(t)){let o={slide:t,offset:n,rect:u,render:e,imageFit:b.imageFit,imageProps:b.imageProps,onClick:0===n?()=>{var e;return null===(e=E.click)||void 0===e?void 0:e.call(E,{index:k})}:void 0};M=((null===(l=t.srcSet)||void 0===l?void 0:l.length)||0)>0?r.createElement(w,{...o,slide:t,interactive:y,rect:0===n?{width:u.width*f,height:u.height*f}:u}):r.createElement(i.P0,{onLoad:e=>s({width:e.naturalWidth,height:e.naturalHeight}),...o})}return M?r.createElement("div",{ref:d,className:(0,i.Wy)((0,i.Nc)(o.yS),(0,i.Nc)(o.aN),(0,i.Nc)(o.af),y&&(0,i.Nc)(o.ZZ)),style:0===n?{transform:`scale(${f}) translateX(${v}px) translateY(${m}px)`}:void 0},M):null}let k=({augment:e,addModule:t})=>{e(({zoom:e,toolbar:t,render:n,controller:u,...l})=>{let c=a(e);return{zoom:c,toolbar:(0,i.wQ)(t,o.xc,r.createElement(y,null)),render:{...n,slide:e=>{var t;return(0,i.QB)(e.slide)?r.createElement(E,{render:n,...e}):null===(t=n.slide)||void 0===t?void 0:t.call(n,e)}},controller:{...u,preventDefaultWheelY:c.scrollToZoom},...l}}),t((0,i.l6)(o.xc,f))}},6567:function(e,t,n){"use strict";n.d(t,{$L:function(){return v},Bm:function(){return I},Eb:function(){return x},HE:function(){return u},J1:function(){return m},KN:function(){return M},M9:function(){return w},N4:function(){return S},NH:function(){return Z},NZ:function(){return C},Op:function(){return o},PU:function(){return A},S2:function(){return P},SA:function(){return a},Sl:function(){return D},Tf:function(){return b},Tn:function(){return _},Vt:function(){return R},Xe:function(){return h},ZZ:function(){return k},Zv:function(){return p},aN:function(){return y},af:function(){return E},bg:function(){return $},c3:function(){return F},ds:function(){return L},fS:function(){return f},hb:function(){return c},j3:function(){return W},k0:function(){return r},l4:function(){return i},lT:function(){return l},mH:function(){return s},pE:function(){return N},rO:function(){return H},t9:function(){return O},vg:function(){return z},xc:function(){return d},yS:function(){return g},yq:function(){return T}});let r="carousel",i="controller",o="navigation",u="no-scroll",a="portal",l="root",c="toolbar",s="counter",d="zoom",h="loading",f="error",p="complete",v="placeholder",m=e=>`active-slide-${e}`;m(h),m("playing"),m(f),m(p);let g="fullsize",y="flex_center",b="no_scroll",w="no_scroll_padding",E="slide_wrapper",k="slide_wrapper_interactive",M="prev",x="next",_="swipe",O="close",C="onPointerDown",S="onPointerMove",P="onPointerUp",N="onPointerLeave",R="onPointerCancel",L="onKeyDown",I="onKeyUp",T="onWheel",A="Escape",D="ArrowLeft",Z="ArrowRight",$="button",z="icon",W="contain",H="cover",F="Unknown action type"}}]);

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.