!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define("rb_wixui.thunderbolt_bootstrap-classic",["react"],t):"object"==typeof exports?exports["rb_wixui.thunderbolt_bootstrap-classic"]=t(require("react")):e["rb_wixui.thunderbolt_bootstrap-classic"]=t(e.React)}("undefined"!=typeof self?self:this,(function(e){return function(){var t={96114:function(e,t,a){var n;!function(t){"use strict";var i=function(){},r=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.msRequestAnimationFrame||function(e){return setTimeout(e,16)};function o(){var e=this;e.reads=[],e.writes=[],e.raf=r.bind(t),i("initialized",e)}function s(e){e.scheduled||(e.scheduled=!0,e.raf(c.bind(null,e)),i("flush scheduled"))}function c(e){i("flush");var t,a=e.writes,n=e.reads;try{i("flushing reads",n.length),e.runTasks(n),i("flushing writes",a.length),e.runTasks(a)}catch(e){t=e}if(e.scheduled=!1,(n.length||a.length)&&s(e),t){if(i("task errored",t.message),!e.catch)throw t;e.catch(t)}}function l(e,t){var a=e.indexOf(t);return!!~a&&!!e.splice(a,1)}o.prototype={constructor:o,runTasks:function(e){var t;for(i("run tasks");t=e.shift();)t()},measure:function(e,t){i("measure");var a=t?e.bind(t):e;return this.reads.push(a),s(this),a},mutate:function(e,t){i("mutate");var a=t?e.bind(t):e;return this.writes.push(a),s(this),a},clear:function(e){return i("clear",e),l(this.reads,e)||l(this.writes,e)},extend:function(e){if(i("extend",e),"object"!=typeof e)throw new Error("expected object");var t=Object.create(this);return function(e,t){for(var a in t)t.hasOwnProperty(a)&&(e[a]=t[a])}(t,e),t.fastdom=this,t.initialize&&t.initialize(),t},catch:null};var d=t.fastdom=t.fastdom||new o;void 0===(n=function(){return d}.call(d,a,d,e))||(e.exports=n)}("undefined"!=typeof window?window:void 0!==this?this:globalThis)},5329:function(t){"use strict";t.exports=e},448:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t.keyCode===e&&(t.preventDefault(),t.stopPropagation(),t.currentTarget.click())}}const d=l(32),u=l(s),h=e=>{u(e),d(e)},m=(l(c),["aria-id","aria-metadata","aria-type"]),g=(e,t)=>Object.entries(e).reduce(((e,[a,n])=>(t.includes(a)||(e[a]=n),e)),{}),p=e=>{const{role:t,tabIndex:a,tabindex:n,screenReader:i,lang:r,ariaAttributes:o={}}=e,s=Object.entries(o).reduce(((e,[t,a])=>({...e,[`aria-${t}`.toLowerCase()]:a})),{});return{role:t,tabIndex:a??n,screenReader:i,ariaAttributes:g(s,m),lang:r}},f=({reportBiOnClick:e,onClick:t})=>(0,r.useCallback)((a=>{e?.(a),t?.(a)}),[e,t]),E=()=>"undefined"!=typeof window,I=e=>Object.entries(e).reduce(((e,[t,a])=>(t.includes("data-")&&(e[t]=a),e)),{});const _=(e,t)=>e?{"data-comp":t,"data-aid":t}:{},v={root:"linkElement"},T=(e,t)=>{const{href:n,role:i,target:o,rel:s,className:c="",children:l,linkPopupId:m,anchorDataId:g,anchorCompId:p,tabIndex:f,dataTestId:E=v.root,title:_,onClick:T,onDoubleClick:b,onMouseEnter:L,onMouseLeave:y,onFocus:w,onFocusCapture:C,onBlurCapture:A,"aria-live":k,"aria-disabled":M,"aria-label":N,"aria-labelledby":O,"aria-pressed":S,"aria-expanded":P,"aria-describedby":R,"aria-haspopup":x,"aria-current":F,dataPreview:G,dataPart:B}=e,H=void 0!==e.activateByKey?e.activateByKey:(e=>e?"SpaceOrEnter":"Space")(m);let D;switch(H){case"Enter":D=u;break;case"Space":D=d;break;case"SpaceOrEnter":D=h;break;default:D=void 0}return void 0!==n||m?r.createElement("a",a()({},I(e),{"data-testid":E,"data-popupid":m,"data-anchor":g,"data-anchor-comp-id":p,"data-preview":G,"data-part":B,href:n||void 0,target:o,role:m?"button":i,rel:s,className:c,onKeyDown:D,"aria-live":k,"aria-disabled":M,"aria-label":N,"aria-labelledby":O,"aria-pressed":S,"aria-expanded":P,"aria-haspopup":x,"aria-describedby":R,"aria-current":F,title:_,onClick:T,onMouseEnter:L,onMouseLeave:y,onDoubleClick:b,onFocus:w,onFocusCapture:C,onBlurCapture:A,ref:t,tabIndex:m?0:f}),l):r.createElement("div",a()({},I(e),{"data-testid":E,"data-preview":G,"data-part":B,className:c,tabIndex:f,"aria-label":N,"aria-labelledby":O,"aria-haspopup":x,"aria-disabled":M,"aria-expanded":P,title:_,role:i,onClick:T,onDoubleClick:b,onMouseEnter:L,onMouseLeave:y,ref:t}),l)};var b=r.forwardRef(T);const L="buttonElement",y="linkElement";let w=function(e){return e.Link="Link",e.Button="Button",e}({});const C=()=>{},A=(e,t)=>e===w.Link&&!(e=>Boolean(e&&(e.href||e.linkPopupId)))(t),k=(e,t)=>e===w.Link&&t,M=(e,t)=>{var a,n,i,o;const{id:s,className:c,customClassNames:l=[],autoFocus:d,label:u="",skin:h,hasPlatformClickHandler:m=!1,link:g,ariaLabel:E,isQaMode:v,fullNameCompType:T,reportBiOnClick:b,onFocus:L,onBlur:y,onClick:M=C,onDblClick:N=C,onMouseEnter:O=C,onMouseLeave:S=C,ariaAttributes:P,a11y:R={},lang:x}=e;let{isDisabled:F=!1}=e;!0!==F&&(F=!1);const G=m?w.Button:w.Link,{tabIndex:B,ariaAttributes:H}=p({ariaAttributes:{...P,...R,disabled:null!=(a=R.disabled)?a:F,label:null!=(n=null!=(i=null!=(o=null==P?void 0:P.label)?o:R.label)?i:E)?n:u}}),D=((e,t,a,n)=>a?-1:e===w.Button?n:A(e,t)?null!=n?n:0:n)(G,g,F,B),U=((e,t,a)=>A(e,t)||k(e,a)?"button":void 0)(G,g,F),Y=g&&{href:F?void 0:g.href,target:g.target,rel:g.rel,linkPopupId:g.linkPopupId,anchorDataId:g.anchorDataId,anchorCompId:g.anchorCompId,activateByKey:"Enter"},$=f({reportBiOnClick:b,onClick:F?C:M});return r.createElement(h,{wrapperProps:{...I(e),className:c,id:s,role:U,tabIndex:D,"aria-disabled":H["aria-disabled"],lang:x,onClick:$,onDoubleClick:F?C:N,onMouseEnter:O,onMouseLeave:S,..._(v,T)},autoFocus:d,elementType:G,linkProps:Y,a11yProps:H,label:u,onFocus:F?void 0:L,onBlur:F?void 0:y,ref:t,customClassNames:l})};var N=r.forwardRef(M);const O="wixui-",S=(e,...t)=>{const a=[];return e&&a.push(`${O}${e}`),t.forEach((e=>{e&&(a.push(`${O}${e}`),a.push(e))})),a.join(" ")};function P(e){var t,a,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t{let{elementType:n,linkProps:i,a11yProps:r,className:s,children:c,autoFocus:l,onBlur:d,onFocus:u,disabled:m}=e;const g=o().useRef(null);o().useImperativeHandle(t,(()=>({focus:()=>{var e;return null==(e=g.current)?void 0:e.focus()},blur:()=>{var e;return null==(e=g.current)?void 0:e.blur()}})));const p=R(s,F);switch(n){case w.Link:return o().createElement(b,a()({},i||{},r,{className:p,ref:g,"data-testid":y,onFocusCapture:u,onBlurCapture:d}),c);case w.Button:return o().createElement("button",a()({},r,{ref:g,"data-testid":L,className:p,autoFocus:l,onFocus:u,onBlur:d,disabled:m,onKeyDown:h}),c);default:return null}};var B=o().forwardRef(G);const H=(e,t)=>{let{wrapperProps:n,linkProps:i,a11yProps:o,elementType:s,skinsStyle:c,label:l,autoFocus:d,customClassNames:u=[],onFocus:h,onBlur:m}=e;return r.createElement("div",a()({},n,{className:R(n.className,c.root)}),r.createElement(B,{disabled:!!o["aria-disabled"]||void 0,linkProps:i,a11yProps:o,elementType:s,className:R(c.link,S(x.root,...u)),autoFocus:d,onFocus:h,onBlur:m,ref:t},r.createElement("span",{className:R(c.label,S(x.buttonLabel))},l)))};var D=r.forwardRef(H),U={link:"uDW_Qe",root:"FubTgk",label:"l7_2fn"};const Y=r.forwardRef(((e,t)=>r.createElement(D,a()({},e,{skinsStyle:U,ref:t})))),$=(e,t)=>r.createElement(N,a()({},e,{skin:Y,ref:t}));var z=r.forwardRef($);const V=e=>e.replace(/([A-Z])/g,(e=>`-${e.toLowerCase()}`)),j=e=>({useComponentProps:(t,a,n)=>{const i=(e=>({...e,updateStyles:t=>{const a=Object.entries(t).reduce(((e,[t,a])=>{return{...e,[(n=t,n.startsWith("--")?t:V(t))]:void 0===a?null:a};var n}),{});e.updateStyles(a)}}))(n);return e({mapperProps:t,stateValues:a,controllerUtils:i})}}),W=e=>"linkPopupId"in e,q=(e,t)=>{if(W(e))return e.linkPopupId;{const{pagesMap:a,mainPageId:n}=t||{};if(!a)return;const i=new URL(e.href??"");let r=Object.values(a).find((({pageUriSEO:e})=>!!e&&i.pathname?.includes(e)));return r||(r=n?a[n]:void 0),r?.pageId}},Z=e=>{if(void 0!==e)return null===e?"None":e.type},J=(e,t)=>{if(!e?.type)return;const{type:a}=e;switch(a){case"AnchorLink":return e.anchorDataId;case"DocumentLink":return e.docInfo?.name;case"PageLink":const a=q(e,t);return a&&t?.pagesMap?.[a]?.title;default:return e.href}},X=(e,t,a)=>{const{link:n,value:i,details:r,actionName:o,elementType:s,trackClicksAnalytics:c,pagesMetadata:l,...d}=t;if(!c)return;const u=l&&{...l,pagesMap:window.viewerModel?.siteFeaturesConfigs?.router?.pagesMap},h=((e,t)=>{if(!e?.type)return;const{type:a}=e;switch(a){case"AnchorLink":return(e=>"anchorDataId"in e&&("SCROLL_TO_TOP"===e.anchorDataId||"SCROLL_TO_BOTTOM"===e.anchorDataId))(e)?void 0:{id:e.anchorDataId};case"DocumentLink":return{id:e.docInfo?.docId};case"PageLink":return{id:q(e,t),isLightbox:W(e)};default:return}})(n,u),m=r||h?JSON.stringify({...h,...r}):void 0;e({src:76,evid:1113,...{...d,bl:navigator.language,url:window.location.href,details:m,elementType:s??"Unknown",actionName:o??Z(n),value:i??J(n,u)}},{endpoint:"pa",...a})};var K;!function(e){e.Text="Text",e.Menu="Menu",e.Image="Image",e.Input="Input",e.Login="Login",e.Button="Button",e.Social="Social",e.Gallery="Gallery",e.Community="Community",e.Decorative="Decorative",e.MenuAndSearch="MenuAndSearch",e.MenuAndAnchor="MenuAndAnchor"}(K||(K={}));var Q=j((e=>{let{mapperProps:t,stateValues:a}=e;const{trackClicksAnalytics:n,compId:i,language:r,mainPageId:o,...s}=t;return{...s,reportBiOnClick:e=>{const{fullNameCompType:t,label:c,link:l,isDisabled:d}=s,{reportBi:u}=a;X(u,{link:l,language:r,trackClicksAnalytics:n,elementTitle:c,elementType:t,pagesMetadata:{mainPageId:o},elementGroup:K.Button,details:{isDisabled:null!=d&&d},element_id:null!=i?i:e.currentTarget.id})}}})),ee={link:"uUxqWY",root:"Vq4wYb",label:"wJVzSK"};const te=r.forwardRef(((e,t)=>r.createElement(D,a()({},e,{skinsStyle:ee,ref:t})))),ae=(e,t)=>r.createElement(N,a()({},e,{skin:te,ref:t}));var ne=r.forwardRef(ae);function ie(e,t,a){const n=o().useRef(null),i=o().useRef(null);return t?i.current||(i.current={play:()=>n.current?.play(),load:()=>n.current?.load(),pause:()=>n.current?.pause(),stop:()=>{n.current&&(n.current.pause(),n.current.currentTime=0,a&&a(n.current))}}):i.current=null,o().useImperativeHandle(e,(()=>i.current||{load(){},stop(){}})),n}var re="HlRz5e";const oe="v1",se=2,ce=1920,le=1920,de=1e3,ue=1e3,he={SCALE_TO_FILL:"fill",SCALE_TO_FIT:"fit",STRETCH:"stretch",ORIGINAL_SIZE:"original_size",TILE:"tile",TILE_HORIZONTAL:"tile_horizontal",TILE_VERTICAL:"tile_vertical",FIT_AND_TILE:"fit_and_tile",LEGACY_STRIP_TILE:"legacy_strip_tile",LEGACY_STRIP_TILE_HORIZONTAL:"legacy_strip_tile_horizontal",LEGACY_STRIP_TILE_VERTICAL:"legacy_strip_tile_vertical",LEGACY_STRIP_SCALE_TO_FILL:"legacy_strip_fill",LEGACY_STRIP_SCALE_TO_FIT:"legacy_strip_fit",LEGACY_STRIP_FIT_AND_TILE:"legacy_strip_fit_and_tile",LEGACY_STRIP_ORIGINAL_SIZE:"legacy_strip_original_size",LEGACY_ORIGINAL_SIZE:"actual_size",LEGACY_FIT_WIDTH:"fitWidth",LEGACY_FIT_HEIGHT:"fitHeight",LEGACY_FULL:"full",LEGACY_BG_FIT_AND_TILE:"legacy_tile",LEGACY_BG_FIT_AND_TILE_HORIZONTAL:"legacy_tile_horizontal",LEGACY_BG_FIT_AND_TILE_VERTICAL:"legacy_tile_vertical",LEGACY_BG_NORMAL:"legacy_normal"},me={FIT:"fit",FILL:"fill",FILL_FOCAL:"fill_focal",CROP:"crop",LEGACY_CROP:"legacy_crop",LEGACY_FILL:"legacy_fill"},ge={CENTER:"center",TOP:"top",TOP_LEFT:"top_left",TOP_RIGHT:"top_right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom_left",BOTTOM_RIGHT:"bottom_right",LEFT:"left",RIGHT:"right"},pe={[ge.CENTER]:{x:.5,y:.5},[ge.TOP_LEFT]:{x:0,y:0},[ge.TOP_RIGHT]:{x:1,y:0},[ge.TOP]:{x:.5,y:0},[ge.BOTTOM_LEFT]:{x:0,y:1},[ge.BOTTOM_RIGHT]:{x:1,y:1},[ge.BOTTOM]:{x:.5,y:1},[ge.RIGHT]:{x:1,y:.5},[ge.LEFT]:{x:0,y:.5}},fe={center:"c",top:"t",top_left:"tl",top_right:"tr",bottom:"b",bottom_left:"bl",bottom_right:"br",left:"l",right:"r"},Ee={BG:"bg",IMG:"img",SVG:"svg"},Ie={AUTO:"auto",CLASSIC:"classic",SUPER:"super"},_e={classic:1,super:2},ve={radius:"0.66",amount:"1.00",threshold:"0.01"},Te={uri:"",css:{img:{},container:{}},attr:{img:{},container:{}},transformed:!1},be=25e6,Le=[1.5,2,4],ye={HIGH:{size:196e4,quality:90,maxUpscale:1},MEDIUM:{size:36e4,quality:85,maxUpscale:1},LOW:{size:16e4,quality:80,maxUpscale:1.2},TINY:{size:0,quality:80,maxUpscale:1.4}},we={HIGH:"HIGH",MEDIUM:"MEDIUM",LOW:"LOW",TINY:"TINY"},Ce={CONTRAST:"contrast",BRIGHTNESS:"brightness",SATURATION:"saturation",HUE:"hue",BLUR:"blur"},Ae={JPG:"jpg",JPEG:"jpeg",JPE:"jpe",PNG:"png",WEBP:"webp",WIX_ICO_MP:"wix_ico_mp",WIX_MP:"wix_mp",GIF:"gif",SVG:"svg",AVIF:"avif",UNRECOGNIZED:"unrecognized"},ke={AVIF:"AVIF",PAVIF:"PAVIF"};Ae.JPG,Ae.JPEG,Ae.JPE,Ae.PNG,Ae.GIF,Ae.WEBP;function Me(e,...t){return function(...a){const n=a[a.length-1]||{},i=[e[0]];return t.forEach((function(t,r){const o=Number.isInteger(t)?a[t]:n[t];i.push(o,e[r+1])})),i.join("")}}function Ne(e){return e[e.length-1]}const Oe=[Ae.PNG,Ae.JPEG,Ae.JPG,Ae.JPE,Ae.WIX_ICO_MP,Ae.WIX_MP,Ae.WEBP,Ae.AVIF],Se=[Ae.JPEG,Ae.JPG,Ae.JPE];function Pe(e,t,a){return a&&t&&!(!(n=t.id)||!n.trim()||"none"===n.toLowerCase())&&Object.values(he).includes(e);var n}function Re(e,t,a){return function(e,t,a=!1){return!((Fe(e)||Be(e))&&t&&!a)}(e,t,a)&&(function(e){return Oe.includes($e(e))}(e)||function(e,t=!1){return Ge(e)&&t}(e,a))&&!/(^https?)|(^data)|(^\/\/)/.test(e)}function xe(e){return $e(e)===Ae.PNG}function Fe(e){return $e(e)===Ae.WEBP}function Ge(e){return $e(e)===Ae.GIF}function Be(e){return $e(e)===Ae.AVIF}const He=["/","\\","?","<",">","|","\u201c",":",'"'].map(encodeURIComponent),De=["\\.","\\*"],Ue="_";function Ye(e){return function(e){return Se.includes($e(e))}(e)?Ae.JPG:xe(e)?Ae.PNG:Fe(e)?Ae.WEBP:Ge(e)?Ae.GIF:Be(e)?Ae.AVIF:Ae.UNRECOGNIZED}function $e(e){return(/[.]([^.]+)$/.exec(e)&&/[.]([^.]+)$/.exec(e)[1]||"").toLowerCase()}function ze(e,t,a,n,i){let r;return r=i===me.FILL?function(e,t,a,n){return Math.max(a/e,n/t)}(e,t,a,n):i===me.FIT?function(e,t,a,n){return Math.min(a/e,n/t)}(e,t,a,n):1,r}function Ve(e,t,a,n,i,r){e=e||n.width,t=t||n.height;const{scaleFactor:o,width:s,height:c}=function(e,t,a,n,i){let r,o=a,s=n;if(r=ze(e,t,a,n,i),i===me.FIT&&(o=e*r,s=t*r),o&&s&&o*s>be){const a=Math.sqrt(be/(o*s));o*=a,s*=a,r=ze(e,t,o,s,i)}return{scaleFactor:r,width:o,height:s}}(e,t,n.width*i,n.height*i,a);return function(e,t,a,n,i,r,o){const{optimizedScaleFactor:s,upscaleMethodValue:c,forceUSM:l}=function(e,t,a,n){if("auto"===n)return function(e,t){const a=Ze(e,t);return{optimizedScaleFactor:ye[a].maxUpscale,upscaleMethodValue:_e.classic,forceUSM:!1}}(e,t);if("super"===n)return function(e){return{optimizedScaleFactor:Ne(Le),upscaleMethodValue:_e.super,forceUSM:!(Le.includes(e)||e>Ne(Le))}}(a);return function(e,t){const a=Ze(e,t);return{optimizedScaleFactor:ye[a].maxUpscale,upscaleMethodValue:_e.classic,forceUSM:!1}}(e,t)}(e,t,r,i);let d=a,u=n;if(r<=s)return{width:d,height:u,scaleFactor:r,upscaleMethodValue:c,forceUSM:l,cssUpscaleNeeded:!1};switch(o){case me.FILL:d=a*(s/r),u=n*(s/r);break;case me.FIT:d=e*s,u=t*s}return{width:d,height:u,scaleFactor:s,upscaleMethodValue:c,forceUSM:l,cssUpscaleNeeded:!0}}(e,t,s,c,r,o,a)}function je(e,t,a,n){const i=qe(a)||function(e=ge.CENTER){return pe[e]}(n);return{x:Math.max(0,Math.min(e.width-t.width,i.x*e.width-t.width/2)),y:Math.max(0,Math.min(e.height-t.height,i.y*e.height-t.height/2)),width:Math.min(e.width,t.width),height:Math.min(e.height,t.height)}}function We(e){return e.alignment&&fe[e.alignment]||fe[ge.CENTER]}function qe(e){let t;return!e||"number"!=typeof e.x||isNaN(e.x)||"number"!=typeof e.y||isNaN(e.y)||(t={x:Je(Math.max(0,Math.min(100,e.x))/100,2),y:Je(Math.max(0,Math.min(100,e.y))/100,2)}),t}function Ze(e,t){const a=e*t;return a>ye[we.HIGH].size?we.HIGH:a>ye[we.MEDIUM].size?we.MEDIUM:a>ye[we.LOW].size?we.LOW:we.TINY}function Je(e,t){const a=Math.pow(10,t||0);return(e*a/a).toFixed(t)}function Xe(e){return e&&e.upscaleMethod&&Ie[e.upscaleMethod.toUpperCase()]||Ie.AUTO}function Ke(e,t){const a=Fe(e)||Be(e);return $e(e)===Ae.GIF||a&&t}const Qe={isMobile:!1},et=function(e){return Qe[e]};function tt(){if("undefined"!=typeof window&&"undefined"!=typeof navigator){const t=window.matchMedia&&window.matchMedia("(max-width: 767px)").matches,a=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);e=t&&a,Qe["isMobile"]=e}var e}function at(e,t){const a={css:{container:{}}},{css:n}=a,{fittingType:i}=e;switch(i){case he.ORIGINAL_SIZE:case he.LEGACY_ORIGINAL_SIZE:case he.LEGACY_STRIP_ORIGINAL_SIZE:n.container.backgroundSize="auto",n.container.backgroundRepeat="no-repeat";break;case he.SCALE_TO_FIT:case he.LEGACY_STRIP_SCALE_TO_FIT:n.container.backgroundSize="contain",n.container.backgroundRepeat="no-repeat";break;case he.STRETCH:n.container.backgroundSize="100% 100%",n.container.backgroundRepeat="no-repeat";break;case he.SCALE_TO_FILL:case he.LEGACY_STRIP_SCALE_TO_FILL:n.container.backgroundSize="cover",n.container.backgroundRepeat="no-repeat";break;case he.TILE_HORIZONTAL:case he.LEGACY_STRIP_TILE_HORIZONTAL:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat-x";break;case he.TILE_VERTICAL:case he.LEGACY_STRIP_TILE_VERTICAL:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat-y";break;case he.TILE:case he.LEGACY_STRIP_TILE:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat";break;case he.LEGACY_STRIP_FIT_AND_TILE:n.container.backgroundSize="contain",n.container.backgroundRepeat="repeat";break;case he.FIT_AND_TILE:case he.LEGACY_BG_FIT_AND_TILE:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat";break;case he.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat-x";break;case he.LEGACY_BG_FIT_AND_TILE_VERTICAL:n.container.backgroundSize="auto",n.container.backgroundRepeat="repeat-y";break;case he.LEGACY_BG_NORMAL:n.container.backgroundSize="auto",n.container.backgroundRepeat="no-repeat"}switch(t.alignment){case ge.CENTER:n.container.backgroundPosition="center center";break;case ge.LEFT:n.container.backgroundPosition="left center";break;case ge.RIGHT:n.container.backgroundPosition="right center";break;case ge.TOP:n.container.backgroundPosition="center top";break;case ge.BOTTOM:n.container.backgroundPosition="center bottom";break;case ge.TOP_RIGHT:n.container.backgroundPosition="right top";break;case ge.TOP_LEFT:n.container.backgroundPosition="left top";break;case ge.BOTTOM_RIGHT:n.container.backgroundPosition="right bottom";break;case ge.BOTTOM_LEFT:n.container.backgroundPosition="left bottom"}return a}const nt={[ge.CENTER]:"center",[ge.TOP]:"top",[ge.TOP_LEFT]:"top left",[ge.TOP_RIGHT]:"top right",[ge.BOTTOM]:"bottom",[ge.BOTTOM_LEFT]:"bottom left",[ge.BOTTOM_RIGHT]:"bottom right",[ge.LEFT]:"left",[ge.RIGHT]:"right"},it={position:"absolute",top:"auto",right:"auto",bottom:"auto",left:"auto"};function rt(e,t){const a={css:{container:{},img:{}}},{css:n}=a,{fittingType:i}=e,r=t.alignment;switch(n.container.position="relative",i){case he.ORIGINAL_SIZE:case he.LEGACY_ORIGINAL_SIZE:e.parts&&e.parts.length?(n.img.width=e.parts[0].width,n.img.height=e.parts[0].height):(n.img.width=e.src.width,n.img.height=e.src.height);break;case he.SCALE_TO_FIT:case he.LEGACY_FIT_WIDTH:case he.LEGACY_FIT_HEIGHT:case he.LEGACY_FULL:n.img.width=t.width,n.img.height=t.height,n.img.objectFit="contain",n.img.objectPosition=nt[r]||"unset";break;case he.LEGACY_BG_NORMAL:n.img.width="100%",n.img.height="100%",n.img.objectFit="none",n.img.objectPosition=nt[r]||"unset";break;case he.STRETCH:n.img.width=t.width,n.img.height=t.height,n.img.objectFit="fill";break;case he.SCALE_TO_FILL:n.img.width=t.width,n.img.height=t.height,n.img.objectFit="cover"}if("number"==typeof n.img.width&&"number"==typeof n.img.height&&(n.img.width!==t.width||n.img.height!==t.height)){const e=Math.round((t.height-n.img.height)/2),a=Math.round((t.width-n.img.width)/2);Object.assign(n.img,it,function(e,t,a){return{[ge.TOP_LEFT]:{top:0,left:0},[ge.TOP_RIGHT]:{top:0,right:0},[ge.TOP]:{top:0,left:t},[ge.BOTTOM_LEFT]:{bottom:0,left:0},[ge.BOTTOM_RIGHT]:{bottom:0,right:0},[ge.BOTTOM]:{bottom:0,left:t},[ge.RIGHT]:{top:e,right:0},[ge.LEFT]:{top:e,left:0},[ge.CENTER]:{width:a.width,height:a.height,objectFit:"none"}}}(e,a,t)[r])}return a}function ot(e,t){const a={css:{container:{}},attr:{container:{},img:{}}},{css:n,attr:i}=a,{fittingType:r}=e,o=t.alignment,{width:s,height:c}=e.src;let l;switch(n.container.position="relative",r){case he.ORIGINAL_SIZE:case he.LEGACY_ORIGINAL_SIZE:case he.TILE:e.parts&&e.parts.length?(i.img.width=e.parts[0].width,i.img.height=e.parts[0].height):(i.img.width=s,i.img.height=c),i.img.preserveAspectRatio="xMidYMid slice";break;case he.SCALE_TO_FIT:case he.LEGACY_FIT_WIDTH:case he.LEGACY_FIT_HEIGHT:case he.LEGACY_FULL:i.img.width="100%",i.img.height="100%",i.img.transform="",i.img.preserveAspectRatio="";break;case he.STRETCH:i.img.width=t.width,i.img.height=t.height,i.img.x=0,i.img.y=0,i.img.transform="",i.img.preserveAspectRatio="none";break;case he.SCALE_TO_FILL:Re(e.src.id)?(i.img.width=t.width,i.img.height=t.height):(l=function(e,t,a,n,i){const r=ze(e,t,a,n,i);return{width:Math.round(e*r),height:Math.round(t*r)}}(s,c,t.width,t.height,me.FILL),i.img.width=l.width,i.img.height=l.height),i.img.x=0,i.img.y=0,i.img.transform="",i.img.preserveAspectRatio="xMidYMid slice"}if("number"==typeof i.img.width&&"number"==typeof i.img.height&&(i.img.width!==t.width||i.img.height!==t.height)){let e,a,n=0,s=0;r===he.TILE?(e=t.width%i.img.width,a=t.height%i.img.height):(e=t.width-i.img.width,a=t.height-i.img.height);const c=Math.round(e/2),l=Math.round(a/2);switch(o){case ge.TOP_LEFT:n=0,s=0;break;case ge.TOP:n=c,s=0;break;case ge.TOP_RIGHT:n=e,s=0;break;case ge.LEFT:n=0,s=l;break;case ge.CENTER:n=c,s=l;break;case ge.RIGHT:n=e,s=l;break;case ge.BOTTOM_LEFT:n=0,s=a;break;case ge.BOTTOM:n=c,s=a;break;case ge.BOTTOM_RIGHT:n=e,s=a}i.img.x=n,i.img.y=s}return i.container.width=t.width,i.container.height=t.height,i.container.viewBox=[0,0,t.width,t.height].join(" "),a}function st(e,t,a){let n;switch(t.crop&&(n=function(e,t){const a=Math.max(0,Math.min(e.width,t.x+t.width)-Math.max(0,t.x)),n=Math.max(0,Math.min(e.height,t.y+t.height)-Math.max(0,t.y));return a&&n&&(e.width!==a||e.height!==n)?{x:Math.max(0,t.x),y:Math.max(0,t.y),width:a,height:n}:null}(t,t.crop),n&&(e.src.width=n.width,e.src.height=n.height,e.src.isCropped=!0,e.parts.push(lt(n)))),e.fittingType){case he.SCALE_TO_FIT:case he.LEGACY_FIT_WIDTH:case he.LEGACY_FIT_HEIGHT:case he.LEGACY_FULL:case he.FIT_AND_TILE:case he.LEGACY_BG_FIT_AND_TILE:case he.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:case he.LEGACY_BG_FIT_AND_TILE_VERTICAL:case he.LEGACY_BG_NORMAL:e.parts.push(ct(e,a));break;case he.SCALE_TO_FILL:e.parts.push(function(e,t){const a=Ve(e.src.width,e.src.height,me.FILL,t,e.devicePixelRatio,e.upscaleMethod),n=qe(e.focalPoint);return{transformType:n?me.FILL_FOCAL:me.FILL,width:Math.round(a.width),height:Math.round(a.height),alignment:We(t),focalPointX:n&&n.x,focalPointY:n&&n.y,upscale:a.scaleFactor>1,forceUSM:a.forceUSM,scaleFactor:a.scaleFactor,cssUpscaleNeeded:a.cssUpscaleNeeded,upscaleMethodValue:a.upscaleMethodValue}}(e,a));break;case he.STRETCH:e.parts.push(function(e,t){const a=ze(e.src.width,e.src.height,t.width,t.height,me.FILL),n={...t};return n.width=e.src.width*a,n.height=e.src.height*a,ct(e,n)}(e,a));break;case he.TILE_HORIZONTAL:case he.TILE_VERTICAL:case he.TILE:case he.LEGACY_ORIGINAL_SIZE:case he.ORIGINAL_SIZE:n=je(e.src,a,e.focalPoint,a.alignment),e.src.isCropped?(Object.assign(e.parts[0],n),e.src.width=n.width,e.src.height=n.height):e.parts.push(lt(n));break;case he.LEGACY_STRIP_TILE_HORIZONTAL:case he.LEGACY_STRIP_TILE_VERTICAL:case he.LEGACY_STRIP_TILE:case he.LEGACY_STRIP_ORIGINAL_SIZE:e.parts.push(function(e){return{transformType:me.LEGACY_CROP,width:Math.round(e.width),height:Math.round(e.height),alignment:We(e),upscale:!1,forceUSM:!1,scaleFactor:1,cssUpscaleNeeded:!1}}(a));break;case he.LEGACY_STRIP_SCALE_TO_FIT:case he.LEGACY_STRIP_FIT_AND_TILE:e.parts.push(function(e){return{transformType:me.FIT,width:Math.round(e.width),height:Math.round(e.height),upscale:!1,forceUSM:!0,scaleFactor:1,cssUpscaleNeeded:!1}}(a));break;case he.LEGACY_STRIP_SCALE_TO_FILL:e.parts.push(function(e){return{transformType:me.LEGACY_FILL,width:Math.round(e.width),height:Math.round(e.height),alignment:We(e),upscale:!1,forceUSM:!0,scaleFactor:1,cssUpscaleNeeded:!1}}(a))}}function ct(e,t){const a=Ve(e.src.width,e.src.height,me.FIT,t,e.devicePixelRatio,e.upscaleMethod);return{transformType:!e.src.width||!e.src.height?me.FIT:me.FILL,width:Math.round(a.width),height:Math.round(a.height),alignment:fe.center,upscale:a.scaleFactor>1,forceUSM:a.forceUSM,scaleFactor:a.scaleFactor,cssUpscaleNeeded:a.cssUpscaleNeeded,upscaleMethodValue:a.upscaleMethodValue}}function lt(e){return{transformType:me.CROP,x:Math.round(e.x),y:Math.round(e.y),width:Math.round(e.width),height:Math.round(e.height),upscale:!1,forceUSM:!1,scaleFactor:1,cssUpscaleNeeded:!1}}function dt(e,t){t=t||{},e.quality=function(e,t){const a=e.fileType===Ae.PNG,n=e.fileType===Ae.JPG,i=e.fileType===Ae.WEBP,r=e.fileType===Ae.AVIF,o=n||a||i||r;if(o){const n=Ne(e.parts),i=(s=n.width,c=n.height,ye[Ze(s,c)].quality);let r=t.quality&&t.quality>=5&&t.quality<=90?t.quality:i;return r=a?r+5:r,r}var s,c;return 0}(e,t),e.progressive=function(e){return!1!==e.progressive}(t),e.watermark=function(e){return e.watermark}(t),e.autoEncode=t.autoEncode??!0,e.encoding=t?.encoding,e.unsharpMask=function(e,t){if(function(e){const t="number"==typeof(e=e||{}).radius&&!isNaN(e.radius)&&e.radius>=.1&&e.radius<=500,a="number"==typeof e.amount&&!isNaN(e.amount)&&e.amount>=0&&e.amount<=10,n="number"==typeof e.threshold&&!isNaN(e.threshold)&&e.threshold>=0&&e.threshold<=255;return t&&a&&n}(t.unsharpMask))return{radius:Je(t.unsharpMask?.radius,2),amount:Je(t.unsharpMask?.amount,2),threshold:Je(t.unsharpMask?.threshold,2)};if(("number"!=typeof(a=(a=t.unsharpMask)||{}).radius||isNaN(a.radius)||0!==a.radius||"number"!=typeof a.amount||isNaN(a.amount)||0!==a.amount||"number"!=typeof a.threshold||isNaN(a.threshold)||0!==a.threshold)&&function(e){const t=Ne(e.parts);return!(t.scaleFactor>=1)||t.forceUSM||t.transformType===me.FIT}(e))return ve;var a;return}(e,t),e.filters=function(e){const t=e.filters||{},a={};ut(t[Ce.CONTRAST],-100,100)&&(a[Ce.CONTRAST]=t[Ce.CONTRAST]);ut(t[Ce.BRIGHTNESS],-100,100)&&(a[Ce.BRIGHTNESS]=t[Ce.BRIGHTNESS]);ut(t[Ce.SATURATION],-100,100)&&(a[Ce.SATURATION]=t[Ce.SATURATION]);ut(t[Ce.HUE],-180,180)&&(a[Ce.HUE]=t[Ce.HUE]);ut(t[Ce.BLUR],0,100)&&(a[Ce.BLUR]=t[Ce.BLUR]);return a}(t)}function ut(e,t,a){return"number"==typeof e&&!isNaN(e)&&0!==e&&e>=t&&e<=a}function ht(e,t,a,n){const i=function(e){return e?.isSEOBot??!1}(n),r=Ye(t.id),o=function(e,t){const a=/\.([^.]*)$/,n=new RegExp(`(${He.concat(De).join("|")})`,"g");if(t&&t.length){let e=t;const i=t.match(a);return i&&Oe.includes(i[1])&&(e=t.replace(a,"")),encodeURIComponent(e).replace(n,Ue)}const i=e.match(/\/(.*?)$/);return(i?i[1]:e).replace(a,"")}(t.id,t.name),s=i?1:function(e){return Math.min(e.pixelAspectRatio||1,se)}(a),c=$e(t.id),l=c,d=Re(t.id,n?.hasAnimation,n?.allowAnimatedTransform),u={fileName:o,fileExtension:c,fileType:r,fittingType:e,preferredExtension:l,src:{id:t.id,width:t.width,height:t.height,isCropped:!1,isAnimated:Ke(t.id,n?.hasAnimation)},focalPoint:{x:t.focalPoint&&t.focalPoint.x,y:t.focalPoint&&t.focalPoint.y},parts:[],devicePixelRatio:s,quality:0,upscaleMethod:Xe(n),progressive:!0,watermark:"",unsharpMask:{},filters:{},transformed:d};return d&&(st(u,t,a),dt(u,n)),u}function mt(e,t,a){const n={...a},i=et("isMobile");switch(e){case he.LEGACY_BG_FIT_AND_TILE:case he.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:case he.LEGACY_BG_FIT_AND_TILE_VERTICAL:case he.LEGACY_BG_NORMAL:const e=i?de:ce,a=i?ue:le;n.width=Math.min(e,t.width),n.height=Math.min(a,Math.round(n.width/(t.width/t.height))),n.pixelAspectRatio=1}return n}const gt=Me`fit/w_${"width"},h_${"height"}`,pt=Me`fill/w_${"width"},h_${"height"},al_${"alignment"}`,ft=Me`fill/w_${"width"},h_${"height"},fp_${"focalPointX"}_${"focalPointY"}`,Et=Me`crop/x_${"x"},y_${"y"},w_${"width"},h_${"height"}`,It=Me`crop/w_${"width"},h_${"height"},al_${"alignment"}`,_t=Me`fill/w_${"width"},h_${"height"},al_${"alignment"}`,vt=Me`,lg_${"upscaleMethodValue"}`,Tt=Me`,q_${"quality"}`,bt=Me`,quality_auto`,Lt=Me`,usm_${"radius"}_${"amount"}_${"threshold"}`,yt=Me`,bl`,wt=Me`,wm_${"watermark"}`,Ct={[Ce.CONTRAST]:Me`,con_${"contrast"}`,[Ce.BRIGHTNESS]:Me`,br_${"brightness"}`,[Ce.SATURATION]:Me`,sat_${"saturation"}`,[Ce.HUE]:Me`,hue_${"hue"}`,[Ce.BLUR]:Me`,blur_${"blur"}`},At=Me`,enc_auto`,kt=Me`,enc_avif`,Mt=Me`,enc_pavif`,Nt=Me`,pstr`;function Ot(e,t,a,n={},i){if(Re(t.id,n?.hasAnimation,n?.allowAnimatedTransform)){if(Fe(t.id)||Be(t.id)){const{alignment:r,...o}=a;t.focalPoint={x:void 0,y:void 0},delete t?.crop,i=ht(e,t,o,n)}else i=i||ht(e,t,a,n);return function(e){const t=[];e.parts.forEach((e=>{switch(e.transformType){case me.CROP:t.push(Et(e));break;case me.LEGACY_CROP:t.push(It(e));break;case me.LEGACY_FILL:let a=_t(e);e.upscale&&(a+=vt(e)),t.push(a);break;case me.FIT:let n=gt(e);e.upscale&&(n+=vt(e)),t.push(n);break;case me.FILL:let i=pt(e);e.upscale&&(i+=vt(e)),t.push(i);break;case me.FILL_FOCAL:let r=ft(e);e.upscale&&(r+=vt(e)),t.push(r)}}));let a=t.join("/");return e.quality&&(a+=Tt(e)),e.unsharpMask&&(a+=Lt(e.unsharpMask)),e.progressive||(a+=yt(e)),e.watermark&&(a+=wt(e)),e.filters&&(a+=Object.keys(e.filters).map((t=>Ct[t](e.filters))).join("")),e.fileType!==Ae.GIF&&(e.encoding===ke.AVIF?(a+=kt(e),a+=bt(e)):e.encoding===ke.PAVIF?(a+=Mt(e),a+=bt(e)):e.autoEncode&&(a+=At(e))),e.src?.isAnimated&&e.transformed&&(a+=Nt(e)),`${e.src.id}/${oe}/${a}/${e.fileName}.${e.preferredExtension}`}(i)}return t.id}const St={[ge.CENTER]:"50% 50%",[ge.TOP_LEFT]:"0% 0%",[ge.TOP_RIGHT]:"100% 0%",[ge.TOP]:"50% 0%",[ge.BOTTOM_LEFT]:"0% 100%",[ge.BOTTOM_RIGHT]:"100% 100%",[ge.BOTTOM]:"50% 100%",[ge.RIGHT]:"100% 50%",[ge.LEFT]:"0% 50%"},Pt=Object.entries(St).reduce(((e,[t,a])=>(e[a]=t,e)),{}),Rt=[he.TILE,he.TILE_HORIZONTAL,he.TILE_VERTICAL,he.LEGACY_BG_FIT_AND_TILE,he.LEGACY_BG_FIT_AND_TILE_HORIZONTAL,he.LEGACY_BG_FIT_AND_TILE_VERTICAL],xt=[he.LEGACY_ORIGINAL_SIZE,he.ORIGINAL_SIZE,he.LEGACY_BG_NORMAL];function Ft(e,t,{width:a,height:n}){return e===he.TILE&&t.width>a&&t.height>n}function Gt(e,{width:t,height:a}){if(!t||!a){const n=t||Math.min(980,e.width),i=n/e.width;return{width:n,height:a||e.height*i}}return{width:t,height:a}}function Bt(e,t,a,n="center"){const i={img:{},container:{}};if(e===he.SCALE_TO_FILL){const e=t.focalPoint&&function(e){const t=`${e.x}% ${e.y}%`;return Pt[t]||""}(t.focalPoint),r=e||n;t.focalPoint&&!e?i.img={objectPosition:Ht(t,a,t.focalPoint)}:i.img={objectPosition:St[r]}}else[he.LEGACY_ORIGINAL_SIZE,he.ORIGINAL_SIZE].includes(e)?i.img={objectFit:"none",top:"auto",left:"auto",right:"auto",bottom:"auto"}:Rt.includes(e)&&(i.container={backgroundSize:`${t.width}px ${t.height}px`});return i}function Ht(e,t,a){const{width:n,height:i}=e,{width:r,height:o}=t,{x:s,y:c}=a;if(!r||!o)return`${s}% ${c}%`;const l=Math.max(r/n,o/i),d=n*l,u=i*l,h=Math.max(0,Math.min(d-r,d*(s/100)-r/2)),m=Math.max(0,Math.min(u-o,u*(c/100)-o/2));return`${h&&Math.floor(h/(d-r)*100)}% ${m&&Math.floor(m/(u-o)*100)}%`}const Dt={width:"100%",height:"100%"};function Ut(e,t,a,n={}){const{autoEncode:i=!0,isSEOBot:r,shouldLoadHQImage:o,hasAnimation:s,allowAnimatedTransform:c,encoding:l}=n;if(!Pe(e,t,a))return Te;const d=void 0===c||c,u=Re(t.id,s,d);if(!u||o)return Yt(e,t,a,{...n,autoEncode:i,useSrcset:u});const h={...a,...Gt(t,a)},{alignment:m,htmlTag:g}=h,p=Ft(e,t,h),f=function(e,t,{width:a,height:n},i=!1){if(i)return{width:a,height:n};const r=!xt.includes(e),o=Ft(e,t,{width:a,height:n}),s=!o&&Rt.includes(e),c=s?t.width:a,l=s?t.height:n,d=r?function(e,t){return e>900?t?.05:.15:e>500?t?.1:.18:e>200?.25:1}(c,xe(t.id)):1;return{width:o?1920:c*d,height:l*d}}(e,t,h,r),E=function(e,t,a){return a?0:Rt.includes(t)?1:e>200?2:3}(h.width,e,r),I=function(e,t){const a=Rt.includes(e)&&!t;return e===he.SCALE_TO_FILL||a?he.SCALE_TO_FIT:e}(e,p),_=Bt(e,t,a,m),{uri:v}=Yt(I,t,{...f,alignment:m,htmlTag:g},{autoEncode:i,filters:E?{blur:E}:{},hasAnimation:s,allowAnimatedTransform:d,encoding:l}),{attr:T={},css:b}=Yt(e,t,{...h,alignment:m,htmlTag:g},{});return b.img=b.img||{},b.container=b.container||{},Object.assign(b.img,_.img,Dt),Object.assign(b.container,_.container),{uri:v,css:b,attr:T,transformed:!0}}function Yt(e,t,a,n){let i={};if(Pe(e,t,a)){const r=mt(e,t,a),o=ht(e,t,r,n);i.uri=Ot(e,t,r,n,o),n?.useSrcset&&(i.srcset=function(e,t,a,n,i){const r=a.pixelAspectRatio||1;return{dpr:[`${1===r?i.uri:Ot(e,t,{...a,pixelAspectRatio:1},n)} 1x`,`${2===r?i.uri:Ot(e,t,{...a,pixelAspectRatio:2},n)} 2x`]}}(e,t,r,n,i)),Object.assign(i,function(e,t){let a;return a=t.htmlTag===Ee.BG?at:t.htmlTag===Ee.SVG?ot:rt,a(e,t)}(o,r),{transformed:o.transformed})}else i=Te;return i}const $t="https://static.wixstatic.com/media/";"undefined"!=typeof window&&window.devicePixelRatio;tt();tt();const zt=$t,{STATIC_MEDIA_URL:Vt}=e,jt=({fittingType:e,src:t,target:a,options:n})=>{const i=Ut(e,t,a,{...n,autoEncode:!0});return i?.uri&&!/^[a-z]+:/.test(i.uri)&&(i.uri=`${Vt}${i.uri}`),i},Wt=/^[a-z]+:/,qt=e=>{const{id:t,containerId:a,uri:n,alt:i,name:o="",role:s,width:c,height:l,displayMode:d,devicePixelRatio:u,quality:h,alignType:m,bgEffectName:g="",focalPoint:p,upscaleMethod:f,className:E="",crop:I,imageStyles:_={},targetWidth:v,targetHeight:T,targetScale:b,onLoad:L=(()=>{}),onError:y=(()=>{}),shouldUseLQIP:w,containerWidth:C,containerHeight:A,getPlaceholder:k,isInFirstFold:M,placeholderTransition:N,socialAttrs:O,isSEOBot:S,skipMeasure:P,hasAnimation:R,encoding:x}=e,F=r.useRef(null);let G="";const B="blur"===N,H=r.useRef(null);if(!H.current)if(k||w||M||S){const e={upscaleMethod:f,...h||{},shouldLoadHQImage:M,isSEOBot:S,hasAnimation:R,encoding:x};H.current=(k||jt)({fittingType:d,src:{id:n,width:c,height:l,crop:I,name:o,focalPoint:p},target:{width:C,height:A,alignment:m,htmlTag:"img"},options:e}),G=!H.current.transformed||M||S?"":"true"}else H.current={uri:void 0,css:{img:{}},attr:{img:{},container:{}},transformed:!1};const D=!S&&(k||w)&&!M&&H.current.transformed,U=r.useMemo((()=>JSON.stringify({containerId:a,...a&&{containerId:a},...m&&{alignType:m},...P&&{skipMeasure:!0},displayMode:d,...C&&{targetWidth:C},...A&&{targetHeight:A},...v&&{targetWidth:v},...T&&{targetHeight:T},...b&&{targetScale:b},isLQIP:D,isSEOBot:S,lqipTransition:N,encoding:x,imageData:{width:c,height:l,uri:n,name:o,displayMode:d,hasAnimation:R,...h&&{quality:h},...u&&{devicePixelRatio:u},...p&&{focalPoint:p},...I&&{crop:I},...f&&{upscaleMethod:f}}})),[a,m,P,d,C,A,v,T,b,D,S,N,x,c,l,n,o,R,h,u,p,I,f]),Y=H.current,$=Y?.uri,z=Y?.srcset,V=Y.css?.img,j=`${re} ${E}`;r.useEffect((()=>{const e=F.current;L&&e?.currentSrc&&e?.complete&&L({target:e})}),[]);const W=Y&&!Y?.transformed?`max(${c}px, 100%)`:v?`${v}px`:null;return r.createElement("wow-image",{id:t,class:j,"data-image-info":U,"data-motion-part":`BG_IMG ${a}`,"data-bg-effect-name":g,"data-has-ssr-src":G,"data-animate-blur":!S&&D&&B?"":void 0,style:W?{"--wix-img-max-width":W}:{}},r.createElement("img",{src:$,ref:F,alt:i||"",role:s,style:{...V,..._},onLoad:L,onError:y,width:C||void 0,height:A||void 0,...O,srcSet:M?z?.dpr?.map((e=>Wt.test(e)?e:`${Vt}${e}`)).join(", "):void 0,fetchpriority:M?"high":void 0,loading:!1===M?"lazy":void 0,suppressHydrationWarning:!0}))};var Zt="_1hLNj";var Jt=e=>{const{id:t,alt:a,role:n,className:i,imageStyles:o={},targetWidth:s,targetHeight:c,onLoad:l,onError:d,containerWidth:u,containerHeight:h,isInFirstFold:m,socialAttrs:g,skipMeasure:p,responsiveImageProps:f,zoomedImageResponsiveOverride:E}=e,I=s||u,_=c||h,{fallbackSrc:v,srcset:T,sources:b,css:L}=f||{},{width:y,height:w,...C}=f?.css?.img||{};return v&&T&&L?r.createElement("img",{fetchpriority:m?"high":void 0,loading:!1===m?"lazy":void 0,sizes:`${I}px`,srcSet:p?E?.srcset:f?.srcset,id:t,src:v,alt:a||"",role:n,style:{...o,...p?{...E?.css?.img}:{...C}},onLoad:l,onError:d,className:R(i,Zt),width:I,height:_,...g}):v&&b&&L?r.createElement("picture",null,b.map((({srcset:e,media:t,sizes:a})=>r.createElement("source",{key:t,srcSet:e,media:t,sizes:a}))),r.createElement("img",{fetchpriority:m?"high":void 0,loading:!1===m?"lazy":void 0,id:t,src:b[0].fallbackSrc,alt:a||"",role:n,style:{...o,objectFit:b[0].imgStyle.objectFit,objectPosition:b[0].imgStyle.objectPosition},onLoad:l,onError:d,className:R(i,Zt),width:I,height:_,...g})):r.createElement(qt,{...e})};var Xt=e=>{const{className:t,customIdPrefix:a,getPlaceholder:n,hasAnimation:i,...o}=e,s=r.useMemo((()=>JSON.stringify({containerId:o.containerId,alignType:o.alignType,fittingType:o.displayMode,hasAnimation:i,imageData:{width:o.width,height:o.height,uri:o.uri,name:o.name,...o.quality&&{quality:o.quality},displayMode:o.displayMode}})),[o,i]),c=r.useRef(null);c.current||(c.current=n?n({fittingType:o.displayMode,src:{id:o.uri,width:o.width,height:o.height,name:o.name},target:{width:o.containerWidth,height:o.containerHeight,alignment:o.alignType,htmlTag:"bg"},options:{hasAnimation:i,allowAnimatedTransform:!1}}):{uri:void 0,css:{img:{}},attr:{img:{},container:{}}});const l=c.current,d=l?.uri??"",u=l.css?.container??{},h=Object.assign(d?{backgroundImage:`url(${d})`}:{},u);return r.createElement("wix-bg-image",{id:`${a||"bgImg_"}${o.containerId}`,class:t,style:h,"data-tiled-image-info":s,"data-has-bg-scroll-effect":o.hasBgScrollEffect||"","data-bg-effect-name":o.bgEffectName||"","data-motion-part":`BG_IMG ${o.containerId}`})};const Kt=new RegExp("<%= compId %>","g"),Qt=(e,t)=>e.replace(Kt,t);var ea=e=>e?.replace(":hover",""),ta="_uqPqy",aa="eKyYhK",na="x0mqQS",ia="pnCr6P",ra="blf7sp";const oa={quality:{unsharpMask:{radius:.33,amount:1,threshold:0}},devicePixelRatio:1};var sa=e=>{const{id:t,videoRef:a,videoInfo:n,posterImageInfo:i,muted:o,preload:s,loop:c,alt:l,isVideoEnabled:d,getPlaceholder:u,extraClassName:h=""}=e;n.containerId=ea(n.containerId);const m=r.useMemo((()=>JSON.stringify(n)),[n]),g=r.createElement(r.Fragment,null,i.filterEffectSvgString&&r.createElement("svg",{id:`svg_${n.containerId}`,className:ra},r.createElement("defs",{dangerouslySetInnerHTML:{__html:Qt(i.filterEffectSvgString,n.containerId)}})),r.createElement(Jt,{key:`${n.videoId}_img`,id:`${i.containerId}_img`,className:R(aa,na,"bgVideoposter",h),imageStyles:{width:"100%",height:"100%"},...i,...oa,getPlaceholder:u}));return d?r.createElement("wix-video",{id:t,"data-video-info":m,"data-motion-part":`BG_IMG ${n.containerId}`,class:R(ta,"bgVideo",h)},r.createElement("video",{key:`${n.videoId}_video`,ref:a,id:`${n.containerId}_video`,className:ia,crossOrigin:"anonymous","aria-label":l,playsInline:!0,preload:s,muted:o,loop:c}),g):g},ca="rWP3Gv";var la=e=>{const{id:t,containerId:a,pageId:n,children:i,bgEffectName:o="",containerSize:s}=e;return r.createElement("wix-bg-media",{id:t,class:ca,"data-container-id":a,"data-container-size":`${s?.width||0}, ${s?.height||0}`,"data-page-id":n,"data-bg-effect-name":o,"data-motion-part":`BG_MEDIA ${a}`},i)};const da="bgOverlay";var ua="Tr4n3d",ha="wRqk6s";var ma=e=>{const{imageOverlay:t}=e;return r.createElement("div",{"data-testid":da,className:ua},t&&r.createElement(Xt,{customIdPrefix:"bgImgOverlay_",className:ha,...t}))};const ga="bgLayers",pa="colorUnderlay",fa="mediaPadding",Ea="canvas";var Ia="if7Vw2",_a="f0uTJH",va="i1tH8h",Ta="DXi4PB",ba="wG8dni",La="tcElKx",ya="Ybjs9b",wa="ImALHf",Ca="UWmm3w",Aa="Yjj1af",ka="KCM6zk";const Ma="bgImage";var Na=e=>{const{videoRef:t,canvasRef:a,hasBgFullscreenScrollEffect:n,image:i,backgroundImage:o,backgroundMedia:s,video:c,backgroundOverlay:l,shouldPadMedia:d,extraClass:u="",shouldRenderUnderlay:h=!c,reducedMotion:m=!1,getPlaceholder:g,hasCanvasAnimation:p,useWixMediaCanvas:f}=e,{onImageLoad:E}=(({onReady:e,image:t})=>((0,r.useEffect)((()=>{e&&!t&&e()}),[e,t]),{onImageLoad:a=>{t?.onLoad&&t.onLoad(a),e&&e()}}))(e),I=ea(e.containerId),_=`img_${ea(I)}`,v=i&&r.createElement(Jt,{id:_,className:R(va,Ta,Aa,Ma),imageStyles:{width:"100%",height:"100%"},getPlaceholder:g,...i,onLoad:E}),T=o&&r.createElement(Xt,{...o,containerId:I,className:R(va,Ta,Aa,Ma),getPlaceholder:g}),b=c&&r.createElement(sa,{id:`videoContainer_${I}`,...c,extraClassName:ya,reducedMotion:m,videoRef:t,getPlaceholder:g}),L=f&&a||p?r.createElement("wix-media-canvas",{"data-container-id":I,class:p?ka:""},v,T,b,r.createElement("canvas",{id:`${I}webglcanvas`,className:R(wa,"webglcanvas"),"aria-label":c?.alt||"",role:"presentation","data-testid":Ea})):r.createElement(r.Fragment,null,v,T,b,a&&r.createElement("canvas",{id:`${I}webglcanvas`,ref:a,className:R(wa,"webglcanvas"),"aria-label":c?.alt||"",role:"presentation","data-testid":Ea})),y=s?r.createElement(la,{id:`bgMedia_${I}`,...s},L):r.createElement("div",{id:`bgMedia_${I}`,"data-motion-part":`BG_MEDIA ${I}`,className:ba},L),w=l&&r.createElement(ma,{...l});return r.createElement("div",{id:`${ga}_${I}`,"data-hook":ga,"data-motion-part":`BG_LAYER ${I}`,className:R(Ia,u,{[_a]:n})},h&&r.createElement("div",{"data-testid":pa,className:R(La,va)}),d?r.createElement("div",{"data-testid":fa,className:Ca},y,w):r.createElement(r.Fragment,null,y,w))},Oa="VXAmO2",Sa="dy3w_9",Pa="UORcXs",Ra="Io4VUz";const xa=(e,t,a)=>{const n=((e,t)=>e?[...Array(1+(t||0)).keys()].reverse().map((e=>r.createElement("div",{key:`divider-layer-${e}`,style:{"--divider-layer-i":e},className:Sa,"data-testid":`divider-layer-${e}`,"data-divider-layer":e}))):null)(!!t,a);return t?r.createElement("div",{className:R(Oa,{[Pa]:"top"===e,[Ra]:"bottom"===e}),"data-testid":`${e}-divider`},n):null};var Fa=e=>{const t=r.useMemo((()=>xa("top",e?.hasTopDivider,e?.topLayers?.size)),[e?.hasTopDivider,e?.topLayers?.size]),a=r.useMemo((()=>xa("bottom",e?.hasBottomDivider,e?.bottomLayers?.size)),[e?.hasBottomDivider,e?.bottomLayers?.size]);return r.createElement(r.Fragment,null,t,a)};const Ga="columns";var Ba={root:"column-strip",column:"column-strip__column"},Ha="CohWsy",Da="V5AUxf",Ua="LIhNy3";const Ya=(e,t)=>{const{id:n,className:i,customClassNames:o=[],fillLayers:s,children:c,onMouseEnter:l,onMouseLeave:d,onClick:u,onDblClick:h,getPlaceholder:m,a11y:g={},onStop:p,dividers:f,onReady:E}=e,_={onMouseEnter:l,onMouseLeave:d,onClick:u,onDoubleClick:h},v=s.hasBgFullscreenScrollEffect,T=ie(t,!!s.video,p),{tabindex:b,...L}=g;return r.createElement("section",a()({id:n},I(e),_,L,((e={})=>{const t=e.tabIndex??e.tabindex??void 0;return void 0!==t?{tabIndex:Number(t)}:{}})(g),{className:R(i,Ha,S(Ba.root,...o))}),r.createElement(Na,a()({},s,{getPlaceholder:m,onReady:E,videoRef:T})),f&&r.createElement(Fa,f),r.createElement("div",{"data-testid":Ga,className:R(Da,{[Ua]:v})},c()))};var $a=r.forwardRef(Ya);var za={root:"repeater",repeaterItem:"repeater__item"};const Va="mesh-container-content",ja="inline-content",Wa=e=>o().createElement("div",{key:e.props.id+"-rotated-wrapper","data-mesh-id":e.props.id+"-rotated-wrapper"},e),qa=(e,t)=>{const{id:n,className:i,wedges:r=[],rotatedComponents:s=[],children:c,fixedComponents:l=[],extraClassName:d="",renderRotatedComponents:u=Wa}=e,h=o().Children.toArray(c()),m=[],g=[];h.forEach((e=>l.includes(e.props.id)?m.push(e):g.push(e)));const p=(e=>{const{wedges:t,rotatedComponents:a,childrenArray:n,renderRotatedComponents:i}=e,r=a.reduce(((e,t)=>({...e,[t]:!0})),{});return[...n.map((e=>{return r[(t=e,t.props.id.split("__")[0])]?i(e):e;var t})),...t.map((e=>o().createElement("div",{key:e,"data-mesh-id":e})))]})({childrenArray:g,rotatedComponents:s,wedges:r,renderRotatedComponents:u});return o().createElement("div",a()({},I(e),{"data-mesh-id":n+"inlineContent","data-testid":ja,className:R(i,d),ref:t}),o().createElement("div",{"data-mesh-id":n+"inlineContent-gridContainer","data-testid":Va},p),m)};var Za=o().forwardRef(qa),Ja="I5zqsT";var Xa=e=>{var t;const{id:n,alt:i,role:o,className:s,imageStyles:c={},targetWidth:l,targetHeight:d,onLoad:u,onError:h,containerWidth:m,containerHeight:g,isInFirstFold:p,socialAttrs:f,skipMeasure:E,responsiveImageProps:I,zoomedImageResponsiveOverride:_}=e,v=l||m,T=d||g,{fallbackSrc:b,srcset:L,sources:y,css:w}=I||{},{width:C,height:A,...k}=(null==I||null==(t=I.css)?void 0:t.img)||{};var M;return b&&L&&w?r.createElement("img",a()({fetchpriority:p?"high":void 0,loading:!1===p?"lazy":void 0,sizes:v+"px",srcSet:E?null==_?void 0:_.srcset:null==I?void 0:I.srcset,id:n,src:b,alt:i||"",role:o,style:{...c,...E?{...null==_||null==(M=_.css)?void 0:M.img}:{...k}},onLoad:u,onError:h,className:R(s,Ja),width:v,height:T},f)):b&&y&&w?r.createElement("picture",null,y.map((e=>{let{srcset:t,media:a,sizes:n}=e;return r.createElement("source",{key:a,srcSet:t,media:a,sizes:n})})),r.createElement("img",a()({fetchpriority:p?"high":void 0,loading:!1===p?"lazy":void 0,id:n,src:y[0].fallbackSrc,alt:i||"",role:o,style:{...c,objectFit:y[0].imgStyle.objectFit,objectPosition:y[0].imgStyle.objectPosition},onLoad:u,onError:h,className:R(s,Ja),width:v,height:T},f))):r.createElement(qt,e)};var Ka=e=>{var t,a,n;const{className:i,customIdPrefix:o,getPlaceholder:s,hasAnimation:c,...l}=e,d=r.useMemo((()=>JSON.stringify({containerId:l.containerId,alignType:l.alignType,fittingType:l.displayMode,hasAnimation:c,imageData:{width:l.width,height:l.height,uri:l.uri,name:l.name,...l.quality&&{quality:l.quality},displayMode:l.displayMode}})),[l,c]),u=r.useRef(null);u.current||(u.current=s?s({fittingType:l.displayMode,src:{id:l.uri,width:l.width,height:l.height,name:l.name},target:{width:l.containerWidth,height:l.containerHeight,alignment:l.alignType,htmlTag:"bg"},options:{hasAnimation:c,allowAnimatedTransform:!1}}):{uri:void 0,css:{img:{}},attr:{img:{},container:{}}});const h=u.current,m=null!=(t=null==h?void 0:h.uri)?t:"",g=null!=(a=null==(n=h.css)?void 0:n.container)?a:{},p=Object.assign(m?{backgroundImage:"url("+m+")"}:{},g);return r.createElement("wix-bg-image",{id:""+(o||"bgImg_")+l.containerId,class:i,style:p,"data-tiled-image-info":d,"data-has-bg-scroll-effect":l.hasBgScrollEffect||"","data-bg-effect-name":l.bgEffectName||"","data-motion-part":"BG_IMG "+l.containerId})};var Qa=e=>null==e?void 0:e.replace(":hover",""),en="bX9O_S",tn="Z_wCwr",an="Jxk_UL",nn="K8MSra",rn="YTb3b4";const on={quality:{unsharpMask:{radius:.33,amount:1,threshold:0}},devicePixelRatio:1};var sn=e=>{const{id:t,videoRef:n,videoInfo:i,posterImageInfo:o,muted:s,preload:c,loop:l,alt:d,isVideoEnabled:u,getPlaceholder:h,extraClassName:m=""}=e;i.containerId=Qa(i.containerId);const g=r.useMemo((()=>JSON.stringify(i)),[i]),p=r.createElement(r.Fragment,null,o.filterEffectSvgString&&r.createElement("svg",{id:"svg_"+i.containerId,className:rn},r.createElement("defs",{dangerouslySetInnerHTML:{__html:Qt(o.filterEffectSvgString,i.containerId)}})),r.createElement(Xa,a()({key:i.videoId+"_img",id:o.containerId+"_img",className:R(tn,an,"bgVideoposter",m),imageStyles:{width:"100%",height:"100%"}},o,on,{getPlaceholder:h})));return u?r.createElement("wix-video",{id:t,"data-video-info":g,"data-motion-part":"BG_IMG "+i.containerId,class:R(en,"bgVideo",m)},r.createElement("video",{key:i.videoId+"_video",ref:n,id:i.containerId+"_video",className:nn,crossOrigin:"anonymous","aria-label":d,playsInline:!0,preload:c,muted:s,loop:l}),p):p},cn="SUz0WK";var ln=e=>{const{id:t,containerId:a,pageId:n,children:i,bgEffectName:o="",containerSize:s}=e;return r.createElement("wix-bg-media",{id:t,class:cn,"data-container-id":a,"data-container-size":((null==s?void 0:s.width)||0)+", "+((null==s?void 0:s.height)||0),"data-page-id":n,"data-bg-effect-name":o,"data-motion-part":"BG_MEDIA "+a},i)};const dn="bgOverlay";var un="m4khSP",hn="FNxOn5";var mn=e=>{const{imageOverlay:t}=e;return r.createElement("div",{"data-testid":dn,className:un},t&&r.createElement(Ka,a()({customIdPrefix:"bgImgOverlay_",className:hn},t)))};const gn="bgLayers",pn="colorUnderlay",fn="mediaPadding",En="canvas";var In="MW5IWV",_n="N3eg0s",vn="Kv1aVt",Tn="dLPlxY",bn="VgO9Yg",Ln="LWbAav",yn="yK6aSC",wn="K_YxMd",Cn="NGjcJN",An="mNGsUM",kn="I8xA4L";const Mn="bgImage";var Nn=e=>{const{videoRef:t,canvasRef:n,hasBgFullscreenScrollEffect:i,image:o,backgroundImage:s,backgroundMedia:c,video:l,backgroundOverlay:d,shouldPadMedia:u,extraClass:h="",shouldRenderUnderlay:m=!l,reducedMotion:g=!1,getPlaceholder:p,hasCanvasAnimation:f,useWixMediaCanvas:E}=e,{onImageLoad:I}=(e=>{let{onReady:t,image:a}=e;return(0,r.useEffect)((()=>{t&&!a&&t()}),[t,a]),{onImageLoad:e=>{null!=a&&a.onLoad&&a.onLoad(e),t&&t()}}})(e),_=Qa(e.containerId),v="img_"+Qa(_),T=o&&r.createElement(Xa,a()({id:v,className:R(vn,Tn,An,Mn),imageStyles:{width:"100%",height:"100%"},getPlaceholder:p},o,{onLoad:I})),b=s&&r.createElement(Ka,a()({},s,{containerId:_,className:R(vn,Tn,An,Mn),getPlaceholder:p})),L=l&&r.createElement(sn,a()({id:"videoContainer_"+_},l,{extraClassName:yn,reducedMotion:g,videoRef:t,getPlaceholder:p})),y=E&&n||f?r.createElement("wix-media-canvas",{"data-container-id":_,class:f?kn:""},T,b,L,r.createElement("canvas",{id:_+"webglcanvas",className:R(wn,"webglcanvas"),"aria-label":(null==l?void 0:l.alt)||"",role:"presentation","data-testid":En})):r.createElement(r.Fragment,null,T,b,L,n&&r.createElement("canvas",{id:_+"webglcanvas",ref:n,className:R(wn,"webglcanvas"),"aria-label":(null==l?void 0:l.alt)||"",role:"presentation","data-testid":En})),w=c?r.createElement(ln,a()({id:"bgMedia_"+_},c),y):r.createElement("div",{id:"bgMedia_"+_,"data-motion-part":"BG_MEDIA "+_,className:bn},y),C=d&&r.createElement(mn,d);return r.createElement("div",{id:gn+"_"+_,"data-hook":gn,"data-motion-part":"BG_LAYER "+_,className:R(In,h,{[_n]:i})},m&&r.createElement("div",{"data-testid":pn,className:R(Ln,vn)}),u?r.createElement("div",{"data-testid":fn,className:Cn},w,C):r.createElement(r.Fragment,null,w,C))},On="YzqVVZ",Sn="mwF7X1",Pn="YGilLk";var Rn=e=>{let{id:t,fillLayers:n,children:i,meshProps:r,videoRef:s,getPlaceholder:c,onReady:l}=e;const d=n.hasBgFullscreenScrollEffect;return o().createElement(o().Fragment,null,o().createElement(Nn,a()({},n,{containerId:t,onReady:l,getPlaceholder:c,videoRef:s})),o().createElement(Za,a()({id:t},r,{extraClassName:R({[Sn]:d})}),i))};const xn="column-strip__column",Fn=(e,t)=>{const{id:n,className:i,customClassNames:r=[],children:s,onClick:c,onDblClick:l,onMouseEnter:d,onMouseLeave:u,shouldAddTabIndex0:h,hasPlatformClickHandler:m,translations:g,fillLayers:p,onStop:f,isRepeaterItem:E,columnOverrides:_}=e,v=R(i,On,S(E?za.repeaterItem:_?xn:"",...r),{[Pn]:m}),T=h?{tabIndex:0,role:"region","aria-label":(null==g?void 0:g.ariaLabel)||"Interactive element, focus to trigger content change"}:{},b=ie(t,!!p.video,f);return o().createElement("div",a()({id:n},I(e),{className:v,onClick:c,onDoubleClick:l,onMouseEnter:d,onMouseLeave:u},T),o().createElement(Rn,a()({},e,{videoRef:b}),s))};var Gn=o().forwardRef(Fn);const Bn="screenWidthContainerBg",Hn="screenWidthContainerBgCenter";var Dn=e=>{let{id:t,className:n,skinClassName:i,tagName:r="div",transition:s,transitionEnded:c,eventHandlers:l,skinStyles:d,children:u,tabIndex:h}=e;const m=r;return o().createElement(m,a()({id:t,className:R(i,s&&d[s],c&&d.transitionEnded,n),tabIndex:h},l),u)},Un={screenWidthBackground:"_C0cVf",HeaderHideToTop:"hFwGTD",headerHideToTop:"hFwGTD",HeaderHideToTopReverse:"IQgXoP",headerHideToTopReverse:"IQgXoP",HeaderFadeOut:"Nr3Nid",headerFadeOut:"Nr3Nid",transitionEnded:"l4oO6c",HeaderFadeOutReverse:"iQuoC4",headerFadeOutReverse:"iQuoC4",inlineContent:"CJF7A2",centeredContent:"U4Bvut",centeredContentBg:"G5K6X8",DefaultScreen:"xU8fqS",defaultScreen:"xU8fqS",bg:"_4XcTfy","bg-center":"gUbusX",bgCenter:"gUbusX"};var Yn=e=>{let{wrapperProps:t,children:n}=e;return o().createElement(Dn,a()({},t,{skinClassName:Un.DefaultScreen,skinStyles:Un}),o().createElement("div",{className:Un.screenWidthBackground},o().createElement("div",{className:Un.bg,"data-testid":Bn})),o().createElement("div",{className:Un.centeredContent},o().createElement("div",{className:Un.centeredContentBg},o().createElement("div",{className:Un.bgCenter,"data-testid":Hn})),o().createElement("div",{className:Un.inlineContent},n)))};var $n={root:"footer"};var zn=e=>{const{id:t,className:n,customClassNames:i=[],skin:o,children:s,meshProps:c,fillLayers:l}=e,d={onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onClick:e.onClick,onDoubleClick:e.onDblClick},u=R(n,S($n.root,...i));return r.createElement(o,{wrapperProps:{...I(e),id:t,tagName:"footer",eventHandlers:d,tabIndex:"-1",className:u},fillLayers:l,"data-block-level-container":"FooterContainer"},r.createElement(Za,a()({id:t},c),s))};var Vn=e=>o().createElement(zn,a()({},e,{skin:Yn})),jn="SPY_vo";var Wn=e=>{const{id:t,className:n,meshProps:i,children:r,onClick:s,onDblClick:c,onMouseEnter:l,onMouseLeave:d}=e;return o().createElement("div",a()({id:t},I(e),{onClick:s,onDoubleClick:c,onMouseEnter:l,onMouseLeave:d,className:R(n,jn)}),o().createElement(Za,a()({id:t},i),r))},qn=n(96114),Zn=n.n(qn);function Jn(){if(!E())return{x:0,y:0,isAtPageBottom:!1};const{left:e,top:t}=document.body.getBoundingClientRect();return{x:e,y:t,isAtPageBottom:window.innerHeight+window.scrollY===document.body.scrollHeight}}var Xn={root:"header"};const Kn="Reverse",Qn="up",ei="down";var ti=e=>{const{id:t,skin:n,children:i,animations:s,meshProps:c,className:l,customClassNames:d=[],fillLayers:u}=e,[h,m]=(0,r.useState)(""),[g,p]=(0,r.useState)(!1),f=e=>{m(e),p(!1)};(0,r.useEffect)((()=>{window.TransitionEvent||setTimeout((()=>p(!0)),200)}),[h]);const I=h&&!(e=>e.endsWith(Kn))(h),_=()=>{const e=(e=>""+e+Kn)(h);f(e)},v={onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onClick:e.onClick,onDoubleClick:e.onDblClick,onFocus:I?_:void 0,onTransitionEnd:()=>p(!0)};let T=ei,b=0;!function(e,t,a){void 0===a&&(a={}),a={waitFor:100,disabled:!1,...a};const n=(0,r.useRef)(Jn());let i=null;const o=()=>{Zn().measure((()=>{const t=Jn(),a=n.current;n.current=t,i=null,Zn().mutate((()=>e({prevPos:a,currPos:t})))}))};(E()?r.useLayoutEffect:r.useEffect)((()=>{if(!E())return;const e=()=>{null===i&&(i=window.setTimeout(o,a.waitFor))};return a.disabled?()=>{}:(window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e),i&&window.clearTimeout(i)})}),t)}((e=>{var t,a;let{currPos:n,prevPos:i}=e;const r=n.y&&-1*n.y,o=i.y&&-1*i.y,c=s[s.length-1],l=null==(t=c.params)||null==(t=t.animations)?void 0:t[c.params.animations.length-1];if(!l)return;const d="mobile"===(null==(a=c.viewMode)?void 0:a.toLowerCase())?1:(e=>{switch(e){case"HeaderFadeOut":return 200;case"HeaderHideToTop":return 400;default:return null}})(l.name);d&&(((e,t)=>{T===ei&&et&&e>=0&&t>=0&&(b=t,T=ei)})(r,o),I?(T===Qn&&r+d=d&&f(l.name))}),[h,s],{disabled:!s||!s.length});const L=R(l,S(Xn.root,...d));return o().createElement(n,{wrapperProps:{id:t,tagName:"header",eventHandlers:v,className:L,transition:h,transitionEnded:g,tabIndex:"-1"},"data-block-level-container":"HeaderContainer",fillLayers:u},o().createElement(Za,a()({id:t},c,{children:i})))};var ai=e=>o().createElement(ti,a()({},e,{skin:Yn}));var ni=j((e=>{let{mapperProps:t,controllerUtils:a}=e;const{updateStyles:n}=a,{compId:i,marginTop:o,isMobileView:s,isFixed:c,...l}=t;var d;return d=()=>{var e;const t=((null==(e=window.document.getElementById(i))?void 0:e.clientHeight)||0)>=window.document.body.clientHeight/2;s&&c&&t&&n({position:"relative !important",marginTop:o,top:0})},(0,r.useEffect)(d,[]),l})),ii="BmZ5pC";const ri=(e,t)=>{const{id:n,className:i,fillLayers:o,isMediaPositionOverride:s,mediaHeightOverrideType:c,getPlaceholder:l,onStop:d}=e,u=ie(t,!!o.video,d);return r.createElement("div",a()({id:n},I(e),{"data-media-height-override-type":c,"data-media-position-override":s,className:R(i,ii)}),r.createElement(Nn,a()({},o,{getPlaceholder:l,videoRef:u})))};var oi=r.forwardRef(ri);const si="expandButton",ci="zoomButton";var li=e=>{const{skin:t,id:n,uri:i,alt:o,name:s,width:c,height:l,displayMode:d,focalPoint:u,filterEffectSvgUrl:h,quality:m,crop:g,onSizeChange:p,onLoad:f,getPlaceholder:E,containerWidth:I,containerHeight:_,isInFirstFold:v,hasAnimation:T,responsiveImageProps:b,zoomedImageResponsiveOverride:L,encoding:y}=e,w={containerId:n,uri:i||"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",alt:o,name:s,width:c,height:l,displayMode:d,focalPoint:u,quality:m,crop:g,onLoad:f&&(C=i,/(^https?)|(^data)|(^blob)|(^\/\/)/.test(C))?e=>{const{naturalWidth:t,naturalHeight:a}=e.target;t&&a&&(t!==c||a!==l)&&(p(t,a),null==f||f())}:void 0,getPlaceholder:E,containerWidth:I,containerHeight:_,isInFirstFold:v,hasAnimation:T,responsiveImageProps:b,zoomedImageResponsiveOverride:L,encoding:y};var C;const A=h?Qt(h,n):void 0;return r.createElement(t,a()({},e,{imageProps:w,filterEffectSvgUrl:A}))},di={link:"j7pOnl",image:"BI8PVQ",root:"MazNVa"},ui="rYiAuL",hi="gSXewE";const mi=e=>{const{id:t,children:n,className:i,title:o,onClick:s,onDblClick:c,withOnClickHandler:l,onMouseEnter:d,onMouseLeave:u,filterEffectSvgString:h,filterEffectSvgUrl:m}=e,g=l?ui:"",p=m?{style:{"--filter-effect-svg-url":m}}:{},f=h?r.createElement("svg",{id:"svg_"+t,className:hi},r.createElement("defs",{dangerouslySetInnerHTML:{__html:Qt(h,t)}})):null;return r.createElement("div",a()({id:t},I(e),{className:R(i,g),title:o,onClick:s,onDoubleClick:c,onMouseEnter:d,onMouseLeave:u},p),f,n)};var gi,pi,fi,Ei={root:"image"},Ii="nTOEE9",_i="sqUyGm",vi="C_JY0G",Ti="RZQnmg";function bi(){return bi=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t(!e),e||a({x:0,y:0})};let wi,Ci,Ai,ki=!1;var Mi=e=>{const{width:t,height:n,className:i,magnifyKeyboardOperabilityEnabled:o,translations:s,zoomedImageResponsiveOverride:c}=e,[l,d]=r.useState(!1),[u,h]=r.useState({x:0,y:0}),m=r.useRef(null),g=r.useRef(null),[p,f]=r.useState(!1),E=e=>{const t=e.nativeEvent;if(l)d(!1);else if(!l&&t&&"click"===t.type){d(!0);const{offsetX:e,offsetY:a}=_(t.clientX,t.clientY),{x:n,y:i}=I(e,a);h({x:n,y:i})}},I=(e,a)=>{const i=m.current.offsetWidth,r=m.current.offsetHeight;return{x:e/i*(t-i),y:a/r*(n-r)}},_=(e,t)=>{const a=m.current.getBoundingClientRect();return{offsetX:e-a.left,offsetY:t-a.top}},v=()=>{h({x:wi,y:Ci}),ki=!1},T={onMouseLeave:e=>{Ai=setTimeout((()=>E(e)),1200)},onMouseEnter:()=>{clearTimeout(Ai)},onMouseMove:e=>{const t=e.nativeEvent,{offsetX:a,offsetY:n}=_(t.clientX,t.clientY);({x:wi,y:Ci}=I(a,n)),ki||requestAnimationFrame(v),ki=!0}};let b={};l&&!p?b={transform:"translate(-"+u.x+"px, -"+u.y+"px)",transitionTimingFunction:"ease-out",transitionDuration:"0.2s",willChange:"transform"}:p&&!l&&(b={transform:"translate("+u.x+"px, "+u.y+"px)",transition:"transform 0.3s ease",willChange:"transform"});const L=l?{onClick:E,...T}:{onClick:E},y=l||p?{targetWidth:e.width,targetHeight:e.height,skipMeasure:!0,zoomedImageResponsiveOverride:c}:{skipMeasure:!1};return r.createElement("div",a()({},L,{className:R(Ii,""+(l?vi:_i)),ref:m,onKeyDown:e=>((e,t,a,n,i)=>{if(!t)return;["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"].includes(e.key)&&e.preventDefault();const r=n.current.getBoundingClientRect(),o=r.width,s=r.height,c=i.width,l=i.height,d=l/20,u=c/20,h=e.key;a((e=>{const{x:t,y:a}=e,n={ArrowUp:{x:t,y:Math.min(a+d,0)},ArrowDown:{x:t,y:Math.max(a-d,s-l)},ArrowLeft:{x:Math.min(t+u,0),y:a},ArrowRight:{x:Math.max(t-u,o-c),y:a}}[h];return null!=n?n:e}))})(e,p,h,m,{width:t,height:n}),onBlur:()=>f(!1),tabIndex:0}),r.createElement(Xa,a()({},e,{className:i,imageStyles:b},y)),o&&r.createElement("button",{className:Ti,"data-testid":ci,"aria-label":null==s?void 0:s.zoomInButtonAriaLabel,"aria-pressed":p,onClick:()=>yi(p,f,h),onKeyDown:e=>((e,t,a)=>{"Enter"===e.key||" "===e.key?(e.preventDefault(),t()):"Escape"===e.key&&a()})(e,(()=>yi(p,f,h)),(()=>f(!1))),ref:g},r.createElement(Li,null)))};var Ni="OJQ_3L";var Oi=e=>{const{skinsStyle:t,id:n,className:i,customClassNames:o=[],link:s,imageProps:c,title:l,onClick:d,hasPlatformClickHandler:u=!1,onClickBehavior:h,onDblClick:m,onMouseEnter:g,onMouseLeave:p,reportBiOnClick:E,filterEffectSvgString:_,filterEffectSvgUrl:v,magnifyKeyboardOperabilityEnabled:T,popupA11yExperimentEnabled:L,translations:y}=e,w="zoomAndPanMode"===h?Mi:Xa;const C="zoomMode"===h;let A;C&&(A=s);var k;const M=!(!(k=s)||0===Object.keys(k).length&&k.constructor===Object)||u||C,N=f({onClick:d,reportBiOnClick:E});let O;(M||Boolean(d))&&(O=N);const P=C&&L,x=(e=>{let{onClickBehavior:t,className:a,link:n}=e;const i={className:a};return"zoomMode"===t||"zoomAndPanMode"===t?i:{...n,...i}})({onClickBehavior:h,className:t.link,link:s});return r.createElement(mi,a()({id:n},I(e),{className:R(t.root,i,S(Ei.root,...o)),title:l,onClick:O,onDblClick:m,onMouseEnter:g,onMouseLeave:p,withOnClickHandler:M,filterEffectSvgString:_,filterEffectSvgUrl:v}),r.createElement(b,x,r.createElement(w,a()({id:"img_"+n},c,{className:t.image,magnifyKeyboardOperabilityEnabled:T,translations:y,link:A}))),P&&r.createElement("button",{"data-testid":si,onClick:O,className:Ni,"aria-haspopup":"dialog","aria-label":null==y?void 0:y.expandAriaLabel,"aria-describedby":c.alt?c.containerId:void 0},r.createElement("svg",{width:"24px",height:"24px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 4V5H5.5C5.224 5 5 5.225 5 5.5V18.5C5 18.775 5.224 19 5.5 19H18.5C18.776 19 19 18.775 19 18.5V12H20V18.5C20 19.327 19.327 20 18.5 20H5.5C4.673 20 4 19.327 4 18.5V5.5C4 4.673 4.673 4 5.5 4H12ZM20 4V9H19V5.707L12.71 11.997L12.003 11.29L18.293 5H15V4H20Z"}))))};const Si=e=>r.createElement(Oi,a()({},e,{skinsStyle:di}));var Pi=e=>r.createElement(li,a()({},e,{skin:Si}));var Ri=j((e=>{let{controllerUtils:t,mapperProps:a,stateValues:n}=e;const{reportBi:i}=n,{compId:r,language:o,mainPageId:s,fullNameCompType:c,trackClicksAnalytics:l,...d}=a,u=!0===(h=n.experiments)[m="specs.thunderbolt.magnifyKeyboardOperability"]||"true"===h[m]||"new"===h[m];var h,m;return{...d,reportBiOnClick:()=>{const{link:e,title:t,uri:a}=d;X(i,{link:e,language:o,trackClicksAnalytics:l,details:{uri:a},element_id:r,elementTitle:t,elementType:c,pagesMetadata:{mainPageId:s},elementGroup:K.Image})},onSizeChange:(e,a)=>{t.updateProps({width:e,height:a})},magnifyKeyboardOperabilityEnabled:u}}));var xi=e=>{const{id:t,className:n,customClassNames:i=[],skin:o,pageDidMount:s,onClick:c=(()=>{}),onDblClick:l=(()=>{}),onMouseEnter:d,onMouseLeave:u,children:h}=e;return r.createElement(o,a()({id:t,className:n,customClassNames:i},I(e),{pageDidMount:s,onClick:c,onDblClick:l,onMouseEnter:d,onMouseLeave:u}),h)},Fi={bg:"c7cMWz",inlineContent:"FVGvCX",pageWrapper:"zK7MhX",root:"fEm0Bo"};const Gi="page-bg";var Bi={root:"page"};var Hi=e=>{let{id:t,className:a,customClassNames:n=[],pageDidMount:i,onClick:r,onDblClick:s,children:c,skinsStyle:l,onMouseEnter:d,onMouseLeave:u}=e;const h=R(l.root,l.pageWrapper,a);return o().createElement("div",{id:t,className:h,ref:i,onClick:r,onDoubleClick:s,onMouseEnter:d,onMouseLeave:u},o().createElement("div",{className:R(l.bg,S(Bi.root,...n)),"data-testid":Gi}),o().createElement("div",{className:l.inlineContent},c()))};const Di=e=>o().createElement(Hi,a()({},e,{skinsStyle:Fi}));var Ui={bg:"PFkO7r",inlineContent:"HT5ybB",pageWrapper:"dBAkHi"};const Yi=e=>o().createElement(Hi,a()({},e,{skinsStyle:Ui}));const $i={SiteButton_BasicButton:{component:z,controller:Q},SiteButton_TextOnlyButtonSkin:{component:ne,controller:Q},StripColumnsContainer:{component:$a},Column:{component:Gn},Column_DefaultColumn:{component:Gn},FooterContainer_DefaultScreen:{component:Vn},Group:{component:Wn},HeaderContainer_DefaultScreen:{component:ai,controller:ni},MediaContainer:{component:Gn},PageBackground:{component:oi},WPhoto_NoSkinPhoto:{component:Pi,controller:Ri},ContainerWrapper:{component:e=>{const{id:t,children:n,tagName:i,className:o}=e,s=i;return r.createElement(s,a()({},I(e),{className:o,tabIndex:-1,id:t}),n())}},Page_BasicPageSkin:{component:e=>o().createElement(xi,a()({},e,{skin:Di}))},Page_TransparentPageSkin:{component:e=>o().createElement(xi,a()({},e,{skin:Yi}))}}}(),i}()})); //# sourceMappingURL=https://static.parastorage.com/services/editor-elements-library/dist/thunderbolt/rb_wixui.thunderbolt_bootstrap-classic.48cc9b55.bundle.min.js.map