"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6235],{6235:function(e,t,o){let i;o.r(t),o.d(t,{default:function(){return k}});var n=o(5893),l=o(7294),r=o(455),a=o(6794),d=o(4708),c=o(9986),s=o(6804),u=o(5153),v=o(9008),p=o.n(v);let b=new Map,g=new WeakMap,h=0,m={desktop:"1200px",tablet:"100%",mobile:"100%"},f=(e,t,o)=>(o||t)&&(null==t?void 0:t[e])!==!0&&(null==t?void 0:t[e])!==void 0?(null==o?void 0:o[e])==="100%"?{contentWidth:"100%",wrapperWidth:"100%",wrapperPadding:"var(--g-ct-p)"}:(null==o?void 0:o[e])!==void 0?{contentWidth:null==o?void 0:o[e],wrapperWidth:"calc(".concat(null==o?void 0:o[e]," + 2 * var(--g-ct-p, 15px))"),wrapperPadding:"var(--g-ct-p, 15px)"}:{contentWidth:"var(--g-ct-w, ".concat(m[e],")"),wrapperWidth:"calc(var(--g-ct-w, ".concat(m[e],") + 2 * var(--g-ct-p, 15px))"),wrapperPadding:"var(--g-ct-p, 15px)"}:{contentWidth:"100%",wrapperWidth:"100%",wrapperPadding:"0px"},w=(e,t)=>{let o=f("desktop",t,e),i=f("tablet",t,e),n=f("mobile",t,e);return{content:{desktop:o.contentWidth,tablet:i.contentWidth,mobile:n.contentWidth},wrapper:{desktop:o.wrapperWidth,tablet:i.wrapperWidth,mobile:n.wrapperWidth},padding:{desktop:o.wrapperPadding,tablet:i.wrapperPadding,mobile:n.wrapperPadding}}},k=e=>{var t,o,v,m,f,k;let{className:x,children:y,setting:j,builderAttrs:S,builderProps:O,styles:W,style:A,advanced:$,...E}=e,{isSection:B,as:C="div",lazy:R,layout:V,horizontalAlign:P,verticalAlign:I,responsive:N}=null!=j?j:{},{fullWidth:F,width:_,verticalGutter:M,background:Q}=null!=W?W:{},[U,X]=function(){let{threshold:e,delay:t,trackVisibility:o,rootMargin:n,root:r,triggerOnce:a,skip:d,initialInView:c,fallbackInView:s,onChange:u}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},v=(0,l.useRef)(),p=(0,l.useRef)(),[m,f]=(0,l.useState)({inView:!!c});p.current=u;let w=(0,l.useCallback)(l=>{void 0!==v.current&&(v.current(),v.current=void 0),!d&&l&&(v.current=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i;if(void 0===window.IntersectionObserver&&void 0!==n){let i=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof o.threshold?o.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:l,observer:r,elements:a}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var o;return"".concat(t,"_").concat("root"===t?(o=e.root)?(g.has(o)||(h+=1,g.set(o,h.toString())),g.get(o)):"0":e[t])}).toString(),o=b.get(t);if(!o){let i=new Map,n=[],l=new IntersectionObserver(t=>{t.forEach(t=>{var o;let l=t.isIntersecting&&n.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=l),null===(o=i.get(t.target))||void 0===o||o.forEach(e=>{e(l,t)})})},e);n=l.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),o={id:t,observer:l,elements:i},b.set(t,o)}return o}(o),d=a.get(e)||[];return a.has(e)||a.set(e,d),d.push(t),r.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(a.delete(e),r.unobserve(e)),0===a.size&&(r.disconnect(),b.delete(l))}}(l,(e,t)=>{f({inView:e,entry:t}),p.current&&p.current(e,t),t.isIntersecting&&a&&v.current&&(v.current(),v.current=void 0)},{root:r,rootMargin:n,threshold:e,trackVisibility:o,delay:t},s))},[Array.isArray(e)?e.toString():e,r,n,a,d,o,s,t]);(0,l.useEffect)(()=>{v.current||!m.entry||a||d||f({inView:!!c})});let k=[w,m.inView,m.entry];return k.ref=k[0],k.inView=k[1],k.entry=k[2],k}({initialInView:!R,triggerOnce:!0,skip:!B}),q=w(_,F),[z,D]=(0,r.H)(["pos","top","left","bottom","left"],A),H=(0,n.jsx)("div",{...S,...E,id:null==O?void 0:O.uid,ref:U,style:{...B?D:A,...(0,a.p$)("cg",M),...(0,a.p$)("cg",M),...(0,a.p$)("pc",P),...V?(0,d.Uv)(V):(0,a.p$)("gtc",N),...(0,a.p$)("w",q.content),...(0,c.n)(Q)},className:(0,s.y)(x,null==O?void 0:O.uid,"mx-auto mb-0 grid max-w-full transition-colors duration-200 ease-in-out",{"content-visibility-hidden":B&&R&&!X}),children:(0,u.W)(y)?(0,n.jsx)("div",{"data-slot":"children"}):l.Children.map(y,e=>(0,l.isValidElement)(e)?(0,l.createElement)(e.type,{...e.props,key:e.key,order:null==j?void 0:j.order,justifyContent:I}):null)});return(0,n.jsxs)(n.Fragment,{children:[!!(null==W?void 0:W.preloadBgImage)&&(0,n.jsxs)(p(),{children:[!!(null==Q?void 0:null===(t=Q.desktop)||void 0===t?void 0:null===(o=t.image)||void 0===o?void 0:o.src)&&(0,n.jsx)("link",{rel:"preload",href:Q.desktop.image.src,as:"image"}),!!(null==Q?void 0:null===(v=Q.tablet)||void 0===v?void 0:null===(m=v.image)||void 0===m?void 0:m.src)&&(0,n.jsx)("link",{rel:"preload",href:Q.tablet.image.src,as:"image"}),!!(null==Q?void 0:null===(f=Q.mobile)||void 0===f?void 0:null===(k=f.image)||void 0===k?void 0:k.src)&&(0,n.jsx)("link",{rel:"preload",href:Q.mobile.image.src,as:"image"})]}),B?(0,n.jsx)(C,{className:"mx-auto max-w-full",style:{...z,...(0,a.p$)("w",q.wrapper),...(0,a.p$)("pl",q.padding),...(0,a.p$)("pr",q.padding)},children:H}):H]})}},9986:function(e,t,o){o.d(t,{n:function(){return l},v:function(){return w}});var i=o(7285),n=o(6794);let l=(e,t)=>e?{...r(e),...c(e,t),...u(e),...p(e),...g(e),...m(e)}:{},r=e=>{let t={desktop:a(e,"desktop"),tablet:a(e,"tablet"),mobile:a(e,"mobile")};return(0,n.p$)("bgc",t)},a=(e,t)=>{var o;return d(null==e?void 0:null===(o=e[t])||void 0===o?void 0:o.color)},d=e=>e?(0,i.D5)(null==e?void 0:e.toString())?e:"var(--g-c-".concat(e,")"):void 0,c=(e,t)=>{let o={desktop:s(e,"desktop",t),tablet:s(e,"tablet",t),mobile:s(e,"mobile",t)};return(0,n.p$)("bgi",o)},s=(e,t,o)=>{var i,n,l,r;let a=null==e?void 0:null===(i=e[t])||void 0===i?void 0:null===(n=i.image)||void 0===n?void 0:n.backupFileKey,d=(null==o?void 0:o.liquid)&&a&&'{{ "'.concat(a,'" | asset_url }}')||(null==e?void 0:null===(l=e[t])||void 0===l?void 0:null===(r=l.image)||void 0===r?void 0:r.src);if("string"==typeof d)return"url(".concat(d,")")},u=e=>{let t={desktop:v(e,"desktop"),tablet:v(e,"tablet"),mobile:v(e,"mobile")};return(0,n.p$)("bgp",t)},v=(e,t)=>{var o;let i=null==e?void 0:null===(o=e[t])||void 0===o?void 0:o.position;return i&&"".concat(i.x,"% ").concat(i.y,"%")},p=e=>{let t={desktop:b(e,"desktop"),tablet:b(e,"tablet"),mobile:b(e,"mobile")};return(0,n.p$)("bgs",t)},b=(e,t)=>{var o;return null==e?void 0:null===(o=e[t])||void 0===o?void 0:o.size},g=e=>{let t={desktop:h(e,"desktop"),tablet:h(e,"tablet"),mobile:h(e,"mobile")};return(0,n.p$)("bgr",t)},h=(e,t)=>{var o;return null==e?void 0:null===(o=e[t])||void 0===o?void 0:o.repeat},m=e=>{let t={desktop:f(e,"desktop"),tablet:f(e,"tablet"),mobile:f(e,"mobile")};return(0,n.p$)("bga",t)},f=(e,t)=>{var o;return null==e?void 0:null===(o=e[t])||void 0===o?void 0:o.attachment},w=e=>"".concat(e?"background-color: ".concat((0,i.tr)(e)," !important;"):void 0)},455:function(e,t,o){o.d(t,{H:function(){return v},m:function(){return u}});var i=o(8740),n=o(7285),l=o(1082),r=o(6794),a=o(9238),d=o(9479);let c=e=>{let{source:t,spacing:o,type:i,suffix:n=""}=e,{top:l,left:r,bottom:a,right:d}=o;l&&(t["--".concat(i,"t").concat(n)]=l),r&&(t["--".concat(i,"l").concat(n)]=r),a&&(t["--".concat(i,"b").concat(n)]=a),d&&(t["--".concat(i,"r").concat(n)]=d)},s=(e,t,o)=>{if(null!=t)switch(e){case"bgc":case"c":return(0,n.D5)(t.toString())?t:"var(--g-c-".concat(t,")");case"d":if(!t)return"none";if(t&&o&&l.uU.includes(o))return"grid";return"block";default:return t}};function u(e,t){if(!e)return{};let o={},n=["desktop","tablet","mobile"],l=["hover","normal"];return Object.keys(e).forEach(r=>{let u=e[r];if(null==u)return;let v=e.hasBoxShadow?e.hasBoxShadow:{};if("object"==typeof u){if(Array.isArray(u))return;Object.keys(u).forEach(p=>{if(n.includes(p)){let e=u[p];if(void 0!==e){if("border"===r&&Object.assign(o,(0,i.UM)(u),(0,i.kt)(u),(0,i.dq)(u)),"rounded"===r&&Object.assign(o,(0,a.PX)(u)),"desktop"===p)switch(r){case"padding":c({source:o,spacing:e,type:"p"});break;case"margin":c({source:o,spacing:e,type:"m"});break;case"m":case"p":break;default:o["--".concat(r)]=s(r,e,t)}else switch(r){case"padding":c({source:o,spacing:e,type:"p",suffix:"-".concat(p)});break;case"margin":c({source:o,spacing:e,type:"m",suffix:"-".concat(p)});break;case"m":case"p":break;default:o["--".concat(r,"-").concat(p)]=s(r,e,t)}}}else if(l.includes(p))switch(r){case"hasBoxShadow":break;case"boxShadow":Object.assign(o,(0,d.m$)(u,"box-shadow",v))}else"border"===r&&Object.assign(o,(0,i.dR)(u)),"rounded"===r&&Object.assign(o,(0,a.LM)(u)),"hasBoxShadow"===r&&Object.assign(o,(0,d.RN)({value:e.boxShadow,styleAppliedFor:"box-shadow",isEnableShadow:e.hasBoxShadow})),"boxShadow"===r&&Object.assign(o,(0,d.RN)({value:u,styleAppliedFor:"box-shadow",isEnableShadow:e.hasBoxShadow}))})}else o["--".concat(r)]=s(r,u,t),"hasBoxShadow"===r&&e.boxShadow&&Object.assign(o,(0,d.RN)({value:e.boxShadow,styleAppliedFor:"box-shadow",isEnableShadow:e.hasBoxShadow}))}),o}let v=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.map(e=>(0,r.Xe)(e)).flat(),i=Object.keys(t).filter(e=>o.includes(e)),n=i.reduce((e,o)=>({...e,[o]:t[o]}),{}),l=Object.keys(t).filter(e=>!i.includes(e)).reduce((e,o)=>({...e,[o]:t[o]}),{});return[n,l]}},5153:function(e,t,o){o.d(t,{W:function(){return n}});var i=o(7294);let n=e=>1>i.Children.count(e)||!e},4708:function(e,t,o){o.d(t,{Kp:function(){return r},Uv:function(){return a},i:function(){return c},nQ:function(){return l}});var i=o(1082),n=o(3566);let l=/[^\s()]+(?:\([^\s()]+(?:\([^()]+\))?(?:, *[^\s()]+(?:\([^()]+\))?)*\))?/g,r=e=>{if(!e)return{};let t={};for(let[o,n]of Object.entries(e))Object.assign(t,{["--gtc".concat(null===i.CQ||void 0===i.CQ?void 0:i.CQ[o])]:"repeat(".concat(parseFloat(n+"")||1,", minmax(0, 1fr))")});return t},a=e=>{var t,o,i,l,r,a,d,c,s,u,v,p,b,g,h;let m=(0,n.OX)(e,"display"),f=null===(t="fit"===(0,n.As)(m,"desktop")?null==e?void 0:null===(o=e.desktop)||void 0===o?void 0:null===(i=o.cols)||void 0===i?void 0:i.map(()=>"minmax(0, auto)"):null==e?void 0:null===(l=e.desktop)||void 0===l?void 0:null===(r=l.cols)||void 0===r?void 0:r.map(e=>"minmax(0, ".concat(e,"fr)")))||void 0===t?void 0:t.join(" "),w=null===(a="fit"===(0,n.As)(m,"tablet")?null==e?void 0:null===(d=e.tablet)||void 0===d?void 0:null===(c=d.cols)||void 0===c?void 0:c.map(()=>"minmax(0, auto)"):null==e?void 0:null===(s=e.tablet)||void 0===s?void 0:null===(u=s.cols)||void 0===u?void 0:u.map(e=>"minmax(0, ".concat(e,"fr)")))||void 0===a?void 0:a.join(" "),k=null===(v="fit"===(0,n.As)(m,"mobile")?null==e?void 0:null===(p=e.mobile)||void 0===p?void 0:null===(b=p.cols)||void 0===b?void 0:b.map(()=>"minmax(0, auto)"):null==e?void 0:null===(g=e.mobile)||void 0===g?void 0:null===(h=g.cols)||void 0===h?void 0:h.map(e=>"minmax(0, ".concat(e,"fr)")))||void 0===v?void 0:v.join(" ");return{"--gtc":f,"--gtc-tablet":w,"--gtc-mobile":k}},d=e=>{var t;return e&&null!==(t=e.match(l))&&void 0!==t?t:[]},c=e=>{let t=d(null==e?void 0:e.desktop).length,o=d(null==e?void 0:e.tablet).length,i=d(null==e?void 0:e.mobile).length;return{desktop:{cols:t?Array.from({length:t},()=>12/t):void 0,display:"fill"},tablet:{cols:o?Array.from({length:o},()=>12/o):void 0},mobile:{cols:i?Array.from({length:i},()=>12/i):void 0}}}}}]);