"use strict";(("undefined"!=typeof self?self:this).webpackJsonp__wix_ricos_viewer_ooi=("undefined"!=typeof self?self:this).webpackJsonp__wix_ricos_viewer_ooi||[]).push([[1124],{1124:(e,t,i)=>{i.d(t,{c:()=>$});var r=i(3264),o=i.n(r),s=i(1112),a=i.n(s),n=i(4328),c=i(2060),d=i.n(c),l={},{STATIC_MEDIA_URL:h}=n,u=({fittingType:e,src:t,target:i,options:r})=>{const o=n.getPlaceholder(e,t,i,{...r,autoEncode:!0});return o?.uri&&!/^[a-z]+:/.test(o.uri)&&(o.uri=`${h}${o.uri}`),o},m=/^[a-z]+:/,g=e=>{const{id:t,containerId:i,uri:r,alt:o,name:a="",role:n,width:c,height:d,displayMode:g,devicePixelRatio:f,quality:p,alignType:v,bgEffectName:y="",focalPoint:b,upscaleMethod:E,className:w="",crop:S,imageStyles:I={},targetWidth:x,targetHeight:_,targetScale:O,onLoad:T=(()=>{}),onError:A=(()=>{}),shouldUseLQIP:M,containerWidth:L,containerHeight:R,getPlaceholder:H,isInFirstFold:P,placeholderTransition:C,socialAttrs:U,isSEOBot:z,skipMeasure:N,hasAnimation:W,encoding:D}=e,G=s.useRef(null);let k="";const $="blur"===C,B=s.useRef(null);if(!B.current)if(H||M||P||z){const e={upscaleMethod:E,...p||{},shouldLoadHQImage:P,isSEOBot:z,hasAnimation:W,encoding:D};B.current=(H||u)({fittingType:g,src:{id:r,width:c,height:d,crop:S,name:a,focalPoint:b},target:{width:L,height:R,alignment:v,htmlTag:"img"},options:e}),k=!B.current.transformed||P||z?"":"true"}else B.current={uri:void 0,css:{img:{}},attr:{img:{},container:{}},transformed:!1};const F=!z&&(H||M)&&!P&&B.current.transformed,q=s.useMemo((()=>JSON.stringify({containerId:i,...i&&{containerId:i},...v&&{alignType:v},...N&&{skipMeasure:!0},displayMode:g,...L&&{targetWidth:L},...R&&{targetHeight:R},...x&&{targetWidth:x},..._&&{targetHeight:_},...O&&{targetScale:O},isLQIP:F,isSEOBot:z,lqipTransition:C,encoding:D,imageData:{width:c,height:d,uri:r,name:a,displayMode:g,hasAnimation:W,...p&&{quality:p},...f&&{devicePixelRatio:f},...b&&{focalPoint:b},...S&&{crop:S},...E&&{upscaleMethod:E}}})),[i,v,N,g,L,R,x,_,O,F,z,C,D,c,d,r,a,W,p,f,b,S,E]),Q=B.current,j=Q?.uri,J=Q?.srcset,V=Q.css?.img,K=`${l.image} ${w}`;s.useEffect((()=>{const e=G.current;T&&e?.currentSrc&&e?.complete&&T({target:e})}),[]);const Y=Q&&!Q?.transformed?`max(${c}px, 100%)`:x?`${x}px`:null;return s.createElement("wow-image",{id:t,class:K,"data-image-info":q,"data-motion-part":"BG_IMG","data-bg-effect-name":y,"data-has-ssr-src":k,"data-animate-blur":!z&&F&&$?"":void 0,style:Y?{"--wix-img-max-width":Y}:{}},s.createElement("img",{src:j,ref:G,alt:o||"",role:n,style:{...V,...I},onLoad:T,onError:A,width:L||void 0,height:R||void 0,...U,srcSet:P?J?.dpr?.map((e=>m.test(e)?e:`${h}${e}`)).join(", "):void 0,fetchpriority:P?"high":void 0,loading:!1===P?"lazy":void 0,suppressHydrationWarning:!0}))},f={columnCount:1,columns:1,fontWeight:1,lineHeight:1,opacity:1,zIndex:1,zoom:1},p=(e,t)=>(Array.isArray(t)?t:[t]).reduce(((t,i)=>{const r=e[i];return void 0!==r?Object.assign(t,{[i]:r}):t}),{}),v=(e,t)=>e&&t&&Object.keys(t).forEach((i=>{const r=i,o=t[r];void 0!==o?e.style[r]=((e,t)=>"number"!=typeof t||f[e]?t.toString():`${t}px`)(r,o):e.style.removeProperty(r)})),y=(e,t,i)=>{if(!e.targetWidth||!e.targetHeight||!e.imageData.uri)return{uri:"",css:{},transformed:!1};const{imageData:r}=e,o=e.displayMode||n.fittingTypes.SCALE_TO_FILL,s=Object.assign(p(r,["upscaleMethod"]),p(e,["filters","encoding"]),e.quality||r.quality,{hasAnimation:e?.hasAnimation||r?.hasAnimation}),a=e.imageData.devicePixelRatio||t.devicePixelRatio,c=E(a),d=Object.assign(p(r,["width","height","crop","name","focalPoint"]),{id:r.uri}),l={width:e.targetWidth,height:e.targetHeight,htmlTag:i||"img",pixelAspectRatio:c,alignment:e.alignType||n.alignTypes.CENTER},h=(0,n.getData)(o,d,l,s);return h.uri=b(h.uri,t.staticMediaUrl,t.mediaRootUrl),h},b=(e,t,i)=>{if(/(^https?)|(^data)|(^blob)|(^\/\/)/.test(e))return e;let r=`${t}/`;return e&&(/^micons\//.test(e)?r=i:"ico"===/[^.]+$/.exec(e)?.[0]&&(r=r.replace("media","ficons"))),r+e},E=e=>{const t=window.location.search.split("&").map((e=>e.split("="))).find((e=>e[0]?.toLowerCase().includes("devicepixelratio")));return(t?.[1]?Number(t[1]):null)||e||1},w=e=>e.getAttribute("src"),S=80;var I={measure:function(e,t,i,{containerElm:r,bgEffect:o="none",sourceSets:s},a){const n=i.image,c=i[e],d=(l=a.getScreenHeightOverride?.(),l||document.documentElement.clientHeight||window.innerHeight||0);var l;const h=r?.dataset.mediaHeightOverrideType,u=o&&"none"!==o||s&&s.some((e=>e.scrollEffect)),m=r&&u?r:c,g=window.getComputedStyle(c).getPropertyValue("--bg-scrub-effect"),{width:f,height:p}=a.getMediaDimensionsByEffect?.(g||o,m.offsetWidth,m.offsetHeight,d)||{width:c.offsetWidth,height:c.offsetHeight};if(s&&(t.sourceSetsTargetHeights=function(e,t,i,r,o){const s={};return e.forEach((({mediaQuery:e,scrollEffect:a})=>{s[e]=o.getMediaDimensionsByEffect(a,t,i,r).height})),s}(s,m.offsetWidth,m.offsetHeight,d,a)),!n)return;const v=w(n);g&&(t.top=.5*(c.offsetHeight-p),t.left=.5*(c.offsetWidth-f)),t.width=f,t.height=function(e,t){return"fixed"===t||"viewport"===t?document.documentElement.clientHeight+S:e}(p,h),t.screenHeight=d,t.imgSrc=v,t.boundingRect=c.getBoundingClientRect(),t.mediaHeightOverrideType=h,t.srcset=n.srcset},patch:function(e,t,i,r,o,s,a,c,d){if(!Object.keys(t).length)return;const{imageData:l}=r,h=i[e],u=i.image;c&&(l.devicePixelRatio=1);const m=r.targetScale||1,g={...r,...!r.skipMeasure&&{targetWidth:(t.width||0)*m,targetHeight:(t.height||0)*m},displayMode:l.displayMode},f=y(g,o,"img"),p=f?.css?.img||{},b=function(e,t,i,r,o){const s=function(e,t=1){return 1!==t?{...e,width:"100%",height:"100%"}:e}(t,r);if(o&&(delete s.height,s.width="100%"),!e)return s;const a={...s};return"fill"===i?(a.position="absolute",a.top="0"):"fit"===i&&(a.height="100%"),"fixed"===e&&(a["will-change"]="transform"),a.objectPosition&&(a.objectPosition=t.objectPosition.replace(/(center|bottom)$/,"top")),a}(t.mediaHeightOverrideType,p,l.displayMode,m,a);v(u,b),(t.top||t.left)&&v(h,{top:`${t.top}px`,left:`${t.left}px`});const E=f?.uri||"",w=l?.hasAnimation||r?.hasAnimation,S=function(e,t,i){const{sourceSets:r}=t;if(!r||!r.length)return;const o={};return r.forEach((({mediaQuery:r,crop:s,focalPoint:a})=>{const n={...t,targetHeight:(e.sourceSetsTargetHeights||{})[r]||0,imageData:{...t.imageData,crop:s,focalPoint:a}},c=y(n,i,"img");o[r]=c.uri||""})),o}(t,g,o);if(d&&(u.dataset.ssrSrcDone="true"),r.isLQIP&&r.lqipTransition&&!("transitioned"in h.dataset)&&(h.dataset.transitioned="",u.complete?u.onload=function(){u.dataset.loadDone=""}:u.onload=function(){u.complete?u.dataset.loadDone="":u.onload=function(){u.dataset.loadDone=""}}),s){((e,t)=>(0,n.getFileExtension)(e)===n.fileType.GIF||(0,n.getFileExtension)(e)===n.fileType.WEBP&&t)(l.uri,w)?(u.setAttribute("fetchpriority","low"),u.setAttribute("loading","lazy"),u.setAttribute("decoding","async")):u.setAttribute("fetchpriority","high"),u.currentSrc!==E&&u.setAttribute("src",E);t.srcset&&!t.srcset.split(", ").some((e=>e.split(" ")[0]===E))&&u.setAttribute("srcset",E),i.picture&&g.sourceSets&&Array.from(i.picture.querySelectorAll("source")).forEach((e=>{const t=e.media||"",i=S?.[t];e.srcset!==i&&e.setAttribute("srcset",i||"")}))}}},x={parallax:"ImageParallax",fixed:"ImageReveal"};var _=function(e,t,i){return class extends i.HTMLElement{constructor(){super(),this.childListObserver=null,this.timeoutId=null}attributeChangedCallback(e,t){t&&this.reLayout()}connectedCallback(){t.disableImagesLazyLoading?this.reLayout():this.observeIntersect()}disconnectedCallback(){this.unobserveResize(),this.unobserveIntersect(),this.unobserveChildren()}static get observedAttributes(){return["data-image-info"]}reLayout(){const r={},o={},s=this.getAttribute("id"),a=JSON.parse(this.dataset.imageInfo||""),n="true"===this.dataset.isResponsive,{bgEffectName:c}=this.dataset,{scrollEffect:d}=a.imageData,{sourceSets:l}=a,h=c||d&&x[d];l&&l.length&&l.forEach((e=>{e.scrollEffect&&(e.scrollEffect=x[e.scrollEffect])})),r[s]=this,a.containerId&&(r[a.containerId]=i.document.getElementById(`${a.containerId}`));const u=a.containerId?r[a.containerId]:void 0;if(r.image=this.querySelector("img"),r.picture=this.querySelector("picture"),!r.image){const e=this;return void this.observeChildren(e)}this.unobserveChildren(),this.observeChildren(this),e.mutationService.measure((()=>{I.measure(s,o,r,{containerElm:u,bgEffect:h,sourceSets:l},e)}));const m=(i,c)=>{e.mutationService.mutate((()=>{I.patch(s,o,r,a,t,i,n,h,c)}))},g=r.image,f=this.dataset.hasSsrSrc&&!g.dataset.ssrSrcDone;!w(g)||f?m(!0,!0):this.debounceImageLoad(m)}debounceImageLoad(e){clearTimeout(this.timeoutId),this.timeoutId=i.setTimeout((()=>{e(!0)}),250),e(!1)}observeResize(){e.resizeService?.observe(this)}unobserveResize(){e.resizeService?.unobserve(this)}observeIntersect(){e.intersectionService?.observe(this)}unobserveIntersect(){e.intersectionService?.unobserve(this)}observeChildren(e){this.childListObserver||(this.childListObserver=new i.MutationObserver((()=>{this.reLayout()}))),this.childListObserver.observe(e,{childList:!0})}unobserveChildren(){this.childListObserver&&(this.childListObserver.disconnect(),this.childListObserver=null)}}};function O(e={},t=null,i={}){if("undefined"==typeof window)return;const r={staticMediaUrl:"https://static.wixstatic.com/media",mediaRootUrl:"https://static.wixstatic.com",experiments:{},devicePixelRatio:/iemobile/i.test(navigator.userAgent)?Math.round(window.screen.availWidth/(window.screen.width||window.document.documentElement.clientWidth)):window.devicePixelRatio,...i},o=function(e,t){const i="wow-image";if(void 0===(e=e||window).customElements.get(i)){let r,o;return e.ResizeObserver&&(r=new e.ResizeObserver((e=>e.map((e=>e.target.reLayout()))))),e.IntersectionObserver&&(o=new IntersectionObserver((e=>e.map((e=>{if(e.isIntersecting){const t=e.target;t.unobserveIntersect(),t.observeResize()}return e}))),{rootMargin:"150% 100%"})),function(s){const a=_({resizeService:r,intersectionService:o,mutationService:d(),...t},s,e);e.customElements.define(i,a)}}}(t,e);o&&o(r)}var T=i(6300),A="bcdade60";(()=>{var e="._1GMOc{display:block;height:100%;width:100%}._1GMOc img{max-width:var(--wix-img-max-width,100%)}._1GMOc[data-animate-blur] img{filter:blur(9px);transition:filter .8s ease-in}._1GMOc[data-animate-blur] img[data-load-done]{filter:none}";if(!(void 0!==T&&T.env,"undefined"==typeof document||document.querySelector('style[data-ricos-style-hash="'+A+'"]'))){var t=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.setAttribute("data-ricos-style-hash",A),i.type="text/css",t.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}})();var M="_1GMOc",L=i(6188),R=i(7828);var H=e=>a().createElement("svg",{width:13,height:13,viewBox:"0 0 13 13",...e},a().createElement("path",{fill:"currentColor",d:"M6.5 13a6.5 6.5 0 1 1 0-13 6.5 6.5 0 0 1 0 13zm0-.867A5.633 5.633 0 1 0 6.5.867a5.633 5.633 0 0 0 0 11.266zm-.3-3.132h.599c.11 0 .2.09.2.2V9.8a.2.2 0 0 1-.2.2H6.2a.2.2 0 0 1-.2-.2v-.599c0-.11.09-.2.2-.2zM6.2 3h.6c.11 0 .2.09.2.2v4.6a.2.2 0 0 1-.2.2h-.6a.2.2 0 0 1-.2-.2V3.2c0-.11.09-.2.2-.2z"})),P=i(6300),C="a8e38c04";(()=>{var e=".CJASS{align-items:center;color:#fff;display:flex;height:100%;justify-content:center;position:absolute;top:0;width:100%}[dir] .CJASS{background:rgba(0,0,0,.5);text-align:center}.X8W49{height:20px;width:20px}[dir] .BoYYr{margin-bottom:56px}.fJ4Wf{font-size:16px;line-height:24px;position:absolute}";if(!(void 0!==P&&P.env,"undefined"==typeof document||document.querySelector('style[data-ricos-style-hash="'+C+'"]'))){var t=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.setAttribute("data-ricos-style-hash",C),i.type="text/css",t.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}})();var U="CJASS",z="X8W49",N="BoYYr",W="fJ4Wf";const D={[L.MediaUploadErrorKey.GENERIC]:"UploadFile_Error_Generic_Item",[L.MediaUploadErrorKey.QUOTA_STORAGE_VISITOR]:"UploadFile_Error_Generic_Item",[L.MediaUploadErrorKey.QUOTA_STORAGE_OWNER]:"UploadFile_Error_Generic_Item",[L.MediaUploadErrorKey.QUOTA_VIDEO_VISITOR]:"UploadFile_Error_Generic_Item",[L.MediaUploadErrorKey.QUOTA_VIDEO_OWNER]:"UploadFile_Error_Generic_Item",[L.MediaUploadErrorKey.SIZE_LIMIT]:"UploadFile_Error_Size_Item"};var G=e=>{const{error:t,t:i,isTooltip:r}=e,s=t.key&&i?.(D[t.key])||t.msg||i?.("UploadFile_Error_Generic_Item"),n=o()(z,!r&&N);return a().createElement("div",{className:U},r?a().createElement(R.c,{content:s,isError:!0},a().createElement(H,{className:n})):a().createElement(a().Fragment,null,a().createElement(H,{className:n}),a().createElement("div",{className:W},s)))};let k=!1;var $=e=>{k||(O(),k=!0);const{containerProps:t,error:i,...r}=e,[n,c]=a().useState(!0);return(0,s.useEffect)((()=>{const e=()=>{c(!1)};return window.addEventListener("beforeprint",e),()=>{window.removeEventListener("beforeprint",e)}}),[]),a().createElement("div",{style:t?.style,id:t?.containerId,className:t?.className,"data-hook":t?.dataHook},a().createElement(g,{...r,className:o()(M,r.className),shouldUseLQIP:n}),i&&a().createElement(G,{error:i.message,t:i.t}))}}}]); //# sourceMappingURL=1124.chunk.min.js.map