1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,235434,e=>{"use strict";var t=e.i(395712),r=e.i(712491);let n=!!window.document&&!!window.document.createElement;var i=e.i(236393);let s=e=>{let{apiRoute:t,depth:r,refresh:n,serverURL:s}=e,a=(0,i.useRef)(!1),o=(0,i.useCallback)(e=>{e.origin===s&&e.data&&"object"==typeof e.data&&"payload-document-event"===e.data.type&&("function"==typeof n?n():console.error("You must provide a refresh function to `RefreshRouteOnSave`"))},[n,s]);return(0,i.useEffect)(()=>("u">typeof window&&window.addEventListener("message",o),a.current||(a.current=!0,(e=>{let{serverURL:t}=e;if("u">typeof window){let e=window?.opener||window?.parent;e?.postMessage({type:"payload-live-preview",ready:!0},t)}})({serverURL:s}),n()),()=>{"u">typeof window&&window.removeEventListener("message",o)}),[s,o,r,t,n]),null};var a=e.i(713990);e.s(["LivePreviewListener",0,()=>{let e=(0,a.useRouter)();return(0,t.jsx)(s,{refresh:e.refresh,serverURL:(()=>{if(n){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return r.default.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${r.default.env.VERCEL_PROJECT_PRODUCTION_URL}`:"https://seanovation.org"})()})}],235434)},807222,792308,e=>{"use strict";var t=e.i(330205);let r=(e,t,r={opensWindows:!0})=>{let n,i=e?.mode??"auto";if("off"===i||!r.opensWindows)return null;if(!e)return t;let s="custom"===i?{title:t.title,tint:t.tint,imageShape:t.imageShape}:t,a=e.actionUrl&&e.actionLabel?{label:e.actionLabel,href:e.actionUrl,external:(n=e.actionUrl,/^(https?:)?\/\//i.test(n)||/^mailto:|^tel:/i.test(n))}:s.action;return{...s,eyebrow:e.eyebrow??s.eyebrow,title:e.title||t.title,body:e.body??s.body,image:e.image??s.image,imageIsMark:!e.image&&s.imageIsMark,gallery:e.gallery,facts:e.facts??s.facts,file:e.file?{href:e.file,label:e.fileLabel||""}:void 0,action:a}};e.s(["opensWindows",0,(e,t)=>("modal"===e||"page"===e?e:t)==="modal","resolvePopup",0,r],807222);var n=e.i(395712),i=e.i(236393),s=e.i(207617),a=e.i(341964),o=e.i(20899),l=e.i(560679),c=e.i(459758),d=e.i(976205),u=e.i(281520);let h=({people:e,locale:d,emptyText:h,addToGroup:p,own:m=!1,opensWindows:f=!0})=>{let g,v=(0,o.useRecord)(),x=(0,o.useSlot)("communities"),[y,b]=(0,i.useState)(null),[w,_]=(0,i.useState)(null),k=(0,l.useSiteText)(d).cards,j=e.filter(e=>
1""!==(e.name??"").trim()),T=(g=new Map,j.forEach((e,t)=>(e.areas??[]).forEach(e=>{let r=g.get(e);r?r.n+=1:g.set(e,{n:1,at:t})})),[...g.entries()].sort(([,e],[,t])=>t.n-e.n||e.at-t.at).map(([e])=>e)),S=w&&T.includes(w)?w:null,N=S?j.filter(e=>(e.areas??[]).includes(S)):j,E=(0,i.useRef)(null),C=e=>{_(e);let t=E.current;if(!t||t.getBoundingClientRect().top>=80)return;let r=window.__lenis;r?r.scrollTo(t,{offset:-110}):t.scrollIntoView({behavior:"smooth",block:"start"})},M=e=>r(e.popup,{eyebrow:[e.role,e.organization].filter(Boolean).join(" · ")||void 0,title:e.name,body:e.bio,image:e.image,imageShape:"portrait",facts:[...e.areas?.length?[{k:k.mentorAreas,v:e.areas.join(" · ")}]:[],...e.email?[{k:k.emailLink,v:e.email}]:[]],action:e.link?{label:k.linkedinProfile,href:e.link,external:!0}:void 0},{opensWindows:f}),P=p||m?(0,n.jsx)(a.AddRecord,{collection:"communities",label:p?(0,c.groupSingular)(p):"××ש",defaults:{kind:"person",communityType:p??""},variant:0===j.length?"empty":"tile"}):null;return 0===j.length?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"lead reveal",style:{marginTop:8},children:h||k.peopleEmpty}),P]}):(0,n.jsxs)(n.Fragment,{children:[T.length>1?(0,n.jsxs)("div",{className:"filters reveal on",ref:E,style:{marginTop:4,marginBottom:26,scrollMarginTop:110},children:[(0,n.jsx)("button",{type:"button",className:`chip${null===S?" onx":""}`,onClick:()=>C(null),children:k.all}),T.map(e=>(0,n.jsx)("button",{type:"button",className:`chip${S===e?" onx":""}`,"aria-pressed":S===e,onClick:()=>C(S===e?null:e),children:e},e))]}):null,(0,n.jsxs)("div",{className:"people",children:[N.map((e,r)=>{let i=[e.role,e.organization].filter(Boolean).join(" · ");return(0,n.jsxs)("article",{className:"person reveal",style:(0,u.v)({"--d":`${.05*Math.min(r,8)}s`}),...v("communities",e.id),children:[(0,n.jsx)("div",{className:"personShot",...x("image"),children:e.image?(0,n.jsx)("img",{src:e.image,alt:e.name??"",style:(0,t.focalStyle)(e.image),loading:"lazy",decoding:"async"}):(0,n.jsx)("span",{className:"personInitial","aria-hidden":"true",children:(e.name??"").trim().charAt(0)})}),(0,n.jsxs)("div",{className:"personBody",children:[(0,n.jsx)("h3",{...x("title"),children:e.name}),i?(0,n.jsx)("div",{className:"personRole",...x("eyebrow"),children:i}):null,e.bio?(0,n.jsx)("p",{className:"personBio",...x("text"),children:e.bio}):null,M(e)?(0,n.jsx)("button",{type:"button",className:"personMore",onClick:()=>b(e),"aria-label":`${e.name} â ${k.readMore}`,children:k.readMore}):null,e.areas?.length?(0,n.jsx)("div",{className:"personAreas",...x("tag"),children:e.areas.map(e=>(0,n.jsx)("button",{type:"button",className:`personArea${S===e?" onx":""}`,onClick:()=>C(S===e?null:e),children:e},e))}):null,(0,n.jsxs)("div",{className:"personFoot",children:[e.logo?(0,n.jsx)("img",{className:"personLogo",src:e.logo,alt:e.organization??""}):null,e.link?(0,n.jsxs)("a",{className:"personLink",href:e.link,target:"_blank",rel:"noreferrer noopener",children:[k.linkedinProfile," ",(0,n.jsx)("span",{className:"ar ext","aria-hidden":"true"})]}):null,e.email?(0,n.jsxs)("a",{className:"personLink",href:`mailto:${e.email}`,title:e.email,children:[(0,n.jsx)("span",{className:"ar","aria-hidden":"true",children:"â"})," ",k.emailLink,(0,n.jsxs)("span",{className:"srOnly",children:[" â ",e.email]})]}):null]})]})]},e.id??r)}),P]}),(0,n.jsx)(s.PopupModal,{popup:y?M(y):null,locale:d,onClose:()=>b(null)})]})};e.s(["PeopleGrid",0,h,"PeopleSection",0,({people:e,group:t,picked:r=[],order:i=[],own:s=!1,locale:a,eyebrow:l,title:c,emptyText:u,opensWindows:p=!0})=>{let m=(0,o.useField)(),f=e.filter(e=>"community"!==e.kind),g=(0,d.orderBy)(s?(0,d.pickFrom)(f,r,!0):(0,d.pickFrom)(f.filter(e=>e.communityType===t),r),i);return(0,n.jsx)("section",{className:"pad",children:(0,n.jsxs)("div",{className:"wrap",children:[l?(0,n.jsx)("div",{className:"eyebrow2 reveal",...m("eyebrow"),children:l}):null,c?(0,n.jsx)("h2",{className:"reveal",...m("title"),children:c}):null,(0,n.jsx)("div",{style:{marginTop:l||c?28:0},children:(0,n.jsx)(h,{people:g,locale:a,emptyText:u,addToGroup:s?void 0:t,own:s,opensWindows:p})})]})})}],792308)},966795,e=>{"use strict";var t=e.i(395712),r=e.i(884699),n=e.i(891080),i=e.i(665223),s=e.i(236393);function a(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var l,c,d,u,h,p,m,f,g,v,x,y,b,w,_,k,j,T,S,N,E,C,M,P,A,O,L={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},F={duration:.5,overwrite:!1,delay:0},D=2*Math.PI,R=D/4,B=0,z=Math.sqrt,I=Math.cos,$=Math.sin,W=function(e){return"string"==typeof e},H=function(e){return"function"==typeof e},q=function(e){return"number"==typeof e},Y=function(e){return void 0===e},X=function(e){return"object"==typeof e},U=function(e){return!1!==e},V=function(){return"u">typeof window},G=function(e){return H(e)||W(e)},J="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},K=Array.isArray,Q=/random\([^)]+\)/g,Z=/,\s*/g,ee=/(?:-?\.?\d|\.)+/gi,et=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,er=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,en=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ei=/[+-]=-?[.\d]+/,es=/[^,'"\[\]\s]+/gi,ea=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,eo={},el={},ec=function(e){return(el=ez(e,eo))&&rM},ed=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},eu=function(e,t){return!t&&console.warn(e)},eh=function(e,t){return e&&(eo[e]=t)&&el&&(el[e]=t)||eo},ep=function(){return 0},em={suppressEvents:!0,isStart:!0,kill:!1},ef={suppressEvents:!0,kill:!1},eg={suppressEvents:!0},ev={},ex=[],ey={},eb={},ew={},e_=30,ek=[],ej="",eT=function(e){var t,r,n=e[0];if(X(n)||H(n)||(e=[e]),!(t=(n._gsap||{}).harness)){for(r=ek.length;r--&&!ek[r].targetTest(n););t=ek[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new tX(e[r],t)))||e.splice(r,1);return e},eS=function(e){return e._gsap||eT(tc(e))[0]._gsap},eN=function(e,t,r){return(r=e[t])&&H(r)?e[t]():Y(r)&&e.getAttribute&&e.getAttribute(t)||r}
1,eE=function(e,t){return(e=e.split(",")).forEach(t)||e},eC=function(e){return Math.round(1e5*e)/1e5||0},eM=function(e){return Math.round(1e7*e)/1e7||0},eP=function(e,t){var r=t.charAt(0),n=parseFloat(t.substr(2));return e=parseFloat(e),"+"===r?e+n:"-"===r?e-n:"*"===r?e*n:e/n},eA=function(e,t){for(var r=t.length,n=0;0>e.indexOf(t[n])&&++n<r;);return n<r},eO=function(){var e,t,r=ex.length,n=ex.slice(0);for(e=0,ey={},ex.length=0;e<r;e++)(t=n[e])&&t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0)._lazy=0)},eL=function(e){return!!(e._initted||e._startAt||e.add)},eF=function(e,t,r,n){ex.length&&!j&&eO(),e.render(t,r,n||!!(j&&t<0&&eL(e))),ex.length&&!j&&eO()},eD=function(e){var t=parseFloat(e);return(t||0===t)&&(e+"").match(es).length<2?t:W(e)?e.trim():e},eR=function(e){return e},eB=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},ez=function(e,t){for(var r in t)e[r]=t[r];return e},eI=function e(t,r){for(var n in r)"__proto__"!==n&&"constructor"!==n&&"prototype"!==n&&(t[n]=X(r[n])?e(t[n]||(t[n]={}),r[n]):r[n]);return t},e$=function(e,t){var r,n={};for(r in e)r in t||(n[r]=e[r]);return n},eW=function(e){var t,r=e.parent||S,n=e.keyframes?(t=K(e.keyframes),function(e,r){for(var n in r)n in e||"duration"===n&&t||"ease"===n||(e[n]=r[n])}):eB;if(U(e.inherit))for(;r;)n(e,r.vars.defaults),r=r.parent||r._dp;return e},eH=function(e,t){for(var r=e.length,n=r===t.length;n&&r--&&e[r]===t[r];);return r<0},eq=function(e,t,r,n,i){void 0===r&&(r="_first"),void 0===n&&(n="_last");var s,a=e[n];if(i)for(s=t[i];a&&a[i]>s;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[n]=t,t._prev=a,t.parent=t._dp=e,t},eY=function(e,t,r,n){void 0===r&&(r="_first"),void 0===n&&(n="_last");var i=t._prev,s=t._next;i?i._next=s:e[r]===t&&(e[r]=s),s?s._prev=i:e[n]===t&&(e[n]=i),t._next=t._prev=t.parent=null},eX=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},eU=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},eV=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},eG=function(e,t,r,n){return e._startAt&&(j?e._startAt.revert(ef):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,n))},eJ=function(e){return e._repeat?eK(e._tTime,e=e.duration()+e._rDelay)*e:0},eK=function(e,t){var r=Math.floor(e=eM(e/t));return e&&r===e?r-1:r},eQ=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},eZ=function(e){return e._end=eM(e._start+(e._tDur/Math.abs(e._ts||e._rts||1e-8)||0))},e0=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=eM(r._time-(e._ts>0?t/e._ts:-(((e._dirty?e.totalDuration():e._tDur)-t)/e._ts))),eZ(e),r._dirty||eU(r,e)),e},e1=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=eQ(e.rawTime(),t),(!t._dur||ts(0,t.totalDuration(),r)-t._tTime>1e-8)&&t.render(r,!0)),eU(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-1e-8}},e2=function(e,t,r,n){return t.parent&&eX(t),t._start=eM((q(r)?r:r||e!==S?tr(e,r,t):e._time)+t._delay),t._end=eM(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),eq(e,t,"_first","_last",e._sort?"_start":0),e8(t)||(e._recent=t),n||e1(e,t),e._ts<0&&e0(e,e._tTime),e},e5=function(e,t){return(eo.ScrollTrigger||ed("scrollTrigger",t))&&eo.ScrollTrigger.create(t,e)},e3=function(e,t,r,n,i){return(t6(e,t,i),e._initted)?!r&&e._pt&&!j&&(e._dur&&!1!==e.vars.lazy||!e._dur&&e.vars.lazy)&&P!==tA.frame?(ex.push(e),e._lazy=[i,n],1):void 0:1},e6=function e(t){var r=t.parent;return r&&r._ts&&r._initted&&!r._lock&&(0>r.rawTime()||e(r))},e8=function(e){var t=e.data;return"isFromStart"===t||"isStart"===t},e4=function(e,t,r,n){var i,s,a,o=e.ratio,l=t<0||!t&&(!e._start&&e6(e)&&!(!e._initted&&e8(e))||(e._ts<0||e._dp._ts<0)&&!e8(e))?0:1,c=e._rDelay,d=0;if(c&&e._repeat&&(s=eK(d=ts(0,e._tDur,t),c),e._yoyo&&1&s&&(l=1-l),s!==eK(e._tTime,c)&&(o=1-l,e.vars.repeatRefresh&&e._initted&&e.invali
1date())),l!==o||j||n||1e-8===e._zTime||!t&&e._zTime){if(!e._initted&&e3(e,t,n,r,d))return;for(a=e._zTime,e._zTime=t||1e-8*!!r,r||(r=t&&!a),e.ratio=l,e._from&&(l=1-l),e._time=0,e._tTime=d,i=e._pt;i;)i.r(l,i.d),i=i._next;t<0&&eG(e,t,r,!0),e._onUpdate&&!r&&tb(e,"onUpdate"),d&&e._repeat&&!r&&e.parent&&tb(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===l&&(l&&eX(e,1),r||j||(tb(e,l?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},e9=function(e,t,r){var n;if(r>t)for(n=e._first;n&&n._start<=r;){if("isPause"===n.data&&n._start>t)return n;n=n._next}else for(n=e._last;n&&n._start>=r;){if("isPause"===n.data&&n._start<t)return n;n=n._prev}},e7=function(e,t,r,n){var i=e._repeat,s=eM(t)||0,a=e._tTime/e._tDur;return a&&!n&&(e._time*=s/e._dur),e._dur=s,e._tDur=i?i<0?1e10:eM(s*(i+1)+e._rDelay*i):s,a>0&&!n&&e0(e,e._tTime=e._tDur*a),e.parent&&eZ(e),r||eU(e.parent,e),e},te=function(e){return e instanceof tV?eU(e):e7(e,e._dur)},tt={_start:0,endTime:ep,totalDuration:ep},tr=function e(t,r,n){var i,s,a,o=t.labels,l=t._recent||tt,c=t.duration()>=1e8?l.endTime(!1):t._dur;return W(r)&&(isNaN(r)||r in o)?(s=r.charAt(0),a="%"===r.substr(-1),i=r.indexOf("="),"<"===s||">"===s)?(i>=0&&(r=r.replace(/=/,"")),("<"===s?l._start:l.endTime(l._repeat>=0))+(parseFloat(r.substr(1))||0)*(a?(i<0?l:n).totalDuration()/100:1)):i<0?(r in o||(o[r]=c),o[r]):(s=parseFloat(r.charAt(i-1)+r.substr(i+1)),a&&n&&(s=s/100*(K(n)?n[0]:n).totalDuration()),i>1?e(t,r.substr(0,i-1),n)+s:c+s):null==r?c:+r},tn=function(e,t,r){var n,i,s=q(t[1]),a=(s?2:1)+(e<2?0:1),o=t[a];if(s&&(o.duration=t[1]),o.parent=r,e){for(n=o,i=r;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=U(i.vars.inherit)&&i.parent;o.immediateRender=U(n.immediateRender),e<2?o.runBackwards=1:o.startAt=t[a-1]}return new rr(t[0],o,t[a+1])},ti=function(e,t){return e||0===e?t(e):t},ts=function(e,t,r){return r<e?e:r>t?t:r},ta=function(e,t){return W(e)&&(t=ea.exec(e))?t[1]:""},to=[].slice,tl=function(e,t){return e&&X(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&X(e[0]))&&!e.nodeType&&e!==N},tc=function(e,t,r){var n;return T&&!t&&T.selector?T.selector(e):W(e)&&!r&&(E||!tO())?to.call((t||C).querySelectorAll(e),0):K(e)?(void 0===n&&(n=[]),e.forEach(function(e){var t;return W(e)&&!r||tl(e,1)?(t=n).push.apply(t,tc(e)):n.push(e)})||n):tl(e)?to.call(e,0):e?[e]:[]},td=function(e){return e=tc(e)[0]||eu("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return tc(t,r.querySelectorAll?r:r===e?eu("Invalid scope")||C.createElement("div"):e)}},tu=function(e){return e.sort(function(){return .5-Math.random()})},th=function(e){if(H(e))return e;var t=X(e)?e:{each:e},r=t$(t.ease),n=t.from||0,i=parseFloat(t.base)||0,s={},a=n>0&&n<1,o=isNaN(n)||a,l=t.axis,c=n,d=n;return W(n)?c=d=({center:.5,edges:.5,end:1})[n]||0:!a&&o&&(c=n[0],d=n[1]),function(e,a,u){var h,p,m,f,g,v,x,y,b,w=(u||t).length,_=s[w];if(!_){if(!(b="auto"===t.grid?0:(t.grid||[1,1e8])[1])){for(x=-1e8;x<(x=u[b++].getBoundingClientRect().left)&&b<w;);b<w&&b--}for(v=0,_=s[w]=[],h=o?Math.min(b,w)*c-.5:n%b,p=1e8===b?0:o?w*d/b-.5:n/b|0,x=0,y=1e8;v<w;v++)m=v%b-h,f=p-(v/b|0),_[v]=g=l?Math.abs("y"===l?f:m):z(m*m+f*f),g>x&&(x=g),g<y&&(y=g);"random"===n&&tu(_),_.max=x-y,_.min=y,_.v=w=(parseFloat(t.amount)||parseFloat(t.each)*(b>w?w-1:l?"y"===l?w/b:b:Math.max(b,w/b))||0)*("edges"===n?-1:1),_.b=w<0?i-w:i,_.u=ta(t.amount||t.each)||0,r=r&&w<0?tI(r):r}return w=(_[e]-_.min)/_.max||0,eM(_.b+(r?r(w):w)*_.v)+_.u}},tp=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var n=eM(Math.round(parseFloat(r)/e)*e*t);return(n-n%1)/t+(q(r)?0:ta(r))}},tm=function(e,t){var r,n,i=K(e);return!i&&X(e)&&(r=i=e.radius||1e8,e.values?(n=!q((e=tc(e.values))[0]))&&(r*=r):e=tp(e.increment)),ti(t,i?H(e)?function(t){return Math.abs((n=e(t))-t)<=r?n:t}:function(t){for(var i,s,a=parseFloat(n?t.x:t),o=parseFloat(n?t.y:0),l=1e8,c=0,d=e.length;d--;)(i=n?(i=e[d].x-a)*i+(s=e[d].y-o)*s:Math.abs(e[d]-a))<l&&(l=i,c=d);return c=!r||l<=r?e[c]:t,n||c===t||q(t)?c:c+ta(t)}:tp(e))},tf=function(e,t,r,n){return ti(K(e)?!t:!0===r?(r=0,!1):!n,function(){return K(e)?e[~~(Math.random()*e.length)]:(n=(r=r||1e-5)<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+.99*r))/r)*r*n)/n})},tg=function(e,t,r){return ti(r,function(r){return e[~~t(r)]})},tv=function(e){return e.replace(Q,function(e){var t=e.indexOf("[")+1,r=e.substring(t||7,t?e.indexOf("]"):e.length-1).split(Z);return tf(t?r:+r[0],t?0:+r[1],+r[2]||1e-5)})},tx=function(e,t,r,n,i){var s=t-e,a=n-r;return ti(i,function(t){return r+((t-e)/s*a||0)})},ty=function(e,t,r){var n,i,s,a=e.labels,o=1e8;for(n in a)(i=a[n]-t)<0==!!r&&i&&o>(i=Math.abs(i))&&(s=n,o=i);return s},tb=function(e,t,r){var n,i,s,a=e.vars,o=a[t],l=T,c=e._ctx;if(o)return n=a[t+"Params"],i=a.callbackScope||e,r&&ex.length&&eO(),c&&(T=c),s=n?o.apply(i,n):o.call(i),T=l,s},tw=function(e){return eX(e),e.scrollTrigger&&e.scrollTrigger.kill(!!j),1>e.progress()&&tb(e,"onInterrupt"),e},t_=[],tk=function(e){if(e)if(e=!e.name&&e.default||e,V()||e.headless){var t=e.name,r=H(e),n=t&&!r&&e.init?function(){this._props=[]}:e,i={init:ep,render:ru,add:t2,kill:rp,modifier:rh,rawVars:0},s={targetTest:0,get:0,getSetter:ro,aliases:{},register:0};if(tO(),e!==n){if(eb[t])return;eB(n,eB(e$(e,i),s)),ez(n.prototype,ez(i,e$(e,s))),eb[n.prop=t]=n,e.targetTest&&(ek.push(n),ev[t]=1),t=("css"===t?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}eh(t,n),e.register&&e.register(rM,n,rg)}else t_.push(e)},tj={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},tT=function(e,t,r){return(6*(e+=e<0?1:e>1?-1:0)<1?t+(r-t)*e*6:e<.5?r:3*e<2?t+(r-t)*(2/3-e)*6:t)*255+.5|0},tS=function(e,t,r){var n,i,s,a,o,l,c,d,u,h,p=e?q(e)?[e>>16,e>>8&255,255&e]:0:tj.black;if(!p){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),tj[e])p=tj[e];else if("#"===e.charAt(0)){if(e.length<6&&(n=e.charAt(1),e="#"+n+n+(i=e.charAt(2))+i+(s=e.charAt(3))+s+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return[(p=parseInt(e.substr(1,6),16))>>16,p>>8&255,255&p,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&255,255&e]}else if("hsl"===e.substr(0,3))if(p=h=e.match(ee),t){if(~e.indexOf("="))return p=e.match(et),r&&p.length<4&&(p[3]=1),p}else a=p[0]%360/360,o=p[1]/100,i=(l=p[2]/100)<=.5?l*(o+1):l+o-l*o,n=2*l-i,p.length>3&&(p[3]*=1),p[0]=tT(a+1/3,n,i),p[1]=tT(a,n,i),p[2]=tT(a-1/3,n,i);else p=e.match(ee)||tj.transparent;p=p.map(Number)}
1return t&&!h&&(n=p[0]/255,l=((c=Math.max(n,i=p[1]/255,s=p[2]/255))+(d=Math.min(n,i,s)))/2,c===d?a=o=0:(u=c-d,o=l>.5?u/(2-c-d):u/(c+d),a=(c===n?(i-s)/u+6*(i<s):c===i?(s-n)/u+2:(n-i)/u+4)*60),p[0]=~~(a+.5),p[1]=~~(100*o+.5),p[2]=~~(100*l+.5)),r&&p.length<4&&(p[3]=1),p},tN=function(e){var t=[],r=[],n=-1;return e.split(tC).forEach(function(e){var i=e.match(er)||[];t.push.apply(t,i),r.push(n+=i.length+1)}),t.c=r,t},tE=function(e,t,r){var n,i,s,a,o="",l=(e+o).match(tC),c=t?"hsla(":"rgba(",d=0;if(!l)return e;if(l=l.map(function(e){return(e=tS(e,t,1))&&c+(t?e[0]+","+e[1]+"%,"+e[2]+"%,"+e[3]:e.join(","))+")"}),r&&(s=tN(e),(n=r.c).join(o)!==s.c.join(o)))for(a=(i=e.replace(tC,"1").split(er)).length-1;d<a;d++)o+=i[d]+(~n.indexOf(d)?l.shift()||c+"0,0,0,0)":(s.length?s:l.length?l:r).shift());if(!i)for(a=(i=e.split(tC)).length-1;d<a;d++)o+=i[d]+l[d];return o+i[a]},tC=function(){var e,t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(e in tj)t+="|"+e+"\\b";return RegExp(t+")","gi")}(),tM=/hsl[a]?\(/,tP=function(e){var t,r=e.join(" ");if(tC.lastIndex=0,tC.test(r))return t=tM.test(r),e[1]=tE(e[1],t),e[0]=tE(e[0],t,tN(e[1])),!0},tA=(m=Date.now,f=500,g=33,x=v=m(),y=1e3/240,b=1e3/240,w=[],_=function e(t){var r,n,i,s,a=m()-x,o=!0===t;if((a>f||a<0)&&(v+=a-g),x+=a,((r=(i=x-v)-b)>0||o)&&(s=++u.frame,h=i-1e3*u.time,u.time=i/=1e3,b+=r+(r>=y?4:y-r),n=1),o||(l=c(e)),n)for(p=0;p<w.length;p++)w[p](i,h,s,t)},u={time:0,frame:0,tick:function(){_(!0)},deltaRatio:function(e){return h/(1e3/(e||60))},wake:function(){M&&(!E&&V()&&(C=(N=E=window).document||{},eo.gsap=rM,(N.gsapVersions||(N.gsapVersions=[])).push(rM.version),ec(el||N.GreenSockGlobals||!N.gsap&&N||{}),t_.forEach(tk)),d="u">typeof requestAnimationFrame&&requestAnimationFrame,l&&u.sleep(),c=d||function(e){return setTimeout(e,b-1e3*u.time+1|0)},O=1,_(2))},sleep:function(){(d?cancelAnimationFrame:clearTimeout)(l),O=0,c=ep},lagSmoothing:function(e,t){g=Math.min(t||33,f=e||1/0)},fps:function(e){y=1e3/(e||240),b=1e3*u.time+y},add:function(e,t,r){var n=t?function(t,r,i,s){e(t,r,i,s),u.remove(n)}:e;return u.remove(e),w[r?"unshift":"push"](n),tO(),n},remove:function(e,t){~(t=w.indexOf(e))&&w.splice(t,1)&&p>=t&&p--},_listeners:w}),tO=function(){return!O&&tA.wake()},tL={},tF=/^[\d.\-M][\d.\-,\s]/,tD=/["']/g,tR=function(e){for(var t,r,n,i={},s=e.substr(1,e.length-3).split(":"),a=s[0],o=1,l=s.length;o<l;o++)r=s[o],t=o!==l-1?r.lastIndexOf(","):r.length,n=r.substr(0,t),i[a]=isNaN(n)?n.replace(tD,"").trim():+n,a=r.substr(t+1).trim();return i},tB=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.indexOf("(",t);return e.substring(t,~n&&n<r?e.indexOf(")",r+1):r)},tz=function(e){var t=(e+"").split("("),r=tL[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[tR(t[1])]:tB(e).split(",").map(eD)):tL._CE&&tF.test(e)?tL._CE("",e):r},tI=function(e){return function(t){return 1-e(1-t)}},t$=function(e,t){return e&&(H(e)?e:tL[e]||tz(e))||t},tW=function(e,t,r,n){void 0===r&&(r=function(e){return 1-t(1-e)}),void 0===n&&(n=function(e){return e<.5?t(2*e)/2:1-t((1-e)*2)/2});var i,s={easeIn:t,easeOut:r,easeInOut:n};return eE(e,function(e){for(var t in tL[e]=eo[e]=s,tL[i=e.toLowerCase()]=r,s)tL[i+("easeIn"===t?".in":"easeOut"===t?".out":".inOut")]=tL[e+"."+t]=s[t]}),s},tH=function(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e((t-.5)*2)/2}},tq=function e(t,r,n){var i=r>=1?r:1,s=(n||(t?.3:.45))/(r<1?r:1),a=s/D*(Math.asin(1/i)||0),o=function(e){return 1===e?1:i*Math.pow(2,-10*e)*$((e-a)*s)+1},l="out"===t?o:"in"===t?function(e){return 1-o(1-e)}:tH(o);return s=D/s,l.config=function(r,n){return e(t,r,n)},l},tY=function e(t,r){void 0===r&&(r=1.70158);var n=function(e){return e?--e*e*((r+1)*e+r)+1:0},i="out"===t?n:"in"===t?function(e){return 1-n(1-e)}:tH(n);return i.config=function(r){return e(t,r)},i};eE("Linear,Quad,Cubic,Quart,Quint,Strong",function(e,t){var r=t<5?t+1:t;tW(e+",Power"+(r-1),t?function(e){return Math.pow(e,r)}:function(e){return e},function(e){return 1-Math.pow(1-e,r)},function(e){return e<.5?Math.pow(2*e,r)/2:1-Math.pow((1-e)*2,r)/2})}),tL.Linear.easeNone=tL.none=tL.Linear.easeIn,tW("Elastic",tq("in"),tq("out"),tq()),tJ=2*(tG=1/2.75),tK=2.5*tG,tW("Bounce",function(e){return 1-tQ(1-e)},tQ=function(e){return e<tG?7.5625*e*e:e<tJ?7.5625*Math.pow(e-1.5/2.75,2)+.75:e<tK?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*Math.pow(e-2.625/2.75,2)+.984375}),tW("Expo",function(e){return Math.pow(2,10*(e-1))*e+e*e*e*e*e*e*(1-e)}),tW("Circ",function(e){return-(z(1-e*e)-1)}),tW("Sine",function(e){return 1===e?1:-I(e*R)+1}),tW("Back",tY("in"),tY("out"),tY()),tL.SteppedEase=tL.steps=eo.SteppedEase={config:function(e,t){void 0===e&&(e=1);var r=1/e,n=e+ +!t,i=+!!t,s=.99999999;return function(e){return((n*ts(0,s,e)|0)+i)*r}}},F.ease=tL["quad.out"],eE("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(e){return ej+=e+","+e+"Params,"});var tX=function(e,t){this.id=B++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:eN,this.set=t?t.getSetter:ro},tU=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,e7(this,+e.duration,1,1),this.data=e.data,T&&(this._ctx=T,T.data.push(this)),O||tA.wake()}var t=e.prototype;return t.delay=function(e){return e||0===e?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,e7(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(tO(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(e0(this,e),!r._dp||r.parent||e1(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:-((r.totalDuration()-r._tTime)/r._ts))&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&e2(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&1e-8===Math.abs(this._zTime)||!this._initted&&this._dur&&e||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),eF(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+eJ(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(1&this.iteration())?1-e:e)+eJ(this),t):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},t.iteration=function(e,t){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*r,t):this._repeat?eK(this._tTime,r)+1:1},t.timeScale=function(e,t){if(!arguments.length)return -1e-8===this._rts?0:this._rts;if(this._rts===e)return this;var r=this.parent&&this._ts?eQ(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||-1e-8===e?0:this._rts,this.totalTime(ts(-Math.abs(this._delay),this.totalDuration(),r),!1!==t),eZ(this),eV(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(tO(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&1e-8!==Math.abs(this._zTime)&&(this._tTime-=1e-8)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=eM(e);var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&e2(t,this,this._start-this._delay),this}return this._start},t.endTime=function(e){return this._start+(U(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&1>this.totalProgress())?this._tTime%(this._dur+this._rDelay):this._ts?eQ(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){void 0===e&&(e=eg);var t=j;return j=e,eL(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),"nested"!==this.data&&!1!==e.kill&&this.kill(),j=t,this},t.globalTime=function(e){for(var t=this,r=arguments.length?e:t.rawTime();t;)r=t._start+r/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):r},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,te
vendor: 8,458 bytes, line 1
1(this)):-2===this._repeat?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,te(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(tr(this,e),U(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,U(t)),this._dur||(this._zTime=-1e-8),this},t.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-1e-8:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},t.isActive=function(){var e,t=this.parent||this._dp,r=this._start;return!!(!t||this._ts&&this._initted&&t.isActive()&&(e=t.rawTime(!0))>=r&&e<this.endTime(!0)-1e-8)},t.eventCallback=function(e,t,r){var n=this.vars;return arguments.length>1?(t?(n[e]=t,r&&(n[e+"Params"]=r),"onUpdate"===e&&(this._onUpdate=t)):delete n[e],this):n[e]},t.then=function(e){var t=this,r=t._prom;return new Promise(function(n){var i=H(e)?e:eR,s=function(){var e=t.then;t.then=null,r&&r(),H(i)&&(i=i(t))&&(i.then||i===t)&&(t.then=e),n(i),t.then=e};t._initted&&1===t.totalProgress()&&t._ts>=0||!t._tTime&&t._ts<0?s():t._prom=s})},t.kill=function(){tw(this)},e}();eB(tU.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var tV=function(e){function t(t,r){var n;return void 0===t&&(t={}),(n=e.call(this,t)||this).labels={},n.smoothChildTiming=!!t.smoothChildTiming,n.autoRemoveChildren=!!t.autoRemoveChildren,n._sort=U(t.sortChildren),S&&e2(t.parent||S,a(n),r),t.reversed&&n.reverse(),t.paused&&n.paused(!0),t.scrollTrigger&&e5(a(n),t.scrollTrigger),n}o(t,e);var r=t.prototype;return r.to=function(e,t,r){return tn(0,arguments,this),this},r.from=function(e,t,r){return tn(1,arguments,this),this},r.fromTo=function(e,t,r,n){return tn(2,arguments,this),this},r.set=function(e,t,r){return t.duration=0,t.parent=this,eW(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new rr(e,t,tr(this,r),1),this},r.call=function(e,t,r){return e2(this,rr.delayedCall(0,e,t),r)},r.staggerTo=function(e,t,r,n,i,s,a){return r.duration=t,r.stagger=r.stagger||n,r.onComplete=s,r.onCompleteParams=a,r.parent=this,new rr(e,r,tr(this,i)),this},r.staggerFrom=function(e,t,r,n,i,s,a){return r.runBackwards=1,eW(r).immediateRender=U(r.immediateRender),this.staggerTo(e,t,r,n,i,s,a)},r.staggerFromTo=function(e,t,r,n,i,s,a,o){return n.startAt=r,eW(n).immediateRender=U(n.immediateRender),this.staggerTo(e,t,n,i,s,a,o)},r.render=function(e,t,r){var n,i,s,a,o,l,c,d,u,h,p,m,f=this._time,g=this._dirty?this.totalDuration():this._tDur,v=this._dur,x=e<=0?0:eM(e),y=this._zTime<0!=e<0&&(this._initted||!v);if(this!==S&&x>g&&e>=0&&(x=g),x!==this._tTime||r||y){if(f!==this._time&&v&&(x+=this._time-f,e+=this._time-f),n=x,u=this._start,l=!(d=this._ts),y&&(v||(f=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(p=this._yoyo,o=v+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(100*o+e,t,r);if(n=eM(x%o),x===g?(a=this._repeat,n=v):((a=~~(h=eM(x/o)))&&a===h&&(n=v,a--),n>v&&(n=v)),h=eK(this._tTime,o),!f&&this._tTime&&h!==a&&this._tTime-h*o-this._dur<=0&&(h=a),p&&1&a&&(n=v-n,m=1),a!==h&&!this._lock){var b=p&&1&h,w=b===(p&&1&a);if(a<h&&(b=!b),f=b?0:x%v?v:x,this._lock=1,this.render(f||(m?0:eM(a*o)),t,!v)._lock=0,this._tTime=x,!t&&this.parent&&tb(this,"onRepeat"),this.vars.repeatRefresh&&!m&&(this.invalidate()._lock=1,h=a),f&&f!==this._time||!this._ts!==l||this.vars.onRepeat&&!this.parent&&!this._act||(v=this._dur,g=this._tDur,w&&(this._lock=2,f=b?v:-1e-4,this.render(f,!0),this.vars.repeatRefresh&&!m&&this.invalidate()),this._lock=0,!this._ts&&!l))return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(c=e9(this,eM(f),eM(n)))&&(x-=n-(n=c._start)),this._tTime=x,this._time=n,this._act=!!d,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,f=0),!f&&x&&v&&!t&&!h&&(tb(this,"onStart"),this._tTime!==x))return this;if(n>=f&&e>=0)for(i=this._first;i;){if(s=i._next,(i._act||n>=i._start)&&i._ts&&c!==i){if(i.parent!==this)return this.render(e,t,r);if(i.render(i._ts>0?(n-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(n-i._start)*i._ts,t,r),n!==this._time||!this._ts&&!l){c=0,s&&(x+=this._zTime=-1e-8);break}}i=s}else{i=this._last;for(var _=e<0?e:n;i;){if(s=i._prev,(i._act||_<=i._end)&&i._ts&&c!==i){if(i.parent!==this)return this.render(e,t,r);if(i.render(i._ts>0?(_-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(_-i._start)*i._ts,t,r||j&&eL(i)),n!==this._time||!this._ts&&!l){c=0,s&&(x+=this._zTime=_?-1e-8:1e-8);break}}i=s}}if(c&&!t&&(this.pause(),c.render(n>=f?0:-1e-8)._zTime=n>=f?1:-1,this._ts))return this._start=u,eZ(this),this.render(e,t,r);this._onUpdate&&!t&&tb(this,"onUpdate",!0),(x===g&&this._tTime>=this.totalDuration()||!x&&f)&&(u===this._start||Math.abs(d)!==Math.abs(this._ts))&&!this._lock&&((e||!v)&&(x===g&&this._ts>0||!x&&this._ts<0)&&eX(this,1),t||e<0&&!f||!x&&!f&&g||(tb(this,x===g&&e>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(x<g&&this.timeScale()>0)&&this._prom()))}return this},r.add=function(e,t){var r=this;if(q(t)||(t=tr(this,t,e)),!(e instanceof tU)){if(K(e))return e.forEach(function(e){return r.add(e,t)}),this;if(W(e))return this.addLabel(e,t);if(!H(e))return this;e=rr.delayedCall(0,e)}return this!==e?e2(this,e,t):this},r.getChildren=function(e,t,r,n){void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===r&&(r=!0),void 0===n&&(n=-1e8);for(var i=[],s=this._first;s;)s._start>=n&&(s instanceof rr?t&&i.push(s):(r&&i.push(s),e&&i.push.apply(i,s.getChildren(!0,t,r)))),s=s._next;return i},r.getById=function(e){for(var t=this.getChildren(1,1,1),r=t.length;r--;)if(t[r].vars.id===e)return t[r]},r.remove=function(e){return W(e)?this.removeLabel(e):H(e)?this.killTweensOf(e):(e.parent===this&&eY(this,e),e===this._recent&&(this._recent=this._last),eU(this))},r.totalTime=function(t,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=eM(tA.time-(this._ts>0?t/this._ts:-((this.totalDuration()-t)/this._ts)))),e.prototype.totalTime.call(this,t,r),this._forcing=0,this):this._tTime},r.addLabel=function(e,t){return this.labels[e]=tr(this,t),this},r.removeLabel=function(e){return delete this.labels[e],this},r.addPause=function(e,t,r){var n=rr.delayedCall(0,t||ep,r);return n.data="isPause",this._hasPause=1,e2(this,n,tr(this,e))},r.removePause=function(e){var t=this._first;for(e=tr(this,e);t;)t._start===e&&"isPause"===t.data&&eX(t),t=t._next},r.killTweensOf=function(e,t,r){for(var n=this.getTweensOf(e,r),i=n.length;i--;)tZ!==n[i]&&n[i].kill(e,t);return this},r.getTweensOf=function(e,t){for(var r,n=[],i=tc(e),s=this._first,a=q(t);s;)s instanceof rr?eA(s._targets,i)&&(a?(!tZ||s._initted&&s._ts)&&s.globalTime(0)<=t&&s.globalTime(s.totalDuration())>t:!t||s.isActive())&&n.push(s):(r=s.getTweensOf(i,t)).length&&n.push.apply(n,r),s=s._next;return n},r.tweenTo=function(e,t){t=t||{};var r,n=this,i=tr(n,e),s=t,a=s.startAt,o=s.onStart,l=s.onStartParams,c=s.immediateRender,d=rr.to(n,eB({ease:t.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:t.duration||Math.abs((i-(a&&"time"in a?a.time:n._time))/n.timeScale())||1e-8,onStart:function(){if(n.pause(),!r){var e=t.duration||Math.abs((i-(a&&"time"in a?a.time:n._time))/n.timeScale());d._dur!==e&&e7(d,e,0,1).render(d._time,!0,!0),r=1}o&&o.apply(d,l||[])}},t));return c?d.render(0):d},r.tweenFromTo=function(e,t,r){return this.tweenTo(t,eB({startAt:{time:tr(this,e)}},r))},r.recent=function(){return this._recent},r.nextLabel=function(e){return void 0===e&&(e=this._time),ty(this,tr(this,e))},r.previousLabel=function(e){return void 0===e&&(e=this._time),ty(this,tr(this,e),1)},r.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+1e-8)},r.shiftChildren=function(e,t,r){void 0===r&&(r=0);var n,i=this._first,s=this.labels;for(e=eM(e);i;)i._start>=r&&(i._start+=e,i._end+=e),i=i._next;if(t)for(n in s)s[n]>=r&&(s[n]+=e);return eU(this)},r.invalidate=function(t){var r=this._first;for(this._lock=0;r;
1)r.invalidate(t),r=r._next;return e.prototype.invalidate.call(this,t)},r.clear=function(e){void 0===e&&(e=!0);for(var t,r=this._first;r;)t=r._next,this.remove(r),r=t;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),eU(this)},r.totalDuration=function(e){var t,r,n,i=0,s=this._last,a=1e8;if(arguments.length)return this.timeScale((this._repeat<0?this.duration():this.totalDuration())/(this.reversed()?-e:e));if(this._dirty){for(n=this.parent;s;)t=s._prev,s._dirty&&s.totalDuration(),(r=s._start)>a&&this._sort&&s._ts&&!this._lock?(this._lock=1,e2(this,s,r-s._delay,1)._lock=0):a=r,r<0&&s._ts&&(i-=r,(!n&&!this._dp||n&&n.smoothChildTiming)&&(this._start+=eM(r/this._ts),this._time-=r,this._tTime-=r),this.shiftChildren(-r,!1,-Infinity),a=0),s._end>i&&s._ts&&(i=s._end),s=t;e7(this,this===S&&this._time>i?this._time:i,1,1),this._dirty=0}return this._tDur},t.updateRoot=function(e){if(S._ts&&(eF(S,eQ(e,S)),P=tA.frame),tA.frame>=e_){e_+=L.autoSleep||120;var t=S._first;if((!t||!t._ts)&&L.autoSleep&&tA._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||tA.sleep()}}},t}(tU);eB(tV.prototype,{_lock:0,_hasPause:0,_forcing:0});var tG,tJ,tK,tQ,tZ,t0,t1=function(e,t,r,n,i,s,a){var o,l,c,d,u,h,p,m,f=new rg(this._pt,e,t,0,1,rd,null,i),g=0,v=0;for(f.b=r,f.e=n,r+="",n+="",(p=~n.indexOf("random("))&&(n=tv(n)),s&&(s(m=[r,n],e,t),r=m[0],n=m[1]),l=r.match(en)||[];o=en.exec(n);)d=o[0],u=n.substring(g,o.index),c?c=(c+1)%5:"rgba("===u.substr(-5)&&(c=1),d!==l[v++]&&(h=parseFloat(l[v-1])||0,f._pt={_next:f._pt,p:u||1===v?u:",",s:h,c:"="===d.charAt(1)?eP(h,d)-h:parseFloat(d)-h,m:c&&c<4?Math.round:0},g=en.lastIndex);return f.c=g<n.length?n.substring(g,n.length):"",f.fp=a,(ei.test(n)||p)&&(f.e=0),this._pt=f,f},t2=function(e,t,r,n,i,s,a,o,l,c){H(n)&&(n=n(i||0,e,s));var d,u=e[t],h="get"!==r?r:H(u)?l?e[t.indexOf("set")||!H(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():u,p=H(u)?l?rs:ri:rn;if(W(n)&&(~n.indexOf("random(")&&(n=tv(n)),"="===n.charAt(1)&&((d=eP(h,n)+(ta(h)||0))||0===d)&&(n=d)),!c||h!==n||t0)return isNaN(h*n)||""===n?(u||t in e||ed(t,n),t1.call(this,e,t,h,n,p,o||L.stringFilter,l)):(d=new rg(this._pt,e,t,+h||0,n-(h||0),"boolean"==typeof u?rc:rl,0,p),l&&(d.fp=l),a&&d.modifier(a,this,e),this._pt=d)},t5=function(e,t,r,n,i){if(H(e)&&(e=t7(e,i,t,r,n)),!X(e)||e.style&&e.nodeType||K(e)||J(e))return W(e)?t7(e,i,t,r,n):e;var s,a={};for(s in e)a[s]=t7(e[s],i,t,r,n);return a},t3=function(e,t,r,n,i,s){var a,o,l,c;if(eb[e]&&!1!==(a=new eb[e]).init(i,a.rawVars?t[e]:t5(t[e],n,i,s,r),r,n,s)&&(r._pt=o=new rg(r._pt,i,e,0,1,a.render,a,0,a.priority),r!==A))for(l=r._ptLookup[r._targets.indexOf(i)],c=a._props.length;c--;)l[a._props[c]]=o;return a},t6=function e(t,r,n){var i,s,a,o,l,c,d,u,h,p,m,f,g,v=t.vars,x=v.ease,y=v.startAt,b=v.immediateRender,w=v.lazy,_=v.onUpdate,T=v.runBackwards,N=v.yoyoEase,E=v.keyframes,C=v.autoRevert,M=t._dur,P=t._startAt,A=t._targets,O=t.parent,L=O&&"nested"===O.data?O.vars.targets:A,D="auto"===t._overwrite&&!k,R=t.timeline,B=v.easeReverse||N;if(!R||E&&x||(x="none"),t._ease=t$(x,F.ease),t._rEase=B&&(t$(B)||t._ease),t._from=!R&&!!v.runBackwards,t._from&&(t.ratio=1),!R||E&&!v.stagger){if(f=(u=A[0]?eS(A[0]).harness:0)&&v[u.prop],i=e$(v,ev),P&&(P._zTime<0&&P.progress(1),r<0&&T&&b&&!C?P.render(-1,!0):P.revert(T&&M?ef:em),P._lazy=0),y){if(eX(t._startAt=rr.set(A,eB({data:"isStart",overwrite:!1,parent:O,immediateRender:!0,lazy:!P&&U(w),startAt:null,delay:0,onUpdate:_&&function(){return tb(t,"onUpdate")},stagger:0},y))),t._startAt._dp=0,t._startAt._sat=t,r<0&&(j||!b&&!C)&&t._startAt.revert(ef),b&&M&&r<=0&&n<=0){r&&(t._zTime=r);return}}else if(T&&M&&!P)if(r&&(b=!1),a=eB({overwrite:!1,data:"isFromStart",lazy:b&&!P&&U(w),immediateRender:b,stagger:0,parent:O},i),f&&(a[u.prop]=f),eX(t._startAt=rr.set(A,a)),t._startAt._dp=0,t._startAt._sat=t,r<0&&(j?t._startAt.revert(ef):t._startAt.render(-1,!0)),t._zTime=r,b){if(!r)return}else e(t._startAt,1e-8,1e-8);for(s=0,t._pt=t._ptCache=0,w=M&&U(w)||w&&!M;s<A.length;s++){if(d=(l=A[s])._gsap||eT(A)[s]._gsap,t._ptLookup[s]=p={},ey[d.id]&&ex.length&&eO(),m=L===A?s:L.indexOf(l),u&&!1!==(h=new u).init(l,f||i,t,m,L)&&(t._pt=o=new rg(t._pt,l,h.name,0,1,h.render,h,0,h.priority),h._props.forEach(function(e){p[e]=o}),h.priority&&(c=1)),!u||f)for(a in i)eb[a]&&(h=t3(a,i,t,m,l,L))?h.priority&&(c=1):p[a]=o=t2.call(t,l,a,"get",i[a],m,L,0,v.stringFilter);t._op&&t._op[s]&&t.kill(l,t._op[s]),D&&t._pt&&(tZ=t,S.killTweensOf(l,p,t.globalTime(r)),g=!t.parent,tZ=0),t._pt&&w&&(ey[d.id]=1)}c&&rf(t),t._onInit&&t._onInit(t)}t._onUpdate=_,t._initted=(!t._op||t._pt)&&!g,E&&r<=0&&R.render(1e8,!0,!0)},t8=function(e,t,r,n,i,s,a,o){var l,c,d,u,h=(e._pt&&e._ptCache||(e._ptCache={}))[t];
vendor: 2,429 bytes, line 1
1if(!h)for(h=e._ptCache[t]=[],d=e._ptLookup,u=e._targets.length;u--;){if((l=d[u][t])&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return t0=1,e.vars[t]="+=0",t6(e,a),t0=0,o?eu(t+" not eligible for reset. Try splitting into individual properties"):1;h.push(l)}for(u=h.length;u--;)(l=(c=h[u])._pt||c).s=(n||0===n)&&!i?n:l.s+(n||0)+s*l.c,l.c=r-l.s,c.e&&(c.e=eC(r)+ta(c.e)),c.b&&(c.b=l.s+ta(c.b))},t4=function(e,t){var r,n,i,s,a=e[0]?eS(e[0]).harness:0,o=a&&a.aliases;if(!o)return t;for(n in r=ez({},t),o)if(n in r)for(i=(s=o[n].split(",")).length;i--;)r[s[i]]=r[n];return r},t9=function(e,t,r,n){var i,s,a=t.ease||n||"power1.inOut";if(K(t))s=r[e]||(r[e]=[]),t.forEach(function(e,r){return s.push({t:r/(t.length-1)*100,v:e,e:a})});else for(i in t)s=r[i]||(r[i]=[]),"ease"===i||s.push({t:parseFloat(e),v:t[i],e:a})},t7=function(e,t,r,n,i){return H(e)?e.call(t,r,n,i):W(e)&&~e.indexOf("random(")?tv(e):e},re=ej+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",rt={};eE(re+",id,stagger,delay,duration,paused,scrollTrigger",function(e){return rt[e]=1});var rr=function(e){function t(t,r,n,i){"number"==typeof r&&(n.duration=r,r=n,n=null);var s,o,l,c,d,u,h,p,m=e.call(this,i?r:eW(r))||this,f=m.vars,g=f.duration,v=f.delay,x=f.immediateRender,y=f.stagger,b=f.overwrite,w=f.keyframes,_=f.defaults,j=f.scrollTrigger,T=r.parent||S,N=(K(t)||J(t)?q(t[0]):"length"in r)?[t]:tc(t);if(m._targets=N.length?eT(N):eu("GSAP target "+t+" not found. https://gsap.com",!L.nullTargetWarn)||[],m._ptLookup=[],m._overwrite=b,w||y||G(g)||G(v)){var E=(r=m.vars).easeReverse||r.yoyoEase;if((s=m.timeline=new tV({data:"nested",defaults:_||{},targets:T&&"nested"===T.data?T.vars.targets:N})).kill(),s.parent=s._dp=a(m),s._start=0,y||G(g)||G(v)){if(c=N.length,h=y&&th(y),X(y))for(d in y)~re.indexOf(d)&&(p||(p={}),p[d]=y[d]);for(o=0;o<c;o++)(l=e$(r,rt)).stagger=0,E&&(l.easeReverse=E),p&&ez(l,p),u=N[o],l.duration=+t7(g,a(m),o,u,N),l.delay=(+t7(v,a(m),o,u,N)||0)-m._delay,!y&&1===c&&l.delay&&(m._delay=v=l.delay,m._start+=v,l.delay=0),s.to(u,l,h?h(o,u,N):0),s._ease=tL.none;s.duration()?g=v=0:m.timeline=0}else if(w){eW(eB(s.vars.defaults,{ease:"none"})),s._ease=t$(w.ease||r.ease||"none");var C,M,P,A=0;if(K(w))w.forEach(function(e){return s.to(N,e,">")}),s.duration();else{for(d in l={},w)"ease"===d||"easeEach"===d||t9(d,w[d],l,w.easeEach);for(d in l)for(o=0,C=l[d].sort(function(e,t){return e.t-t.t}),A=0;o<C.length;
1o++)(P={ease:(M=C[o]).e,duration:(M.t-(o?C[o-1].t:0))/100*g})[d]=M.v,s.to(N,P,A),A+=P.duration;s.duration()<g&&s.to({},{duration:g-s.duration()})}}g||m.duration(g=s.duration())}else m.timeline=0;return!0!==b||k||(tZ=a(m),S.killTweensOf(N),tZ=0),e2(T,a(m),n),r.reversed&&m.reverse(),r.paused&&m.paused(!0),(x||!g&&!w&&m._start===eM(T._time)&&U(x)&&function e(t){return!t||t._ts&&e(t.parent)}(a(m))&&"nested"!==T.data)&&(m._tTime=-1e-8,m.render(Math.max(0,-v)||0)),j&&e5(a(m),j),m}o(t,e);var r=t.prototype;return r.render=function(e,t,r){var n,i,s,a,o,l,c,d,u=this._time,h=this._tDur,p=this._dur,m=e<0,f=e>h-1e-8&&!m?h:e<1e-8?0:e;if(p){if(f!==this._tTime||!e||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==m||this._lazy){if(n=f,d=this.timeline,this._repeat){if(a=p+this._rDelay,this._repeat<-1&&m)return this.totalTime(100*a+e,t,r);if(n=eM(f%a),f===h?(s=this._repeat,n=p):(s=~~(o=eM(f/a)))&&s===o?(n=p,s--):n>p&&(n=p),(l=this._yoyo&&1&s)&&(n=p-n),o=eK(this._tTime,a),n===u&&!r&&this._initted&&s===o)return this._tTime=f,this;s!==o&&this.vars.repeatRefresh&&!l&&!this._lock&&n!==a&&this._initted&&(this._lock=r=1,this.render(eM(a*s),!0).invalidate()._lock=0)}if(!this._initted){if(e3(this,m?e:n,r,t,f))return this._tTime=0,this;if(u!==this._time&&!(r&&this.vars.repeatRefresh&&s!==o))return this;if(p!==this._dur)return this.render(e,t,r)}if(this._rEase){var g=n<u;if(g!==this._inv){var v=g?u:p-u;this._inv=g,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=u,this._invRecip=v?(g?-1:1)/v:0,this._invScale=g?-this.ratio:1-this.ratio,this._invEase=g?this._rEase:this._ease}this.ratio=c=this._invRatio+this._invScale*this._invEase((n-this._invTime)*this._invRecip)}else this.ratio=c=this._ease(n/p);if(this._from&&(this.ratio=c=1-c),this._tTime=f,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),!u&&f&&!t&&!o&&(tb(this,"onStart"),this._tTime!==f))return this;for(i=this._pt;i;)i.r(c,i.d),i=i._next;d&&d.render(e<0?e:d._dur*d._ease(n/this._dur),t,r)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(m&&eG(this,e,t,r),tb(this,"onUpdate")),this._repeat&&s!==o&&this.vars.onRepeat&&!t&&this.parent&&tb(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(m&&!this._onUpdate&&eG(this,e,!0,!0),(e||!p)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&eX(this,1),!t&&!(m&&!u)&&(f||u||l)&&(tb(this,f===h?"onComplete":"onReverseComplete",!0),this._prom&&!(f<h&&this.timeScale()>0)&&this._prom()))}}else e4(this,e,t,r);return this},r.targets=function(){return this._targets},r.invalidate=function(t){return t&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},r.resetTo=function(e,t,r,n,i){O||tA.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return(this._initted||t6(this,s),t8(this,e,t,r,n,this._ease(s/this._dur),s,i))?this.resetTo(e,t,r,n,1):(e0(this,0),this.parent||eq(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(e,t){if(void 0===t&&(t="all"),!e&&(!t||"all"===t))return this._lazy=this._pt=0,this.parent?tw(this):this.scrollTrigger&&this.scrollTrigger.kill(!!j),this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,tZ&&!0!==tZ.vars.overwrite)._first||tw(this),this.parent&&r!==this.timeline.totalDuration()&&e7(this,this._dur*this.timeline._tDur/r,0,1),this}var n,i,s,a,o,l,c,d=this._targets,u=e?tc(e):d,h=this._ptLookup,p=this._pt;if((!t||"all"===t)&&eH(d,u))return"all"===t&&(this._pt=0),tw(this);for(n=this._op=this._op||[],"all"!==t&&(W(t)&&(o={},eE(t,function(e){return o[e]=1}),t=o),t=t4(d,t)),c=d.length;c--;)if(~u.indexOf(d[c]))for(o in i=h[c],"all"===t?(n[c]=t,a=i,s={}):(s=n[c]=n[c]||{},a=t),a)(l=i&&i[o])&&("kill"in l.d&&!0!==l.d.kill(o)||eY(this,l,"_pt"),delete i[o]),"all"!==s&&(s[o]=1);return this._initted&&!this._pt&&p&&tw(this),this},t.to=function(e,r){return new t(e,r,arguments[2])},t.from=function(e,t){return tn(1,arguments)},t.delayedCall=function(e,r,n,i){return new t(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:r,onReverseComplete:r,onCompleteParams:n,onReverseCompleteParams:n,callbackScope:i})},t.fromTo=function(e,t,r){return tn(2,arguments)},t.set=function(e,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new t(e,r)},t.killTweensOf=function(e,t,r){return S.killTweensOf(e,t,r)},t}(tU);eB(rr.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),eE("staggerTo,staggerFrom,staggerFromTo",function(e){rr[e]=function(){var t=new tV,r=to.call(arguments,0);return r.splice("staggerFromTo"===e?5:4,0,0),t[e].apply(t,r)}});
vendor: 10,673 bytes, line 1
1var rn=function(e,t,r){return e[t]=r},ri=function(e,t,r){return e[t](r)},rs=function(e,t,r,n){return e[t](n.fp,r)},ra=function(e,t,r){return e.setAttribute(t,r)},ro=function(e,t){return H(e[t])?ri:Y(e[t])&&e.setAttribute?ra:rn},rl=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},rc=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},rd=function(e,t){var r=t._pt,n="";if(!e&&t.b)n=t.b;else if(1===e&&t.e)n=t.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+n,r=r._next;n+=t.c}t.set(t.t,t.p,n,t)},ru=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},rh=function(e,t,r,n){for(var i,s=this._pt;s;)i=s._next,s.p===n&&s.modifier(e,t,r),s=i},rp=function(e){for(var t,r,n=this._pt;n;)r=n._next,(n.p!==e||n.op)&&n.op!==e?n.dep||(t=1):eY(this,n,"_pt"),n=r;return!t},rm=function(e,t,r,n){n.mSet(e,t,n.m.call(n.tween,r,n.mt),n)},rf=function(e){for(var t,r,n,i,s=e._pt;s;){for(t=s._next,r=n;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:i)?s._prev._next=s:n=s,(s._next=r)?r._prev=s:i=s,s=t}e._pt=n},rg=function(){function e(e,t,r,n,i,s,a,o,l){this.t=t,this.s=n,this.c=i,this.p=r,this.r=s||rl,this.d=a||this,this.set=o||rn,this.pr=l||0,this._next=e,e&&(e._prev=this)}return e.prototype.modifier=function(e,t,r){this.mSet=this.mSet||this.set,this.set=rm,this.m=e,this.mt=r,this.tween=t},e}();eE(ej+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",function(e){return ev[e]=1}),eo.TweenMax=eo.TweenLite=rr,eo.TimelineLite=eo.TimelineMax=tV,S=new tV({sortChildren:!1,defaults:F,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),L.stringFilter=tP;var rv=[],rx={},ry=[],rb=0,rw=0,r_=function(e){return(rx[e]||ry).map(function(e){return e()})},rk=function(){var e=Date.now(),t=[];e-rb>2&&(r_("matchMediaInit"),rv.forEach(function(e){var r,n,i,s,a=e.queries,o=e.conditions;for(n in a)(r=N.matchMedia(a[n]).matches)&&(i=1),r!==o[n]&&(o[n]=r,s=1);s&&(e.revert(),i&&t.push(e))}),r_("matchMediaRevert"),t.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),rb=e,r_("matchMedia"))},rj=function(){function e(e,t){this.selector=t&&td(t),this.data=[],this._r=[],this.isReverted=!1,this.id=rw++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,r){H(e)&&(r=t,t=e,e=H);var n=this,i=function(){var e,i=T,s=n.selector;return i&&i!==n&&i.data.push(n),r&&(n.selector=td(r)),T=n,e=t.apply(n,arguments),H(e)&&n._r.push(e),T=i,n.selector=s,n.isReverted=!1,e};return n.last=i,e===H?i(n,function(e){return n.add(null,e)}):e?n[e]=i:i},t.ignore=function(e){var t=T;T=null,e(this),T=t},t.getTweens=function(){var t=[];return this.data.forEach(function(r){return r instanceof e?t.push.apply(t,r.getTweens()):r instanceof rr&&!(r.parent&&"nested"===r.parent.data)&&t.push(r)}),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var r=this;if(e){for(var n,i=r.getTweens(),s=r.data.length;s--;)"isFlip"===(n=r.data[s]).data&&(n.revert(),n.getChildren(!0,!0,!1).forEach(function(e){return i.splice(i.indexOf(e),1)}));for(i.map(function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}}).sort(function(e,t){return t.g-e.g||-1/0}).forEach(function(t){return t.t.revert(e)}),s=r.data.length;s--;)(n=r.data[s])instanceof tV?"nested"!==n.data&&(n.scrollTrigger&&n.scrollTrigger.revert(),n.kill()):n instanceof rr||!n.revert||n.revert(e);r._r.forEach(function(t){return t(e,r)}),r.isReverted=!0}else this.data.forEach(function(e){return e.kill&&e.kill()});if(this.clear(),t)for(var a=rv.length;a--;)rv[a].id===this.id&&rv.splice(a,1)},t.revert=function(e){this.kill(e||{})},e}(),rT=function(){function e(e){this.contexts=[],this.scope=e,T&&T.data.push(this)}var t=e.prototype;return t.add=function(e,t,r){X(e)||(e={matches:e});var n,i,s,a=new rj(0,r||this.scope),o=a.conditions={};for(i in T&&!a.selector&&(a.selector=T.selector),this.contexts.push(a),t=a.add("onMatch",t),a.queries=e,e)"all"===i?s=1:(n=N.matchMedia(e[i]))&&(0>rv.indexOf(a)&&rv.push(a),(o[i]=n.matches)&&(s=1),n.addListener?n.addListener(rk):n.addEventListener("change",rk));return s&&t(a,function(e){return a.add(null,e)}),this},t.revert=function(e){this.kill(e||{})},t.kill=function(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},e}(),rS={registerPlugin:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(e){return tk(e)})},timeline:function(e){return new tV(e)},getTweensOf:function(e,t){return S.getTweensOf(e,t)},getProperty:function(e,t,r,n){W(e)&&(e=tc(e)[0]);var i=eS(e||{}).get,s=r?eR:eD;return"native"===r&&(r=""),e?t?s((eb[t]&&eb[t].get||i)(e,t,r,n)):function(t,r,n){return s((eb[t]&&eb[t].get||i)(e,t,r,n))}:e},quickSetter:function(e,t,r){if((e=tc(e)).length>1){var n=e.map(function(e){return rM.quickSetter(e,t,r)}),i=n.length;return function(e){for(var t=i;t--;)n[t](e)}}e=e[0]||{};var s=eb[t],a=eS(e),o=a.harness&&(a.harness.aliases||{})[t]||t,l=s?function(t){var n=new s;A._pt=0,n.init(e,r?t+r:t,A,0,[e]),n.render(1,n),A._pt&&ru(1,A)}:a.set(e,o);return s?l:function(t){return l(e,o,r?t+r:t,a,1)}},quickTo:function(e,t,r){var n,i=rM.to(e,eB(((n={})[t]="+=0.1",n.paused=!0,n.stagger=0,n),r||{})),s=function(e,r,n){return i.resetTo(t,e,r,n)};return s.tween=i,s},isTweening:function(e){return S.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=t$(e.ease,F.ease)),eI(F,e||{})},config:function(e){return eI(L,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,n=e.plugins,i=e.defaults,s=e.extendTimeline;(n||"").split(",").forEach(function(e){return e&&!eb[e]&&!eo[e]&&eu(t+" effect requires "+e+" plugin.")}),ew[t]=function(e,t,n){return r(tc(e),eB(t||{},i),n)},s&&(tV.prototype[t]=function(e,r,n){return this.add(ew[t](e,X(r)?r:(n=r)&&{},this),n)})},registerEase:function(e,t){tL[e]=t$(t)},parseEase:function(e,t){return arguments.length?t$(e,t):tL},getById:function(e){return S.getById(e)},exportRoot:function(e,t){void 0===e&&(e={});var r,n,i=new tV(e);for(i.smoothChildTiming=U(e.smoothChildTiming),S.remove(i),i._dp=0,i._time=i._tTime=S._time,r=S._first;r;)n=r._next,(t||!(!r._dur&&r instanceof rr&&r.vars.onComplete===r._targets[0]))&&e2(i,r,r._start-r._delay),r=n;return e2(S,i,0),i},context:function(e,t){return e?new rj(e,t):T},matchMedia:function(e){return new rT(e)},matchMediaRefresh:function(){return rv.forEach(function(e){var t,r,n=e.conditions;for(r in n)n[r]&&(n[r]=!1,t=1);t&&e.revert()})||rk()},addEventListener:function(e,t){var r=rx[e]||(rx[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=rx[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},utils:{wrap:function e(t,r,n){var i=r-t;return K(t)?tg(t,e(0,t.length),r):ti(n,function(e){return(i+(e-t)%i)%i+t})},wrapYoyo:function e(t,r,n){var i=r-t,s=2*i;return K(t)?tg(t,e(0,t.length-1),r):ti(n,function(e){return e=(s+(e-t)%s)%s||0,t+(e>i?s-e:e)})},distribute:th,random:tf,snap:tm,normalize:function(e,t,r){return tx(e,t,0,1,r)},getUnit:ta,clamp:function(e,t,r){return ti(r,function(r){return ts(e,t,r)})},splitColor:tS,toArray:tc,selector:td,mapRange:tx,pipe:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return t.reduce(function(e,t){return t(e)},e)}},unitize:function(e,t){return function(r){return e(parseFloat(r))+(t||ta(r))}},interpolate:function e(t,r,n,i){var s=isNaN(t+r)?0:function(e){return(1-e)*t+e*r};if(!s){var a,o,l,c,d,u=W(t),h={};if(!0===n&&(i=1)&&(n=null),u)t={p:t},r={p:r};else if(K(t)&&!K(r)){for(o=1,l=[],d=(c=t.length)-2;o<c;o++)l.push(e(t[o-1],t[o]));c--,s=function(e){var t=Math.min(d,~~(e*=c));return l[t](e-t)},n=r}else i||(t=ez(K(t)?[]:{},t));if(!l){for(a in r)t2.call(h,t,a,"get",r[a]);s=function(e){return ru(e,h)||(u?t.p:t)}}}return ti(n,s)},shuffle:tu},install:ec,effects:ew,ticker:tA,updateRoot:tV.updateRoot,plugins:eb,globalTimeline:S,core:{PropTween:rg,globals:eh,Tween:rr,Timeline:tV,Animation:tU,getCache:eS,_removeLinkedListItem:eY,reverting:function(){return j},context:function(e){return e&&T&&(T.data.push(e),e._ctx=T),T},suppressOverwrites:function(e){return k=e}}};eE("to,from,fromTo,delayedCall,set,killTweensOf",function(e){return rS[e]=rr[e]}),tA.add(tV.updateRoot),A=rS.to({},{duration:0});var rN=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},rE=function(e,t){var r,n,i,s=e._targets;for(r in t)for(n=s.length;n--;)(i=e._ptLookup[n][r])&&(i=i.d)&&(i._pt&&(i=rN(i,r)),i&&i.modifier&&i.modifier(t[r],e,s[n],r))},rC=function(e,t){return{name:e,headless:1,rawVars:1,init:function(e,r,n){n._onInit=function(e){var n,i;if(W(r)&&(n={},eE(r,function(e){return n[e]=1}),r=n),t){for(i in n={},r)n[i]=t(r[i]);r=n}rE(e,r)}}}},rM=rS.registerPlugin({name:"attr",init:function(e,t,r,n,i){var s,a,o;for(s in this.tween=r,t)o=e.getAttribute(s)||"",(a=this.add(e,"setAttribute",(o||0)+"",t[s],n,i,0,0,s)).op=s,a.b=o,this._props.push(s)},render:function(e,t){for(var r=t._pt;r;)j?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},rC("roundProps",tp),rC("modifiers"),rC("snap",tm))||rS;rr.version=tV.version=rM.version="3.15.0",M=1,V()&&tO(),tL.Power0,tL.Power1,tL.Power2,tL.Power3,tL.Power4,tL.Linear,tL.Quad,tL.Cubic,tL.Quart,tL.Quint,tL.Strong,tL.Elastic,tL.Back,tL.SteppedEase,tL.Bounce,tL.Sine,tL.Expo,tL.Circ;var rP,rA,rO,rL,rF,rD,rR,rB={},rz=180/Math.PI,rI=Math.PI/180,r$=Math.atan2,rW=/([A-Z])/g,rH=/(left|right|width|margin|padding|x)/i,rq=/[\s,\(]\S/,rY={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},rX=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},rU=function(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},rV=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},rG=function(e,t){return t.set(t.t,t.p,1===e?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},rJ=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},rK=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},rQ=function(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)},rZ=function(e,t,r){return e.style[t]=r},r0=function(e,t,r){return e.style.setProperty(t,r)},r1=function(e,t,r){return e._gsap[t]=r},r2=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},r5=function(e,t,r,n,i){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},r3=function(e,t,r,n,i){var s=e._gsap;s[t]=r,s.renderTransform(i,s)},r6="transform",r8=r6+"Origin",r4=function e(t,r){var n=this,i=this.target,s=i.style,a=i._gsap;
1if(t in rB&&s){if(this.tfm=this.tfm||{},"transform"===t)return rY.transform.split(",").forEach(function(t){return e.call(n,t,r)});if(~(t=rY[t]||t).indexOf(",")?t.split(",").forEach(function(e){return n.tfm[e]=nf(i,e)}):this.tfm[t]=a.x?a[t]:nf(i,t),t===r8&&(this.tfm.zOrigin=a.zOrigin),this.props.indexOf(r6)>=0)return;a.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(r8,r,"")),t=r6}(s||r)&&this.props.push(t,r,s[t])},r9=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},r7=function(){var e,t,r=this.props,n=this.target,i=n.style,s=n._gsap;for(e=0;e<r.length;e+=3)r[e+1]?2===r[e+1]?n[r[e]](r[e+2]):n[r[e]]=r[e+2]:r[e+2]?i[r[e]]=r[e+2]:i.removeProperty("--"===r[e].substr(0,2)?r[e]:r[e].replace(rW,"-$1").toLowerCase());if(this.tfm){for(t in this.tfm)s[t]=this.tfm[t];s.svg&&(s.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),(e=rD())&&e.isStart||i[r6]||(r9(i),s.zOrigin&&i[r8]&&(i[r8]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},ne=function(e,t){var r={target:e,props:[],revert:r7,save:r4};return e._gsap||rM.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(e){return r.save(e)}),r},nt=function(e,t){var r=rP.createElementNS?rP.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):rP.createElement(e);return r&&r.style?r:rP.createElement(e)},nr=function e(t,r,n){var i=getComputedStyle(t);return i[r]||i.getPropertyValue(r.replace(rW,"-$1").toLowerCase())||i.getPropertyValue(r)||!n&&e(t,ni(r)||r,1)||""},nn="O,Moz,ms,Ms,Webkit".split(","),ni=function(e,t,r){var n=(t||rL).style,i=5;if(e in n&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(nn[i]+e in n););return i<0?null:(3===i?"ms":i>=0?nn[i]:"")+e},ns=function(){"u">typeof window&&window.document&&(rA=(rP=window.document).documentElement,rL=nt("div")||{style:{}},nt("div"),r8=(r6=ni(r6))+"Origin",rL.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",rR=!!ni("perspective"),rD=rM.core.reverting,rO=1)},na=function(e){var t,r=e.ownerSVGElement,n=nt("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0);i.style.display="block",n.appendChild(i),rA.appendChild(n);try{t=i.getBBox()}catch(e){}return n.removeChild(i),rA.removeChild(n),t},no=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},nl=function(e){var t,r;try{t=e.getBBox()}catch(n){t=na(e),r=1}return t&&(t.width||t.height)||r||(t=na(e)),!t||t.width||t.x||t.y?t:{x:+no(e,["x","cx","x1"])||0,y:+no(e,["y","cy","y1"])||0,width:0,height:0}},nc=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&nl(e))},nd=function(e,t){if(t){var r,n=e.style;t in rB&&t!==r8&&(t=r6),n.removeProperty?(("ms"===(r=t.substr(0,2))||"webkit"===t.substr(0,6))&&(t="-"+t),n.removeProperty("--"===r?t:t.replace(rW,"-$1").toLowerCase())):n.removeAttribute(t)}},nu=function(e,t,r,n,i,s){var a=new rg(e._pt,t,r,0,1,s?rQ:rK);return e._pt=a,a.b=n,a.e=i,e._props.push(r),a},nh={deg:1,rad:1,turn:1},np={grid:1,flex:1},nm=function e(t,r,n,i){var s,a,o,l,c=parseFloat(n)||0,d=(n+"").trim().substr((c+"").length)||"px",u=rL.style,h=rH.test(r),p="svg"===t.tagName.toLowerCase(),m=(p?"client":"offset")+(h?"Width":"Height"),f="px"===i,g="%"===i;if(i===d||!c||nh[i]||nh[d])return c;if("px"===d||f||(c=e(t,r,n,"px")),l=t.getCTM&&nc(t),(g||"%"===d)&&(rB[r]||~r.indexOf("adius")))return s=l?t.getBBox()[h?"width":"height"]:t[m],eC(g?c/s*100:c/100*s);if(u[h?"width":"height"]=100+(f?d:i),a="rem"!==i&&~r.indexOf("adius")||"em"===i&&t.appendChild&&!p?t:t.parentNode,l&&(a=(t.ownerSVGElement||{}).parentNode),a&&a!==rP&&a.appendChild||(a=rP.body),(o=a._gsap)&&g&&o.width&&h&&o.time===tA.time&&!o.uncache)return eC(c/o.width*100);if(g&&("height"===r||"width"===r)){var v=t.style[r];t.style[r]=100+i,s=t[m],v?t.style[r]=v:nd(t,r)}else(g||"%"===d)&&!np[nr(a,"display")]&&(u.position=nr(t,"position")),a===t&&(u.position="static"),a.appendChild(rL),s=rL[m],a.removeChild(rL),u.position="absolute";return h&&g&&((o=eS(a)).time=tA.time,o.width=a[m]),eC(f?s*c/100:s&&c?100/s*c:0)},nf=function(e,t,r,n){var i;return rO||ns(),t in rY&&"transform"!==t&&~(t=rY[t]).indexOf(",")&&(t=t.
1split(",")[0]),rB[t]&&"transform"!==t?(i=nN(e,n),i="transformOrigin"!==t?i[t]:i.svg?i.origin:nE(nr(e,r8))+" "+i.zOrigin+"px"):(!(i=e.style[t])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=nb[t]&&nb[t](e,t,r)||nr(e,t)||eN(e,t)||+("opacity"===t)),r&&!~(i+"").trim().indexOf(" ")?nm(e,t,i,r)+r:i},ng=function(e,t,r,n){if(!r||"none"===r){var i=ni(t,e,1),s=i&&nr(e,i,1);s&&s!==r?(t=i,r=s):"borderColor"===t&&(r=nr(e,"borderTopColor"))}var a,o,l,c,d,u,h,p,m,f,g,v=new rg(this._pt,e.style,t,0,1,rd),x=0,y=0;if(v.b=r,v.e=n,r+="","var(--"===(n+="").substring(0,6)&&(n=nr(e,n.substring(4,n.indexOf(")")))),"auto"===n&&(u=e.style[t],e.style[t]=n,n=nr(e,t)||n,u?e.style[t]=u:nd(e,t)),tP(a=[r,n]),r=a[0],n=a[1],l=r.match(er)||[],(n.match(er)||[]).length){for(;o=er.exec(n);)h=o[0],m=n.substring(x,o.index),d?d=(d+1)%5:("rgba("===m.substr(-5)||"hsla("===m.substr(-5))&&(d=1),h!==(u=l[y++]||"")&&(c=parseFloat(u)||0,g=u.substr((c+"").length),"="===h.charAt(1)&&(h=eP(c,h)+g),p=parseFloat(h),f=h.substr((p+"").length),x=er.lastIndex-f.length,f||(f=f||L.units[t]||g,x===n.length&&(n+=f,v.e+=f)),g!==f&&(c=nm(e,t,u,f)||0),v._pt={_next:v._pt,p:m||1===y?m:",",s:c,c:p-c,m:d&&d<4||"zIndex"===t?Math.round:0});v.c=x<n.length?n.substring(x,n.length):""}else v.r="display"===t&&"none"===n?rQ:rK;return ei.test(n)&&(v.e=0),this._pt=v,v},nv={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},nx=function(e){var t=e.split(" "),r=t[0],n=t[1]||"50%";return("top"===r||"bottom"===r||"left"===n||"right"===n)&&(e=r,r=n,n=e),t[0]=nv[r]||r,t[1]=nv[n]||n,t.join(" ")},ny=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r,n,i,s=t.t,a=s.style,o=t.u,l=s._gsap;if("all"===o||!0===o)a.cssText="",n=1;else for(i=(o=o.split(",")).length;--i>-1;)rB[r=o[i]]&&(n=1,r="transformOrigin"===r?r8:r6),nd(s,r);n&&(nd(s,r6),l&&(l.svg&&s.removeAttribute("transform"),a.scale=a.rotate=a.translate="none",nN(s,1),l.uncache=1,r9(a)))}},nb={clearProps:function(e,t,r,n,i){if("isFromStart"!==i.data){var s=e._pt=new rg(e._pt,t,r,0,0,ny);return s.u=n,s.pr=-10,s.tween=i,e._props.push(r),1}}},nw=[1,0,0,1,0,0],n_={},nk=function(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e},nj=function(e){var t=nr(e,r6);return nk(t)?nw:t.substr(7).match(et).map(eC)},nT=function(e,t){var r,n,i,s,a=e._gsap||eS(e),o=e.style,l=nj(e);return a.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(i=e.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?nw:l:(l!==nw||e.offsetParent||e===rA||a.svg||(i=o.display,o.display="block",(r=e.parentNode)&&(e.offsetParent||e.getBoundingClientRect().width)||(s=1,n=e.nextElementSibling,rA.appendChild(e)),l=nj(e),i?o.display=i:nd(e,"display"),s&&(n?r.insertBefore(e,n):r?r.appendChild(e):rA.removeChild(e))),t&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},nS=function(e,t,r,n,i,s){var a,o,l,c,d=e._gsap,u=i||nT(e,!0),h=d.xOrigin||0,p=d.yOrigin||0,m=d.xOffset||0,f=d.yOffset||0,g=u[0],v=u[1],x=u[2],y=u[3],b=u[4],w=u[5],_=t.split(" "),k=parseFloat(_[0])||0,j=parseFloat(_[1])||0;r?u!==nw&&(o=g*y-v*x)&&(l=y/o*k+-x/o*j+(x*w-y*b)/o,c=-v/o*k+g/o*j-(g*w-v*b)/o,k=l,j=c):(k=(a=nl(e)).x+(~_[0].indexOf("%")?k/100*a.width:k),j=a.y+(~(_[1]||_[0]).indexOf("%")?j/100*a.height:j)),n||!1!==n&&d.smooth?(d.xOffset=m+((b=k-h)*g+(w=j-p)*x)-b,d.yOffset=f+(b*v+w*y)-w):d.xOffset=d.yOffset=0,d.xOrigin=k,d.yOrigin=j,d.smooth=!!n,d.origin=t,d.originIsAbsolute=!!r,e.style[r8]="0px 0px",s&&(nu(s,d,"xOrigin",h,k),nu(s,d,"yOrigin",p,j),nu(s,d,"xOffset",m,d.xOffset),nu(s,d,"yOffset",f,d.yOffset)),e.setAttribute("data-svg-origin",k+" "+j)},nN=function(e,t){var r=e._gsap||new tX(e);if("x"in r&&!t&&!r.uncache)return r;var n,i,s,a,o,l,c,d,u,h,p,m,f,g,v,x,y,b,w,_,k,j,T,S,N,E,C,M,P,A,O,F,D=e.style,R=r.scaleX<0,B=getComputedStyle(e),z=nr(e,r8)||"0";return n=i=s=l=c=d=u=h=p=0,a=o=1,r.svg=!!(e.getCTM&&nc(e)),B.translate&&(("none"!==B.translate||"none"!==B.scale||"none"!==B.rotate)&&(D[r6]=("none"!==B.translate?"translate3d("+(B.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==B.rotate?"rotate("+B.rotate+") ":"")+("none"!==B.scale?"scale("+B.scale.split(" ").join(",")+") ":"")+("none"!==B[r6]?B[r6]:"")),D.scale=D.rotate=D.translate="none"),g=nT(e,r.svg),r.svg&&(r.uncache?(N=e.getBBox(),z=r.xOrigin-N.x+"px "+(r.yOrigin-N.y)+"px",S=""):S=!t&&e.getAttribute("data-svg-origin"),nS(e,S||z,!!S||r.originIsAbsolute,!1!==r.smooth,g)),m=r.xOrigin||0,f=r.yOrigin||0,g!==nw&&(b=g[0],w=g[1],_=g[2],k=g[3],n=j=g[4],i=T=g[5],6===g.length?(a=Math.sqrt(b*b+w*w),o=Math.sqrt(k*k+_*_),l=b||w?r$(w,b)*rz:0,(u=_||k?r$(_,k)*rz+l:0)&&(o*=Math.abs(Math.cos(u*rI))),r.svg&&(n-=m-(m*b+f*_),i-=f-(m*w+f*k))):(F=g[6],A=g[7],C=g[8],M=g[9],P=g[10],O=g[11
1],n=g[12],i=g[13],s=g[14],c=(v=r$(F,P))*rz,v&&(S=j*(x=Math.cos(-v))+C*(y=Math.sin(-v)),N=T*x+M*y,E=F*x+P*y,C=-(j*y)+C*x,M=-(T*y)+M*x,P=-(F*y)+P*x,O=-(A*y)+O*x,j=S,T=N,F=E),d=(v=r$(-_,P))*rz,v&&(S=b*(x=Math.cos(-v))-C*(y=Math.sin(-v)),N=w*x-M*y,E=_*x-P*y,O=k*y+O*x,b=S,w=N,_=E),l=(v=r$(w,b))*rz,v&&(S=b*(x=Math.cos(v))+w*(y=Math.sin(v)),N=j*x+T*y,w=w*x-b*y,T=T*x-j*y,b=S,j=N),c&&Math.abs(c)+Math.abs(l)>359.9&&(c=l=0,d=180-d),a=eC(Math.sqrt(b*b+w*w+_*_)),o=eC(Math.sqrt(T*T+F*F)),u=Math.abs(v=r$(j,T))>2e-4?v*rz:0,p=O?1/(O<0?-O:O):0),r.svg&&(S=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!nk(nr(e,r6)),S&&e.setAttribute("transform",S))),Math.abs(u)>90&&270>Math.abs(u)&&(R?(a*=-1,u+=l<=0?180:-180,l+=l<=0?180:-180):(o*=-1,u+=u<=0?180:-180)),t=t||r.uncache,r.x=n-((r.xPercent=n&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-n)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+"px",r.y=i-((r.yPercent=i&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-i)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+"px",r.z=s+"px",r.scaleX=eC(a),r.scaleY=eC(o),r.rotation=eC(l)+"deg",r.rotationX=eC(c)+"deg",r.rotationY=eC(d)+"deg",r.skewX=u+"deg",r.skewY=h+"deg",r.transformPerspective=p+"px",(r.zOrigin=parseFloat(z.split(" ")[2])||!t&&r.zOrigin||0)&&(D[r8]=nE(z)),r.xOffset=r.yOffset=0,r.force3D=L.force3D,r.renderTransform=r.svg?nO:rR?nA:nM,r.uncache=0,r},nE=function(e){return(e=e.split(" "))[0]+" "+e[1]},nC=function(e,t,r){var n=ta(t);return eC(parseFloat(t)+parseFloat(nm(e,"x",r+"px",n)))+n},nM=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,nA(e,t)},nP="0deg",nA=function(e,t){var r=t||this,n=r.xPercent,i=r.yPercent,s=r.x,a=r.y,o=r.z,l=r.rotation,c=r.rotationY,d=r.rotationX,u=r.skewX,h=r.skewY,p=r.scaleX,m=r.scaleY,f=r.transformPerspective,g=r.force3D,v=r.target,x=r.zOrigin,y="",b="auto"===g&&e&&1!==e||!0===g;if(x&&(d!==nP||c!==nP)){var w,_=parseFloat(c)*rI,k=Math.sin(_),j=Math.cos(_);s=nC(v,s,-(k*(w=Math.cos(_=parseFloat(d)*rI))*x)),a=nC(v,a,-(-Math.sin(_)*x)),o=nC(v,o,-(j*w*x)+x)}"0px"!==f&&(y+="perspective("+f+") "),(n||i)&&(y+="translate("+n+"%, "+i+"%) "),(b||"0px"!==s||"0px"!==a||"0px"!==o)&&(y+="0px"!==o||b?"translate3d("+s+", "+a+", "+o+") ":"translate("+s+", "+a+") "),l!==nP&&(y+="rotate("+l+") "),c!==nP&&(y+="rotateY("+c+") "),d!==nP&&(y+="rotateX("+d+") "),(u!==nP||h!==nP)&&(y+="skew("+u+", "+h+") "),(1!==p||1!==m)&&(y+="scale("+p+", "+m+") "),v.style[r6]=y||"translate(0, 0)"},nO=function(e,t){var r,n,i,s,a,o=t||this,l=o.xPercent,c=o.yPercent,d=o.x,u=o.y,h=o.rotation,p=o.skewX,m=o.skewY,f=o.scaleX,g=o.scaleY,v=o.target,x=o.xOrigin,y=o.yOrigin,b=o.xOffset,w=o.yOffset,_=o.forceCSS,k=parseFloat(d),j=parseFloat(u);h=parseFloat(h),p=parseFloat(p),(m=parseFloat(m))&&(p+=m=parseFloat(m),h+=m),h||p?(h*=rI,p*=rI,r=Math.cos(h)*f,n=Math.sin(h)*f,i=-(Math.sin(h-p)*g),s=Math.cos(h-p)*g,p&&(m*=rI,i*=a=Math.sqrt(1+(a=Math.tan(p-m))*a),s*=a,m&&(r*=a=Math.sqrt(1+(a=Math.tan(m))*a),n*=a)),r=eC(r),n=eC(n),i=eC(i),s=eC(s)):(r=f,s=g,n=i=0),(k&&!~(d+"").indexOf("px")||j&&!~(u+"").indexOf("px"))&&(k=nm(v,"x",d,"px"),j=nm(v,"y",u,"px")),(x||y||b||w)&&(k=eC(k+x-(x*r+y*i)+b),j=eC(j+y-(x*n+y*s)+w)),(l||c)&&(k=eC(k+l/100*(a=v.getBBox()).width),j=eC(j+c/100*a.height)),a="matrix("+r+","+n+","+i+","+s+","+k+","+j+")",v.setAttribute("transform",a),_&&(v.style[r6]=a)},nL=function(e,t,r,n,i){var s,a,o=W(i),l=parseFloat(i)*(o&&~i.indexOf("rad")?rz:1)-n,c=n+l+"deg";return o&&("short"===(s=i.split("_")[1])&&(l%=360)!=l%180&&(l+=l<0?360:-360),"cw"===s&&l<0?l=(l+36e9)%360-360*~~(l/360):"ccw"===s&&l>0&&(l=(l-36e9)%360-360*~~(l/360))),e._pt=a=new rg(e._pt,t,r,n,l,rU),a.e=c,a.u="deg",e._props.push(r),a},nF=function(e,t){for(var r in t)e[r]=t[r];return e},nD=function(e,t,r){var n,i,s,a,o,l,c,d=nF({},r._gsap),u=r.style;for(i in d.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),u[r6]=t,n=nN(r,1),nd(r,r6),r.setAttribute("transform",s)):(s=getComputedStyle(r)[r6],u[r6]=t,n=nN(r,1),u[r6]=s),rB)(s=d[i])!==(a=n[i])&&0>"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)&&(o=ta(s)!==(c=ta(a))?nm(r,i,s,c):parseFloat(s),l=parseFloat(a),e._pt=new rg(e._pt,
1n,i,o,l-o,rX),e._pt.u=c||0,e._props.push(i));nF(n,d)};eE("padding,margin,Width,Radius",function(e,t){var r="Right",n="Bottom",i="Left",s=(t<3?["Top",r,n,i]:["Top"+i,"Top"+r,n+r,n+i]).map(function(r){return t<2?e+r:"border"+r+e});nb[t>1?"border"+e:e]=function(e,t,r,n,i){var a,o;if(arguments.length<4)return 5===(o=(a=s.map(function(t){return nf(e,t,r)})).join(" ")).split(a[0]).length?a[0]:o;a=(n+"").split(" "),o={},s.forEach(function(e,t){return o[e]=a[t]=a[t]||a[(t-1)/2|0]}),e.init(t,o,i)}});var nR={name:"css",register:ns,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,n,i){var s,a,o,l,c,d,u,h,p,m,f,g,v,x,y,b,w,_=this._props,k=e.style,j=r.vars.startAt;for(u in rO||ns(),this.styles=this.styles||ne(e),b=this.styles.props,this.tween=r,t)if("autoRound"!==u&&(a=t[u],!(eb[u]&&t3(u,t,r,n,e,i)))){if(c=typeof a,d=nb[u],"function"===c&&(c=typeof(a=a.call(r,n,e,i))),"string"===c&&~a.indexOf("random(")&&(a=tv(a)),d)d(this,e,u,a,r)&&(y=1);else if("--"===u.substr(0,2))s=(getComputedStyle(e).getPropertyValue(u)+"").trim(),a+="",tC.lastIndex=0,!tC.test(s)&&(h=ta(s),(p=ta(a))?h!==p&&(s=nm(e,u,s,p)+p):h&&(a+=h)),this.add(k,"setProperty",s,a,n,i,0,0,u),_.push(u),b.push(u,0,k[u]);else if("undefined"!==c){if(j&&u in j?(W(s="function"==typeof j[u]?j[u].call(r,n,e,i):j[u])&&~s.indexOf("random(")&&(s=tv(s)),ta(s+"")||"auto"===s||(s+=L.units[u]||ta(nf(e,u))||""),"="===(s+"").charAt(1)&&(s=nf(e,u))):s=nf(e,u),l=parseFloat(s),(m="string"===c&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),o=parseFloat(a),u in rY&&("autoAlpha"===u&&(1===l&&"hidden"===nf(e,"visibility")&&o&&(l=0),b.push("visibility",0,k.visibility),nu(this,k,"visibility",l?"inherit":"hidden",o?"inherit":"hidden",!o)),"scale"!==u&&"transform"!==u&&~(u=rY[u]).indexOf(",")&&(u=u.split(",")[0])),f=u in rB){if(this.styles.save(u),w=a,"string"===c&&"var(--"===a.substring(0,6)){if("calc("===(a=nr(e,a.substring(4,a.indexOf(")")))).substring(0,5)){var T=e.style.perspective;e.style.perspective=a,a=nr(e,"perspective"),T?e.style.perspective=T:nd(e,"perspective")}o=parseFloat(a)}if(g||((v=e._gsap).renderTransform&&!t.parseTransform||nN(e,t.parseTransform),x=!1!==t.smoothOrigin&&v.smooth,(g=this._pt=new rg(this._pt,k,r6,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===u)this._pt=new rg(this._pt,v,"scaleY",v.scaleY,(m?eP(v.scaleY,m+o):o)-v.scaleY||0,rX),this._pt.u=0,_.push("scaleY",u),u+="X";else if("transformOrigin"===u){b.push(r8,0,k[r8]),a=nx(a),v.svg?nS(e,a,0,x,0,this):((p=parseFloat(a.split(" ")[2])||0)!==v.zOrigin&&nu(this,v,"zOrigin",v.zOrigin,p),nu(this,k,u,nE(s),nE(a)));continue}else if("svgOrigin"===u){nS(e,a,1,x,0,this);continue}else if(u in n_){nL(this,v,u,l,m?eP(l,m+a):a);continue}else if("smoothOrigin"===u){nu(this,v,"smooth",v.smooth,a);continue}else if("force3D"===u){v[u]=a;continue}else if("transform"===u){nD(this,a,e);continue}}else u in k||(u=ni(u)||u);if(f||(o||0===o)&&(l||0===l)&&!rq.test(a)&&u in k)h=(s+"").substr((l+"").length),o||(o=0),p=ta(a)||(u in L.units?L.units[u]:h),h!==p&&(l=nm(e,u,s,p)),this._pt=new rg(this._pt,f?v:k,u,l,(m?eP(l,m+o):o)-l,!f&&("px"===p||"zIndex"===u)&&!1!==t.autoRound?rJ:rX),this._pt.u=p||0,f&&w!==a?(this._pt.b=s,this._pt.e=w,this._pt.r=rG):h!==p&&"%"!==p&&(this._pt.b=s,this._pt.r=rV);else if(u in k)ng.call(this,e,u,s,m?m+a:a);else if(u in e)this.add(e,u,s||e[u],m?m+a:a,n,i);else if("parseTransform"!==u){ed(u,a);continue}f||(u in k?b.push(u,0,k[u]):"function"==typeof e[u]?b.push(u,2,e[u]()):b.push(u,1,s||e[u])),_.push(u)}}y&&rf(this)},render:function(e,t){if(t.tween._time||!rD())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:nf,aliases:rY,getSetter:function(e,t,r){var n=rY[t];return n&&0>n.indexOf(",")&&(t=n),t in rB&&t!==r8&&(e._gsap.x||nf(e,"x"))?r&&rF===r?"scale"===t?r2:r1:(rF=r||{},"scale"===t?r5:r3):e.style&&!Y(e.style[t])?rZ:~t.indexOf("-")?r0:ro(e,t)},core:{_removeProperty:nd,_getMatrix:nT}};rM.utils.checkPrefix=ni,rM.core.getStyleSaver=ne,nI=eE("x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+(nz="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(e){rB[e]=1}),eE(nz,function(e){L.units[e]="deg",n_[e]=1}),rY[nI[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+nz,eE("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(e){var t=e.split(":");rY[t[1]]=nI[t[0]]}),eE("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(e){L.units[e]="px"}),rM.registerPlugin(nR);
1var nB=rM.registerPlugin(nR)||rM;nB.core.Tween;var nz,nI,n$,nW,nH,nq,nY,nX,nU,nV,nG,nJ,nK,nQ,nZ,n0=function(){return n$||"u">typeof window&&(n$=window.gsap)&&n$.registerPlugin&&n$},n1=1,n2=[],n5=[],n3=[],n6=Date.now,n8=function(e,t){return t},n4=function(){var e=nG.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,n5),n.push.apply(n,n3),n5=r,n3=n,n8=function(e,r){return t[e](r)}},n9=function(e,t){return~n3.indexOf(e)&&n3[n3.indexOf(e)+1][t]},n7=function(e){return!!~nJ.indexOf(e)},ie=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:!1!==n,capture:!!i})},it=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},ir="scrollLeft",ii="scrollTop",is=function(){return nK&&nK.isPressed||n5.cache++},ia=function(e,t){var r=function r(n){if(n||0===n){n1&&(nH.history.scrollRestoration="manual");var i=nK&&nK.isPressed;e(n=r.v=Math.round(n)||(nK&&nK.iOS?1:0)),r.cacheID=n5.cache,i&&n8("ss",n)}else(t||n5.cache!==r.cacheID||n8("ref"))&&(r.cacheID=n5.cache,r.v=e());return r.v+r.offset};return r.offset=0,e&&r},io={s:ir,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:ia(function(e){return arguments.length?nH.scrollTo(e,il.sc()):nH.pageXOffset||nq[ir]||nY[ir]||nX[ir]||0})},il={s:ii,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:io,sc:ia(function(e){return arguments.length?nH.scrollTo(io.sc(),e):nH.pageYOffset||nq[ii]||nY[ii]||nX[ii]||0})},ic=function(e,t){return(t&&t._ctx&&t._ctx.selector||n$.utils.toArray)(e)[0]||("string"==typeof e&&!1!==n$.config().nullTargetWarn?console.warn("Element not found:",e):null)},id=function(e,t){for(var r=t.length;r--;)if(t[r]===e||t[r].contains(e))return!0;return!1},iu=function(e,t){var r=t.s,n=t.sc;n7(e)&&(e=nq.scrollingElement||nY);var i=n5.indexOf(e),s=n===il.sc?1:2;~i||(i=n5.push(e)-1),n5[i+s]||ie(e,"scroll",is);var a=n5[i+s],o=a||(n5[i+s]=ia(n9(e,r),!0)||(n7(e)?n:ia(function(t){return arguments.length?e[r]=t:e[r]})));return o.target=e,a||(o.smooth="smooth"===n$.getProperty(e,"scrollBehavior")),o},ih=function(e,t,r){var n=e,i=e,s=n6(),a=s,o=t||50,l=Math.max(500,3*o),c=function(e,t){var l=n6();t||l-s>o?(i=n,n=e,a=s,s=l):r?n+=e:n=i+(e-i)/(l-a)*(s-a)};return{update:c,reset:function(){i=n=r?0:n,a=s=0},getVelocity:function(e){var t=a,o=i,d=n6();return(e||0===e)&&e!==n&&c(e),s===a||d-a>l?0:(n+(r?o:-o))/((r?d:s)-t)*1e3}}},ip=function(e,t){return t&&!e._gsapAllow&&!1!==e.cancelable&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},im=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},ig=function(){(nG=n$.core.globals().ScrollTrigger)&&nG.core&&n4()},iv=function(e){return n$=e||n0(),!nW&&n$&&"u">typeof document&&document.body&&(nH=window,nY=(nq=document).documentElement,nX=nq.body,nJ=[nH,nq,nY,nX],n$.utils.clamp,nZ=n$.core.context||function(){},nV="onpointerenter"in nX?"pointer":"mouse",nU=ix.isTouch=nH.matchMedia&&nH.matchMedia("(hover: none), (pointer: coarse)").matches?1:2*("ontouchstart"in nH||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0),nQ=ix.eventTypes=("ontouchstart"in nY?"touchstart,touchmove,touchcancel,touchend":!("onpointerdown"in nY)?"mousedown,mousemove,mouseup,mouseup":"pointerdown,pointermove,pointercancel,pointerup").split(","),setTimeout(function(){return n1=0},500),nW=1),nG||ig(),nW};io.op=il,n5.cache=0;var ix=function(){var e;function t(e){this.init(e)}return t.prototype.init=function(e){nW||iv(n$)||console.warn("Please gsap.registerPlugin(Observer)"),nG||ig();var t=e.tolerance,r=e.dragMinimum,n=e.type,i=e.target,s=e.lineHeight,a=e.debounce,o=e.preventDefault,l=e.onStop,c=e.onStopDelay,d=e.ignore,u=e.wheelSpeed,h=e.event,p=e.onDragStart,m=e.onDragEnd,f=e.onDrag,g=e.onPress,v=e.onRelease,x=e.onRight,y=e.onLeft,b=e.onUp,w=e.onDown,_=e.onChangeX,k=e.onChangeY,j=e.onChange,T=e.onToggleX,S=e.onToggleY,N=e.onHover,E=e.onHoverEnd,C=e.onMove,M=e.ignoreCheck,P=e.isNormalizer,A=e.onGestureStart,O=e.onGestureEnd,L=e.onWheel,F=e.onEnable,D=e.onDisable,R=e.onClick,B=e.scrollSpeed,z=e.capture,I=e.allowClicks,$=e.lockAxis,W=e.onLockAxis;this.target=i=ic(i)||nY,this.vars=e,d&&(d=n$.utils.toArray(d)),t=t||1e-9,r=r||0,u=u||1,B=B||1,n=n||"wheel,touch,pointer",a=!1!==a,s||(s=parseFloat(nH.getComputedStyle(nX).lineHeight)||22);var H,q,Y,X,U,V,G,J=this,K=0,Q=0,Z=e.passive||!o&&!1!==e.passive,ee=iu(i,io),et=iu(i,il),er=ee(),en=et(),ei=~n.indexOf("touch")&&!~n.indexOf("pointer")&&"pointerdown"===nQ[0],es=n7(i),ea=i.ownerDocument||nq,eo=[0,0,0],el=[0,0,0],ec=0,ed=function(){return ec=n6()},eu=function(e,t){return(J.event=e)&&d&&id(e.target,d)||t&&ei&&"touch"!==e.pointerType||M&&M(e,t)},eh=function(){var e=J.deltaX=im(eo),r=J.deltaY=im(el),n=Math.abs(e)>=t,i=Math.abs(r)>=t;j&&(n||i)&&j(J,e,r,eo,el),n&&(x&&J.deltaX>0&&x(J),y&&J.deltaX<0&&y(J),_&&_(J),T&&J.deltaX<0!=K<0&&T(J),K=J.deltaX,eo[0]=eo[1]=eo[2]=0),i&&(w&&J.deltaY>0&&w(J),b&&J.deltaY<0&&b(J),k&&k(J),S&&J.deltaY<0!=Q<0&&S(J),Q=J.deltaY,el[0]=el[1]=el[2]=0),(X||Y)&&(C&&C(J),Y&&(p&&1===Y&&p(J),f&&f(J),Y=0),X=!1),V&&(V=!1,1)&&W&&W(J),U&&(L(J),U=!1),H=0},ep=function(e,t,r){eo[r]+=e,el[r]+=t,J._vx.update(e),J._vy.update(t),a?H||(H=requestAnimationFrame(eh)):eh()},em=function(e,t){$&&!G&&(J.axis=G=Math.abs(e)>
vendor: 13,849 bytes, line 1
1Math.abs(t)?"x":"y",V=!0),"y"!==G&&(eo[2]+=e,J._vx.update(e,!0)),"x"!==G&&(el[2]+=t,J._vy.update(t,!0)),a?H||(H=requestAnimationFrame(eh)):eh()},ef=function(e){if(!eu(e,1)){var t=(e=ip(e,o)).clientX,n=e.clientY,i=t-J.x,s=n-J.y,a=J.isDragging;J.x=t,J.y=n,(a||(i||s)&&(Math.abs(J.startX-t)>=r||Math.abs(J.startY-n)>=r))&&(Y||(Y=a?2:1),a||(J.isDragging=!0),em(i,s))}},eg=J.onPress=function(e){eu(e,1)||e&&e.button||(J.axis=G=null,q.pause(),J.isPressed=!0,e=ip(e),K=Q=0,J.startX=J.x=e.clientX,J.startY=J.y=e.clientY,J._vx.reset(),J._vy.reset(),ie(P?i:ea,nQ[1],ef,Z,!0),J.deltaX=J.deltaY=0,g&&g(J))},ev=J.onRelease=function(e){if(!eu(e,1)){it(P?i:ea,nQ[1],ef,!0);var t=!isNaN(J.y-J.startY),r=J.isDragging,n=r&&(Math.abs(J.x-J.startX)>3||Math.abs(J.y-J.startY)>3),s=ip(e);!n&&t&&(J._vx.reset(),J._vy.reset(),o&&I&&n$.delayedCall(.08,function(){if(n6()-ec>300&&!e.defaultPrevented){if(e.target.click)e.target.click();else if(ea.createEvent){var t=ea.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,nH,1,s.screenX,s.screenY,s.clientX,s.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}})),J.isDragging=J.isGesturing=J.isPressed=!1,l&&r&&!P&&q.restart(!0),Y&&eh(),m&&r&&m(J),v&&v(J,n)}},ex=function(e){return e.touches&&e.touches.length>1&&(J.isGesturing=!0)&&A(e,J.isDragging)},ey=function(){return J.isGesturing=!1,O(J)},eb=function(e){if(!eu(e)){var t=ee(),r=et();ep((t-er)*B,(r-en)*B,1),er=t,en=r,l&&q.restart(!0)}},ew=function(e){if(!eu(e)){e=ip(e,o),L&&(U=!0);var t=(1===e.deltaMode?s:2===e.deltaMode?nH.innerHeight:1)*u;ep(e.deltaX*t,e.deltaY*t,0),l&&!P&&q.restart(!0)}},e_=function(e){if(!eu(e)){var t=e.clientX,r=e.clientY,n=t-J.x,i=r-J.y;J.x=t,J.y=r,X=!0,l&&q.restart(!0),(n||i)&&em(n,i)}},ek=function(e){J.event=e,N(J)},ej=function(e){J.event=e,E(J)},eT=function(e){return eu(e)||ip(e,o)&&R(J)};q=J._dc=n$.delayedCall(c||.25,function(){J._vx.reset(),J._vy.reset(),q.pause(),l&&l(J)}).pause(),J.deltaX=J.deltaY=0,J._vx=ih(0,50,!0),J._vy=ih(0,50,!0),J.scrollX=ee,J.scrollY=et,J.isDragging=J.isGesturing=J.isPressed=!1,nZ(this),J.enable=function(e){return!J.isEnabled&&(ie(es?ea:i,"scroll",is),n.indexOf("scroll")>=0&&ie(es?ea:i,"scroll",eb,Z,z),n.indexOf("wheel")>=0&&ie(i,"wheel",ew,Z,z),(n.indexOf("touch")>=0&&nU||n.indexOf("pointer")>=0)&&(ie(i,nQ[0],eg,Z,z),ie(ea,nQ[2],ev),ie(ea,nQ[3],ev),I&&ie(i,"click",ed,!0,!0),R&&ie(i,"click",eT),A&&ie(ea,"gesturestart",ex),O&&ie(ea,"gestureend",ey),N&&ie(i,nV+"enter",ek),E&&ie(i,nV+"leave",ej),C&&ie(i,nV+"move",e_)),J.isEnabled=!0,J.isDragging=J.isGesturing=J.isPressed=X=Y=!1,J._vx.reset(),J._vy.reset(),er=ee(),en=et(),e&&e.type&&eg(e),F&&F(J)),J},J.disable=function(){J.isEnabled&&(n2.filter(function(e){return e!==J&&n7(e.target)}).length||it(es?ea:i,"scroll",is),J.isPressed&&(J._vx.reset(),J._vy.reset(),it(P?i:ea,nQ[1],ef,!0)),it(es?ea:i,"scroll",eb,z),it(i,"wheel",ew,z),it(i,nQ[0],eg,z),it(ea,nQ[2],ev),it(ea,nQ[3],ev),it(i,"click",ed,!0),it(i,"click",eT),it(ea,"gesturestart",ex),it(ea,"gestureend",ey),it(i,nV+"enter",ek),it(i,nV+"leave",ej),it(i,nV+"move",e_),J.isEnabled=J.isPressed=J.isDragging=!1,D&&D(J))},J.kill=J.revert=function(){J.disable();var e=n2.indexOf(J);e>=0&&n2.splice(e,1),nK===J&&(nK=0)},n2.push(J),P&&n7(i)&&(nK=J),J.enable(h)},e=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),t}();ix.version="3.15.0",ix.create=function(e){return new ix(e)},ix.register=iv,ix.getAll=function(){return n2.slice()},ix.getById=function(e){return n2.filter(function(t){return t.vars.id===e})[0]},n0()&&n$.registerPlugin(ix);var iy,ib,iw,i_,ik,ij,iT,iS,iN,iE,iC,iM,iP,iA,iO,iL,iF,iD,iR,iB,iz,iI,i$,iW,iH,iq,iY,iX,iU,iV,iG,iJ,iK,iQ,iZ,i0,i1,i2,i5=1,i3=Date.now,i6=i3(),i8=0,i4=0,i9=function(e,t,r){var n=sh(e)&&("clamp("===e.substr(0,6)||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},i7=function(e,t){return t&&(!sh(e)||"clamp("!==e.substr(0,6))?"clamp("+e+")":e},se=function(){return iA=1},st=function(){return iA=0},sr=function(e){return e},sn=function(e){return Math.round(1e5*e)/1e5||0},si=function(){return"u">typeof window},ss=function(){return iy||si()&&(iy=window.gsap)&&iy.registerPlugin&&iy},sa=function(e){return!!~iT.indexOf(e)},so=function(e){return("Height"===e?iG:iw["inner"+e])||ik["client"+e]||ij["client"+e]},sl=function(e){return n9(e,"getBoundingClientRect")||(sa(e)?function(){return af.width=iw.innerWidth,af.height=iG,af}:function(){return sL(e)})},sc=function(e,t,r){var n=r.d,i=r.d2,s=r.a;return(s=n9(e,"getBoundingClientRect"))?function(){return s()[n]}:function(){return(t?so(i):e["client"+i])||0}},sd=function(e,t){var r=t.s,n=t.d2,i=t.d,s=t.a;return Math.max(0,(s=n9(e,r="scroll"+n))?s()-sl(e)()[i]:sa(e)?(ik[r]||ij[r])-so(n):e[r]-e["offset"+n])},su=function(e,t){for(var r=0;r<iR.length;r+=3)(!t||~t.indexOf(iR[r+1]))&&e(iR[r],iR[r+1],iR[r+2])},sh=function(e){return"string"==typeof e},sp=function(e){return"function"==typeof e},sm=function(e){return"number"==typeof e},sf=function(e){return"object"==typeof e},sg=function(e,t,r){return e&&e.progress(+!t)&&r&&e.pause()},sv=function(e,t,r){if(e.enabled){var n=e._ctx?e._ctx.add(function(){return t(e,r)}):t(e,r);n&&n.totalTime&&(e.callbackAnimation=n)}},sx=Math.abs,sy="left",sb="right",sw="bottom",s_="width",sk="height",sj="Right",sT="Left",sS="Bottom",sN="padding",sE="margin",sC="Width",sM="Height",sP=function(e){return iw.getComputedStyle(e.nodeType===Node.DOCUMENT_NODE?e.scrollingElement:e)},sA=function(e){var t=sP(e).position;e.style.position="absolute"===t||"fixed"===t?t:"relative"},sO=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},sL=function(e,t){var r=t&&"matrix(1, 0, 0, 1, 0, 0)"!==sP(e)[iO]&&iy.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect?e.getBoundingClientRect():e.scrollingElement.getBoundingClientRect();return r&&r.progress(0).kill(),n},sF=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},sD=function(e){var t,r=[],n=e.labels,i=e.duration();for(t in n)r.push(n[t]/i);return r},sR=function(e){var t=iy.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(e,t){return e-t});return r?function(e,n,i){var s;if(void 0===i&&(i=.001),!n)return t(e);if(n>0){for(e-=i,s=0;s<r.length;s++)if(r[s]>=e)return r[s];return r[s-1]}for(s=r.length,e+=i;s--;)if(r[s]<=e)return r[s];return r[0]}:function(r,n,i){void 0===i&&(i=.001);var s=t(r);return!n||Math.abs(s-r)<i||s-r<0==n<0?s:t(n<0?r-e:r+e)}},sB=function(e,t,r,n){return r.split(",").forEach(function(r){return e(t,r,n)})},sz=function(e,t,r,n,i){return e.addEventListener(t,r,{passive:!n,capture:!!i})},sI=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},s$=function(e,t,r){(r=r&&r.wheelHandler)&&(e(t,"wheel",r),e(t,"touchmove",r))},sW={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},sH={toggleActions:"play",anticipatePin:0},sq={top:0,left:0,center:.5,bottom:1,right:1},sY=function(e,t){if(sh(e)){var r=e.indexOf("="),n=~r?(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in sq?sq[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},sX=function(e,t,r,n,i,s,a,o){var l=i.startColor,c=i.endColor,d=i.fontSize,u=i.indent,h=i.fontWeight,p=i_.createElement("div"),m=sa(r)||"fixed"===n9(r,"pinType"),f=-1!==e.indexOf("scroller"),g=m?ij:"IFRAME"===r.tagName?r.contentDocument.body:r,v=-1!==e.indexOf("start"),x=v?l:c,y="border-color:"+x+";font-size:"+d+";color:"+x+";font-weight:"+h+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((f||o)&&m?"fixed;":"absolute;"),(f||o||!m)&&(y+=(n===il?sb:sw)+":"+(s+parseFloat(u))+"px;"),a&&(y+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),p._isStart=v,p.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),p.style.cssText=y,p.innerText=t||0===t?e+"-"+t:e,g.children[0]?g.insertBefore(p,g.children[0]):g.appendChild(p),p._offset=p["offset"+n.op.d2],sU(p,0,n,v),p},sU=function(e,t,r,n){var i={display:"block"},s=r[n?"os2":"p2"],a=r[n?"p2":"os2"];e._isFlipped=n,i[r.a+"Percent"]=n?-100:0,i[r.a]=n?"1px":0,i["border"+s+sC]=1,i["border"+a+sC]=0,i[r.p]=t+"px",iy.set(e,i)},sV=[],sG={},sJ=function(){return i3()-i8>34&&(iZ||(iZ=requestAnimationFrame(aa)))},sK=function(){i$&&i$.isPressed&&!(i$.startX>ij.clientWidth)||(n5.cache++,i$?iZ||(iZ=requestAnimationFrame(aa)):aa(),i8||s5("scrollStart"),i8=i3())},sQ=function(){iq=iw.innerWidth,iH=iw.innerHeight},sZ=function(e){n5.cache++,(!0===e||!iP&&!iI&&!i_.fullscreenElement&&!i_.webkitFullscreenElement&&(!iW||iq!==iw.innerWidth||Math.abs(iw.innerHeight-iH)>.25*iw.innerHeight))&&iS.restart(!0)},s0={},s1=[],s2=function e(){return sI(a_,"scrollEnd",e)||an(!0)},s5=function(e){return s0[e]&&s0[e].map(function(e){return e()})||s1},s3=[],s6=function(e){for(var t=0;t<s3.length;t+=5)(!e||s3[t+4]&&s3[t+4].query===e)&&(s3[t].style.cssText=s3[t+1],s3[t].getBBox&&s3[t].setAttribute("transform",s3[t+2]||""),s3[t+3].uncache=1)},s8=function(){return n5.forEach(function(e){return sp(e)&&++e.cacheID&&(e.rec=e())})},s4=function(e,t){var r;for(iL=0;iL<sV.length;iL++)(r=sV[iL])&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));iJ=!0,t&&s6(t),t||s5("revert")},s9=function(e,t){n5.cache++,(t||!i0)&&n5.forEach(function(e){return sp(e)&&e.cacheID++&&(e.rec=0)}),sh(e)&&(iw.history.scrollRestoration=iU=e)},s7=0,ae=function(){if(i1!==s7){var e=i1=s7;requestAnimationFrame(function(){return e===s7&&an(!0)})}},at=function(){ij.appendChild(iV),iG=!i$&&iV.offsetHeight||iw.innerHeight,ij.removeChild(iV)},ar=function(e){return iN(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},an=function(e,t){if(ik=i_.documentElement,ij=i_.body,iT=[iw,i_,ik,ij],i8&&!e&&!iJ)return void sz(a_,"scrollEnd",s2);at(),i0=a_.isRefreshing=!0,iJ||s8();var r=s5("refreshInit");iB&&a_.sort(),t||s4(),n5.forEach(function(e){sp(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0))}),sV.slice(0).forEach(function(e){return e.refresh()}),iJ=!1,sV.forEach(function(e){if(e._subPinOffset&&e.pin){var t=e.vars.horizontal?"offsetWidth":"offsetHeight",r=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-r),e.refresh()}}),iK=1,ar(!0),sV.forEach(function(e){var t=sd(e.scroller,e._dir),r="max"===e.vars.end||e._endClamp&&e.end>t,n=e._startClamp&&e.start>=t;(r||n)&&e.setPositions(n?t-1:e.start,r?Math.max(n?t:e.start+1,t):e.end,!0)}),ar(!1),iK=0,r.forEach(function(e){return e&&e.render&&e.render(-1)}),n5.forEach(function(e){sp(e)&&(e.smooth&&requestAnimationFrame(function(){return e.target.style.scrollBehavior="smooth"}),e.rec&&e(e.rec))}),s9(iU,1),iS.pause(),s7++,i0=2,aa(2),sV.forEach(function(e){return sp(e.vars.onRefresh)&&e.vars.onRefresh(e)}),i0=a_.isRefreshing=!1,s5("refresh")},ai=0,as=1,aa=function(e){if(2===e||!i0&&!iJ){a_.isUpdating=!0,i2&&i2.update(0);var t=sV.length,r=i3(),n=r-i6>=50,i=t&&sV[0].scroll();if(as=ai>i?-1:1,i0||(ai=i),n&&(i8&&!iA&&r-i8>200&&(i8=0,s5("scrollEnd")),iC=i6,i6=r),as<0){for(iL=t;iL-- >0;)sV[iL]&&sV[iL].update(0,n);as=1}else for(iL=0;iL<t;iL++)sV[iL]&&sV[iL].update(0,n);a_.isUpdating=!1}iZ=0},ao=[sy,"top",sw,sb,sE+sS,sE+sj,sE+"Top",sE+sT,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],al=ao.concat([s_,sk,"boxSizing","max"+sC,"max"+sM,"position",sE,sN,sN+"Top",sN+sj,sN+sS,sN+sT]),ac=function(e,t,r){ah(r);var n=e._gsap;if(n.spacerIsNative)ah(n.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1},ad=function(e,t,r,n){if(!e._gsap.swappedIn){for(var i,s=ao.length,a=t.style,o=e.style;s--;)a[i=ao[s]]=r[i];a.position="absolute"===r.position?"absolute":"relative","inline"===r.display&&(a.display="inline-block"),o[sw]=o[sb]="auto",a.flexBasis=r.flexBasis||"auto",a.overflow="visible",a.boxSizing="border-box",a[s_]=sF(e,io)+"px",a[sk]=sF(e,il)+"px",a[sN]=o[sE]=o.top=o[sy]="0",ah(n),o[s_]=o["max"+sC]=r[s_],o[sk]=o["max"+sM]=r[sk],o[sN]=r[sN],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},au=/([A-Z])/g,ah=function(e){if(e){var t,r,n=e.t.style,i=e.length,s=0;for((e.t._gsap||iy.core.getCache(e.t)).uncache=1;s<i;s+=2)r=e[s+1],t=e[s],r?n[t]=r:n[t]&&n.removeProperty(t.replace(au,"-$1").toLowerCase())}},ap=function(e){for(var t=al.length,r=e.style,n=[],i=0;i<t;i++)n.push(al[i],r[al[i]]);return n.t=e,n},am=function(e,t,r){for(var n,i=[],s=e.length,a=8*!!r;a<s;a+=2)n=e[a],i.push(n,n in t?t[n]:e[a+1]);return i.t=e.t,i},af={left:0,top:0},ag=function(e,t,r,n,i,s,a,o,l,c,d,u,h,p){sp(e)&&(e=e(o)),sh(e)&&"max"===e.substr(0,3)&&(e=u+("="===e.charAt(4)?sY("0"+e.substr(3),r):0));var m,f,g,v=h?h.time():0;if(h&&h.seek(0),isNaN(e)||(e*=1),sm(e))h&&(e=iy.utils.mapRange(h.scrollTrigger.start,h.scrollTrigger.end,0,u,e)),a&&sU(a,r,n,!0);else{sp(t)&&(t=t(o));var x,y,b,w,_=(e||"0").split(" ");(x=sL(g=ic(t,o)||ij)||{}).left||x.top||"none"!==sP(g).display||(w=g.style.display,g.style.display="block",x=sL(g),w?g.style.display=w:g.style.removeProperty("display")),y=sY(_[0],x[n.d]),b=sY(_[1]||"0",r),e=x[n.p]-l[n.p]-c+y+i-b,a&&sU(a,b,n,r-b<20||a._isStart&&b>20),r-=r-b}if(p&&(o[p]=e||-.001,e<0&&(e=0)),s){var k=e+r,j=s._isStart;m="scroll"+n.d2,sU(s,k,n,j&&k>20||!j&&(d?Math.max(ij[m],ik[m]):s.parentNode[m])<=k+1),d&&(l=sL(a),d&&(s.style[n.op.p]=l[n.op.p]-n.op.m-s._offset+"px"))}return h&&g&&(m=sL(g),h.seek(u),f=sL(g),h._caScrollDist=m[n.p]-f[n.p],e=e/h._c
1aScrollDist*u),h&&h.seek(v),h?e:Math.round(e)},av=/(webkit|moz|length|cssText|inset)/i,ax=function(e,t,r,n){if(e.parentNode!==t){var i,s,a=e.style;if(t===ij){for(i in e._stOrig=a.cssText,s=sP(e))+i||av.test(i)||!s[i]||"string"!=typeof a[i]||"0"===i||(a[i]=s[i]);a.top=r,a.left=n}else a.cssText=e._stOrig;iy.core.getCache(e).uncache=1,t.appendChild(e)}},ay=function(e,t,r){var n=t,i=n;return function(t){var s=Math.round(e());return s!==n&&s!==i&&Math.abs(s-n)>3&&Math.abs(s-i)>3&&(t=s,r&&r()),i=n,n=Math.round(t)}},ab=function(e,t,r){var n={};n[t.p]="+="+r,iy.set(e,n)},aw=function(e,t){var r=iu(e,t),n="_scroll"+t.p2,i=function t(i,s,a,o,l){var c=t.tween,d=s.onComplete,u={};a=a||r();var h=ay(r,a,function(){c.kill(),t.tween=0});return l=o&&l||0,o=o||i-a,c&&c.kill(),s[n]=i,s.inherit=!1,s.modifiers=u,u[n]=function(){return h(a+o*c.ratio+l*c.ratio*c.ratio)},s.onUpdate=function(){n5.cache++,t.tween&&aa()},s.onComplete=function(){t.tween=0,d&&d.call(c)},c=t.tween=iy.to(e,s)};return e[n]=r,r.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},sz(e,"wheel",r.wheelHandler),a_.isTouch&&sz(e,"touchmove",r.wheelHandler),i},a_=function(){function e(t,r){ib||e.register(iy)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),iX(this),this.init(t,r)}return e.prototype.init=function(t,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!i4){this.update=this.refresh=this.kill=sr;return}var n,i,s,a,o,l,c,d,u,h,p,m,f,g,v,x,y,b,w,_,k,j,T,S,N,E,C,M,P,A,O,L,F,D,R,B,z,I,$,W,H,q=t=sO(sh(t)||sm(t)||t.nodeType?{trigger:t}:t,sH),Y=q.onUpdate,X=q.toggleClass,U=q.id,V=q.onToggle,G=q.onRefresh,J=q.scrub,K=q.trigger,Q=q.pin,Z=q.pinSpacing,ee=q.invalidateOnRefresh,et=q.anticipatePin,er=q.onScrubComplete,en=q.onSnapComplete,ei=q.once,es=q.snap,ea=q.pinReparent,eo=q.pinSpacer,el=q.containerAnimation,ec=q.fastScrollEnd,ed=q.preventOverlaps,eu=t.horizontal||t.containerAnimation&&!1!==t.horizontal?io:il,eh=!J&&0!==J,ep=ic(t.scroller||iw),em=iy.core.getCache(ep),ef=sa(ep),eg=("pinType"in t?t.pinType:n9(ep,"pinType")||ef&&"fixed")==="fixed",ev=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],ex=eh&&t.toggleActions.split(" "),ey="markers"in t?t.markers:sH.markers,eb=ef?0:parseFloat(sP(ep)["border"+eu.p2+sC])||0,ew=this,e_=t.onRefreshInit&&function(){return t.onRefreshInit(ew)},ek=sc(ep,ef,eu),ej=!ef||~n3.indexOf(ep)?sl(ep):function(){return af},eT=0,eS=0,eN=0,eE=iu(ep,eu);if(ew._startClamp=ew._endClamp=!1,ew._dir=eu,et*=45,ew.scroller=ep,ew.scroll=el?el.time.bind(el):eE,l=eE(),ew.vars=t,r=r||t.animation,"refreshPriority"in t&&(iB=1,-9999===t.refreshPriority&&(i2=ew)),em.tweenScroll=em.tweenScroll||{top:aw(ep,il),left:aw(ep,io)},ew.tweenTo=s=em.tweenScroll[eu.p],ew.scrubDuration=function(e){(R=sm(e)&&e)?D?D.duration(e):D=iy.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:R,paused:!0,onComplete:function(){return er&&er(ew)}}):(D&&D.progress(1).kill(),D=0)},r&&(r.vars.lazy=!1,r._initted&&!ew.isReverted||!1!==r.vars.immediateRender&&!1!==t.immediateRender&&r.duration()&&r.render(0,!0,!0),ew.animation=r.pause(),r.scrollTrigger=ew,ew.scrubDuration(J),L=0,U||(U=r.vars.id)),es&&((!sf(es)||es.push)&&(es={snapTo:es}),"scrollBehavior"in ij.style&&iy.set(ef?[ij,ik]:ep,{scrollBehavior:"auto"}),n5.forEach(function(e){return sp(e)&&e.target===(ef?i_.scrollingElement||ik:ep)&&(e.smooth=!1)}),o=sp(es.snapTo)?es.snapTo:"labels"===es.snapTo?(n=r,function(e){return iy.utils.snap(sD(n),e)}):"labelsDirectional"===es.snapTo?(i=r,function(e,t){return sR(sD(i))(e,t.direction)}):!1!==es.directional?function(e,t){return sR(es.snapTo)(e,i3()-eS<500?0:t.direction)}:iy.utils.snap(es.snapTo),B=sf(B=es.duration||{min:.1,max:2})?iE(B.min,B.max):iE(B,B),z=iy.delayedCall(es.delay||R/2||.1,function(){var e=eE(),t=i3()-eS<500,n=s.tween;if((t||10>Math.abs(ew.getVelocity()))&&!n&&!iA&&eT!==e){var i,a,l=(e-d)/x,c=r&&!eh?r.totalProgress():l,h=t?0:(c-F)/(i3()-iC)*1e3||0,p=iy.utils.clamp(-l,1-l,sx(h/2)*h/.185),m=l+(!1===es.inertia?0:p),f=es,g=f.onStart,v=f.onInterrupt,y=f.onComplete;if(sm(i=o(m,ew))||(i=m),a=Math.max(0,Math.round(d+i*x)),e<=u&&e>=d&&a!==e){if(n&&!n._initted&&n.data<=sx(a-e))return;!1===es.inertia&&(p=i-l),s(a,{duration:B(sx(.185*Math.max(sx(m-c),sx(i-c))/h/.05||0)),ease:es.ease||"power3",data:sx(a-e),onInterrupt:function(){return z.restart(!0)&&v&&sv(ew,v)},onComplete:function(){ew.update(),eT=eE(),r&&!eh&&(D?D.resetTo("totalProgress",i,r._tTime/r._tDur):r.progress(i)),L=F=r&&!eh?r.totalProgress():ew.progress,en&&en(ew),y&&sv(ew,y)}},e,p*x,a-e-p*x),g&&sv(ew,g,s.tween)}}else ew.isActive&&eT!==e&&z.restart(!0)}).pause()),U&&(sG[U]=ew),(H=(K=ew.trigger=ic(K||!0!==Q&&Q))&&K._gsap&&K._gsap.stRevert)&&(H=H(ew)),Q=!0===Q?K:ic(Q),sh(X)&&(X={targets:K,className:X}),Q&&(!1===Z||Z===sE||(Z=(!!Z||!Q.parentNode||!Q.parentNode.style||"flex"!==sP(Q.parentNode).display)&&sN),ew.pin=Q,(a=iy.core.getCache(Q)).spacer?y=a.pinState:(eo&&((eo=ic(eo))&&!eo.nodeType&&(eo=eo.current||eo.nativeElement),a.spacerIsNative=!!eo,eo&&(a.spacerState=ap(eo))),a.spacer=_=eo||i_.createElement("div"),_.classList.add("pin-spacer"),U&&_.classList.add("pin-spacer-"+U),a.pinState=y=ap(Q)),!1!==t.force3D&&iy.set(Q,{force3D:!0}),ew.spacer=_=a.spacer,E=(O=sP(Q))[Z+eu.os2],j=iy.getProperty(Q),T=iy.quickSetter(Q,eu.a,"px"),ad(Q,_,O),w=ap(Q)),ey){g=sf(ey)?sO(ey,sW):sW,m=sX("scroller-start",U,ep,eu,g,0),f=sX("scroller-end",U,ep,eu,g,0,m),k=m["offset"+eu.op.d2];var eC=ic(n9(ep,"content")||ep);
1h=this.markerStart=sX("start",U,eC,eu,g,k,0,el),p=this.markerEnd=sX("end",U,eC,eu,g,k,0,el),el&&(W=iy.quickSetter([h,p],eu.a,"px")),eg||n3.length&&!0===n9(ep,"fixedMarkers")||(sA(ef?ij:ep),iy.set([m,f],{force3D:!0}),M=iy.quickSetter(m,eu.a,"px"),A=iy.quickSetter(f,eu.a,"px"))}if(el){var eM=el.vars.onUpdate,eP=el.vars.onUpdateParams;el.eventCallback("onUpdate",function(){ew.update(0,0,1),eM&&eM.apply(el,eP||[])})}if(ew.previous=function(){return sV[sV.indexOf(ew)-1]},ew.next=function(){return sV[sV.indexOf(ew)+1]},ew.revert=function(e,t){if(!t)return ew.kill(!0);var n=!1!==e||!ew.enabled,i=iP;n!==ew.isReverted&&(n&&(I=Math.max(eE(),ew.scroll.rec||0),eN=ew.progress,$=r&&r.progress()),h&&[h,p,m,f].forEach(function(e){return e.style.display=n?"none":"block"}),n&&(iP=ew,ew.update(n)),!Q||ea&&ew.isActive||(n?ac(Q,_,y):ad(Q,_,sP(Q),C)),n||ew.update(n),iP=i,ew.isReverted=n)},ew.refresh=function(n,i,a,o){if(!iP&&ew.enabled||i){if(Q&&n&&i8)return void sz(e,"scrollEnd",s2);!i0&&e_&&e_(ew),iP=ew,s.tween&&!a&&(s.tween.kill(),s.tween=0),D&&D.pause(),ee&&r&&(r.revert({kill:!1}).invalidate(),r.getChildren?r.getChildren(!0,!0,!1).forEach(function(e){return e.vars.immediateRender&&e.render(0,!0,!0)}):r.vars.immediateRender&&r.render(0,!0,!0)),ew.isReverted||ew.revert(!0,!0),ew._subPinOffset=!1;var g,k,T,E,M,A,O,L,F,R,B,W,H,q=ek(),Y=ej(),X=el?el.duration():sd(ep,eu),U=x<=.01||!x,V=0,J=o||0,et=sf(a)?a.end:t.end,er=t.endTrigger||K,en=sf(a)?a.start:t.start||(0!==t.start&&K?Q?"0 0":"0 100%":0),ei=ew.pinnedContainer=t.pinnedContainer&&ic(t.pinnedContainer,ew),es=K&&Math.max(0,sV.indexOf(ew))||0,eo=es;for(ey&&sf(a)&&(W=iy.getProperty(m,eu.p),H=iy.getProperty(f,eu.p));eo-- >0;)(A=sV[eo]).end||A.refresh(0,1)||(iP=ew),(O=A.pin)&&(O===K||O===Q||O===ei)&&!A.isReverted&&(R||(R=[]),R.unshift(A),A.revert(!0,!0)),A!==sV[eo]&&(es--,eo--);for(sp(en)&&(en=en(ew)),d=ag(en=i9(en,"start",ew),K,q,eu,eE(),h,m,ew,Y,eb,eg,X,el,ew._startClamp&&"_startClamp")||(Q?-.001:0),sp(et)&&(et=et(ew)),sh(et)&&!et.indexOf("+=")&&(~et.indexOf(" ")?et=(sh(en)?en.split(" ")[0]:"")+et:(V=sY(et.substr(2),q),et=sh(en)?en:(el?iy.utils.mapRange(0,el.duration(),el.scrollTrigger.start,el.scrollTrigger.end,d):d)+V,er=K)),et=i9(et,"end",ew),u=Math.max(d,ag(et||(er?"100% 0":X),er,q,eu,eE()+V,p,f,ew,Y,eb,eg,X,el,ew._endClamp&&"_endClamp"))||-.001,V=0,eo=es;eo--;)(O=(A=sV[eo]||{}).pin)&&A.start-A._pinPush<=d&&!el&&A.end>0&&(g=A.end-(ew._startClamp?Math.max(0,A.start):A.start),(O===K&&A.start-A._pinPush<d||O===ei)&&isNaN(en)&&(V+=g*(1-A.progress)),O===Q&&(J+=g));if(d+=V,u+=V,ew._startClamp&&(ew._startClamp+=V),ew._endClamp&&!i0&&(ew._endClamp=u||-.001,u=Math.min(u,sd(ep,eu))),x=u-d||(d-=.01)&&.001,U&&(eN=iy.utils.clamp(0,1,iy.utils.normalize(d,u,I))),ew._pinPush=J,h&&V&&((g={})[eu.a]="+="+V,ei&&(g[eu.p]="-="+eE()),iy.set([h,p],g)),Q&&!(iK&&ew.end>=sd(ep,eu)))g=sP(Q),E=eu===il,T=eE(),S=parseFloat(j(eu.a))+J,!X&&u>1&&(B={style:B=(ef?i_.scrollingElement||ik:ep).style,value:B["overflow"+eu.a.toUpperCase()]},ef&&"scroll"!==sP(ij)["overflow"+eu.a.toUpperCase()]&&(B.style["overflow"+eu.a.toUpperCase()]="scroll")),ad(Q,_,g),w=ap(Q),k=sL(Q,!0),L=eg&&iu(ep,E?io:il)(),Z?((C=[Z+eu.os2,x+J+"px"]).t=_,(eo=Z===sN?sF(Q,eu)+x+J:0)&&(C.push(eu.d,eo+"px"),"auto"!==_.style.flexBasis&&(_.style.flexBasis=eo+"px")),ah(C),ei&&sV.forEach(function(e){e.pin===ei&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)}),eg&&eE(I)):(eo=sF(Q,eu))&&"auto"!==_.style.flexBasis&&(_.style.flexBasis=eo+"px"),eg&&((M={top:k.top+(E?T-d:L)+"px",left:k.left+(E?L:T-d)+"px",boxSizing:"border-box",position:"fixed"})[s_]=M["max"+sC]=Math.ceil(k.width)+"px",M[sk]=M["max"+sM]=Math.ceil(k.height)+"px",M[sE]=M[sE+"Top"]=M[sE+sj]=M[sE+sS]=M[sE+sT]="0",M[sN]=g[sN],M[sN+"Top"]=g[sN+"Top"],M[sN+sj]=g[sN+sj],M[sN+sS]=g[sN+sS],M[sN+sT]=g[sN+sT],b=am(y,M,ea),i0&&eE(0)),r?(F=r._initted,iz(1),r.render(r.duration(),!0,!0),N=j(eu.a)-S+x+J,P=Math.abs(x-N)>1,eg&&P&&b.splice(b.length-2,2),r.render(0,!0,!0),F||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),iz(0)):N=x,B&&(B.value?B.style["overflow"+eu.a.toUpperCase()]=B.value:B.style.removeProperty("overflow-"+eu.a));else if(K&&eE()&&!el)for(k=K.parentNode;k&&k!==ij;)k._pinOffset&&(d-=k._pinOffset,u-=k._pinOffset),k=k.parentNode;R&&R.forEach(function(e){return e.revert(!1,!0)}),ew.start=d,ew.end=u,l=c=i0?I:eE(),el||i0||(l<I&&eE(I),ew.scroll.rec=0),ew.revert(!1,!0),eS=i3(),z&&(eT=-1,z.restart(!0)),iP=0,r&&eh&&(r._initted||$)&&r.progress()!==$&&r.progress($||0,!0).render(r.t
vendor: 8,052 bytes, line 1
1ime(),!0,!0),(U||eN!==ew.progress||el||ee||r&&!r._initted)&&(r&&!eh&&(r._initted||eN||!1!==r.vars.immediateRender)&&r.totalProgress(el&&d<-.001&&!eN?iy.utils.normalize(d,u,0):eN,!0),ew.progress=U||(l-d)/x===eN?0:eN),Q&&Z&&(_._pinOffset=Math.round(ew.progress*N)),D&&D.invalidate(),isNaN(W)||(W-=iy.getProperty(m,eu.p),H-=iy.getProperty(f,eu.p),ab(m,eu,W),ab(h,eu,W-(o||0)),ab(f,eu,H),ab(p,eu,H-(o||0))),U&&!i0&&ew.update(),!G||i0||v||(v=!0,G(ew),v=!1)}},ew.getVelocity=function(){return(eE()-c)/(i3()-iC)*1e3||0},ew.endAnimation=function(){sg(ew.callbackAnimation),r&&(D?D.progress(1):r.paused()?eh||sg(r,ew.direction<0,1):sg(r,r.reversed()))},ew.labelToScroll=function(e){return r&&r.labels&&(d||ew.refresh()||d)+r.labels[e]/r.duration()*x||0},ew.getTrailing=function(e){var t=sV.indexOf(ew),r=ew.direction>0?sV.slice(0,t).reverse():sV.slice(t+1);return(sh(e)?r.filter(function(t){return t.vars.preventOverlaps===e}):r).filter(function(e){return ew.direction>0?e.end<=d:e.start>=u})},ew.update=function(e,t,n){if(!el||n||e){var i,a,o,h,p,f,g,v=!0===i0?I:ew.scroll(),y=e?0:(v-d)/x,k=y<0?0:y>1?1:y||0,j=ew.progress;if(t&&(c=l,l=el?eE():v,es&&(F=L,L=r&&!eh?r.totalProgress():k)),et&&Q&&!iP&&!i5&&i8&&(!k&&d<v+(v-c)/(i3()-iC)*et?k=1e-4:1===k&&u>v+(v-c)/(i3()-iC)*et&&(k=.9999)),k!==j&&ew.enabled){if(h=(p=(i=ew.isActive=!!k&&k<1)!=(!!j&&j<1))||!!k!=!!j,ew.direction=k>j?1:-1,ew.progress=k,h&&!iP&&(a=k&&!j?0:1===k?1:1===j?2:3,eh&&(o=!p&&"none"!==ex[a+1]&&ex[a+1]||ex[a],g=r&&("complete"===o||"reset"===o||o in r))),ed&&(p||g)&&(g||J||!r)&&(sp(ed)?ed(ew):ew.getTrailing(ed).forEach(function(e){return e.endAnimation()})),!eh&&(!D||iP||i5?r&&r.totalProgress(k,!!(iP&&(eS||e))):(D._dp._time-D._start!==D._time&&D.render(D._dp._time-D._start),D.resetTo?D.resetTo("totalProgress",k,r._tTime/r._tDur):(D.vars.totalProgress=k,D.invalidate().restart()))),Q)if(e&&Z&&(_.style[Z+eu.os2]=E),eg){if(h){if(f=!e&&k>j&&u+1>v&&v+1>=sd(ep,eu),ea)if(!e&&(i||f)){var C=sL(Q,!0),O=v-d;ax(Q,ij,C.top+(eu===il?O:0)+"px",C.left+(eu===il?0:O)+"px")}else ax(Q,_);ah(i||f?b:w),P&&k<1&&i||T(S+(1!==k||f?0:N))}}else T(sn(S+N*k));!es||s.tween||iP||i5||z.restart(!0),X&&(p||ei&&k&&(k<1||!iQ))&&iN(X.targets).forEach(function(e){return e.classList[i||ei?"add":"remove"](X.className)}),!Y||eh||e||Y(ew),h&&!iP?(eh&&(g&&("complete"===o?r.pause().totalProgress(1):"reset"===o?r.restart(!0).pause():"restart"===o?r.restart(!0):r[o]()),Y&&Y(ew)),(p||!iQ)&&(V&&p&&sv(ew,V),ev[a]&&sv(ew,ev[a]),ei&&(1===k?ew.kill(!1,1):ev[a]=0),!p&&ev[a=1===k?1:3]&&sv(ew,ev[a])),ec&&!i&&Math.abs(ew.getVelocity())>(sm(ec)?ec:2500)&&(sg(ew.callbackAnimation),D?D.progress(1):sg(r,"reverse"===o?1:!k,1))):eh&&Y&&!iP&&Y(ew)}if(A){var R=el?v/el.duration()*(el._caScrollDist||0):v;M(R+ +!!m._isFlipped),A(R)}W&&W(-v/el.duration()*(el._caScrollDist||0))}},ew.enable=function(t,r){ew.enabled||(ew.enabled=!0,sz(ep,"resize",sZ),ef||sz(ep,"scroll",sK),e_&&sz(e,"refreshInit",e_),!1!==t&&(ew.progress=eN=0,l=c=eT=eE()),!1!==r&&ew.refresh())},ew.getTween=function(e){return e&&s?s.tween:D},ew.setPositions=function(e,t,r,n){if(el){var i=el.scrollTrigger,s=el.duration(),a=i.end-i.start;e=i.start+a*e/s,t=i.start+a*t/s}ew.refresh(!1,!1,{start:i7(e,r&&!!ew._startClamp),end:i7(t,r&&!!ew._endClamp)},n),ew.update()},ew.adjustPinSpacing=function(e){if(C&&e){var t=C.indexOf(eu.d)+1;C[t]=parseFloat(C[t])+e+"px",C[1]=parseFloat(C[1])+e+"px",ah(C)}},ew.disable=function(t,r){if(!1!==t&&ew.revert(!0,!0),ew.enabled&&(ew.enabled=ew.isActive=!1,r||D&&D.pause(),I=0,a&&(a.uncache=1),e_&&sI(e,"refreshInit",e_),z&&(z.pause(),s.tween&&s.tween.kill()&&(s.tween=0)),!ef)){for(var n=sV.length;n--;)if(sV[n].scroller===ep&&sV[n]!==ew)return;sI(ep,"resize",sZ),ef||sI(ep,"scroll",sK)}},ew.kill=function(e,n){ew.disable(e,n),D&&!n&&D.kill(),U&&delete sG[U];var i=sV.indexOf(ew);i>=0&&sV.splice(i,1),i===iL&&as>0&&iL--,i=0,sV.forEach(function(e){return e.scroller===ew.scroller&&(i=1)}),i||i0||(ew.scroll.rec=0),r&&(r.scrollTrigger=null,e&&r.revert({kill:!1}),n||r.kill()),h&&[h,p,m,f].forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),i2===ew&&(i2=0),Q&&(a&&(a.uncache=1),i=0,sV.forEach(function(e){return e.pin===Q&&i++}),i||(a.spacer=0)),t.onKill&&t.onKill(ew)},sV.push(ew),ew.enable(!1,!1),H&&H(ew),r&&r.add&&!x){var eA=ew.update;ew.update=function(){ew.update=eA,n5.cache++,d||u||ew.refresh()},iy.delayedCall(.01,ew.update),x=.01,d=u=0}else ew.refresh();Q&&ae()},e.register=function(t){return ib||(iy=t||ss(),si()&&window.document&&e.enable(),ib=i4),ib},e.defaults=function(e){if(e)for(var t in e)sH[t]=e[t];return sH},e.disable=function(e,t){i4=0,sV.forEach(function(r){return r[t?"kill":"disable"](e)}),sI(iw,"wheel",sK),sI(i_,"scroll",sK),clearInterval(iM),sI(i_,"touchcancel",sr),sI(ij,"touchstart",sr),sB(sI,i_,"pointerdown,touchstart,mousedown",se),sB(sI,i_,"pointerup,touchend,mouseup",st),iS.kill(),su(sI);for(var r=0;r<n5.length;r+=3)s$(sI,n5[r],n5[r+1]),s$(sI,n5[r],n5[r+2])},e.enable=function(){if(iw=window,ik=(i_=document).documentElement,ij=i_.body,iy)if(iN=iy.utils.toArray,iE=iy.utils.clamp,iX=iy.core.context||sr,iz=iy.core.suppressOverwrites||sr,iU=iw.history.scrollRestoration||"auto",ai=iw.pageYOffset||0,iy.core.globals("ScrollTrigger",e),ij){i4=1,(iV=document.createElement("div")).style.height="100vh",iV.style.position="absolute",at(),function e(){return i4&&requestAnimationFrame(e)}(),ix.register(iy),e.isTouch=ix.isTouch,iY=ix.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),iW=1===ix.isTouch,sz(iw,"wheel",sK),iT=[iw,i_,ik,ij],iy.matchMedia?(e.matchMedia=function(e){var t,r=iy.matchMedia();for(t in e)r.add(t,e[t]);return r},iy.addEventListener("matchMediaInit",function(){s8(),s4()}),iy.addEventListener("matchMediaRevert",function(){return s6()}),iy.addEventListener("matchMedia",function(){an(0,1),s5("matchMedia")}),iy.matchMedia().add("(orientation: portrait)",function(){return sQ(),sQ})):console.warn("Requires GSAP 3.11.0 or later"),sQ(),sz(i_,"scroll",sK);var t,r,n=ij.hasAttribute("style"),i=ij.style,s=i.borderTopStyle,a=iy.core.Animation.prototype;for(a.revert||Object.defineProperty(a,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",il.m=Math.round((t=sL(ij)).top+il.sc())||0,io.m=Math.round(t.left+io.sc())||0,s?i.borderTopStyle=s:i.removeProperty("border-top-style"),n||(ij.setAttribute("style",""),ij.removeAttribute("style")),iM=setInterval(sJ,250),iy.delayedCall(.5,function(){return i5=0}),sz(i_,"touchcancel",sr),sz(ij,"touchstart",sr),sB(sz,i_,"pointerdown,touchstart,mousedown",se),sB(sz,i_,"pointerup,touchend,mouseup",st),iO=iy.utils.checkPrefix("transform"),al.push(iO),ib=i3(),iS=iy.delayedCall(.2,an).pause(),iR=[i_,"visibilitychange",function(){var e=iw.innerWidth,t=iw.innerHeight;i_.hidden?(iF=e,iD=t):(iF!==e||iD!==t)&&sZ()},i_,"DOMContentLoaded",an,iw,"load",an,iw,"resize",sZ],su(sz),sV.forEach(function(e){return e.enable(0,1)}),r=0;r<n5.length;r+=3)s$(sI,n5[r],n5[r+1]),s$(sI,n5[r],n5[r+2])}else i_&&i_.addEventListener("DOMContentLoaded",function t(){e.enable(),i_.removeEventListener("DOMContentLoaded",t)})},e.config=function(t){"limitCallbacks"in t&&(iQ=!!t.limitCallbacks);var r=t.syncInterval;r&&clearInterval(iM)||(iM=r)&&setInterval(sJ,r),"ignoreMobileResize"in t&&(iW=1===e.isTouch&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(su(sI)||su(sz,t.autoRefreshEvents||"none"),iI=-1===(t.autoRefreshEvents+"").indexOf("resize"))},e.scrollerProxy=function(e,t){var r=ic(e),n=n5.indexOf(r),i=sa(r);~n&&n5.splice(n,i?6:2),t&&(i?n3.unshift(iw,t,ij,t,ik,t):n3.unshift(r,t))},e.clearMatchMedia=function(e){sV.forEach(function(t){return t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0)})},e.isInViewport=function(e,t,r){var n=(sh(e)?ic(e):e).getBoundingClientRect(),i=n[r?s_:sk]*t||0;return r?n.right-i>0&&n.left+i<iw.innerWidth:n.bottom-i>0&&n.top+i<iw.innerHeight},e.positionInViewport=function(e,t,r){sh(e)&&(e=ic(e));var n=e.getBoundingClientRect(),i=n[r?s_:sk],s=null==t?i/2:t in sq?sq[t]*i:~t.indexOf("%")?parseFloat(t)*i/100:parseFloat(t)||0;return r?(n.left+s)/iw.innerWidth:(n.top+s)/iw.innerHeight}
vendor: 4,266 bytes, line 1
1,e.killAll=function(e){if(sV.slice(0).forEach(function(e){return"ScrollSmoother"!==e.vars.id&&e.kill()}),!0!==e){var t=s0.killAll||[];s0={},t.forEach(function(e){return e()})}},e}();a_.version="3.15.0",a_.saveStyles=function(e){return e?iN(e).forEach(function(e){if(e&&e.style){var t=s3.indexOf(e);t>=0&&s3.splice(t,5),s3.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),iy.core.getCache(e),iX())}}):s3},a_.revert=function(e,t){return s4(!e,t)},a_.create=function(e,t){return new a_(e,t)},a_.refresh=function(e){return e?sZ(!0):(ib||a_.register())&&an(!0)},a_.update=function(e){return++n5.cache&&aa(2*(!0===e))},a_.clearScrollMemory=s9,a_.maxScroll=function(e,t){return sd(e,t?io:il)},a_.getScrollFunc=function(e,t){return iu(ic(e),t?io:il)},a_.getById=function(e){return sG[e]},a_.getAll=function(){return sV.filter(function(e){return"ScrollSmoother"!==e.vars.id})},a_.isScrolling=function(){return!!i8},a_.snapDirectional=sR,a_.addEventListener=function(e,t){var r=s0[e]||(s0[e]=[]);~r.indexOf(t)||r.push(t)},a_.removeEventListener=function(e,t){var r=s0[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},a_.batch=function(e,t){var r,n=[],i={},s=t.interval||.016,a=t.batchMax||1e9,o=function(e,t){var r=[],n=[],i=iy.delayedCall(s,function(){t(r,n),r=[],n=[]}).pause();return function(e){r.length||i.restart(!0),r.push(e.trigger),n.push(e),a<=r.length&&i.progress(1)}};for(r in t)i[r]="on"===r.substr(0,2)&&sp(t[r])&&"onRefreshInit"!==r?o(r,t[r]):t[r];return sp(a)&&(a=a(),sz(a_,"refresh",function(){return a=t.batchMax()})),iN(e).forEach(function(e){var t={};for(r in i)t[r]=i[r];t.trigger=e,n.push(a_.create(t))}),n};var ak,aj=function(e,t,r,n){return t>n?e(n):t<0&&e(0),r>n?(n-t)/(r-t):r<0?t/(t-r):1},aT=function e(t,r){!0===r?t.style.removeProperty("touch-action"):t.style.touchAction=!0===r?"auto":r?"pan-"+r+(ix.isTouch?" pinch-zoom":""):"none",t===ik&&e(ij,r)},aS={auto:1,scroll:1},aN=function(e){var t,r=e.event,n=e.target,i=e.axis,s=(r.changedTouches?r.changedTouches[0]:r).target,a=s._gsap||iy.core.getCache(s),o=i3();if(!a._isScrollT||o-a._isScrollT>2e3){for(;s&&s!==ij&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(aS[(t=sP(s)).overflowY]||aS[t.overflowX]));)s=s.parentNode;a._isScroll=s&&s!==n&&!sa(s)&&(aS[(t=sP(s)).overflowY]||aS[t.overflowX]),a._isScrollT=o}(a._isScroll||"x"===i)&&(r.stopPropagation(),r._gsapAllow=!0)},aE=function(e,t,r,n){return ix.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&aN,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&sz(i_,ix.eventTypes[0],aM,!1,!0)},onDisable:function(){return sI(i_,ix.eventTypes[0],aM,!0)}})},aC=/(input|label|select|textarea)/i,aM=function(e){var t=aC.test(e.target.tagName);(t||ak)&&(e._gsapAllow=!0,ak=t)},aP=function(e){sf(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t,r,n,i,s,a,o,l,c=e,d=c.normalizeScrollX,u=c.momentum,h=c.allowNestedScroll,p=c.onRelease,m=ic(e.target)||ik,f=iy.core.globals().ScrollSmoother,g=f&&f.get(),v=iY&&(e.content&&ic(e.content)||g&&!1!==e.content&&!g.smooth()&&g.content()),x=iu(m,il),y=iu(m,io),b=1,w=(ix.isTouch&&iw.visualViewport?iw.visualViewport.scale*iw.visualViewport.width:iw.outerWidth)/iw.innerWidth,_=0,k=sp(u)?function(){return u(t)}:function(){return u||2.8},j=aE(m,e.type,!0,h),T=function(){return i=!1},S=sr,N=sr,E=function(){r=sd(m,il),N=iE(+!!iY,r),d&&(S=iE(0,sd(m,io))),n=s7},C=function(){v._gsap.y=sn(parseFloat(v._gsap.y)+x.offset)+"px",v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(v._gsap.y)+", 0, 1)",x.offset=x.cacheID=0},M=function(){if(i){requestAnimationFrame(T);var e=sn(t.deltaY/2),r=N(x.v-e);if(v&&r!==x.v+x.offset){x.offset=r-x.v;var n=sn((parseFloat(v&&v._gsap.y)||0)-x.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",v._gsap.y=n+"px",x.cacheID=n5.cache,aa()}return!0}x.offset&&C(),i=!0},P=function(){E(),s.isActive()&&s.vars.scrollY>r&&(x()>r?s.progress(1)&&x(r):s.resetTo("scrollY",r))};return v&&iy.set(v,{y:"+=0"}),e.ignoreCheck=function(e){return iY&&"touchmove"===e.type&&M(e)||b>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){i=!1;var e=b;
1b=sn((iw.visualViewport&&iw.visualViewport.scale||1)/w),s.pause(),e!==b&&aT(m,b>1.01||!d&&"x"),a=y(),o=x(),E(),n=s7},e.onRelease=e.onGestureStart=function(e,t){if(x.offset&&C(),t){n5.cache++;var n,i,a=k();d&&(i=(n=y())+-(.05*a*e.velocityX)/.227,a*=aj(y,n,i,sd(m,io)),s.vars.scrollX=S(i)),i=(n=x())+-(.05*a*e.velocityY)/.227,a*=aj(x,n,i,sd(m,il)),s.vars.scrollY=N(i),s.invalidate().duration(a).play(.01),(iY&&s.vars.scrollY>=r||n>=r-1)&&iy.to({},{onUpdate:P,duration:a})}else l.restart(!0);p&&p(e)},e.onWheel=function(){s._ts&&s.pause(),i3()-_>1e3&&(n=0,_=i3())},e.onChange=function(e,t,r,i,s){if(s7!==n&&E(),t&&d&&y(S(i[2]===t?a+(e.startX-e.x):y()+t-i[1])),r){x.offset&&C();var l=s[2]===r,c=l?o+e.startY-e.y:x()+r-s[1],u=N(c);l&&c!==u&&(o+=u-c),x(u)}(r||t)&&aa()},e.onEnable=function(){aT(m,!d&&"x"),a_.addEventListener("refresh",P),sz(iw,"resize",P),x.smooth&&(x.target.style.scrollBehavior="auto",x.smooth=y.smooth=!1),j.enable()},e.onDisable=function(){aT(m,!0),sI(iw,"resize",P),a_.removeEventListener("refresh",P),j.kill()},e.lockAxis=!1!==e.lockAxis,(t=new ix(e)).iOS=iY,iY&&!x()&&x(1),iY&&iy.ticker.add(sr),l=t._dc,s=iy.to(t,{ease:"power4",paused:!0,inherit:!1,scrollX:d?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:ay(x,x(),function(){return s.pause()})},onUpdate:aa,onComplete:l.vars.onComplete}),t};a_.sort=function(e){if(sp(e))return sV.sort(e);var t=iw.pageYOffset||0;return a_.getAll().forEach(function(e){return e._sortY=e.trigger?t+e.trigger.getBoundingClientRect().top:e.start+iw.innerHeight}),sV.sort(e||function(e,t){return -1e6*(e.vars.refreshPriority||0)+(e.vars.containerAnimation?1e6:e._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+-1e6*(t.vars.refreshPriority||0))})},a_.observe=function(e){return new ix(e)},a_.normalizeScroll=function(e){if(void 0===e)return i$;if(!0===e&&i$)return i$.enable();if(!1===e){i$&&i$.kill(),i$=e;return}var t=e instanceof ix?e:aP(e);return i$&&i$.target===t.target&&i$.kill(),sa(t.target)&&(i$=t),t},a_.core={_getVelocityProp:ih,_inputObserver:aE,_scrollers:n5,_proxies:n3,bridge:{ss:function(){i8||s5("scrollStart"),i8=i3()},ref:function(){return iP}}},ss()&&iy.registerPlugin(a_);var aA=e.i(20899);let aO=({frameCount:e,framePath:r,frameCountMobile:n,framePathMobile:i,fallbackVideo:a,poster:o,captions:l})=>{let c=(0,s.useRef)(null),d=(0,s.useRef)(null),u=(0,aA.useField)();return(0,s.useEffect)(()=>{let t=c.current,s=d.current;if(!t||!s)return;let o=Array.from(t.querySelectorAll(".cap")),l=Array.from(t.querySelectorAll(".progress i")),u=t.querySelector(".stage"),h=t.querySelector("video.filmVid"),p=o.length||1,m=window.matchMedia("(prefers-reduced-motion: reduce)").matches,f=window.innerWidth<961,g=navigator,v=g.connection,x=!!v?.saveData||/^(slow-)?2g$|^3g$/.test(v?.effectiveType??""),y=(g.deviceMemory??8)<=4||(navigator.hardwareConcurrency??8)<=4,b=f||x||y,w=b&&!!n&&!!i,_=w?n:e,k=w?i:r,j=-1,T=(e,t=!1)=>{e!==j&&(j=e,o.forEach((r,n)=>{nB.to(r,{opacity:+(n===e),y:16*(n!==e),duration:.5*!t,ease:"power2.out",overwrite:!0})}))};if(m)return t.classList.add("staticFilm"),h?.pause(),T(0,!0),l.forEach((e,t)=>e.style.setProperty("--p",0===t?"1":"0")),()=>{};nB.registerPlugin(a_),nB.set(o,{opacity:0,y:16});let S=s.getContext("2d");if(!S)return;S.imageSmoothingEnabled=!0,S.imageSmoothingQuality="high";let N=b?1280:2048,E=()=>{let e=Math.min(devicePixelRatio||1,b?1.5:2),t=Math.min(Math.round(s.clientWidth*e),N),r=Math.max(1,Math.round(t*(s.clientHeight/Math.max(1,s.clientWidth))));s.width=t,s.height=r};E();let C=Array(_).fill(null),M=0,P=!1,A=!1,O=!1,L=(()=>{let e=new Set,t=[];for(let r of[16,8,4,2,1])for(let n=0;n<_;n+=r)e.has(n)||(e.add(n),t.push(n));for(let r=0;r<_;r++)e.has(r)||t.push(r);return t})(),F=0,D=!1,R=()=>{if(A)return;A=!0;let e=b?4:6,r=0,n=0,i=()=>{for(;!O&&n<e&&r<L.length;){let e=L[r++];n++;let s=new Image;s.decoding="async",s.setAttribute("fetchpriority",r<=4?"high":r<=20?"auto":"low");let a=()=>{n--,O||i()};s.onerror=a,s.onload=()=>{C[e]=s,M++,!P&&C[0]&&M>=Math.min(_,Math.ceil(.15*_))&&(P=!0,t.classList.add("scrubOn"),h?.pause()),"function"==typeof s.decode&&s.decode().catch(()=>{}),a()},s.src=k(e)}};i()},B=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(R(),B.disconnect())},{rootMargin:"400% 0%"});B.observe(t);let z=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(D||(D=!0,F=window.setTimeout(()=>{O||P||!h||h.src||(h.src=a,h.play().catch(()=>{}))},250)),z.disconnect())},{rootMargin:"120% 0%"});z.observe(t);let I=window.requestIdleCallback,$=0,W=()=>{I?I(R,{timeout:3e3}):$=window.setTimeout(R,1200)};x||("complete"===document.readyState?W():window.addEventListener("load",W,{once:!0}));let H=e=>
1{let t=e.naturalWidth,r=e.naturalHeight;if(!t||!r)return;let n=Math.max(s.width/t,s.height/r);S.drawImage(e,(s.width-t*n)/2,(s.height-r*n)/2,t*n,r*n)},q={target:0,cur:0},Y=null,X=0,U=!1,V=new IntersectionObserver(e=>U=e.some(e=>e.isIntersecting),{rootMargin:"50% 0%"});V.observe(t);let G=()=>{if(X=requestAnimationFrame(G),!P||!U||document.hidden)return;Y&&(q.target=Y.progress*(_-1));let e=q.target-q.cur;if(.003>Math.abs(e))return;q.cur+=.16*e;let t=Math.floor(q.cur),r=q.cur-t,n=(e=>{if(C[e])return e;for(let t=1;t<_;t++){if(C[e-t])return e-t;if(C[e+t])return e+t}return -1})(Math.max(0,Math.min(_-1,t)));if(-1===n)return;H(C[n]);let i=t+1<=_-1&&C[t+1]?t+1:-1;-1!==i&&r>.04&&n===t&&(S.globalAlpha=r,H(C[i]),S.globalAlpha=1);let s=q.cur/(_-1);T(Math.min(p-1,Math.floor(s*p))),l.forEach((e,t)=>{e.style.setProperty("--p",String(Math.max(0,Math.min(1,s*p-t))))})};X=requestAnimationFrame(G);let J={last:Date.now(),busy:!1},K=()=>{J.last=Date.now(),J.busy=!1},Q=["wheel","touchstart","pointerdown","keydown"];Q.forEach(e=>window.addEventListener(e,K,{passive:!0}));let Z=Array.from({length:p},(e,t)=>(t+.5)/p),ee=(e,t)=>{let r=window.__lenis;if(!Y)return;let n=Y.start+e*(Y.end-Y.start),i=Math.abs(n-window.scrollY);i<3||(J.busy=!0,r?r.scrollTo(n,{duration:Math.max(.5,i/t),easing:e=>1-Math.pow(1-e,2),lock:!1,onComplete:()=>J.busy=!1}):(window.scrollTo({top:n,behavior:"smooth"}),J.busy=!1))},et=window.setInterval(()=>{if(!Y||!Y.isActive||J.busy)return;let e=Date.now()-J.last,t=Y.progress,r=Z.reduce((e,r)=>Math.abs(r-t)<Math.abs(e-t)?r:e);if(e>1300&&Math.abs(r-t)>.035)ee(r,900);else if(e>3400){let e=Z.find(e=>e>t+.05);void 0!==e&&ee(e,Y?(Y.end-Y.start)/18:420)}},320),er=nB.context(()=>{Y=a_.create({trigger:t,start:"top top",end:f?"+=1000%":"+=1200%",pin:!0,scrub:!0,anticipatePin:1,onUpdate:e=>{if(u){let t=e.progress;u.style.setProperty("--lb",`${(5.5*Math.max(0,t<.08?t/.08:t>.92?(1-t)/.08:1)).toFixed(2)}vh`)}}}),T(0)},t),en=()=>{E(),q.cur=-1};return window.addEventListener("resize",en),()=>{O=!0,window.clearTimeout(F),window.clearTimeout($),window.removeEventListener("load",W),er.revert(),cancelAnimationFrame(X),B.disconnect(),z.disconnect(),V.disconnect(),window.clearInterval(et),Q.forEach(e=>window.removeEventListener(e,K)),window.removeEventListener("resize",en),C.fill(null)}},[e,r,n,i,a]),(0,t.jsx)("section",{className:"film",ref:c,children:(0,t.jsxs)("div",{className:"stage",children:[(0,t.jsx)("video",{className:"filmVid",poster:o,muted:!0,loop:!0,playsInline:!0,preload:"none"}),(0,t.jsx)("canvas",{ref:d}),(0,t.jsx)("div",{className:"filmShade"}),l.map((e,r)=>(0,t.jsxs)("div",{className:"cap",children:[(0,t.jsx)("div",{className:"k",...u(`captions.${r}.k`),children:e.k}),(0,t.jsx)("h3",{...u(`captions.${r}.title`),children:e.title}),(0,t.jsx)("p",{...u(`captions.${r}.text`,"multiline"),children:e.text})]},r)),(0,t.jsx)("div",{className:"progress",children:l.map((e,r)=>(0,t.jsx)("i",{},r))})]})})};var aL=e.i(330205),aF=e.i(475971),aD=e.i(905764),aR=e.i(560679);let aB=({locale:e,onChange:r})=>{let n=(0,aR.useSiteText)(e).system,[i,a]=(0,s.useState)([]),o=(0,s.useRef)(null),l=(0,s.useRef)(0),c=e=>{a(e),r(e.filter(e=>"done"===e.status&&e.file).map(e=>e.file))},d=async(e,t,i)=>{try{let i=new FormData;i.append("file",e);let s=await fetch("/api/lead-upload",{method:"POST",body:i}),o=await s.json(),l=!s.ok||!o.ok||!o.file,c="too-large"===o.error?n.attachTooLarge:"type"===o.error||"type-mismatch"===o.error?n.attachBadType:n.attachFailed;a(e=>{let n=e.map(e=>e.id===t?l?{...e,status:"error",error:c}:{...e,status:"done",file:o.file}:e);return r(n.filter(e=>"done"===e.status&&e.file).map(e=>e.file)),n})}catch{a(e=>e.map(e=>e.id===t?{...e,status:"error",error:n.attachFailed}:e))}};return(0,t.jsxs)("div",{className:"field",children:[(0,t.jsx)("span",{style:{display:"block",fontFamily:"var(--mono)",fontSize:12,letterSpacing:".2em",textTransform:"uppercase",color:"#667389",marginBottom:9},children:n.attachLabel}),(0,t.jsx)("p",{style:{fontSize:13.5,lineHeight:1.6,color:"#667389",margin:"4px 0 10px"},children:n.attachHint}),(0,t.jsx)("input",{ref:o,type:"file",accept:"application/pdf,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation,image/jpeg,image/png",multiple:!0,onChange:e=>{let t=Array.from(e.target.files??[]);if(e.target.value="",0===t.length)return;let r=[...i];for(let e of t){if(r.length>=3){r.push({id:`x${l.current++}`,name:e.name,size:e.size,status:"error",error:n.attachTooMany});break}let t=`f${l.current++}`;if(e.size>0xa00000){r.push({id:t,name:e.name,size:e.size,status:"error",error:n.attachTooLarge});continue}r.push({id:t,name:e.name,size:e.size,status:"uploading"}),d(e,t,r)}c(r)},className:"srOnly",id:"lf-files"}),(0,t.jsx)("label",{htmlFor:"lf-files",className:"btn sm",style:{cursor:"pointer",display:"inline-flex",minHeight:44,alignItems:"center"},children:n.attachChoose}),i.length>0?(0,t.jsx)("ul",{style:{listStyle:"none",margin:"14px 0 0",padding:0,display:"grid",gap:8},children:i.map(e=>{let r;return(0,t.jsxs)("li",{style:{display:"flex",alignItems:"center",gap:12,fontSize:14,padding:"10px 12px",boxShadow:`inset 0 0 0 1px ${"error"===e.status?"#E30B5F":"#E8ECF3"}`},children:[(0,t.jsx)("span",{style:{flex:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.name}),(0,t.jsx)("span",{style:{color:"error"===e.status?"#E30B5F":"#667389",fontSize:13},children:"uploading"===e.status?n.attachUploading:"error"===e.status?e.error:(r=e.size)>=1048576?`${(r/1024/1024).toFixed(1)}MB`:`${Math.max(1,Math.round(r/1024))}KB`}),(0,t.jsx)("button",{type:"button",onClick:()=>{let t;return t=e.id,c(i.filter(e=>e.id!==t))},style:{all:"unset",cursor:"pointer",color:"#667389",fontSize:13,fontWeight:700,padding:"6px 8px",minHeight:32},children:n.attachRemove})]},e.id)})}):null,(0,t.jsx)("p",{style:{fontSize:13,lineHeight:1.6,color:"#667389",margin:"10px 0 0"},children:n.attachPrivacy})]})},az=e.i(712491).default.env.NEXT_PUBLIC_RECAPTCHA_SITE_KEY??"",aI=null,a$=()=>az?(aI||(aI=new Promise(e=>{if(window.grecaptcha)return e(!0);let t=document.createElement("script");t.src=`https://www.google.com/recaptcha/api.js?render=${az}`,t.async=!0,t.defer=!0,t.onload=()=>e(!0),t.onerror=()=>e(!1),document.head.appendChild(t)})),aI):Promise.resolve(!1),aW=async e=>{if(!az)return"";try{if(!await a$()||!window.grecaptcha)return"";return await new Promise(e=>window.grecaptcha.ready(()=>e())),await window.grecaptcha.execute(az,{action:e})}catch{return""}},aH={en:[{key:"venture",label:"Apply with a venture",allowsFiles:!0},{key:"pilot",label:"Propose a pilot",allowsFiles:!0},{key:"partner",label:"Partner with us",allowsFiles:!0},{key:"mentor",label:"Become a mentor",allowsFiles:!0},{key:"investor",label:"Investor enquiry",allowsFiles:!0},{key:"community",label:"Join a community",allowsFiles:!1},{key:"training",label:"Register for training",allowsFiles:!1},{key:"event",label:"Register for an event",allowsFiles:!1},{key:"contact",label:"General enquiry",allowsFiles:!1}],he:[{key:"venture",label:"××שת ××××",allowsFiles:!0},{key:"pilot",label:"×צעת פ×××××",allowsFiles:!0},{key:"partner",label:"ש×ת××£ פע×××",allowsFiles:!0},{key:"mentor",label:"××צ×רף ××× ××ר",allowsFiles:!0},{key:"investor",label:"×¤× ××× ××שק××¢",allowsFiles:!0},{key:"community",label:"×צ×רפ×ת ××§××××",allowsFiles:!1},{key:"training",label:"×רש×× ×××שר×",allowsFiles:!1},{key:"event",label:"×רש×× ×××ר××¢",allowsFiles:!1},{key:"contact",label:"×¤× ××× ××××ת",allowsFiles:!1}]},aq={en:{variants:{venture:{company:"Venture name",companyPh:"Your venture or working name",message:"What stage is y
1our venture at?",messagePh:"Idea, prototype, first customers â and what you need nextâ¦",send:"Send application"},pilot:{company:"Company / organisation",companyPh:"Who is running the technology?",message:"What would you like to test?",messagePh:"Briefly describe the technology and the test environment you needâ¦",send:"Propose a pilot"},partner:{company:"Organisation",companyPh:"Who you represent",message:"What kind of collaboration do you have in mind?",messagePh:"Research, infrastructure, funding, market accessâ¦",send:"Start the conversation"},mentor:{company:"Organisation / role",companyPh:"Where you work now",message:"Where could you help?",messagePh:"Your field, how much time you can give, and the stage you enjoy working withâ¦",send:"Offer to mentor"},investor:{company:"Fund / company",companyPh:"Who you invest on behalf of",message:"What are you looking for?",messagePh:"The sectors, stage and ticket size you focus onâ¦",send:"Send enquiry"},community:{company:"Organisation / role",companyPh:"Optional",message:"How would you like to take part?",messagePh:"Tell us which community fits you and what you would bringâ¦",send:"Join the community"},training:{company:"Organisation / current role",companyPh:"Optional",message:"What would you like to learn?",messagePh:"Tell us briefly about your background and what you want to gainâ¦",send:"Register for training"},event:{company:"Company / organisation",companyPh:"Optional",message:"Anything we should know?",messagePh:"Accessibility, dietary or other relevant details (optional)â¦",send:"Register for the event"},contact:{company:"Company / venture",companyPh:"Optional",message:"Tell us a little more",messagePh:"A sentence or tw
1oâ¦",send:"Send"}},defaultInterest:{venture:"Venture programmes",pilot:"Living Lab and pilots",partner:"Partnerships",mentor:"Mentoring",investor:"Investment",community:"Communities",training:"Training and human capital",event:"Events",contact:"General enquiry"}},he:{variants:{venture:{company:"×©× ×××××",companyPh:"×©× ××××× ×× ×©× ××× ×",message:"××××× ×©×× ××××× × ×צ×?",messagePh:"רע×××, ××Ö¾××פ×ס, ××§×××ת ר×ש×× ×× â ××× ××ª× ×¦×¨×××× ×¢×ש××â¦",send:"ש×××ת ×××¢×××ת"},pilot:{company:"×××¨× / ×ר×××",companyPh:"×× ×¢××× ×××××¨× ×××× ××××××?",message:"×× ×ª×¨×¦× ×××××§ ×פ×××××?",messagePh:"ת××¨× ××§×¦×¨× ×ת ×××× ×××××× ××ת ס×××ת ×××××§× ××ר×ש×â¦",send:"×צעת פ×××××"},partner:{company:"×ר×××",companyPh:"×ת ×× ××ª× ×××צ×××",message:"×××× ×©×ת××£ פע××× ××ª× ×¨××××?",messagePh:"××קר, תשת××ת, ×××××, ×××©× ×ש×××§××â¦",send:"×פת×× ×©×××"},mentor:{company:"×ר××× / תפק××",companyPh:"×××¤× ××ª× ×¢××××× ××××",message:"×××¤× ×ª×××× ××¢××ר?",messagePh:"×ת××× ×©×××, ××× ××× ×ª×××× ×תת, ×××××× ×©×× × ×× ××× ××××תâ¦",send:"××צ××¢ ×××××"},investor:{company:"×§×¨× / ××ר×",companyPh:"××©× ×× ××ª× ×שק××¢××",message:"×× ××ª× ××פש××?",messagePh:"×ת×××××, ×ש×× ××××× ×××©×§×¢× ×©××¢× ××× ×× ×ת××â¦",send:"ש×××ת ×¤× ×××"},community:{company:"×ר××× / תפק××",companyPh:"×× ××××",message:"××× ×ª×¨×¦× ××§×ת ×××§?",messagePh:"×¡×¤×¨× ×××× ×§×××× ×ת×××× ××× ××× ×ª×¨×¦× ××××× ××××â¦",send:"×צ×רפ×ת ××§××××"},training:{company:"×ר××× / תפק×× × ××××",companyPh:"×× ××××",message:"×× ×ª×¨×¦× ×××××?",messagePh:"×¡×¤×¨× ××§×¦×¨× ×¢× ×רקע ש××× ××× ×ª×¨×¦× ××§×× ××××שר×â¦",send:"×רש×× ×××שר×"},event:{company:"×××¨× / ×ר×××",companyPh:"×× ××××",message:"×ש ×ש×× ×©×××× ×©× ××¢?",messagePh:"× ××ש×ת, ת××× × ×× ×¤×¨× ×¨×××× ×× ××ר (×× ××××)â¦",send:"×רש×× ×××ר××¢"},contact:{company:"×××¨× / ××××",companyPh:"×× ××××",message:"×¡×¤×¨× ×× × ×¢×× ×§×¦×ª",messagePh:"××©×¤× ×× ×©× ×××â¦",send:"ש××××"}},defaultInterest:{venture:"ת××× ××ת ×××××××",pilot:"Living Lab ×פ×××××××",partner:"ש×תפ×××ת",mentor:"×× ××ר×× ×",investor:"×שקע×ת",community:"×§××××ת",training:"××שר×ת ×××× ×× ×ש×",event:"××ר××¢××",contact:"×¤× ××× ××××ת"}}},aY={en:"privacy policy",he:"×××× ××ת ×פר×××ת"},aX=({text:e,locale:r,newTabLabel:n})=>{let i=`${"he"===r?"/he":""}/privacy`,s=aY[r],a=e.toLowerCase().indexOf(s.toLowerCase()),o=e=>(0,t.jsx)("a",{href:i,target:"_blank",rel:"noopener noreferrer","aria-label":`${e} â ${n}`,children:e});return -1===a?(0,t.jsxs)(t.Fragment,{children:[e," ",o(s)]}):(0,t.jsxs)(t.Fragment,{children:[e.slice(0,a),o(e.slice(a,a+s.length)),e.slice(a+s.length)]})},aU=({field:e,error:r})=>{let n=`lf-x-${e.key}`,i=`x-${e.key}`,s=r?`err-${i}`:void 0;return"checkbox"===e.kind?(0,t.jsxs)("label",{className:"consent",style:{marginTop:"-14px"},children:[(0,t.jsx)("input",{type:"checkbox",id:n,name:i,"aria-describedby":s})," ",e.label,r?(0,t.jsx)("span",{className:"snFieldError",id:s,children:r}):null]}):(0,t.jsxs)("div",{className:"field",style:e.wide?{gridColumn:"1 / -1"}:void 0,children:[(0,t.jsxs)("label",{htmlFor:n,children:[e.label,e.required?" *":""]}),"textarea"===e.kind?(0,t.jsx)("textarea",{id:n,name:i,className:"inp",placeholder:e.placeholder,"aria-invalid":r?"true":void 0,"aria-describedby":s}):"select"===e.kind?(0,t.jsxs)("select",{id:n,name:i,"aria-invalid":r?"true":void 0,"aria-describedby":s,children:[(0,t.jsx)("option",{value:""}),e.options.map(e=>(0,t.jsx)("option",{value:e,children:e},e))]}):(0,t.jsx)("input",{id:n,name:i,type:"number"===e.kind?"number":"tel"===e.kind?"tel":"email"===e.kind?"email":"text",placeholder:e.placeholder,"aria-invalid":r?"true":void 0,"aria-describedby":s}),r?(0,t.jsx)("span",{className:"snFieldError",id:s,children:r}):null]})},aV=({locale:e,initialType:r,interest:n,labels:i,lockType:a=!1,form:o})=>{let l=o??{id:null,types:aH[e],fields:[],hideCompany:!1,hideMessage:!1,hideMarketing:!1},c=(0,aA.useField)(),d=(0,aR.useSiteText)(e),u=d.form,h=(e,t)=>"string"==typeof e&&""!==e.trim()?e:t,p={...aq[e],types:Object.fromEntries(l.types.map(e=>[e.key,e.label])),name:u.name,namePh:u.namePlaceholder,email:u.email,emailPh:u.emailPlaceholder,company:u.company,companyPh:u.companyPlaceholder,message:u.message,messagePh:u.messagePlaceholder,consent:u.consent,marketing:u.marketing,send:u.send,sending:u.sending,forLabel:u.forLabel,okTitle:u.okTitle,okText:u.okText,err:u.error,ventureNote:u.ventureNote}
1,[m,f]=(0,s.useState)(r&&p.types[r]?r:p.types.contact?"contact":l.types[0]?.key??"contact"),[g,v]=(0,s.useState)(),x=p.variants[m]??p.variants.contact,y="contact"===m,b={...p,name:h(i?.nameLabel,p.name),namePh:h(i?.namePh,p.namePh),email:h(i?.emailLabel,p.email),emailPh:h(i?.emailPh,p.emailPh),company:y?h(i?.companyLabel,x.company):x.company,companyPh:y?h(i?.companyPh,x.companyPh):x.companyPh,message:x.message,messagePh:x.messagePh,consent:h(i?.consent,p.consent),send:y?h(i?.send,x.send):x.send},w=l.types.find(e=>e.key===m),_=w?.note||("venture"===m?p.ventureNote:""),k=n??g,j=a||!!k||l.types.length<2,[T,S]=(0,s.useState)("idle"),[N,E]=(0,s.useState)({utmSource:"",utmMedium:"",utmCampaign:""}),[C,M]=(0,s.useState)({}),[P,A]=(0,s.useState)([]),O=(0,s.useRef)(null),L={heading:u.errorHeading,name:u.errorName,email:u.errorEmail,consent:u.errorConsent};(0,s.useEffect)(()=>{let e=window.setTimeout(()=>{let e=new URLSearchParams(window.location.search),t=e.get("type");!a&&!n&&t&&Object.hasOwn(p.types,t)&&f(t);let r=e.get("interest_kind"),i=e.get("interest_label"),s=e.get("interest_key");!n&&i&&r&&["program","event","training","area","page"].includes(r)&&v({kind:r,label:i,...s?{key:s}:{}}),E({utmSource:e.get("utm_source")||"",utmMedium:e.get("utm_medium")||"",utmCampaign:e.get("utm_campaign")||""})},0);return()=>window.clearTimeout(e)},[]);let F=async t=>{t.preventDefault();let r=new FormData(t.currentTarget),n={},i=String(r.get("name")??"").trim(),s=String(r.get("email")??"").trim();for(let e of(i.length<2&&(n.name=L.name),/^[^@\s]+@[^@\s]+\.[^@\s]+$/.test(s)||(n.email=L.email),"on"!==r.get("consent")&&(n.consent=L.consent),l.fields)){if(!e.required)continue;let t=r.get(`x-${e.key}`);("checkbox"===e.kind?"on"===t:""!==String(t??"").trim())||(n[`x-${e.key}`]=`${e.label} â ${u.errorName.replace(/^.*?â\s*/,"")||"ש×× ××××"}`)}if(M(n),Object.keys(n).length>0){S("idle"),requestAnimationFrame(()=>O.current?.focus());return}S("sending");try{let t=await aW("lead_submit"),n=await fetch("/api/lead",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:m,recaptchaToken:t,attachments:P,name:r.get("name"),email:r.get("email"),company:r.get("company"),message:r.get("message"),consent:"on"===r.get("consent"),marketing:"on"===r.get("marketing"),extras:l.fields.map(e=>({key:e.key,label:e.label,value:"checkbox"===e.kind?"on"===r.get(`x-${e.key}`)?"â":"":String(r.get(`x-${e.key}`)??"").trim()})).filter(e=>""!==e.value),website:r.get("website"),locale:e,path:window.location.pathname,interest:k??{kind:"area",key:m,label:p.defaultInterest[m]},...N})});S(n.ok?"ok":"err"),n.ok&&(0,aD.track)("form_submit",{form_type:m,locale:e})}catch{S("err")}};return"ok"===T?(0,t.jsxs)("div",{className:"formOk reveal on",role:"status","aria-live":"polite",children:[(0,t.jsx)("svg",{className:"fic",viewBox:"0 0 30 26",children:(0,t.jsx)("polygon",{points:"15,0 30,26 0,26",fill:"#E30B5F"})}),(0,t.jsx)("h3",{children:b.okTitle}),(0,t.jsx)("p",{children:b.okText})]}):(0,t.jsxs)("form",{className:"formWrap",onSubmit:F,noValidate:!0,onFocusCapture:()=>void a$(),children:[Object.keys(C).length>0?(0,t.jsxs)("div",{className:"snErrorSummary",role:"alert",tabIndex:-1,ref:O,children:[(0,t.jsx)("h3",{children:L.heading}),(0,t.jsx)("ul",{children:Object.entries(C).map(([e,r])=>(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:`#lf-${e}`,children:r})},e))})]}):null,k?(0,t.jsxs)("div",{className:"formContext","aria-label":b.forLabel,children:[(0,t.jsx)("span",{children:b.forLabel}),(0,t.jsx)("strong",{children:k.label})]}):null,j?null:(0,t.jsx)("div",{className:"typeChips",children:Object.entries(b.types).map(([e,r])=>(0,t.jsx)("button",{type:"button",className:`typeChip${m===e?" onx":""}`,onClick:()=>f(e),children:r},e))}),_?(0,t.jsx)("p",{className:"consent",style:{marginTop:"-16px"},children:_}):null,(0,t.jsxs)("div",{className:"field",children:[(0,t.jsx)("label",{htmlFor:"lf-name",...c("nameLabel"),children:b.name}),(0,t.jsx)("input",{id:"lf-name",name:"name","aria-invalid":C.name?"true":void 0,"aria-describedby":C.name?"err-name":void 0,type:"text",required:!0,minLength:2,placeholder:b.namePh,...c("namePh","placeholder")}),C.name?(0,t.jsx)("span",{className:"snFieldError",id:"err-name",children:C.name}):null]}),(0,t.jsxs)("div",{className:"field",children:[(0,t.jsx)("label",{htmlFor:"lf-email",...c("emailLabel"),children:b.email}),(0,t.jsx)("input",{id:"lf-email",name:"email","aria-invalid":C.email?"true":void 0,"aria-describedby":C.email?"err-email":void 0,type:"email",required:!0,placeholder:b.emailPh,...c("emailPh","placeholder")}),C.email?(0,t.jsx)("span",{className:"snFieldError",id:"err-email",children:C.email}):null]}),l.hideCompany?null:(0,t.jsxs)("div",{className:"field",children:[(0,t.jsx)("label",{htmlFor:"lf-company",...c("companyLabel"),children:b.company}),(0,t.jsx)("input",{id:"lf-company",name:"company",type:"text",placeholder:b.companyPh,...c("companyPh","placeholder")})]}),l.hideMessage?null:(0,t.jsxs)("div",{className:"field",children:[(0,t.jsx)("label",{htmlFor:"lf-message",children:b.message}),(0,t.jsx)("textarea",{id:"lf-message",name:"message",className:"inp",placeholder:b.messagePh})]}),l.fields.map(e=>(0,t.jsx)(aU,{field:e,error:C[`x-${e.key}`]}
1,e.key)),w?.allowsFiles?(0,t.jsx)(aB,{locale:e,onChange:A}):null,(0,t.jsxs)("div",{className:"hp","aria-hidden":"true",children:[(0,t.jsx)("label",{htmlFor:"lf-web",children:"Website"}),(0,t.jsx)("input",{id:"lf-web",name:"website",type:"text",tabIndex:-1,autoComplete:"off"})]}),(0,t.jsxs)("label",{className:"consent",id:"lf-consent",...c("consent","multiline"),children:[(0,t.jsx)("input",{type:"checkbox",name:"consent","aria-invalid":C.consent?"true":void 0,"aria-describedby":C.consent?"err-consent":void 0})," ",(0,t.jsx)(aX,{text:b.consent,locale:e,newTabLabel:d.lists.resourceNewTab}),C.consent?(0,t.jsx)("span",{className:"snFieldError",id:"err-consent",children:C.consent}):null]}),l.hideMarketing?null:(0,t.jsxs)("label",{className:"consent",style:{marginTop:"-14px"},children:[(0,t.jsx)("input",{type:"checkbox",name:"marketing"})," ",b.marketing]}),(0,t.jsxs)("button",{className:"btn",type:"submit",disabled:"sending"===T,...c("send"),children:["sending"===T?b.sending:b.send," ",(0,t.jsx)("span",{className:"ar","aria-hidden":"true"})]}),"err"===T?(0,t.jsx)("div",{className:"formErr",role:"alert",children:b.err}):null]})},aG=(0,s.createContext)(()=>{}),aJ=()=>(0,s.useContext)(aG),aK=({forms:e,locale:r,children:n})=>{let[i,a]=(0,s.useState)(null),o=(0,s.useCallback)((e,t)=>{a({formId:e,interest:t})},[]),l=(0,s.useMemo)(()=>o,[o]);return(0,t.jsxs)(aG.Provider,{value:l,children:[n,i?(0,t.jsx)(aQ,{spec:e[i.formId],interest:i.interest,locale:r,onClose:()=>a(null)}):null]})},aQ=({spec:e,interest:r,locale:n,onClose:i})=>{let a=s.default.useRef(null),o=(0,aF.useModalDialog)({initialFocusRef:a,onClose:i});return e?(0,t.jsxs)("div",{className:"snFormOverlay",dir:"he"===n?"rtl":"ltr",onClick:i,children:[(0,t.jsxs)("div",{className:"snFormWindow",role:"dialog","aria-modal":"true","aria-label":r||("he"===n?"××פס ×¤× ×××":"Contact form"),ref:o,tabIndex:-1,onClick:e=>e.stopPropagation(),children:[(0,t.jsx)("button",{ref:a,className:"snFormWindowClose",onClick:i,"aria-label":"he"===n?"ס××ר×":"Close",children:"â"}),r?(0,t.jsx)("h2",{className:"snFormWindowTitle",children:r}):null,(0,t.jsx)(aV,{locale:n,form:e,interest:r?{kind:"page",label:r}:void 0})]}),(0,t.jsx)("style",{children:aZ})]}):null},aZ=` 2.snFormOverlay { 3 position: fixed; inset: 0; z-index: 90; 4 display: grid; place-items: center; 5 padding: 24px; 6 background: rgba(16, 24, 43, .62); 7 backdrop-filter: blur(3px); 8 overflow: auto; 9} 10.snFormWindow { 11 position: relative; 12 width: min(680px, 100%); 13 max-height: calc(100vh - 48px); 14 overflow: auto; 15 padding: 34px 30px 30px; 16 border-radius: 14px; 17 background: #fff; 18 box-shadow: 0 30px 80px rgba(16, 24, 43, .35); 19} 20.snFormWindowClose { 21 position: absolute; inset-inline-end: 14px; top: 12px; 22 width: 34px; height: 34px; display: grid; place-items: center; 23 border: 0; border-radius: 50%; cursor: pointer; 24 background: rgba(16, 24, 43, .06); color: #10182B; font-size: 15px; 25} 26.snFormWindowClose:hover { background: rgba(16, 24, 43, .12); } 27.snFormWindowTitle { 28 margin: 0 0 18px; 29 font: 800 26px/1.25 var(--he, inherit); 30 color: #10182B; 31} 32@media (max-width: 640px) { 33 .snFormOverlay { padding: 0; align-items: stretch; } 34 .snFormWindow { width: 100%; max-height: 100vh; border-radius: 0; padding: 30px 20px 24px; } 35} 36`;var a0=e.i(298945),a1=e.i(365515),a2=e.i(281520);let a5=({intro:e,audiences:r,b:n})=>{let i=(0,aA.useField)();return(0,t.jsx)("section",{className:"pad",children:(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsx)("div",{className:"eyebrow2 reveal",...i("eyebrow"),children:e.eyebrow}),(0,t.jsx)("h2",{className:"reveal",style:(0,a2.v)({"--d":".08"}),...i("title"),children:e.title}),(0,t.jsx)("div",{className:"aud",children:r.map((e,r)=>{let s=e.type||["venture","pilot","community","training"][r]||"contact";return(0,t.jsxs)("div",{className:"audBox reveal",style:(0,a2.v)({"--d":`${.05+.07*r}`}),children:[(0,t.jsx)("div",{className:"who",...i(`items.${r}.who`),children:e.who}),(0,t.jsx)("h3",{...i(`items.${r}.title`),children:e.title}),(0,t.jsx)("a",{className:"btn sm",style:{textDecoration:"none"},"data-mag":!0,href:`${n}/contact?type=${s}`,...i(`items.${r}.cta`),children:e.cta})]},r)})})]})})},a3=({label:e,href:r,external:n,formId:i})=>{let s=(0,aA.useField)(),a=aJ();return e?i?(0,t.jsx)("div",{className:"reveal",style:{marginTop:34},children:(0,t.jsxs)("button",{type:"button",className:"btn sm",style:{textDecoration:"none"},onClick:()=>a(i),...s("moreLabel"),children:[e," ",(0,t.jsx)("span",{className:"ar","aria-hidden":"true"})]})}):r?(0,t.jsx)("div",{className:"reveal",style:{marginTop:34},children:(0,t.jsxs)("a",{className:"btn sm",style:{textDecoration:"none"},href:r,...n?{target:"_blank",rel:"noreferrer noopener"}:{},...s("moreLabel"),children:[e," ",(0,t.jsx)("span",{className:n?"ar ext":"ar","aria-hidden":"true"})]})}):null:null},a6=({label:e,href:r,external:n,formId:i,interest:s,fieldProps:a,pageProps:o})=>{let l=aJ(),c=(0,t.jsx)("span",{className:n?"ar ext":"ar","aria-hidden":"true"});return i?(0,t.jsxs)("button",{type:"button",className:"more moreBtn",onClick:()=>l(i,s),...a,...o,children:[e," ",c]}):r?(0,t.jsxs)("a",{className:"more",href:r,...n?{target:"_blank",rel:"noreferrer noopener"}:{},...a,...o,children:[e," ",c]}):(0,t.jsxs)("span",{className:"more",...a,...o,children:[e," ",c]})},a8=({intro:e,rows:r,more:i,locale:s="en"})=>{let a=(0,aA.useField)(),o=(0,aA.usePageLink)(),{enabled:l}=(0,aA.useEditState)();return(0,t.jsx)("section",{className:"pad",id:"cap",children:(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsx)("div",{className:"eyebrow2 reveal",...a("eyebrow"),children:e.eyebrow}),(0,t.jsx)("h2",{className:"reveal",style:(0,a2.v)({"--d":".08"}),...a("title"),children:e.title}),r.map((e,r)=>(0,t.jsxs)("div",{className:`caprow${e.flip?" flip":""} reveal`,style:(0,a2.v)({"--d":".1"}),children:[(0,t.jsxs)("div",{className:"capimg",children:[e.image.url?(0,t.jsx)("img",{src:e.image.url,alt:e.image.alt??"",onError:(0,a2.fallbackImg)(e.fallbackImage),...a(`items.${r}.image`,"image"),loading:"lazy",decoding:"async"}):l?(0,t.jsx)("div",{className:"snImagePlaceholder",style:{alignItems:"center",background:"#DDE5EF",color:"#24314D",display:"flex",fontWeight:700,justifyContent:"center",minHeight:280,padding:24},...a(`items.${r}.image`,"image"),children:"he"===s?"×××¦× ××××רת ת××× ×":"Click to choose an image"}):null,(0,t.jsx)("span",{className:"coordTag",...a(`items.${r}.coord`),children:e.coord})]}),(0,t.jsxs)("div",{className:"capcopy",children:[(0,t.jsx)("h3",{...a(`items.${r}.title`),children:e.title}),(0,n.isTextForLocale)(e.accent,s)?(0,t.jsx)("div",{className:"he3",dir:"auto",...a(`items.${r}.accent`),children:e.accent}):null,(0,t.jsx)("p",{...a(`items.${r}.text`,"multiline"),children:e.text}),(0,t.jsx)("ul",{className:"caplist",children:e.list.map((e,n)=>(0,t.jsxs)("li",{children:[(0,t.jsx)("span",{className:"k",...a(`items.${r}.list.${n}.k`),children:e.k}),(0,t.jsx)("span",{...a(`items.${r}.list.${n}.v`),children:e.v})]},n))}),(0,t.jsx)(a6,{label:e.link,href:e.href,external:e.external,formId:e.formId,interest:e.title,fieldProps:a(`items.${r}.link`),pageProps:o(e.linkTo)})]})]},r)),(0,t.jsx)(a3,{label:i?.label,href:i?.href,external:i?.external})]})})};var a4=e.i(713990),a9=e.i(399278),a7=e.i(335726),oe=e.i(280376),ot=e.i(560651);let or=()=>(0,t.jsx)("div",{className:"curtain","aria-hidden":"true",children:(0,t.jsx)("img",{src:"/brand/mark.png",alt:""})}),on=()=>(0,t.jsxs)("div",{className:"prail","aria-hidden":"true",children:[(0,t.jsx)("div",{className:"track",children:(0,t.jsx)("i",{className:"pf"})}),(0,t.jsx)("div",{className:"dots",children:[".hero","#pillars",".impact","#portfolio","#news","#contact"].map(e=>(0,t.jsx)("i",{"data-t":e},e))})]}),oi=e=>e.editMode?(0,t.jsx)(aA.EditProvider,{value:{enabled:!0,blockId:"global:header"},children:(0,t.jsx)(os,{...e})}):(0,t.jsx)(os,{...e}),os=({locale:e,b:n,langSwitch:i,apply:s,header:a,editMode:o=!1})=>{let l=(0,a4.usePathname)(),c=a??(0,r.normalizeHeader)({applyLabel:s},e),d=(0,aA.useField)();return(0,t.jsx)("nav",{className:"nav","data-sn-block":o?"global:header":void 0,"data-sn-global":o?"header":void 0,"data-sn-type":o?"site-header":void 0,children:(0,t.jsxs)("div",{className:"in",children:[(0,t.jsxs)("a",{className:"brand",href:n||"/",children:[(0,t.jsx)("img",{src:"/brand/mark.png",alt:""}),(0,t.jsx)("span",{className:"brandName",children:"seanovation"})]}),(0,t.jsxs)("div",{className:"links",children:[c.groups.map(e=>(0,t.jsx)(ot.NavGroupMenu,{group:e,pathname:l},e.key)),(0,t.jsx)(a7.LanguageToggle,{href:i.href,locale:e}),(0,t.jsx)("a",{className:"cta",style:{textDecoration:"none"},"data-mag":!0,href:c.apply.href,...d(c.apply.field),children:c.apply.label})]}),(0,t.jsx)(oe.MobileMenu,{locale:e,langHref:i.href,header:c})]})})},oa=({part1:e="TOMORROW HAS AN",accentWord:r="ADDRESS",hebrew:n="×××ר ×ש ×ת××ת",part2:i="RED SEA INNOVATION",locale:s="en"})=>{let a=(0,aA.useField)(),{enabled:o}=(0,aA.useEditState)();return(0,t.jsx)("div",{className:"marquee","aria-hidden":o?void 0:"true",children:(0,t.jsx)("div",{className:"mtrack",children:[0,1].map(o=>(0,t.jsxs)("span",{"aria-hidden":1===o?"true":void 0,children:["he"===s?(0,t.jsx)("span",{className:"heM",...0===o?a("hebrew"):{},children:n}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{...0===o?a("part1"):{},children:e})," ",(0,t.jsx)("em",{...0===o?a("accentWord"):{},children:r})," · ",(0,t.jsx)("span",{...0===o?a("part2"):{},children:i})]})," · "]},o))})})},oo=e=>e.editMode?(0,t.jsx)(aA.EditProvider,{value:{enabled:!0,blockId:"global:footer"},children:(0,t.jsx)(ol,{...e})}):(0,t.jsx)(ol,{...e}),ol=({footer:e,locale:i,social:s={},content:a,editMode:o=!1})=>{let l=(0,aA.useField)(),c=(0,aA.usePageLink)(),d=a??(0,r.normalizeFooter)({...e,...s},i);return(0,t.jsxs)("footer",{"data-sn-block":o?"global:footer":void 0,"data-sn-global":o?"footer":void 0,"data-sn-type":o?"site-footer":void 0,children:[(0,t.jsx)("div",{className:"wm","aria-hidden":"true",children:"seanovation"}),(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsxs)("div",{className:"fGrid",children:[(0,t.jsxs)("div",{className:"fBrand",children:[(0,t.jsx)("img",{src:"/brand/mark.png",alt:""}),(0,t.jsx)("div",{className:"nm",children:"seanovation"}),(0,t.jsx)("div",{className:"tg",...l("tag"),children:d.tag}),(0,n.isTextForLocale)(d.accent,i)?(0,t.jsx)("div",{className:"tgHe",dir:"auto",...l("accent"),children:d.accent}):null]}),d.columns.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsx)("b",{...l(e.titleField),children:e.title}),e.links.map(e=>(0,t.jsx)("a",{href:e.href,...c(e.page),...l(e.field),children:e.label},e.field))]},e.key)),(0,t.jsxs)("div",{children:[(0,t.jsx)("b",{...l("connectLabel"),children:d.connectLabel}),(0,t.jsx)(a9.SocialLinks,{social:d.social,locale:i})]})]}),(0,t.jsxs)("div",{className:"legal",children:[(0,t.jsx)("span",{...l("copyright"),children:d.copyright}),(0,t.jsx)(a9.LegalLinks,{locale:i})]})]})]})},oc=({hero:e,facets:r,locale:i="en",video:a,poster:o,ctaPrimaryHref:l,ctaSecondaryHref:c})=>{let d=(0,aA.useField)(),{enabled:u}=(0,aA.useEditState)(),h=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=h.current;if(!e||!a||e.src||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let t=navigator.connection;if(t?.saveData)return;let r=()=>
36{e.src||(e.preload="auto",e.src=a,e.load(),e.play().catch(()=>{}))},n=window.requestIdleCallback,i=n?n(r,{timeout:1500}):window.setTimeout(r,400);return()=>{n||window.clearTimeout(i)}},[a]),(0,t.jsxs)("header",{className:`hero${a?" cine":""}`,children:[a?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("video",{ref:h,className:"heroVideo",poster:o,preload:"none",autoPlay:!0,muted:!0,loop:!0,playsInline:!0}),(0,t.jsx)("div",{className:"heroShade"})]}):null,(0,t.jsxs)("div",{className:"heroGrid",children:[(0,t.jsxs)("div",{className:"heroCopy",children:[(0,t.jsxs)("div",{className:"eyebrow",...d("eyebrow"),children:[(0,t.jsx)("span",{className:"pin"}),e.eyebrow]}),(0,t.jsxs)("h1",{children:[(0,t.jsx)("span",{className:"l",children:(0,t.jsx)("span",{...d("line1"),children:e.line1})}),(0,t.jsx)("span",{className:"l",children:(0,t.jsxs)("span",{...d("line2"),children:[e.line2,(0,t.jsx)("span",{className:"dot",children:"."})]})})]}),(0,n.isTextForLocale)(e.accent,i)?(0,t.jsx)("p",{className:"heSub",dir:"auto",...d("accent"),children:e.accent}):null,(0,t.jsx)("p",{className:"enSub",...d("support","multiline"),children:e.support}),e.ctaPrimary&&l||e.ctaSecondary&&c?(0,t.jsxs)("div",{className:"heroCtas",children:[e.ctaPrimary&&l?(0,t.jsxs)("a",{className:"btn",href:l,...d("ctaPrimary"),children:[e.ctaPrimary," ",(0,t.jsx)("span",{className:"ar","aria-hidden":"true"})]}):null,e.ctaSecondary&&c?(0,t.jsxs)("a",{className:"heroCtaQuiet",href:c,...d("ctaSecondary"),children:[e.ctaSecondary," ",(0,t.jsx)("span",{className:"ar","aria-hidden":"true"})]}):null]}):null]}),(0,t.jsx)("div",{className:"sculptBox",children:(0,t.jsx)("div",{className:"floatW",children:(0,t.jsxs)("div",{className:"markHero",children:[(0,t.jsx)("img",{className:"markBase",src:"/brand/mark.png",alt:"SEANOVATION emblem",draggable:!1}),(0,t.jsx)("span",{className:"shine"})]})})})]}),u?(0,t.jsxs)("div",{className:"heroMediaBar","data-sn-ui":"hero-media",children:[(0,t.jsx)("span",{children:"רקע ×פת××:"}),(0,t.jsx)("span",{className:"heroMediaSlot",...d("video","image"),children:a?"×××פת סר××× ×רקע":"×××רת סר××× ×¨×§×¢"}),(0,t.jsx)("span",{className:"heroMediaSlot",...d("poster","image"),children:o?"×××פת ת××× ×ª ×שער":"×××רת ת××× ×ª שער"}),(0,t.jsx)("style",{children:od})]}):null,(0,t.jsx)("div",{className:"heroRule",children:r.map((e,r)=>(0,t.jsxs)("div",{className:"fx",children:[(0,t.jsx)("i",{className:`ft${e.down?" dn":""}`,style:{background:e.color}}),(0,t.jsx)("b",{...d(`facets.${r}.label`),children:e.label}),(0,n.isTextForLocale)(e.sub,i)?(0,t.jsx)("span",{className:"heF",dir:"auto",...d(`facets.${r}.sub`),children:e.sub}):null]},r))})]})},od=` 37.heroMediaBar { 38 position: absolute; z-index: 5; 39 inset-block-start: 12px; inset-inline-start: 12px; 40 display: flex; align-items: center; gap: 8px; flex-wrap: wrap; 41 padding: 7px 10px; 42 background: rgba(16,24,43,.86); color: #DCE4F2; 43 font: 700 12px Heebo, system-ui, sans-serif; 44} 45.heroMediaSlot { 46 padding: 5px 9px; cursor: pointer; 47 background: #236FAE; color: #fff; 48} 49.heroMediaSlot:hover { background: #E30B5F; } 50.heroCtas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; } 51.heroCtaQuiet { 52 color: inherit; font: 700 14px Heebo, system-ui, sans-serif; 53 text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; 54} 55.heroCtaQuiet:hover { color: #E30B5F; } 56`,ou=({intro:e,metrics:r,dark:n=!1,animate:i=!0,fields:s=!0})=>{let a=(0,aA.useField)(),o=(e,t)=>s?a(e,t):{};return(0,t.jsx)("section",{className:"pad impact",style:n?{background:"#0B0C0E",color:"#fff"}:void 0,children:(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsx)("div",{className:"eyebrow2 reveal",...a("eyebrow"),children:e.eyebrow}),(0,t.jsx)("h2",{className:"reveal",style:n?{...(0,a2.v)({"--d":".08"}),color:"#fff"}:(0,a2.v)({"--d":".08"}),...a("title"),children:e.title}),(0,t.jsx)("div",{className:"metrics",children:r.map((e,r)=>{let n=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("b",{children:[e.prefix,(0,t.jsx)("span",{className:i?"count":void 0,"data-to":i?e.value:void 0,"data-suf":i?e.suffix??"":void 0,...o(`items.${r}
56.value`,"number"),children:`${e.value.toLocaleString("en-US")}${e.suffix??""}`})]}),(0,t.jsx)("span",{...o(`items.${r}.label`),children:e.label})]}),s=`metric ${e.klass} reveal`,a=(0,a2.v)({"--d":`${.05+.07*r}`});return e.href?(0,t.jsx)("a",{className:`${s} metricLink`,href:e.href,style:a,children:n},r):(0,t.jsx)("div",{className:s,style:a,children:n},r)})})]})})},oh=({intro:e,stages:r,more:n,locale:i="en"})=>{let s=(0,aA.useField)();return(0,t.jsx)("section",{className:"pad",style:{background:"var(--soft)"},children:(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsx)("div",{className:"eyebrow2 reveal",...s("eyebrow"),children:e.eyebrow}),(0,t.jsx)("h2",{className:"reveal",style:(0,a2.v)({"--d":".08"}),...s("title"),children:e.title}),(0,t.jsx)("p",{className:"lead journeyLead reveal",style:(0,a2.v)({"--d":".14"}),...s("lead","multiline"),children:e.lead}),(0,t.jsxs)("div",{className:"journey reveal",style:(0,a2.v)({"--d":".2"}),children:[(0,t.jsxs)("div",{className:"rail",children:[(0,t.jsx)("i",{style:{insetInlineStart:"4%"}}),(0,t.jsx)("i",{style:{insetInlineStart:"50%"}}),(0,t.jsx)("i",{style:{insetInlineStart:"96%"}})]}),(0,t.jsx)("div",{className:"stages",children:r.map((e,r)=>(0,t.jsxs)("div",{className:"stage",children:[(0,t.jsx)("div",{className:"num",...s(`items.${r}.num`),children:e.num}),(0,t.jsx)("h3",{...s(`items.${r}.name`),children:e.name}),(0,t.jsx)("div",{className:"tagline",style:{color:(0,a2.readableBrand)(e.tagColor)},...s(`items.${r}.tag`),children:e.tag}),(0,t.jsx)("p",{...s(`items.${r}.text`,"multiline"),children:e.text})]},r))})]}),(0,t.jsx)(a3,{label:n?.label,href:n?.href,external:n?.external})]})})},op=({lead:e,locale:r,form:i,formTarget:s})=>{let a=(0,aA.useField)(),{enabled:o}=(0,aA.useEditState)();return(0,t.jsx)("section",{className:"pad",id:"contact",style:{background:"var(--soft)"},children:(0,t.jsx)("div",{className:"wrap",children:(0,t.jsxs)("div",{className:"leadgen",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"eyebrow2 reveal",...a("eyebrow"),children:e.eyebrow}),(0,t.jsx)("h2",{className:"reveal",style:(0,a2.v)({"--d":".08"}),...a("title"),children:e.title}),(0,t.jsx)("p",{className:"lead reveal",style:(0,a2.v)({"--d":".14"}),...a("text","multiline"),children:e.text}),(0,n.isTextForLocale)(e.accent,r)?(0,t.jsx)("p",{className:"reveal he3",dir:"auto",style:(0,a2.v)({"--d":".18",font:"600 16px/1.6 var(--he)",color:"#33405E",marginTop:"14px"}),...a("accent"),children:e.accent}):null]}),(0,t.jsx)("div",{className:"reveal",style:(0,a2.v)({"--d":".2"}),...o?{"data-sn-form":s??i?.id??""}:{},children:(0,t.jsx)(aV,{locale:r,initialType:"contact",labels:e,form:i})})]})})})},om=({lab:e,b:r,more:i,locale:s="en"})=>{let a=(0,aA.useField)(),{enabled:o}=(0,aA.useEditState)();return(0,t.jsx)("section",{className:"pad",id:"lab",style:{paddingTop:0},children:(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsx)("div",{className:"eyebrow2 reveal",...a("eyebrow"),children:e.eyebrow}),(0,t.jsx)("h2",{className:"reveal",style:(0,a2.v)({"--d":".08"}),...a("title"),children:e.title}),(0,t.jsxs)("div",{className:"lab reveal",style:(0,a2.v)({"--d":".14"}),children:[e.image.url?(0,t.jsx)("img",{className:"bg",src:e.image.url,alt:e.image.alt??"",style:(0,aL.focalStyle)(e.image.url),...a("image","image"),loading:"lazy",decoding:"async"}):o?(0,t.jsx)("div",{className:"bg snImagePlaceholder",style:{alignItems:"center",background:"#24314D",color:"#fff",display:"flex",fontWeight:700,justifyContent:"center"},...a("image","image"),children:"he"===s?"×××¦× ××××רת ת××× ×ª רקע":"Click to choose a background image"}):null,(0,t.jsxs)("div",{className:"inner",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{...a("heading"),children:e.heading}),(0,n.isTextForLocale)(e.accent,s)?(0,t.jsx)("div",{className:"he2",dir:"auto",...a("accent"),children:e.accent}):null,(0,t.jsx)("div",{className:"labChips",children:e.chips.map((e,r)=>(0,t.jsx)("span",{...a(`chips.${r}.label`),children:e},r))})]}),(0,t.jsxs)("a",{className:"btn white",style:{textDecoration:"none"},"data-mag":!0,href:`${r}/contact?type=pilot&interest_kind=area&interest_label=Living%20Lab&interest_key=living-lab`,...a("cta"),children:[e.cta," ",(0,t.jsx)("span",{className:"ar","aria-hidden":"true"})]})]})]}),(0,t.jsx)(a3,{label:i?.label,href:i?.href,external:i?.external})]})})},of=({bare:e,children:r,...n})=>e?(0,t.jsx)("h2",{...n,children:r}):(0,t.jsx)("h3",{...n,children:r}),og=({intro:e,posters:r,bare:i=!1,more:s,locale:a="en"})=>{let o=(0,aA.useField)(),l=(0,t.jsx)("div",{className:"posters",style:i?{marginTop:40}:void 0,children:r.map((e,r)=>{let s=e.altCluster??r%3==1,l=e.clusterStyle??(r%3==2?{transform:"rotate(115deg)",top:"-14%",insetInlineEnd:"-13%"}:void 0);return(0,t.jsxs)("article",{className:i?"poster":"poster tilt",children:[(0,t.jsx)("span",{className:"cat",style:{background:e.catColor},...o(`items.${r}.cat`),children:e.cat}),(0,t.jsxs)("div",{className:"ph",children:["seanovation",(0,t.jsx)("small",{children:"Red Sea Innovation Center"})]}),(0,t.jsx)("img",{className:`cluster${s?" alt":""}`,src:"/brand/mark.png",alt:"",style:l}),(0,t.jsx)("div",{className:"date",...o(`items.${r}.date`),children:e.date}),"he"===a?(0,n.isTextForLocale)(e.accent,a)?(0,t.jsx)(of,{bare:i,className:"heTitle",dir:"rtl",...o(`items.${r}.accent`),children:e.accent}):null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(of,{bare:i,children:[(0,t.jsx)("span",{...o(`items.${r}.line1`),children:e.line1}),(0,t.jsx)("br",{}),(0,t.jsx)("span",{...o(`items.${r}.line2`),children:e.line2})]}),(0,n.isTextForLocale)(e.accent,a)?(0,t.jsx)("div",{className:"heP",dir:"auto",...o(`items.${r}.accent`),children:e.accent}):null]}),(0,t.jsxs)("div",{className:"foot",children:[(0,t.jsxs)("span",{className:"lock",children:[(0,t.jsx)("img",{src:"/brand/mark.png",alt:""}),(0,t.jsx)("i",{children:"seanovation"})]}),(0,t.jsx)("span",{className:"qr"})]})]},r)})});return i?l:(0,t.jsx)("section",{className:"pad",id:"news",style:{background:"var(--soft)"},children:(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsx)("div",{className:"eyebrow2 reveal",...o("eyebrow"),children:e.eyebrow}),(0,t.jsx)("h2",{className:"reveal",style:(0,a2.v)({"--d":".08"}),...o("title"),children:e.title}),(0,t.jsx)("div",{className:"postersPin",children:l}),(0,t.jsx)(a3,{label:s?.label,href:s?.href,external:s?.external})]})})},ov=({intro:e,pillars:r,b:n})=>{let i=(0,aA.useField)(),s=(0,aA.usePageLink)();return(0,t.jsx)("section",{className:"pad",id:"pillars",children:(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsx)("div",{className:"eyebrow2 reveal",...i("eyebrow"),children:e.eyebrow}),(0,t.jsxs)("h2",{className:"reveal",style:(0,a2.v)({"--d":".08"}),...i("title","multiline"),children:[e.title1,(0,t.jsx)("br",{}),e.title2]}),(0,t.jsx)("div",{className:"pillars",children:r.map((e,r)=>(0,t.jsxs)("div",{className:"pillar reveal",style:(0,a2.v)({"--pc":e.color,"--d":`${.05+.07*r}`}),children:[(0,a2.facetIcon)(e.color,e.down),(0,t.jsx)("h3",{...i(`items.${r}.title`),children:e.title}),(0,t.jsx)("p",{...i(`items.${r}.text`,"multiline"),children:e.text}),(0,t.jsx)(a6,{label:e.link,href:e.href,external:e.external,formId:e.formId,interest:e.title,fieldProps:i(`items.${r}.link`),pageProps:s(e.linkTo)})]},r))})]})})},ox=({path:e,url:r,alt:n="",locale:i,noun:s,className:a,minHeight:o=200,onError:l})=>{let c=(0,aA.useField)(),{enabled:d}=(0,aA.useEditState)();if(r)return(0,t.jsx)("img",{className:a,src:r,alt:n,style:(0,aL.focalStyle)(r),onError:l,loading:"lazy",decoding:"async",...c(e,"image")});if(!d)return null;let u=s??("he"===i?"ת××× ×":"an image");return(0,t.jsx)("div",{className:a,style:{alignItems:"center",background:"#DDE5EF",color:"#24314D",display:"flex",fontWeight:700,justifyContent:"center",minHeight:o,padding:24,textAlign:"center"},...c(e,"image"),children:"he"===i?`×××¦× ××××רת ${u}`:`Click to choose ${u}`})},oy=({intro:e,companies:r,b:n,more:i,locale:s="en"})=>{let a=(0,aA.useField)(),o=(0,aA.usePageLink)();return(0,t.jsx)("section",{className:"pad",id:"portfolio",style:{background:"var(--soft)"},children:(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsx)("div",{className:"eyebrow2 reveal",...a("eyebrow"),children:e.eyebrow}),(0,t.jsx)("h2",{className:"reveal",style:(0,a2.v)({"--d":".08"}),...a("title"),children:e.title}),(0,t.jsx)("div",{className:"filters reveal",style:(0,a2.v)({"--d":".14"}),children:e.chips.map((e,r)=>(0,t.jsx)("button",{className:`chip${0===r?" onx":""}`,...a(`chips.${r}.label`),children:e},r))}),(0,t.jsx)("div",{className:"cards3",children:r.map((e,r)=>(0,t.jsxs)("div",{className:"co reveal",style:(0,a2.v)({"--d":`${.05+.07*r}`,"--gc":e.color}),children:[(0,t.jsxs)("div",{className:`thumb ${e.tint}`,children:[(0,t.jsx)("img",{src:"/brand/mark.png",alt:""}),(0,t.jsx)(ox,{className:"cimg",path:`items.${r}.image`,url:e.image?.url,alt:e.image?.alt??"",locale:s,minHeight:210,onError:(0,a2.fallbackImg)()})]}),(0,t.jsxs)("div",{className:"meta",children:[(0,t.jsx)("i",{style:{background:e.color}}),(0,t.jsx)("span",{...a(`items.${r}.cat`),children:e.cat})]}),(0,t.jsx)("h3",{...a(`items.${r}.name`),children:e.name}),(0,t.jsx)("p",{...a(`items.${r}.text`,"multiline"),children:e.text}),(0,t.jsx)(a6,{label:e.link,href:e.href,external:e.external,formId:e.formId,interest:e.name,fieldProps:a(`items.${r}.link`),pageProps:o(e.linkTo)})]},r))}),(0,t.jsx)(a3,{label:i?.label,href:i?.href,external:i?.external})]})})};var ob=e.i(207617),ow=e.i(807222),o_=e.i(341964);let ok=({items:e,locale:r,opensWindows:n=!0})=>
56{let[i,a]=(0,s.useState)("all"),[o,l]=(0,s.useState)(null),c=(0,aA.useRecord)(),d=(0,aA.useSlot)("companies"),u=(0,aR.useSiteText)(r).cards,h=e=>(0,ow.resolvePopup)(e.popup,{eyebrow:e.sectorLabel,title:e.name,body:e.text,image:e.image,imageIsMark:e.mark,tint:e.color,facts:e.sectorLabel?[{k:u.sector,v:e.sectorLabel}]:void 0,action:e.website?{label:u.companyWebsite,href:e.website,external:!0}:e.slug?{label:u.companyProfile,href:(0,a0.detailHref)("companies",e.slug,r)}:void 0},{opensWindows:n}),p=(0,s.useMemo)(()=>{let t=new Map;return e.forEach(e=>t.set(e.sector,e.sectorLabel)),Array.from(t.entries())},[e]),m="all"===i?e:e.filter(e=>e.sector===i),f=null===o?null:e.find((e,t)=>`${e.name}-${t}`===o)??null;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"filters reveal on",style:{marginTop:34},children:[(0,t.jsx)("button",{className:`chip${"all"===i?" onx":""}`,onClick:()=>a("all"),children:u.all}),p.map(([e,r])=>(0,t.jsx)("button",{className:`chip${i===e?" onx":""}`,onClick:()=>a(e),children:r},e))]}),(0,t.jsxs)("div",{className:"cards3",style:{marginTop:40},children:[m.map((n,i)=>{let s=`${n.name}-${e.indexOf(n)}`,a={"--gc":n.color},o=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:`thumb ${n.tint}`,...d("image"),children:[(0,t.jsx)("img",{src:"/brand/mark.png",alt:""}),n.image?(0,t.jsx)("img",{className:n.mark?"cimg mark":"cimg",src:n.image,alt:n.name??"",style:(0,aL.focalStyle)(n.image),onError:e=>e.currentTarget.remove(),loading:"lazy",decoding:"async"}):null]}),(0,t.jsxs)("div",{className:"meta",children:[(0,t.jsx)("i",{style:{background:n.color}}),n.sectorLabel]}),(0,t.jsx)("h2",{...d("title"),children:n.name}),(0,t.jsx)("p",{...d("text"),children:n.text})]}),p=n.slug?(0,a0.detailHref)("companies",n.slug,r):n.website||"";return h(n)?(0,t.jsx)("button",{type:"button",className:"co",style:a,onClick:()=>l(s),"aria-label":`${n.name} â ${u.readMore}`,...c("companies",n.id),children:o},n.name+i):p?(0,t.jsx)("a",{className:"co",style:a,href:p,...c("companies",n.id),children:o},n.name+i):(0,t.jsx)("div",{className:"co",style:a,...c("companies",n.id),children:o},n.name+i)}),(0,t.jsx)(o_.AddRecord,{collection:"companies",label:"××ר×"})]}),(0,t.jsx)(ob.PopupModal,{popup:f?h(f):null,locale:r,onClose:()=>l(null)})]})},oj=({items:e,locale:r,opensWindows:n=!0})=>(0,t.jsx)("section",{className:"pad",children:(0,t.jsx)("div",{className:"wrap",children:(0,t.jsx)(ok,{items:e,locale:r,opensWindows:n})})});var oT=e.i(343345),oS=e.i(965003),oN=e.i(459758);let oE=(e,t,r)=>
56{let[n,i]=(0,s.useState)(null),a=e=>(0,ow.resolvePopup)(e.popup,t(e),{opensWindows:r}),o=null===n?null:e[n]??null;return{popup:o?a(o):null,close:()=>i(null),opens:e=>null!==a(e),opener:(e,t)=>a(e)?()=>i(t):void 0}},oC={report:{en:"Report",he:"×××"},guide:{en:"Guide",he:"××ר××"},video:{en:"Video",he:"×××××"},presentation:{en:"Presentation",he:"×צ×ת"},dataset:{en:"Data",he:"× ×ª×× ××"},other:{en:"Resource",he:"×××ר"}},oM={agritech:{en:"AgriTech",he:"××ר×××§"},water:{en:"Water",he:"×××"},energy:{en:"Energy",he:"×× ×¨×××"},maritime:{en:"Maritime",he:"×××"},tourism:{en:"Tourism-Tech",he:"ת××ר×ת"},ecosystem:{en:"Ecosystem",he:"××§×ס×ס××"}},oP={report:"#304DA2",guide:"#F68629",video:"#D71948",presentation:"#9B3EA4",dataset:"#4190D5",other:"#5A6884"},oA=(e,t)=>({upcoming:t.statusUpcoming,open:t.statusOpen,closed:t.statusClosed,past:t.statusPast,soon:t.statusSoon})[e]??e,oO=(e,t)=>(0,oT.eventDate)(e,t),oL=({events:e,emptyText:r,locale:n,card:i="row",opensWindows:s=!1})=>{let a=(0,aA.useField)(),o=(0,aA.useRecord)(),l=(0,aR.useSiteText)(n).cards,c=(0,aR.useSiteText)(n).lists,d=oE(e,e=>({eyebrow:(0,oT.eventWhen)(e,n),title:e.name,accent:oA(e.status,c),body:e.summary,image:e.image,facts:[e.online||e.location?{k:l.location,v:e.online?c.eventOnline:e.location}:null].filter(e=>null!==e),action:{label:c.eventDetails,href:(0,a0.detailHref)("events",e.slug,n)}}),s),u=(t,r)=>({key:`${t.slug}-${r}`,title:t.name,eyebrow:(0,oT.eventWhen)(t,n),text:t.summary,image:t.image,tag:oA(t.status,c),meta:[oA(t.status,c),t.online?c.eventOnline:t.location].filter(Boolean).join(" · "),cta:c.eventDetails,href:d.opens(t)?void 0:(0,a0.detailHref)("events",t.slug,n),onOpen:d.opener(t,e.indexOf(t)),edit:o("events",t.id)}),h=e.filter(e=>"past"!==e.status).map(u),p=e.filter(e=>"past"===e.status).map(u),m={collection:"events",label:"××ר××¢",defaults:{kind:"event",status:"upcoming"}};return(0,t.jsxs)("section",{className:"pad",children:[(0,t.jsx)("div",{className:"wrap",children:0===e.length?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"lead reveal",...a("emptyText","multiline"),children:r}),(0,t.jsx)(oS.CardList,{items:[],template:i,locale:n,add:m})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(oS.CardList,{items:h,template:i,locale:n,add:0===p.length?m:void 0}),p.length>0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h2",{className:"reveal",style:{marginTop:64},children:c.eventsPast}),(0,t.jsx)(oS.CardList,{items:p,template:i,locale:n,add:m})]}):null]})}),(0,t.jsx)(ob.PopupModal,{popup:d.popup,locale:n,onClose:d.close})]})},oF=({items:e,cta:r,locale:n,b:i,card:s="panel",opensWindows:a=!1})=>{let o=(0,aA.useRecord)(),l=(0,aR.useSiteText)(n).lists,c=e=>`${i}/contact?type=training&interest_kind=training&interest_label=${encodeURIComponent(e)}&interest_key=${encodeURIComponent(e)}`,d=oE(e,e=>({eyebrow:e.provider,title:e.name,body:[e.description,e.outcomes].filter(Boolean).join("\n\n"),facts:[e.audience?{k:l.trainingAudience,v:e.audience}:null,e.scope?{k:l.trainingScope,v:e.scope}:null].filter(e=>null!==e),action:r?{label:r,href:c(e.name)}:void 0}),a),u=e.map((e,t)=>({key:String(t),title:e.name,eyebrow:e.provider,text:e.description,tag:e.scope,tagColor:"#982491",meta:[e.audience?`${l.trainingAudience}: ${e.audience}`:"",e.scope?`${l.trainingScope}: ${e.scope}`:""].filter(Boolean).join(" · "),cta:r,href:d.opens(e)?void 0:c(e.name),onOpen:d.opener(e,t),edit:o("training-programs",e.id)}));return(0,t.jsxs)("section",{className:"pad",children:[(0,t.jsx)("div",{className:"wrap",children:(0,t.jsx)(oS.CardList,{items:u,template:s,locale:n,add:{collection:"training-programs",label:"ת××× ×ת ××שר×"}})}),(0,t.jsx)(ob.PopupModal,{popup:d.popup,locale:n,onClose:d.close})]})},oD=({items:e,cta:r,locale:n,b:i,opensWindows:s=!1,onlyGroups:a})=>{let o=(0,aA.useField)(),l=(0,aA.useRecord)(),c=(0,aR.useSiteText)(n).cards,d=(0,aR.useSiteText)(n).lists,u=e.filter(e=>"community"!==e.kind),h=e.filter(e=>"community"===e.kind),p=(a??"").split(",").map(e=>e.trim()).filter(Boolean),m=(0,oN.orderedGroupKeys)(h,u).filter(e=>0===p.length||p.includes(e)).map(e=>{let t=h.find(t=>t.communityType===e);return{key:e,record:t,name:(0,oN.groupLabel)(e,n,t?.name),bio:t?.bio??"",image:t?.image,href:`${i}/communities/${t?.slug||e}`,count:u.filter(t=>t.communityType===e).length}}),f=oE(m.map(e=>({...e,popup:e.record?.popup})),e=>({title:e.name,body:e.bio,image:e.image,facts:e.count>0?[{k:d.members,v:String(e.count)}]:void 0,action:{label:c.readMore,href:e.href}}),s);return(0,t.jsxs)("section",{className:"pad",children:[(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsxs)("div",{className:"grid2",children:[m.map((e,r)=>{let n,i=(0,t.jsxs)(t.Fragment,{children:[e.image?(0,t.jsx)("img",{className:"bg",src:e.image,alt:e.name,style:(0,aL.focalStyle)(e.image),loading:"lazy",decoding:"async"}):null,(0,t.jsxs)("div",{className:"in",children:[(0,t.jsx)("h2",{children:e.name}),e.bio?(0,t.jsx)("div",{className:"sub",children:e.bio}):null,e.count>0?(0,t.jsx)("span",{className:"coordTag",children:(n=e.count,`${n} ${d.members}`)}):null]})]}),s=(0,a2.v)({"--d":`${.06*r}s`}),a=f.opener({...e,popup:e.record?.popup},r);return a?(0,t.jsx)("button",{type:"button",className:"siteCard reveal",style:s,onClick:a,"aria-label":`${e.name} â ${c.readMore}`,...l("communities",e.record?.id),children:i},e.key):(0,t.jsx)("a",{className:"siteCard reveal",href:e.href,style:s,...l("communities",e.record?.id),children:i},e.key)}),(0,t.jsx)(o_.AddRecord,{collection:"communities",label:"×§××××",defaults:{kind:"community"}})]}
56),r?(0,t.jsx)("div",{className:"reveal",style:{marginTop:46},children:(0,t.jsxs)("a",{className:"btn",style:{textDecoration:"none"},href:`${i}/contact?type=community&interest_kind=area&interest_label=${encodeURIComponent("he"===n?"×§××××ת SEANOVATION":"SEANOVATION communities")}&interest_key=communities`,...o("cta"),children:[r," ",(0,t.jsx)("span",{className:"ar","aria-hidden":"true"})]})}):null]}),(0,t.jsx)(ob.PopupModal,{popup:f.popup,locale:n,onClose:f.close})]})},oR=[{key:"strategic",field:"catStrategic",en:"Strategic",he:"×ס×ר×××××"},{key:"government",field:"catGovernment",en:"Government & municipal",he:"×××©× ×רש×××ת"},{key:"academic",field:"catAcademic",en:"Academic & research",he:"××§×××× ×××קר"},{key:"industry",field:"catIndustry",en:"Industry",he:"תעש×××"},{key:"investor",field:"catInvestor",en:"Investors",he:"×שק××¢××"}],oB=({items:e,locale:r,opensWindows:n=!1,headings:i={},categories:s=[]})=>{let a=(0,aA.useRecord)(),o=(0,aA.useField)(),l=(0,aR.useSiteText)(r).cards,c=new Map(oR.map(e=>[e.key,e])),d=s.map(e=>c.get(e)).filter(e=>!!e),u=d.length>0?d:oR,h=e=>i[e.field]?.trim()||e[r],p=oE(e,e=>{let t;return{eyebrow:(t=c.get(e.category??""))?h(t):void 0,title:e.name,body:e.text,image:e.logo,action:e.website?{label:l.companyWebsite,href:e.website,external:!0}:void 0}},n);return(0,t.jsxs)("section",{className:"pad",children:[(0,t.jsxs)("div",{className:"wrap",children:[u.map(r=>{let n=e.filter(e=>e.category===r.key);return 0===n.length?null:(0,t.jsxs)("div",{style:{marginBottom:50},children:[(0,t.jsx)("h2",{className:"reveal",...o(r.field),children:h(r)}),(0,t.jsxs)("div",{className:"reveal",style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(190px, 1fr))",gap:14,marginTop:22},children:[n.map((r,n)=>{let i=(0,t.jsxs)(t.Fragment,{children:[r.logo?(0,t.jsx)("img",{src:r.logo,alt:r.name??"",style:{maxWidth:"100%",maxHeight:54,objectFit:"contain"},loading:"lazy",decoding:"async"}):(0,t.jsx)("strong",{style:{fontSize:17},children:r.name}),r.text?(0,t.jsx)("span",{style:{fontSize:13.5,lineHeight:1.55,color:"#5A6884"},children:r.text}):null]}),s={display:"flex",flexDirection:"column",gap:12,alignItems:"flex-start",justifyContent:"center",minHeight:132,padding:"22px 20px",border:"1px solid var(--line, #E4E8EF)",background:"#fff",textDecoration:"none",color:"inherit"},o=p.opener(r,e.indexOf(r));return o?(0,t.jsx)("button",{type:"button",onClick:o,"aria-label":`${r.name} â ${l.readMore}`,style:{...s,font:"inherit",textAlign:"start",cursor:"pointer"},...a("partners",r.id),children:i},n):r.website?(0,t.jsx)("a",{href:r.website,target:"_blank",rel:"noreferrer noopener",style:s,...a("partners",r.id),children:i},n):(0,t.jsx)("div",{style:s,...a("partners",r.id),children:i},n)}),(0,t.jsx)(o_.AddRecord,{collection:"partners",label:"ש×תף",defaults:{category:r.key}})]})]},r.key)}),0===e.length?(0,t.jsx)(o_.AddRecord,{collection:"partners",label:"ש×תף",defaults:{category:"strategic"},variant:"empty"}):null]}),(0,t.jsx)(ob.PopupModal,{popup:p.popup,locale:r,onClose:p.close})]})},oz=({items:e,locale:r,empty:n,card:i="row",opensWindows:s=!1})=>{let a=(0,aA.useField)(),o=(0,aA.useRecord)(),l=(0,aR.useSiteText)(r).lists,c={collection:"resources",label:"×××ר",defaults:{source:"link"}},d=oE(e,e=>({eyebrow:oO(e.date,r),title:e.title,accent:[oC[e.resourceType]?.[r]??e.resourceType,e.topic?oM[e.topic]?.[r]??e.topic:""].filter(Boolean).join(" · "),body:e.summary,action:e.href?{label:e.external?l.resourceOpen:l.resourceDownload,href:e.href,external:e.external}:void 0}),s);if(0===e.length)return(0,t.jsx)("section",{className:"pad",children:(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsx)("p",{className:"lead reveal",...a("emptyText"),children:n||("he"===r?"×¢×× ×× ×¤×רס×× ××× ×××ר××. ×קר××.":"Nothing has been published here yet. Soon.")}),(0,t.jsx)(oS.CardList,{items:[],template:i,locale:r,add:c})]})});let u=e.map((e,t)=>({key:String(t),title:e.title,eyebrow:oO(e.date,r),text:e.summary,tag:oC[e.resourceType]?.[r]??e.resourceType,tagColor:oP[e.resourceType]??"#5A6884",meta:[e.topic?oM[e.topic]?.[r]??e.topic:"","he"===e.language?"×¢×ר×ת":"en"===e.language?"English":""].filter(
56Boolean).join(" · "),cta:e.external?l.resourceOpen:l.resourceDownload,href:d.opens(e)?void 0:e.href,onOpen:d.opener(e,t),external:d.opens(e)?void 0:e.external,edit:o("resources",e.id)}));return(0,t.jsxs)("section",{className:"pad",children:[(0,t.jsx)("div",{className:"wrap",children:(0,t.jsx)(oS.CardList,{items:u,template:i,locale:r,add:c})}),(0,t.jsx)(ob.PopupModal,{popup:d.popup,locale:r,onClose:d.close})]})},oI={horizontalrule:(0,t.jsx)("hr",{})},o$={linebreak:(0,t.jsx)("br",{})};var oW=e.i(990033);let oH="Ö-ß¿ï¬-﷽ﹰ-ﻼ",oq="A-Za-zÃ-ÃÃ-öø-ʸÌ-Öà -á¿¿ââ°-ï¬ï¸-﹯﻽-ï¿¿";RegExp("^[^"+oq+"]*["+oH+"]"),RegExp("^[^"+oH+"]*["+oq+"]");let oY={paragraph:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children});return n?.length?(0,t.jsx)("p",{children:n}):(0,t.jsx)("p",{children:(0,t.jsx)("br",{})})},text:({node:e})=>{let r=e.text;return 1&e.format&&(r=(0,t.jsx)("strong",{children:r})),2&e.format&&(r=(0,t.jsx)("em",{children:r})),4&e.format&&(r=(0,t.jsx)("span",{style:{textDecoration:"line-through"},children:r})),8&e.format&&(r=(0,t.jsx)("span",{style:{textDecoration:"underline"},children:r})),16&e.format&&(r=(0,t.jsx)("code",{children:r})),32&e.format&&(r=(0,t.jsx)("sub",{children:r})),64&e.format&&(r=(0,t.jsx)("sup",{children:r})),r},...o$,quote:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children});return(0,t.jsx)("blockquote",{children:n})},table:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children});return(0,t.jsx)("div",{className:"lexical-table-container",children:(0,t.jsx)("table",{className:"lexical-table",style:{borderCollapse:"collapse"},children:(0,t.jsx)("tbody",{children:n})})})},tablecell:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children}),i=e.headerState>0?"th":"td",s=`lexical-table-cell-header-${e.headerState}`,a={backgroundColor:e.backgroundColor||void 0,border:"1px solid #ccc",padding:"8px"},o=e.colSpan&&e.colSpan>1?e.colSpan:void 0,l=e.rowSpan&&e.rowSpan>1?e.rowSpan:void 0;return(0,t.jsx)(i,{className:`lexical-table-cell ${s}`,colSpan:o,rowSpan:l,style:a,children:n})},tablerow:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children});return(0,t.jsx)("tr",{className:"lexical-table-row",children:n})},heading:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children}),i=e.tag;return(0,t.jsx)(i,{children:n})},...oI,list:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children}),i=e.tag;return(0,t.jsx)(i,{className:`list-${e?.listType}`,children:n})},listitem:({node:e,nodesToJSX:r,parent:n})=>{let i=e.children.some(e=>"list"===e.type),s=r({nodes:e.children});if(!("listType"in n)||n?.listType!=="check")return(0,t.jsx)("li",{className:`${i?"nestedListItem":""}`,style:i?{listStyleType:"none"}:void 0,value:e?.value,children:s});{let r=(0,oW.v4)();return(0,t.jsx)("li",{"aria-checked":e.checked?"true":"false",className:`list-item-checkbox${e.checked?" list-item-checkbox-checked":" list-item-checkbox-unchecked"}${i?" nestedListItem":""}`,role:"checkbox",style:{listStyleType:"none"},tabIndex:-1,value:e?.value,children:i?s:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("input",{checked:e.checked,id:r,readOnly:!0,type:"checkbox"}),(0,t.jsx)("label",{htmlFor:r,children:s}),(0,t.jsx)("br",{})]})})}},...(({internalDocToHref:e})=>({autolink:({node:e,nodesToJSX:r})=>{let n=r({nodes:e.children}),i=e.fields.newTab?"noopener noreferrer":void 0,s=e.fields.newTab?"_blank":void 0;return(0,t.jsx)("a",{href:e.fields.url,rel:i,target:s,children:n})},link:({node:r,nodesToJSX:n})=>{let i=n({nodes:r.children}),s=r.fields.newTab?"noopener noreferrer":void 0,a=r.fields.newTab?"_blank":void 0,o=r.fields.url??"";return"internal"===r.fields.linkType&&(e?o=e({linkNode:r}):(console.error("Lexical => JSX converter: Link converter: found internal link, but internalDocToHref is not provided"),o="#")),(0,t.jsx)("a",{href:o,rel:s,target:a,children:i})}}))({}),upload:({node:e})=>{if("object"!=typeof e.value)return null;let r=e.value,n=e.fields?.alt||r?.alt||"",i=r.url;if(!r.mimeType.startsWith("image"))return(0,t.jsx)("a",{href:i,rel:"noopener noreferrer",children:r.filename});if(!r.sizes||!Object.keys(r.sizes).length)return(0,t.jsx)("img",{alt:n,height:r.height,src:i,width:r.width});let s=[];for(let e in r.sizes){let n=r.sizes[e];if(!n||!n.width||!n.height||!n.mimeType||!n.filesize||!n.filename||!n.url)continue;let i=n?.url;s.push((0,t.jsx)("source",{media:`(max-width: ${n.width}px)`,srcSet:i,type:n.mimeType},e))}return s.push((0,t.jsx)("img",{alt:n,height:r?.height,src:i,width:r?.width},"image")),(0,t.jsx)("picture",{children:s})},tab:" "};function oX(e){return r=>{if(e.Component){let t={...r,isEditor:!1,isJSXConverter:!0};return e.Component(t)}if(e.Block){let t=r.node,n={childIndex:r.childIndex,converters:r.converters,formData:t.fields??{},isEditor:!1,isJSXConverter:!0,node:t,nodesToJSX:r.nodesToJSX,parent:r.parent};return s.default.createElement(e.Block,n)}if(e.html){let n={...r,isEditor:!1,isJSXConverter:!0},i="function"==typeof e.html?e.html(n):e.html;return(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:i}})}return null}}function oU({className:e,converters:r,data:n,disableContainer:i,disableIndent:a,disableTextAlign:o,nodeMap:l}){if(!n)return null;
56let c={};c=r?"function"==typeof r?r({defaultConverters:oY}):r:oY;let d=n&&!Array.isArray(n)&&"object"==typeof n&&"root"in n&&function({converters:e,data:r,disableIndent:n,disableTextAlign:i,nodeMap:a}){if(function(e){if(!e?.root?.children?.length)return!1;let t=!1;if(e?.root?.children?.length===1&&e?.root?.children[0]?.type==="paragraph"){let r=e?.root?.children[0];if(r?.children&&r?.children?.length!==0){if(r?.children?.length===1){let e=r?.children[0];e?.type!=="text"||e?.text?.length||(t=!0)}}else t=!0}return!t}(r)){let o=a?function(e){let r={};for(let[n,i]of Object.entries(e))if(i&&"object"==typeof i){if("blocks"===n){for(let[e,t]of(r.blocks={},Object.entries(i)))(t.Component||t.Block||t.html)&&(r.blocks[e]=oX(t));continue}if("inlineBlocks"===n){for(let[e,t]of(r.inlineBlocks={},Object.entries(i)))(t.Component||t.Block||t.html)&&(r.inlineBlocks[e]=oX(t));continue}(i.Component||i.html)&&(r[n]=function(e){return r=>{let n={...r,isEditor:!1,isJSXConverter:!0};if(e.Component)return e.Component(n);if(e.html){let r="function"==typeof e.html?e.html(n):e.html;return(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:r}})}return null}}(i))}return r}(a):void 0;return function e({converters:r,disableIndent:n,disableTextAlign:i,nodes:a,parent:o}){let l=r.unknown;return a.map((a,c)=>{let d;"block"===a.type?(d=r?.blocks?.[a?.fields?.blockType])||l||console.error(`Lexical => JSX converter: Blocks converter: found ${a?.fields?.blockType} block, but no converter is provided`):"inlineBlock"===a.type?(d=r?.inlineBlocks?.[a?.fields?.blockType])||l||console.error(`Lexical => JSX converter: Inline Blocks converter: found ${a?.fields?.blockType} inline block, but no converter is provided`):d=r[a.type];try{let u;!d&&l&&(d=l),u=d?"function"==typeof d?d({childIndex:c,converters:r,node:a,nodesToJSX:t=>e({converters:t.converters??r,disableIndent:t.disableIndent??n,disableTextAlign:t.disableTextAlign??i,nodes:t.nodes,parent:t.parent??{...a,parent:o}}),parent:o}):d:(0,t.jsx)("span",{children:"unknown node"},c);let h={};if(!i&&(!Array.isArray(i)||!i?.includes(a.type))&&"format"in a&&a.format)switch(a.format){case"center":h.textAlign="center";break;case"end":case"right":h.textAlign="right";break;case"justify":h.textAlign="justify";break;case"left":break;case"start":h.textAlign="left"}if(!n&&(!Array.isArray(n)||!n?.includes(a.type))&&"indent"in a&&a.indent&&"listitem"!==a.type&&(h.paddingInlineStart=`${40*Number(a.indent)}px`),s.default.isValidElement(u)){if(h.textAlign||h.paddingInlineStart){let e={...h,...u?.props?.style??{}};return s.default.cloneElement(u,{key:c,style:e})}return s.default.cloneElement(u,{key:c})}return u}catch(e){return console.error("Error converting lexical node to JSX:",e,"node:",a),null}}).filter(Boolean)}({converters:o?{...e,...o,blocks:{...e.blocks,...o.blocks},inlineBlocks:{...e.inlineBlocks,...o.inlineBlocks}}:e,disableIndent:n,disableTextAlign:i,nodes:r.root.children,parent:r.root})}return(0,t.jsx)(t.Fragment,{})}({converters:c,data:n,disableIndent:a,disableTextAlign:o,nodeMap:l});return i?(0,t.jsx)(t.Fragment,{children:d}):(0,t.jsx)("div",{className:e??"payload-richtext",children:d})}let oV=({body:e})=>{let r=(0,aA.useField)(),{enabled:n}=(0,aA.useEditState)(),i=!e||"object"!=typeof e;return i&&!n?null:(0,t.jsx)("section",{className:"pad",children:(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsx)("div",{className:"snProse reveal",...r("body","richText"),children:i?(0,t.jsx)("p",{className:"snProseEmpty",children:"×××¦× ××× ××× ××ת×× ×ת ×××§×¡× ×©× ××¢×××"}):(0,t.jsx)(oU,{data:e})}),(0,t.jsx)("style",{children:oG})]})})},oG=` 57/* The reading column, from the section's width setting. The default used to be 58 70ch, which on a wide screen is a narrow strip against one edge with the rest 59 of the window empty â "ש×××§×¡× ×תפרס ××× ×©×× ×תצ×××". It fills its container 60 now, and a section set to "narrow" or "normal" gets the reading column back. 61 See site/sectionDesign.ts. */ 62.snProse { max-width: var(--sn-measure, 100%); } 63.snProse h2 { 64 font: 700 24px/1.3 var(--dis, inherit); 65 margin: 38px 0 12px; 66} 67.snProse h2:first-child { margin-top: 0; } 68.snProse h3 { font-size: 19px; font-weight: 700; margin: 26px 0 8px; } 69.snProse p { font-size: 16.5px; line-height: 1.8; margin: 0 0 16px; color: var(--ink, #10182B); } 70.snProse ul, .snProse ol { margin: 0 0 18px; padding-inline-start: 22px; } 71.snProse li { font-size: 16.5px; line-height: 1.8; margin-bottom: 6px; } 72.snProse a { color: #E30B5F; } 73.snProseEmpty { font-size: 16.5px; color: #5A6884; font-style: italic; } 74`;var oJ=e.i(130149);let oK=({items:e,locale:r,eyebrow:n,title:i,text:s,style:a})=>{let o=(0,aA.useField)(),{enabled:l}=(0,aA.useEditState)(),c=e.map((e,t)=>({item:e,i:t,net:(0,oJ.socialNetwork)(e.network)})).filter(e=>e.net&&""!==(e.item.value??"").trim());if(0===c.length&&!l)return null;let d="icons"===a;return(0,t.jsx)("section",{className:"pad snSocialSection",children:(0,t.jsxs)("div",{className:"wrap",children:[n?(0,t.jsx)("div",{className:"eyebrow2 reveal",...o("eyebrow"),children:n}):null,i?(0,t.jsx)("h2",{className:"reveal",...o("title"),children:i}
74):null,s?(0,t.jsx)("p",{className:"lead reveal",...o("text","multiline"),children:s}):null,(0,t.jsxs)("div",{className:`snSocials reveal${d?" snSocialsIcons":""}`,children:[c.map(({item:e,i:r,net:n})=>{let i=(e.label??"").trim()||n.label;return(0,t.jsxs)("a",{className:"snSocial",href:n.href(e.value.trim()),target:"_blank",rel:"noreferrer noopener",style:{"--snSocial":n.color},"aria-label":d?i:void 0,...o(`items.${r}.label`),children:[(0,t.jsx)("span",{className:"snSocialMark","aria-hidden":"true",children:n.icon}),d?null:(0,t.jsx)("span",{className:"snSocialName",children:i})]},`${e.network}-${r}`)}),0===c.length?(0,t.jsx)("span",{className:"snSocialEmpty",children:"he"===r?"×¢×× ×× × ××¡×¤× ×¨×©×ª×ת. פת×× ×ת ××××ר×ת ×©× ××¡×§×©× ××× ×××ס××£.":"No networks yet. Open the section settings to add one."}):null]}),(0,t.jsx)("style",{children:oQ})]})})},oQ=` 75.snSocials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; } 76.snSocial { 77 display: inline-flex; align-items: center; gap: 11px; 78 padding: 12px 18px 12px 14px; 79 border: 1px solid var(--line, #E4E8EF); background: #fff; 80 color: var(--ink, #10182B); text-decoration: none; 81 font: 600 15px var(--txt, inherit); 82 transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; 83} 84/* Physical padding would put the tighter side on the wrong edge in Hebrew: the 85 mark sits at the start of the line in both languages. */ 86.snSocial { padding-inline: 14px 18px; } 87.snSocial:hover { 88 border-color: var(--snSocial, var(--act, #E30B5F)); 89 box-shadow: 0 14px 30px -22px rgba(16,24,43,.8); 90 transform: translateY(-1px); 91} 92.snSocial:focus-visible { outline: 3px solid var(--act, #E30B5F); outline-offset: 3px; } 93.snSocialMark { 94 flex: none; width: 34px; height: 34px; display: grid; place-items: center; 95 color: var(--snSocial, #3D4B66); 96} 97.snSocialMark svg { display: block; } 98.snSocialName { white-space: nowrap; } 99/* Marks alone: the name moves into the accessible name of the link, so a 100 screen reader still hears "WhatsApp" where the eye sees a green bubble. */ 101.snSocialsIcons .snSocial { padding: 9px; border-radius: 999px; } 102.snSocialsIcons .snSocialMark { width: 30px; height: 30px; } 103.snSocialEmpty { font-size: 15px; color: #5A6884; font-style: italic; } 104@media (prefers-reduced-motion: reduce) { .snSocial { transition: none; } } 105@media (max-width: 520px) { .snSocial { flex: 1 1 100%; } } 106`,oZ=({eyebrow:e,title:r,accent:i,lead:s,locale:a="en"})=>{let o=(0,aA.useField)();return(0,t.jsxs)("header",{className:"pageHero",children:[(0,t.jsx)("img",{className:"bgMark",src:"/brand/mark.png",alt:"","aria-hidden":"true"}),(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsx)("div",{className:"eyebrow2 reveal",...o("eyebrow"),children:e}),(0,t.jsx)("h1",{className:"reveal",style:(0,a2.v)({"--d":".06s"}),...o("title"),children:r}),(0,n.isTextForLocale)(i,a)?(0,t.jsx)("p",{className:"heAcc reveal",dir:"auto",style:(0,a2.v)({"--d":".12s"}),...o("accent"),children:i}):null,s?(0,t.jsx)("p",{className:"lead reveal",style:{...(0,a2.v)({"--d":".18s"}),marginTop:14},...o("lead","multiline"),children:s}):null]})]})},o0={maritime:{en:"Maritime",he:"×××"},agritech:{en:"AgriTech",he:"××ר×××§"},water:{en:"Water",he:"×××"},energy:{en:"Energy",he:"×× ×¨×××"},tourism:{en:"Tourism",he:"ת××ר×ת"}},o1=({sites:e,cta:r,b:n,locale:i="en",opensWindows:a=!0})=>{let o=(0,aA.useField)(),l=(0,aA.useRecord)(),c=(0,aA.useSlot)("pilot-sites"),[d,u]=(0,s.useState)(null),h=(0,aR.useSiteText)(i).cards,p=null===d?null:e[d]??null,m=e=>(0,ow.resolvePopup)(e.popup,{eyebrow:h.pilotSite,title:e.name,body:e.description,image:e.image,facts:[e.sector?{k:h.sector,v:o0[e.sector]?.[i]??e.sector}:null,e.infrastructure?{k:h.infrastructure,v:e.infrastructure}:null,e.location?{k:h.location,v:e.location}:null,e.coords?{k:h.coordinates,v:e.coords}:null].filter(e=>null!==e),action:{label:h.proposePilotHere,href:`${n}/contact?type=pilot&interest_kind=area&interest_label=${encodeURIComponent(e.name)}&interest_key=living-lab`}},{opensWindows:a});return(0,t.jsxs)("section",{className:"pad",children:[(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsxs)("div",{className:"grid2",children:[e.map((e,r)=>{let n=(0,t.jsxs)(t.Fragment,{children:[e.image?(0,t.jsx)("img",{className:"bg",src:e.image,alt:e.name??"",style:(0,aL.focalStyle)(e.image),loading:"lazy",decoding:"async",...c("image")}):null,(0,t.jsxs)("div",{className:"in",children:[(0,t.jsx)("h2",{...c("title"),children:e.name}),(0,t.jsx)("div",{className:"sub",...c("text"),children:e.sub}),e.coords?(0,t.jsx)("span",{className:"coordTag",children:e.coords}
106):null]})]}),i=(0,a2.v)({"--d":`${.07*r}s`});return null!==m(e)?(0,t.jsx)("button",{type:"button",className:"siteCard reveal",style:i,onClick:()=>u(r),"aria-label":e.name?`${e.name} â ${h.readMore}`:h.readMore,...l("pilot-sites",e.id),children:n},r):(0,t.jsx)("div",{className:"siteCard reveal",style:i,...l("pilot-sites",e.id),children:n},r)}),(0,t.jsx)(o_.AddRecord,{collection:"pilot-sites",label:"×תר פ×××××"})]}),r?(0,t.jsx)("div",{className:"reveal",style:{marginTop:46},children:(0,t.jsxs)("a",{className:"btn",style:{textDecoration:"none"},href:`${n}/contact?type=pilot&interest_kind=area&interest_label=Living%20Lab&interest_key=living-lab`,...o("cta"),children:[r," ",(0,t.jsx)("span",{className:"ar","aria-hidden":"true"})]})}):null]}),(0,t.jsx)(ob.PopupModal,{popup:p?m(p):null,locale:i,onClose:()=>u(null)})]})};var o2=e.i(792308);let o5=({posts:e,fallbackPosters:r,emptyText:n,locale:i,card:a="row",openAs:o="page"})=>{let l=(0,aA.useField)(),c=(0,aA.useRecord)(),{enabled:d}=(0,aA.useEditState)(),[u,h]=(0,s.useState)(null),p="he"===i?"×קר×××":"Read",m=null===u?null:e[u]??null,f={collection:"posts",label:"×ת××",defaults:{_status:"published"}},g=e=>(0,ow.resolvePopup)(e.popup,{eyebrow:e.date,title:e.title,body:e.excerpt,image:e.image,action:e.href?{label:p,href:e.href,external:e.external}:void 0},{opensWindows:"modal"===o&&!e.external});if(0===e.length)return(0,t.jsx)("section",{className:"pad",children:(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsx)("p",{className:"lead reveal",...l("emptyText","multiline"),children:n}),(0,t.jsx)(oS.CardList,{items:[],template:a,locale:i,add:f}),d?null:(0,t.jsx)(og,{intro:{eyebrow:"",title:""},posters:r,bare:!0,locale:i})]})});let v=e.map((e,t)=>{let r=null!==g(e);return{key:String(t),title:e.title,eyebrow:e.date,text:e.excerpt,image:e.image,href:r?void 0:e.href,onOpen:r?()=>h(t):void 0,external:e.external,cta:p,edit:c("posts",e.id)}});return(0,t.jsx)("section",{className:"pad",children:(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsx)(oS.CardList,{items:v,template:a,locale:i,add:f}),(0,t.jsx)(ob.PopupModal,{popup:m?g(m):null,locale:i,onClose:()=>h(null)}),(0,t.jsx)("style",{children:o3})]})})},o3=` 107.newsRowMore { all: unset; cursor: pointer; } 108.newsRowMore:focus-visible { outline: 3px solid var(--act, #E30B5F); outline-offset: 3px; } 109`,o6={open:{en:"Open",he:"פת×× ××רש××"},soon:{en:"Opening soon",he:"× ×¤×ª× ×קר××"},closed:{en:"Closed",he:"ס××ר"}},o8=({programs:e,locale:r,b:n,card:i="panel",opensWindows:s=!1})=>{let a=(0,aA.useRecord)(),o="he"===r?"×פר××× ××××ש×":"Details & apply",l="he"===r?"×§×× ××¢×":"Audience",c="he"===r?"×ª× ×× ×¡×£":"Eligibility",d=e=>e.slug?(0,a0.detailHref)("programs",e.slug,r):`${n}/contact?type=venture&interest_kind=program&interest_label=${encodeURIComponent(e.name)}&interest_key=${encodeURIComponent(e.name)}`,u=oE(e,e=>({eyebrow:e.stage,title:e.name,accent:o6[e.status]?.[r],body:e.description,facts:[e.audience?{k:l,v:e.audience}:null,e.eligibility?{k:c,v:e.eligibility}:null].filter(e=>null!==e),action:{label:o,href:d(e)}}),s),h=e.map((e,t)=>({key:String(t),title:e.name,eyebrow:e.stage,text:e.description,tag:e.tag,tagColor:e.tagColor,meta:[e.audience?`${l}: ${e.audience}`:"",e.eligibility?`${c}: ${e.eligibility}`:""].filter(Boolean).join(" · "),cta:o,href:u.opens(e)?void 0:d(e),onOpen:u.opener(e,t),edit:a("programs",e.id)}));return(0,t.jsxs)("section",{className:"pad",children:[(0,t.jsx)("div",{className:"wrap",children:(0,t.jsx)(oS.CardList,{items:h,template:i,locale:r,add:{collection:"programs",label:"ת××× ×ת",defaults:{status:"open"}}})}),(0,t.jsx)(ob.PopupModal,{popup:u.popup,locale:r,onClose:u.close})]})};var o4=e.i(976205);let o9=({items:e,locale:r})=>{let n=(0,aA.useField)(),{enabled:i}=(0,aA.useEditState)();return(0,t.jsx)("section",{className:"pad",children:(0,t.jsx)("div",{className:"wrap",children:e.map((e,s)=>{let a=!!e.image||i;return(0,t.jsxs)("div",{className:`caprow${e.flip?" flip":""}${a?"":" caprowSolo"} reveal`,style:{marginTop:64*(0!==s)},children:[(0,t.jsxs)("div",{className:"capcopy",children:[(0,t.jsx)("h3",{...n(`items.${s}.heading`),children:e.heading}),(0,t.jsx)("p",{...n(`items.${s}.text`,"multiline"),children:e.text})]}),a?(0,t.jsx)("div",{className:"capimg",children:(0,t.jsx)(ox,{path:`items.${s}.image`,url:e.image,locale:r})}):null]},s)})})})},o7=e=>"string"==typeof e?e:"",le=e=>Array.isArray(e)?e:[],lt=e=>le(e).map(e=>o7(e?.label)),lr=aL.sizedUrl,ln=(e,t)=>({url:(0,aL.sizedUrl)(e,t),alt:e&&"object"==typeof e?o7(e.alt):""}),li=(e,t,r)=>(0,a0.resolveTarget)(e,t,r)??{href:"",external:!1},ls=(e,t,r)=>({label:o7(e.moreLabel),...li(o7(e.moreTarget),t,r)}),la=e=>String(e+1).padStart(3,"0"),lo="/media-video/hero.mp4?v=6",ll="/media-video/hero-poster.webp?v=6",lc=({sections:e,locale:r,feeds:n,film:i,editMode:a=!1,motion:o="full"})=>{let l="he"===r?"/he":"",c=s.default.useMemo(()=>new Set(n.pages),[n.pages]),d=s.default.useMemo(()=>a?n:(0,o4.namedFeeds)(n),[n,a]);return(0,t.jsx)(aK,{forms:d.leadForms,locale:r,children:e.map((e,n)=>{if(e?.hidden&&!a)return null;let u=String(e?.id??n),h=lh(e,{locale:r,b:l,feeds:d,film:i,motion:o,pages:c,editMode:a}),p=(0,a1.sectionDesign)(e);return a?(0,t.jsx)(aA.EditProvider,{value:{enabled:!0,blockId:u},children:(0,t.jsx)("div",{"data-sn-block":u,"data-sn-type":o7(e?.blockType),"data-sn-index":n,"data-sn-hidden":e?.hidden?"1":void 0,dir:p?.dir,style:p?.style??{display:"contents"},children:h??(0,t.jsx)(ld,{blockType:o7(e?.blockType)})})},u):h?p?(0,t.jsx)("div",{dir:p.dir,style:p.style,children:h},u):(0,t.jsx)(s.default.Fragment,{children:h},u):null})})},ld=({blockType:e})=>(0,t.jsx)("section",{className:"pad",children:(0,t.jsxs)("div",{className:"wrap",children:[(0,t.jsxs)("div",{className:"snEmptyBand",children:[(0,t.jsx)("b",{children:"××¡×§×©× ××× ×× ×צ×× ××× ××××"}),(0,t.jsxs)("span",{children:["film"===e?"××¡×¨× ×× ××× ×× ×× ××¢××× ×××ת ×××× ×× ×¦×××××× ××¢××× ×××.":"××× ×× ×¢×××× ×ª××× ××צ×× ××¢××× ×××."," ","×פשר ×××××§ ×××ª× ××סר×× ×©×××¢××, ×× ××ש××ר ×××ª× ××× â ××× ×× ××פ××¢ ×××קר×× ××תר."]})]}),(0,t.jsx)("style",{children:lu})]})}),lu=` 110.snEmptyBand { 111 display: flex; flex-direction: column; gap: 6px;
112 padding: 34px 26px; 113 border: 2px dashed rgba(120,175,225,.75); 114 background: rgba(35,111,174,.06); 115 color: #10182B; 116} 117.snEmptyBand b { font: 800 16px/1.3 Heebo, system-ui, sans-serif; } 118.snEmptyBand span { font: 400 14px/1.6 Heebo, system-ui, sans-serif; color: #46536E; } 119`,lh=(e,r)=>{let{locale:n,b:i,feeds:s,film:a,motion:o,pages:l}=r;switch(o7(e?.blockType)){case"hero":return(0,t.jsx)(oc,{hero:{eyebrow:o7(e.eyebrow),line1:o7(e.line1),line2:o7(e.line2),accent:o7(e.accent),support:o7(e.support),ctaPrimary:o7(e.ctaPrimary),ctaSecondary:o7(e.ctaSecondary)},facets:le(e.facets).map(e=>({color:o7(e.color)||"#F68629",down:!!e.down,label:o7(e.label),sub:o7(e.sub)})),b:i,locale:n,video:lr(e.video)||lo,poster:lr(e.poster)||ll,ctaPrimaryHref:li(o7(e.ctaPrimaryTarget),n,l).href,ctaSecondaryHref:li(o7(e.ctaSecondaryTarget),n,l).href});case"page-header":return(0,t.jsx)(oZ,{eyebrow:o7(e.eyebrow),title:o7(e.title),accent:o7(e.accent),lead:o7(e.lead),locale:n});case"pillars":{let[r,s]=(e=>{let[t="",r=""]=o7(e).split("\n");return[t,r]})(e.title);return(0,t.jsx)(ov,{intro:{eyebrow:o7(e.eyebrow),title1:r,title2:s},pillars:le(e.items).map(e=>({color:o7(e.color)||"#F68629",down:!!e.down,title:o7(e.title),text:o7(e.text),link:o7(e.link),linkTo:o7(e.linkTo),...li(o7(e.linkTo),n,l)})),b:i})}case"journey":return(0,t.jsx)(oh,{intro:{eyebrow:o7(e.eyebrow),title:o7(e.title),lead:o7(e.lead)},stages:le(e.items).map(e=>({num:o7(e.num),name:o7(e.name),tag:o7(e.tag),tagColor:o7(e.tagColor)||"#F68629",text:o7(e.text)})),more:ls(e,n,l),locale:n});case"impact":{let r="shared"===o7(e.source),i=r?s.impact:le(e.items);return(0,t.jsx)(ou,{intro:{eyebrow:o7(e.eyebrow),title:o7(e.title)},metrics:i.map(e=>({klass:o7(e.klass)||"m-or",prefix:o7(e.prefix)||void 0,value:"number"==typeof e.value?e.value:0,suffix:o7(e.suffix)||void 0,label:o7(e.label),...li(o7(e.linkTo),n,l)})),fields:!r,dark:"dark"===o7(e.theme),animate:"full"===o})}case"film":{if(!a)return null;let r=le(e.captions).map(e=>({k:o7(e.k),title:o7(e.title),text:o7(e.text)}));if(0===r.length)return null;return(0,t.jsx)(aO,{frameCount:a.frameCount,framePath:e=>a.framePathTemplate.replace("%03d",la(e)),frameCountMobile:a.frameCountMobile,framePathMobile:a.framePathMobileTemplate?e=>a.framePathMobileTemplate.replace("%03d",la(e)):void 0,fallbackVideo:a.fallbackVideo,poster:a.poster,captions:r})}case"marquee":return(0,t.jsx)(oa,{part1:o7(e.part1),accentWord:o7(e.accentWord),hebrew:o7(e.hebrew),part2:o7(e.part2),locale:n});case"capabilities":return(0,t.jsx)(a8,{intro:{eyebrow:o7(e.eyebrow),title:o7(e.title)},rows:le(e.items).map(e=>({image:ln(e.image,"large"),coord:o7(e.coord),title:o7(e.title),accent:o7(e.accent),text:o7(e.text),list:le(e.list).map(e=>({k:o7(e.k),v:o7(e.v)})),link:o7(e.link),linkTo:o7(e.linkTo),...li(o7(e.linkTo),n,l),flip:!!e.flip})),more:ls(e,n,l),locale:n});case"portfolio":return(0,t.jsx)(oy,{intro:{eyebrow:o7(e.eyebrow),title:o7(e.title),chips:lt(e.chips)},companies:le(e.items).map(e=>({tint:o7(e.tint)||"t-agri",color:o7(e.color)||"#F68629",cat:o7(e.cat),name:o7(e.name),text:o7(e.text),link:o7(e.link),linkTo:o7(e.linkTo),...li(o7(e.linkTo),n,l),image:lr(e.image)?ln(e.image,"small"):void 0})),b:i,more:ls(e,n,l),locale:n});case"living-lab":return(0,t.jsx)(om,{lab:{eyebrow:o7(e.eyebrow),title:o7(e.title),image:ln(e.image,"large"),heading:o7(e.heading),accent:o7(e.accent),chips:lt(e.chips),cta:o7(e.cta)},b:i,more:ls(e,n,l),locale:n});case"news-posters":return(0,t.jsx)(og,{intro:{eyebrow:o7(e.eyebrow),title:o7(e.title)},posters:le(e.items).map(e=>({cat:o7(e.cat),catColor:o7(e.catColor)||"#D71948",date:o7(e.date),line1:o7(e.line1),line2:o7(e.line2),accent:o7(e.accent)})),more:ls(e,n,l),locale:n});case"audiences":return(0,t.jsx)(a5,{intro:{eyebrow:o7(e.eyebrow),title:o7(e.title)},audiences:le(e.items).map(e=>({who:o7(e.who),title:o7(e.title),cta:o7(e.cta),type:o7(e.type)||"contact"})),b:i});case"lead-form":return(0,t.jsx)(op,{form:s.leadForms[o7(e.form)]??s.generalLeadForm,formTarget:o7(e.form),lead:{eyebrow:o7(e.eyebrow),title:o7(e.title),text:o7(e.text),accent:o7(e.accent),nameLabel:o7(e.nameLabel),namePh:o7(e.namePh),emailLabel:o7(e.emailLabel),emailPh:o7(e.emailPh),companyLabel:o7(e.companyLabel),companyPh:o7(e.companyPh),consent:o7(e.consent),send:o7(e.send)},locale:n});case"program-list":{let r=(0,o4.listOptions)(e,"program-list");return(0,t.jsx)(o8,{programs:(0,o4.applyListOptions)(s.programs,r),locale:n,b:i,card:r.card,opensWindows:(0,ow.opensWindows)(e.openAs,"page")})}case"company-grid":{let r=(0,o4.listOptions)(e,"company-grid","onlySector");return(0,t.jsx)(oj,{items:(0,o4.applyListOptions)(s.companies,r,(e,t)=>e.sector===t),locale:n,opensWindows:(0,ow.opensWindows)(e.openAs,"modal")})}case"pilot-site-grid":{let r=(0,o4.listOptions)(e,"pilot-site-grid");return(0,t.jsx)(o1,{sites:(0,o4.applyListOptions)(s.pilotSites,r),cta:o7(e.cta),b:i,locale:n,opensWindows:(0,ow.opensWindows)(e.openAs,"modal")})}case"post-list":{let r=(0,o4.listOptions)(e,"post-list");return(0,t.jsx)(o5,{posts:(0,o4.applyListOptions)(s.posts,r),fallbackPosters:s.fallbackPosters,emptyText:o7(e.emptyText),locale:n,card:r.card,openAs:"modal"===o7(e.openAs)?"modal":"page"})}case"event-list":{let r=(0,o4.listOptions)(e,"event-list","onlyKind");return(0,t.jsx)(oL,{events:(0,o4.applyListOptions)(s.events,r,(e,t)=>e.kind===t),emptyText:o7(e.emptyText),locale:n,card:r.card,opensWindows:(0,ow.opensWindows)(e.openAs,"page")})}case"training-list":{let r=(0,o4.listOptions)(e,"training-list");return(0,t.jsx)(oF,{items:(0,o4.applyListOptions)(s.training,r),cta:o7(e.cta),locale:n,b:i,card:r.card,opensWindows:(0,ow.opensWindows)(e.openAs,"page")})}case"resource-list":{let r=(0,o4.listOptions)(e,"resource-list","onlyT
119ype");return(0,t.jsx)(oz,{items:(0,o4.applyListOptions)(s.resources,r,(e,t)=>e.resourceType===t),locale:n,empty:o7(e.emptyText),card:r.card,opensWindows:(0,ow.opensWindows)(e.openAs,"page")})}case"community-list":{let r=(0,o4.listOptions)(e,"community-list");return(0,t.jsx)(oD,{items:(0,o4.applyListOptions)(s.communities,r),cta:o7(e.cta),locale:n,b:i,opensWindows:(0,ow.opensWindows)(e.openAs,"page"),onlyGroups:o7(e.onlyGroups)})}case"people":{let r="portfolio"===o7(e.source);return(0,t.jsx)(o2.PeopleSection,{people:r?s.founders:s.communities,group:r?"":o7(e.group)||((0,o4.isOwnList)(e)?"":"team"),picked:r?[]:(0,o4.pickedIds)(e.pick),order:(0,o4.pickedIds)(e.cardOrder),own:!r&&(0,o4.isOwnList)(e),locale:n,eyebrow:o7(e.eyebrow),title:o7(e.title),emptyText:o7(e.emptyText),opensWindows:(0,ow.opensWindows)(e.openAs,"modal")})}case"partner-grid":{let r=(0,o4.listOptions)(e,"partner-grid","onlyCategory");return(0,t.jsx)(oB,{items:(0,o4.applyListOptions)(s.partners,r,(e,t)=>e.category===t),locale:n,opensWindows:(0,ow.opensWindows)(e.openAs,"page"),headings:{catStrategic:o7(e.catStrategic),catGovernment:o7(e.catGovernment),catAcademic:o7(e.catAcademic),catIndustry:o7(e.catIndustry),catInvestor:o7(e.catInvestor)},categories:(0,o4.pickedIds)(e.categories)})}case"social-links":return(0,t.jsx)(oK,{items:le(e.items).map(e=>({network:o7(e?.network),value:o7(e?.value),label:o7(e?.label)})),locale:n,eyebrow:o7(e.eyebrow),title:o7(e.title),text:o7(e.text),style:o7(e.style)});case"prose":return(0,t.jsx)(oV,{body:e.body});case"text-image-rows":return(0,t.jsx)(o9,{items:le(e.items).map(e=>({heading:o7(e.heading),text:o7(e.text),image:lr(e.image,"large"),flip:!!e.flip})),locale:n});default:return null}};var lp=e.i(167700),lm="1.3.25";function lf(e,t,r){return Math.max(e,Math.min(t,r))}var lg=class{isRunning=!1;value=0;from=0;to=0;currentTime=0;lerp;duration;easing;onUpdate;advance(e){if(!this.isRunning)return;let t=!1;if(this.duration&&this.easing){this.currentTime+=e;let r=lf(0,this.currentTime/this.duration,1),n=(t=r>=1)?1:this.easing(r);this.value=this.from+(this.to-this.from)*n}else if(this.lerp){var r,n,i,s;this.value=(r=this.value,n=this.to,i=60*this.lerp,(1-(s=1-Math.exp(-i*e)))*r+s*n),Math.round(this.value)===Math.round(this.to)&&(this.value=this.to,t=!0)}else this.value=this.to,t=!0;t&&this.stop(),this.onUpdate?.(this.value,t)}stop(){this.isRunning=!1}fromTo(e,t,{lerp:r,duration:n,easing:i,onStart:s,onUpdate:a}){this.from=this.value=e,this.to=t,this.lerp=r,this.duration=n,this.easing=i,this.currentTime=0,this.isRunning=!0,s?.(),this.onUpdate=a}},lv=class{width=0;height=0;scrollHeight=0;scrollWidth=0;debouncedResize;wrapperResizeObserver;contentResizeObserver;constructor(e,t,{autoResize:r=!0,debounce:n=250}={}){this.wrapper=e,this.content=t,r&&(this.debouncedResize=function(e,t){let r;return function(...n){clearTimeout(r),r=setTimeout(()=>{r=void 0,e.apply(this,n)},t)}}(this.resize,n),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){this.wrapperResizeObserver?.disconnect(),this.contentResizeObserver?.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize)}resize=()=>{this.onWrapperResize(),this.onContentResize()};onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)};onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)};get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}},lx=class{events={};emit(e,...t){let r=this.events[e]||[];for(let e=0,n=r.length;e<n;e++)r[e]?.(...t)}on(e,t){return this.events[e]?this.events[e].push(t):this.events[e]=[t],()=>{this.events[e]=this.events[e]?.filter(e=>t!==e)}}off(e,t){this.events[e]=this.events[e]?.filter(e=>t!==e)}destroy(){this.events={}}};let ly=100/6,lb={passive:!1};function lw(e,t){return 1===e?ly:2===e?t:1}var l_=class{touchStart={x:0,y:0};lastDelta={x:0,y:0};window={width:0,height:0};emitter=new lx;constructor(e,t={wheelMultiplier:1,touchMultiplier:1}){this.element=e,this.options=t,window.addEventListener("resize",this.onWindowResize),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,lb),this.element.addEventListener("touchstart",this.onTouchStart,lb),this.element.addEventListener("touchmove",this.onTouchMove,lb),this.element.addEventListener("touchend",this.onTouchEnd,lb)}on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize),this.element.removeEventListener("wheel",this.onWheel,lb),this.element.removeEventListener("touchstart",this.onTouchStart,lb),this.element.removeEventListener("touchmove",this.onTouchMove,lb),this.element.removeEventListener("touchend",this.onTouchEnd,lb)}onTouchStart=e=>{let{clientX:t,clientY:r}=e.targetTouches?e.targetTouches[0]:e;this.touchStart.x=t,this.touchStart.y=r,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:e})};onTouchMove=e=>{let{clientX:t,clientY:r}=e.targetTouches?e.targetTouches[0]:e,n=-(t-this.touchStart.x)*this.options.touchMultiplier,i=-(r-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=t,this.touchStart.y=r,this.lastDelta={x:n,y:i},this.emitter.emit("scroll",{deltaX:n,deltaY:i,event:e})};onTouchEnd=e=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:e})};onWheel=e=>{let{deltaX:t,deltaY:r,deltaMode:n}=e,i=lw(n,this.window.width),s=lw(n,this.window.height);t*=i,r*=s,t*=this.options.wheelMultiplier,r*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:t,deltaY:r,event:e})};onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}}};let lk=e=>Math.min(1,1.001-2**(-10*e));var lj=class{_isScrolling=!1;_isStopped=!1;_isLocked=!1;_preventNextNativeScrollEvent=!1;_resetVelocityTimeout=null;_rafId=null;_isDraggingSelection=!1;isTouching;isIos;time=0;userData={};lastVelocity=0;velocity=0;direction=0;options;targetScroll;animatedScroll;animate=new lg;emitter=new lx;dimensions;virtualScroll;constructor({wrapper:e=window,content:t=document.documentElement,eventsTarget:r=e,smoothWheel:n=!0,syncTouch:i=!1,syncTouchLerp:s=.075,touchInertiaExponent:a=1.7,duration:o,easing:l,lerp:c=.
1191,infinite:d=!1,orientation:u="vertical",gestureOrientation:h="horizontal"===u?"both":"vertical",touchMultiplier:p=1,wheelMultiplier:m=1,autoResize:f=!0,prevent:g,virtualScroll:v,overscroll:x=!0,autoRaf:y=!1,anchors:b=!1,autoToggle:w=!1,allowNestedScroll:_=!1,__experimental__naiveDimensions:k=!1,naiveDimensions:j=k,stopInertiaOnNavigate:T=!1}={}){window.lenisVersion=lm,window.lenis||(window.lenis={}),window.lenis.version=lm,"horizontal"===u&&(window.lenis.horizontal=!0),!0===i&&(window.lenis.touch=!0),this.isIos=/(iPad|iPhone|iPod)/g.test(navigator.userAgent),e&&e!==document.documentElement||(e=window),"number"==typeof o&&"function"!=typeof l?l=lk:"function"==typeof l&&"number"!=typeof o&&(o=1),this.options={wrapper:e,content:t,eventsTarget:r,smoothWheel:n,syncTouch:i,syncTouchLerp:s,touchInertiaExponent:a,duration:o,easing:l,lerp:c,infinite:d,gestureOrientation:h,orientation:u,touchMultiplier:p,wheelMultiplier:m,autoResize:f,prevent:g,virtualScroll:v,overscroll:x,autoRaf:y,anchors:b,autoToggle:w,allowNestedScroll:_,naiveDimensions:j,stopInertiaOnNavigate:T},this.dimensions=new lv(e,t,{autoResize:f}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll),this.options.wrapper.addEventListener("scrollend",this.onScrollEnd,{capture:!0}),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.addEventListener("click",this.onClick),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown),this.virtualScroll=new l_(r,{touchMultiplier:p,wheelMultiplier:m}),this.virtualScroll.on("scroll",this.onVirtualScroll),this.options.autoToggle&&(this.checkOverflow(),this.rootElement.addEventListener("transitionend",this.onTransitionEnd)),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll),this.options.wrapper.removeEventListener("scrollend",this.onScrollEnd,{capture:!0}),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown),(this.options.anchors||this.options.stopInertiaOnNavigate)&&this.options.wrapper.removeEventListener("click",this.onClick),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName(),this._rafId&&cancelAnimationFrame(this._rafId)}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}onScrollEnd=e=>{e instanceof CustomEvent||"smooth"!==this.isScrolling&&!1!==this.isScrolling||e.stopPropagation()};dispatchScrollendEvent=()=>{this.options.wrapper.dispatchEvent(new CustomEvent("scrollend",{bubbles:this.options.wrapper===window,detail:{lenisScrollEnd:!0}}))};get overflow(){let e=this.isHorizontal?"overflow-x":"overflow-y";return getComputedStyle(this.rootElement)[e]}checkOverflow(){["hidden","clip"].includes(this.overflow)?this.internalStop():this.internalStart()}onTransitionEnd=e=>{e.propertyName?.includes("overflow")&&e.target===this.rootElement&&this.checkOverflow()};setScroll(e){this.isHorizontal?this.options.wrapper.scrollTo({left:e,behavior:"instant"}):this.options.wrapper.scrollTo({top:e,behavior:"instant"})}onClick=e=>{let t=e.composedPath().filter(e=>e instanceof HTMLAnchorElement&&e.href).map(e=>new URL(e.href)),r=new URL(window.location.href);if(this.options.anchors){let e=t.find(e=>r.host===e.host&&r.pathname===e.pathname&&e.hash);if(e){let t="object"==typeof this.options.anchors&&this.options.anchors?this.options.anchors:void 0,r=decodeURIComponent(e.hash);this.scrollTo(r,t);return}}if(this.options.stopInertiaOnNavigate&&t.some(e=>r.host===e.host&&r.pathname!==e.pathname))return void this.reset()};onPointerDown=e=>{1===e.button&&this.reset()};isTouchOnSelectionHandle(e){let t=window.getSelection();if(!t||t.isCollapsed||0===t.rangeCount)return!1;let r=e.targetTouches[0]??e.changedTouches[0];if(!r)return!1;let n=t.getRangeAt(0).getClientRects();if(0===n.length)return!1;let i=n[0],s=n[n.length-1],a=40>=Math.hypot(r.clientX-i.left,r.clientY-i.top),o=40>=Math.hypot(r.clientX-s.right,r.clientY-s.bottom);return a||o}onVirtualScroll=e=>{if("function"==typeof this.options.virtualScroll&&!1===this.options.virtualScroll(e))return;let{deltaX:t,deltaY:r,event:n}=e;if(this.emitter.emit("virtual-scroll",{deltaX:t,deltaY:r,event:n}),n.ctrlKey||n.lenisStopPropagation)return;let i=n.type.includes("touch"),s=n.type.includes("wheel");if(i&&this.isIos&&("touchstart"===n.type&&(this._isDraggingSelection=this.isTouchOnSelectionHandle(n)),this._isDraggingSelection)){"touchend"===n.type&&(this._isDraggingSelection=!1);return}this.isTouching="touchstart"===n.type||"touchmove"===n.type;let a=0===t&&0===r;if(this.options.syncTouch&&i&&"touchstart"===n.type&&a&&!this.isStopped&&!this.isLocked)return void this.reset();let o="vertical"===this.options.gestureOrientation&&0===r||"horizontal"===this.options.gestureOrientation&&0===t;if(a||o)return;let l=n.composedPath();l=l.slice(0,l.indexOf(this.rootElement));let c=this.options.prevent,d=Math.abs(t)>=Math.abs(r)?"horizontal":"vertical";if(l.find(e=>e instanceof HTMLElement&&("function"==typeof c&&c?.(e)||e.hasAttribute?.("data-lenis-prevent")||"vertical"===d&&e.hasAttribute?.("data-lenis-prevent-vertical")||"horizontal"===d&&e.hasAttribute?.("data-lenis-prevent-horizontal")||i&&e.hasAttribute?.("data-lenis-prevent-touch")||s&&e.hasAttribute?.("data-lenis-prevent-wheel")||this.options.allowNestedScroll&&this.hasNestedScroll(e,{deltaX:t,deltaY:r}))))return;if(this.isStopped||this.isLocked){n.cancelable&&n.preventDefault();return}if(!(this.options.syncTouch&&i||this.options.smoothWheel&&s)){this.isScrolling="native",this.animate.stop(),n.lenisStopPropagation=!0;return}let u=r;"both"===this.options.gestureOrientation?u=Math.abs(r)>Math.abs(t)?r:t:"horizontal"===this.options.gestureOrientation&&(u=t),(!this.options.overscroll||this.options.infinite||this.options.wrapper!==window&&this.limit>0&&(this.animatedScroll>0&&this.animatedScroll<this.limit||0===this.animatedScroll&&r>0||this.animatedScroll===this.limit&&r<0))&&(n.lenisStopPropagation=!0),n.cancelable&&n.preventDefault();let h=i&&this.options.syncTouch,p=i&&"touchend"===n.type;p&&(u=Math.sign(u)*Math.abs(this.velocity)**this.options.touchInertiaExponent),this.scrollTo(this.targetScroll+u,{programmatic:!1,...h?{lerp:p?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}})};resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit
119()}emit(){this.emitter.emit("scroll",this)}onNativeScroll=()=>{if(null!==this._resetVelocityTimeout&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent){this._preventNextNativeScrollEvent=!1;return}if(!1===this.isScrolling||"native"===this.isScrolling){let e=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-e,this.direction=Math.sign(this.animatedScroll-e),this.isStopped||(this.isScrolling="native"),this.emit(),0!==this.velocity&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}};reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){if(this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.removeProperty("overflow");this.internalStart()}}internalStart(){this.isStopped&&(this.reset(),this.isStopped=!1,this.emit())}stop(){if(!this.isStopped){if(this.options.autoToggle)return void this.rootElement.style.setProperty("overflow","clip");this.internalStop()}}internalStop(){this.isStopped||(this.reset(),this.isStopped=!0,this.emit())}raf=e=>{let t=e-(this.time||e);this.time=e,this.animate.advance(.001*t),this.options.autoRaf&&(this._rafId=requestAnimationFrame(this.raf))};scrollTo(e,{offset:t=0,immediate:r=!1,lock:n=!1,programmatic:i=!0,lerp:s=i?this.options.lerp:void 0,duration:a=i?this.options.duration:void 0,easing:o=i?this.options.easing:void 0,onStart:l,onComplete:c,force:d=!1,userData:u}={}){if((this.isStopped||this.isLocked)&&!d)return;let h=e,p=t;if("string"==typeof h&&["top","left","start","#"].includes(h))h=0;else if("string"==typeof h&&["bottom","right","end"].includes(h))h=this.limit;else{let e=null;if("string"==typeof h?(e=h.startsWith("#")?document.getElementById(h.slice(1)):document.querySelector(h))||("#top"===h?h=0:console.warn("Lenis: Target not found",h)):h instanceof HTMLElement&&h?.nodeType&&(e=h),e){if(this.options.wrapper!==window){let e=this.rootElement.getBoundingClientRect();p-=this.isHorizontal?e.left:e.top}let t=e.getBoundingClientRect(),r=getComputedStyle(e),n=this.isHorizontal?Number.parseFloat(r.scrollMarginLeft):Number.parseFloat(r.scrollMarginTop),i=getComputedStyle(this.rootElement),s=this.isHorizontal?Number.parseFloat(i.scrollPaddingLeft):Number.parseFloat(i.scrollPaddingTop);h=(this.isHorizontal?t.left:t.top)+this.animatedScroll-(Number.isNaN(n)?0:n)-(Number.isNaN(s)?0:s)}}if("number"==typeof h){if(h+=p,this.options.infinite){if(i){this.targetScroll=this.animatedScroll=this.scroll;let e=h-this.animatedScroll;e>this.limit/2?h-=this.limit:e<-this.limit/2&&(h+=this.limit)}}else h=lf(0,h,this.limit);if(h===this.targetScroll){l?.(this),c?.(this);return}if(this.userData=u??{},r){this.animatedScroll=this.targetScroll=h,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),c?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()});return}i||(this.targetScroll=h),"number"==typeof a&&"function"!=typeof o?o=lk:"function"==typeof o&&"number"!=typeof a&&(a=1),this.animate.fromTo(this.animatedScroll,h,{duration:a,easing:o,lerp:s,onStart:()=>{n&&(this.isLocked=!0),this.isScrolling="smooth",l?.(this)},onUpdate:(e,t)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=e-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=e,this.setScroll(this.scroll),i&&(this.targetScroll=e),t||this.emit(),t&&(this.reset(),this.emit(),c?.(this),this.userData={},requestAnimationFrame(()=>{this.dispatchScrollendEvent()}),this.preventNextNativeScrollEvent())}})}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}hasNestedScroll(e,{deltaX:t,deltaY:r}){let n,i,s,a,o,l,c,d,u,h,p,m,f,g,v,x,y=Date.now();e._lenis||(e._lenis={});let b=e._lenis;if(y-(b.time??0)>2e3){b.time=Date.now();let t=window.getComputedStyle(e);
119if(b.computedStyle=t,n=["auto","overlay","scroll"].includes(t.overflowX),i=["auto","overlay","scroll"].includes(t.overflowY),o=["auto"].includes(t.overscrollBehaviorX),l=["auto"].includes(t.overscrollBehaviorY),b.hasOverflowX=n,b.hasOverflowY=i,!(n||i))return!1;c=e.scrollWidth,d=e.scrollHeight,u=e.clientWidth,h=e.clientHeight,s=c>u,a=d>h,b.isScrollableX=s,b.isScrollableY=a,b.scrollWidth=c,b.scrollHeight=d,b.clientWidth=u,b.clientHeight=h,b.hasOverscrollBehaviorX=o,b.hasOverscrollBehaviorY=l}else s=b.isScrollableX,a=b.isScrollableY,n=b.hasOverflowX,i=b.hasOverflowY,c=b.scrollWidth,d=b.scrollHeight,u=b.clientWidth,h=b.clientHeight,o=b.hasOverscrollBehaviorX,l=b.hasOverscrollBehaviorY;if(!(n&&s||i&&a))return!1;let w=Math.abs(t)>=Math.abs(r)?"horizontal":"vertical";if("horizontal"===w)p=Math.round(e.scrollLeft),m=c-u,f=t,g=n,v=s,x=o;else{if("vertical"!==w)return!1;p=Math.round(e.scrollTop),m=d-h,f=r,g=i,v=a,x=l}return!x&&(p>=m||p<=0)||(f>0?p<m:p>0)&&g&&v}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return"horizontal"===this.options.orientation}get actualScroll(){let e=this.options.wrapper;return this.isHorizontal?e.scrollX??e.scrollLeft:e.scrollY??e.scrollTop}get scroll(){var e;return this.options.infinite?(this.animatedScroll%(e=this.limit)+e)%e:this.animatedScroll}get progress(){return 0===this.limit?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(e){this._isScrolling!==e&&(this._isScrolling=e,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(e){this._isStopped!==e&&(this._isStopped=e,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked!==e&&(this._isLocked=e,this.updateClassName())}get isSmooth(){return"smooth"===this.isScrolling}get className(){let e="lenis";return this.options.autoToggle&&(e+=" lenis-autoToggle"),this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),"smooth"===this.isScrolling&&(e+=" lenis-smooth"),e}updateClassName(){this.cleanUpClassName(),this.className.split(" ").forEach(e=>{this.rootElement.classList.add(e)})}cleanUpClassName(){for(let e of Array.from(this.rootElement.classList))("lenis"===e||e.startsWith("lenis-"))&&this.rootElement.classList.remove(e)}};let lT=({editMode:e=!1,revision:t})=>((0,s.useEffect)(()=>{let t=new AbortController,{signal:r}=t,n=document.querySelector(".nav"),i=document.querySelector(".hero");document.documentElement.classList.add("cine-js");let s=window.matchMedia("(prefers-reduced-motion: reduce)").matches,a=(e,t=!1)=>{let r=+(e.dataset.to||0),n=e.dataset.suf||"";if(t){e.textContent=r.toLocaleString("en-US")+n;return}let i=null,s=t=>{i||(i=t);let a=Math.min((t-i)/1500,1);e.textContent=Math.round(r*(a=1-Math.pow(1-a,3))).toLocaleString("en-US")+(1===a?n:""),a<1&&requestAnimationFrame(s)};requestAnimationFrame(s)};if(e)return document.querySelector(".curtain")?.remove(),document.querySelectorAll(".count").forEach(e=>a(e,!0)),nB.set(".reveal",{clearProps:"all",opacity:1,y:0}),()=>{t.abort(),document.documentElement.classList.remove("cine-js")};if(!n||!i)return;let o=0;if(window.addEventListener("scroll",()=>{let e=window.scrollY;n.classList.toggle("scrolled",e>30),n.classList.toggle("hide",e>160&&e>o+4),(e<o-2||e<=160)&&n.classList.remove("hide"),o=e},{passive:!0,signal:r}),s)return document.querySelector(".curtain")?.remove(),document.querySelectorAll(".count").forEach(e=>a(e,!0)),()=>{t.abort(),document.documentElement.classList.remove("cine-js")};let l=["#F68629","#D71948","#982491","#9B3EA4","#4190D5","#304DA2"],c=[];for(let e=0;e<7;e++){let t=document.createElement("span");t.className="mini tri";let r=7+11*Math.random();t.style.cssText=`left:${50+46*Math.random()}%;bottom:-6%;width:${r}px;height:${r}px;background:${l[e%6]};--dur:${16+16*Math.random()}s;--del:${-(18*Math.random())}s;--rot:${140+200*Math.random()}deg;--op:${.1+.16*Math.random()}`,i.appendChild(t),c.push(t)}let d=document.querySelector(".curtain");if(d)if(performance.now()>1200)d.remove();else{let e=d.querySelector("img");nB.set(e,{scale:.92,opacity:0}
119),nB.timeline({defaults:{ease:"power2.out"}}).to(e,{opacity:1,scale:1,duration:.5}).to(e,{opacity:0,scale:1.06,duration:.25},"+=0.12").to(d,{yPercent:-100,duration:.6,ease:"power4.inOut"},"-=0.08").set(d,{display:"none"})}document.querySelectorAll("[data-mag]").forEach(e=>{e.addEventListener("click",e=>{for(let t=0;t<9;t++){let r=document.createElement("span");r.className="burst";let n=6+10*Math.random();r.style.cssText=`left:${e.clientX}px;top:${e.clientY}px;width:${n}px;height:${.9*n}px;background:${l[t%6]}`,document.body.appendChild(r),nB.fromTo(r,{x:0,y:0,rotation:0,opacity:1},{x:(Math.random()-.5)*190,y:(Math.random()-.72)*170,rotation:(Math.random()-.5)*400,scale:.35,opacity:0,duration:.75,ease:"power2.out",onComplete:()=>r.remove()})}},{signal:r})}),document.querySelectorAll("[data-mag]").forEach(e=>{e.addEventListener("mousemove",t=>{let r=e.getBoundingClientRect();e.style.transform=`translate(${(t.clientX-r.left-r.width/2)*.28}px,${(t.clientY-r.top-r.height/2)*.38}px)`},{signal:r}),e.addEventListener("mouseleave",()=>e.style.transform="",{signal:r})}),document.querySelectorAll(".tilt").forEach(e=>{e.addEventListener("mousemove",t=>{let r=e.getBoundingClientRect(),n=-(((t.clientY-r.top)/r.height-.5)*6),i=((t.clientX-r.left)/r.width-.5)*6;e.style.transform=`perspective(900px) rotateX(${n}deg) rotateY(${i}deg) translateY(-3px)`},{signal:r}),e.addEventListener("mouseleave",()=>e.style.transform="",{signal:r})});let u=document.createElement("div");u.className="curDot",document.body.appendChild(u);let h=0,p=0,m=-100,f=-100;window.addEventListener("mousemove",e=>{h=e.clientX,p=e.clientY,u.classList.add("on");let t=e.target;u.classList.toggle("grow",!!t.closest("a,button,.tilt,.chip,input,label"))},{passive:!0,signal:r}),nB.registerPlugin(a_),a_.config({ignoreMobileResize:!0});let g=new lj({lerp:.11});window.__lenis=g,g.on("scroll",a_.update);let v=e=>{g.raf(1e3*e),m+=(h-m)*.22,f+=(p-f)*.22,u.style.transform=`translate(${m-6}px,${f-6}px)`};nB.ticker.add(v),nB.ticker.lagSmoothing(0);let x=window.innerWidth>960,y="rtl"===document.documentElement.dir,b=e=>{let t=e.getBoundingClientRect();return t.top<window.innerHeight&&t.bottom>0},w=nB.context(()=>{document.querySelectorAll(".reveal").forEach(e=>{if(b(e))return;let t=parseFloat(e.style.getPropertyValue("--d"))||0;if("H2"===e.tagName){let r=(e.dataset.split||(e.dataset.split="1",Array.from(e.childNodes).forEach(t=>{if(t.nodeType!==Node.TEXT_NODE||!t.textContent?.trim())return;let r=document.createDocumentFragment();t.textContent.split(/(\s+)/).forEach(e=>{if(e)if(/^\s+$/.test(e))r.appendChild(document.createTextNode(e));else{let t=document.createElement("span");t.className="wl";let n=document.createElement("span");n.className="w",n.textContent=e,t.appendChild(n),r.appendChild(t)}}),e.replaceChild(r,t)})),Array.from(e.querySelectorAll(".w")));nB.from(r,{yPercent:115,duration:.85,ease:"power3.out",stagger:.055,delay:t,scrollTrigger:{trigger:e,start:"top 88%"}});return}nB.fromTo(e,{y:36,opacity:0},{y:0,opacity:1,duration:.95,ease:"power3.out",delay:t,scrollTrigger:{trigger:e,start:"top 88%"}})}),nB.to(".markHero",{scale:1.42,opacity:0,ease:"none",scrollTrigger:{trigger:".hero",start:"top top",end:"bottom 32%",scrub:!0}});let e=document.querySelector(".sculptBox");if(e){let t=[];for(let e=0;e<10;e++){let r=document.createElement("span");r.className="shard";let n=12+22*Math.random();r.style.width=`${n}px`,r.style.height=`${.9*n}px`,r.style.background=l[e%6],i.appendChild(r),t.push(r)}let r=()=>{let r=e.getBoundingClientRect(),n=i.getBoundingClientRect(),s=r.left-n.left+r.width/2,a=r.top-n.top+r.height/2;t.forEach(e=>{e.style.left=`${s}px`,e.style.top=`${a}px`})};r();let n=nB.timeline({scrollTrigger:{trigger:i,start:"top top",end:"bottom 28%",scrub:!0,onRefresh:r,onUpdate:e=>{let r=e.progress,n=r<.06?r/.06:r>.7?Math.max(0,(1-r)/.3):1;t.forEach(e=>e.style.opacity=String(n))}}});t.forEach(e=>{n.to(e,{x:(Math.random()-.5)*window.innerWidth*.7,y:(.55*Math.random()+.12)*window.innerHeight,rotation:(Math.random()-.5)*720,ease:"none"},0)})}let t=document.querySelector(".pf");t&&nB.to(t,{top:"100%",ease:"none",scrollTrigger:{trigger:document.documentElement,start:"top top",end:"bottom bottom",scrub:!0}}
119),document.querySelectorAll(".prail .dots i").forEach(e=>{let t=document.querySelector(e.dataset.t||"");t&&(a_.create({trigger:t,start:"top 55%",end:"bottom 45%",onToggle:t=>e.classList.toggle("on",t.isActive)}),e.addEventListener("click",()=>g.scrollTo(t,{offset:-40}),{signal:r}))});let n=document.querySelector(".aud");if(n&&x){let e=document.createElement("i");e.className="audGlow",n.appendChild(e);let t=["#F68629","#D71948","#4190D5","#9B3EA4"];n.querySelectorAll(".audBox").forEach((i,s)=>{i.addEventListener("mouseenter",()=>{n.classList.add("hovering"),i.classList.add("hot"),e.style.setProperty("--ag",t[s%4]),e.style.transform=`translateX(${i.offsetLeft}px)`,e.style.width=`${i.offsetWidth}px`,e.style.opacity="1"},{signal:r}),i.addEventListener("mouseleave",()=>i.classList.remove("hot"),{signal:r})}),n.addEventListener("mouseleave",()=>{n.classList.remove("hovering"),e.style.opacity="0"},{signal:r})}let s=document.querySelector(".lab");if(s&&x){let e=document.createElement("i");e.className="spot";let t=s.querySelector(".inner");t&&s.insertBefore(e,t),s.addEventListener("mousemove",e=>{let t=s.getBoundingClientRect();s.style.setProperty("--mx",`${(e.clientX-t.left)/t.width*100}%`),s.style.setProperty("--my",`${(e.clientY-t.top)/t.height*100}%`)},{signal:r})}nB.to(".heroCopy",{y:-70,opacity:.12,ease:"none",scrollTrigger:{trigger:".hero",start:"top top",end:"bottom 40%",scrub:!0}}),document.querySelectorAll(".capimg img, .lab img.bg").forEach(e=>{nB.fromTo(e,{yPercent:-7},{yPercent:7,ease:"none",scrollTrigger:{trigger:e.parentElement,start:"top bottom",end:"bottom top",scrub:!0}})}),document.querySelectorAll(".pillar").forEach((e,t)=>{nB.fromTo(e,{"--capw":"0px"},{"--capw":"44px",duration:.8,ease:"power2.out",delay:.09*t,scrollTrigger:{trigger:".pillars",start:"top 80%"}});let r=e.querySelector(".fic");r&&nB.from(r,{y:16,rotate:-14,opacity:0,duration:.7,ease:"back.out(1.6)",delay:.1+.09*t,scrollTrigger:{trigger:".pillars",start:"top 80%"}})}),nB.fromTo(".rail",{scaleX:0},{scaleX:1,transformOrigin:y?"100% 50%":"0% 50%",ease:"none",scrollTrigger:{trigger:".journey",start:"top 82%",end:"top 42%",scrub:!0}}),nB.from(".rail i",{scale:0,opacity:0,stagger:.16,duration:.5,ease:"back.out(2)",scrollTrigger:{trigger:".journey",start:"top 55%"}}),nB.from(".metric b",{y:30,opacity:0,stagger:.09,duration:.8,ease:"power3.out",scrollTrigger:{trigger:".metrics",start:"top 82%"}}),document.querySelectorAll(".capimg, .co .thumb").forEach(e=>{nB.fromTo(e,{clipPath:"inset(0 0 100% 0)"},{clipPath:"inset(0 0 0% 0)",duration:1.05,ease:"power4.out",scrollTrigger:{trigger:e,start:"top 82%"}})}),document.querySelectorAll(".coordTag").forEach(e=>{nB.from(e,{y:14,opacity:0,duration:.6,delay:.3,ease:"power2.out",scrollTrigger:{trigger:e.parentElement,start:"top 75%"}})}),document.querySelectorAll(".caplist").forEach(e=>{nB.from(e.children,{x:y?26:-26,opacity:0,stagger:.09,duration:.6,ease:"power2.out",scrollTrigger:{trigger:e,start:"top 86%"}})}),nB.from(".co",{rotationY:y?-10:10,transformPerspective:900,stagger:.08,duration:1,ease:"power3.out",scrollTrigger:{trigger:".cards3",start:"top 85%"}}),nB.fromTo(".co .cimg",{scale:1.16},{scale:1,duration:1.5,ease:"power2.out",stagger:.08,scrollTrigger:{trigger:".cards3",start:"top 85%"}}),nB.fromTo(".lab",{clipPath:"inset(5% 7% 5% 7% round 28px)",scale:.985},{clipPath:"inset(0% 0% 0% 0% round 12px)",scale:1,ease:"none",scrollTrigger:{trigger:".lab",start:"top 88%",end:"top 34%",scrub:!0}}),nB.from("#contact .field",{y:26,opacity:0,stagger:.09,duration:.7,ease:"power2.out",scrollTrigger:{trigger:"#contact form",start:"top 86%"}}),nB.fromTo("#contact .field input",{clipPath:y?"inset(0 0 0 100%)":"inset(0 100% 0 0)"},{clipPath:"inset(0 0% 0 0%)",stagger:.09,duration:.8,ease:"power3.out",scrollTrigger:{trigger:"#contact form",start:"top 86%"}}),nB.fromTo(".wm",{y:70},{y:-14,ease:"none",scrollTrigger:{trigger:"footer",start:"top bottom",end:"bottom bottom",scrub:!0}}),nB.from(".fGrid > div",{y:30,opacity:0,stagger:.09,duration:.8,ease:"power3.out",scrollTrigger:{trigger:"footer",start:"top 88%"}}
119),document.querySelectorAll(".filters, .labChips").forEach(e=>{nB.from(e.children,{y:14,opacity:0,stagger:.05,duration:.5,ease:"power2.out",scrollTrigger:{trigger:e,start:"top 88%"}})});let o=document.querySelector(".mtrack");if(o){let e=nB.to(o,{xPercent:-50,ease:"none",duration:26,repeat:-1});a_.create({trigger:".marquee",start:"top bottom",end:"bottom top",onUpdate:t=>{let r=nB.utils.clamp(-1,1,t.getVelocity()/1400);nB.to(e,{timeScale:1+3.2*r,duration:.4,overwrite:!0})}})}nB.from(".poster",{y:46,opacity:0,stagger:.12,duration:.9,ease:"power3.out",scrollTrigger:{trigger:".posters",start:"top 86%"}}),document.querySelectorAll(".count").forEach(e=>{b(e)||a_.create({trigger:e,start:"top 85%",once:!0,onEnter:()=>a(e)})})});return document.fonts?.ready?.then(()=>a_.refresh()).catch(()=>{}),window.addEventListener("load",()=>a_.refresh(),{once:!0,signal:r}),()=>{t.abort(),w.revert(),nB.ticker.remove(v),g.destroy(),delete window.__lenis,u.remove(),c.forEach(e=>e.remove()),document.documentElement.classList.remove("cine-js")}},[e,t]),null);var lS=e.i(566496);e.s(["SitePageView",0,({sections:e,locale:s,chrome:a,siteChrome:o,siteText:l,feeds:c,footer:d,social:u={},langHref:h,film:p,editMode:m=!1,revision:f})=>{let g=(0,n.base)(s),v=i.NAV_LABELS[s],x=l??lS.SITE_TEXT_DEFAULTS[s],y=o?.header??(0,r.normalizeHeader)({},s),b=o?.footer??(0,r.normalizeFooter)({...d,...u},s),w=(0,t.jsx)(lc,{sections:e,locale:s,feeds:c,film:p,editMode:m,motion:"home"===a?"full":"light"});return"home"===a?(0,t.jsxs)(aR.SiteTextProvider,{value:x,children:[m?null:(0,t.jsx)(or,{}),(0,t.jsx)(on,{}),(0,t.jsx)(oi,{locale:s,b:g,editMode:m,header:y,langSwitch:{label:v.lang,href:h},apply:y.apply.label}),(0,t.jsx)("main",{id:"main",children:w}),(0,t.jsx)(oo,{footer:d,locale:s,b:g,social:u,content:b,editMode:m}),(0,t.jsx)(lT,{editMode:m,revision:f})]}):(0,t.jsx)(aR.SiteTextProvider,{value:x,children:(0,t.jsxs)("div",{className:"ipage",children:[(0,t.jsx)(lp.InnerFx,{}),(0,t.jsx)(lp.SiteNav,{locale:s,langHref:h,header:y,editMode:m}),(0,t.jsx)("main",{id:"main",children:w}),(0,t.jsx)(lp.SiteFooter,{locale:s,tag:d.tag,accent:d.accent,social:u,content:b,editMode:m})]})})}],966795)},976617,e=>{"use strict";var t=e.i(395712),r=e.i(236393),n=e.i(207617),i=e.i(966795),s=e.i(881577),a=e.i(363014),o=e.i(660647);let l={hero:"פת×× ×¨×ש×","page-header":"××תרת ××¢×××",pillars:"×¢×××× ×פע×××ת",journey:"×סע ×ת××× ××ת",impact:"××¡×¤×¨× ×××פק×",film:"××¡×¨× ×× ×××",marquee:"רצ××¢× × ×¢×",capabilities:"ת××× × ××¢××××ת",portfolio:"××ר×ת ××××××ת","living-lab":"פ×× × Living Lab","news-posters":"פ×ס×ר××",audiences:"קר×××ת ×פע×××","lead-form":"××פס ×צ×רת קשר","program-list":"רש××ת ת××× ××ת","company-grid":"רשת ××ר×ת","pilot-site-grid":"××ª×¨× ×¤×××××","post-list":"רש××ת ××ש×ת","text-image-rows":"××§×¡× ×ת××× ×","event-list":"רש××ת ××ר××¢××","training-list":"רש××ת ××שר×ת","resource-list":"×ר×× ××××¢","community-list":"רש××ת ×§××××ת",people:"×× ×©××","partner-grid":"רשת ש×תפ××",prose:"××§×¡× ×ר××","site-header":"× ×××× ××תר","site-footer":"פ××ר ××תר"},c=e=>{window.parent?.postMessage({sn:a.SN,...e},"*")},d=()=>{let[e,n]=(0,r.useState)([]),[i,a]=(0,r.useState)(null),[d,h]=(0,r.useState)(null),[p,m]=(0,r.useState)(null),f=(0,r.useRef)(null),g=(0,r.useRef)(null);(0,r.useEffect)(()=>{f.current=p},[p]);let v=(0,r.useRef)(null),x=(0,r.useRef)(void 0),y=(0,r.useRef)(void 0),b=(0,r.useCallback)(()=>{void 0!==y.current&&window.clearTimeout(y.current),y.current=void 0,x.current=void 0},[]),w=(0,r.useCallback)(e=>{b(),v.current=e,a(e)},[b]);(0,r.useEffect)(()=>{v.current=i},[i]);let _=(0,r.useCallback)(()=>{let e=[];document.querySelectorAll("[data-sn-block]").forEach(t=>{let r=(e=>{let t=Array.from(e.children),r=1/0,n=1/0,i=-1/0,s=-1/0;for(let e of t){let t=e.getBoundingClientRect();(0!==t.width||0!==t.height)&&(r=Math.min(r,t.top),n=Math.min(n,t.left),i=Math.max(i,t.right),s=Math.max(s,t.bottom))}return r===1/0?null:{top:r+window.scrollY,left:n+window.scrollX,width:i-n,height:s-r}})(t);r&&e.push({id:t.dataset.snBlock??"",type:t.dataset.snType??"",hidden:"1"===t.dataset.snHidden,global:"header"===t.dataset.snGlobal||"footer"===t.dataset.snGlobal?t.dataset.snGlobal:null,box:r})}),n(e)},[]);(0,r.useLayoutEffect)(()=>{let e=window.requestAnimationFrame(_),t=new ResizeObserver(()=>
119{_(),c({type:"height",height:document.body.scrollHeight})});t.observe(document.body),window.addEventListener("resize",_),window.addEventListener("scroll",_,{passive:!0});let r=window.setTimeout(_,600);return document.fonts?.ready?.then(_).catch(()=>{}),()=>{t.disconnect(),window.removeEventListener("resize",_),window.removeEventListener("scroll",_),window.cancelAnimationFrame(e),window.clearTimeout(r)}},[_]),(0,r.useEffect)(()=>{let e=e=>{if(f.current)return;let t=e.target instanceof Element?e.target:null;if(t?.closest("[data-sn-ui]"))return void b();let r=t?.closest("[data-sn-block]")??null,n=r?.dataset.snBlock??null,i=v.current;if(i===n)return void b();if(x.current!==n){if(b(),null===i)return void w(n);x.current=n,y.current=window.setTimeout(()=>w(n),180)}};return document.addEventListener("mousemove",e,{passive:!0}),()=>{document.removeEventListener("mousemove",e),b()}},[b,w]);let k=(d&&e.some(e=>e.id===d)?d:null)??i,j=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=k?document.querySelector(`[data-sn-block="${k}"]`):null;if(j.current!==e)return j.current?.classList.remove("snLit"),e?.classList.add("snLit"),j.current=e,()=>{e?.classList.remove("snLit")}},[k]);let T=(0,r.useRef)(null),S=(0,r.useRef)(null),N=(0,r.useRef)(!1);(0,r.useEffect)(()=>{let e=e=>{let[t,...r]=(e.dataset.snRecord??"").split(":");return{collection:t??"",id:r.join(":")}},t=t=>{let r=t.closest("[data-sn-block]"),{collection:n}=e(t);return r&&n?Array.from(r.querySelectorAll("[data-sn-record]")).filter(t=>e(t).collection===n):[]},r=()=>{S.current?.el.classList.remove("snDropBefore","snDropAfter","snDropRow"),S.current=null},n=e=>{let t=e.closest("[data-sn-block]");return{id:t?.dataset.snBlock??"",type:t?.dataset.snType??""}},i=e=>{let t=e?.closest("[data-sn-record]");return t&&(0,s.isReorderableSection)(n(t).type)?t:null},a=e=>{let r=i(e.target);r&&!(t(r).length<2)&&(T.current=r,N.current=!0,r.classList.add("snDragging"),e.dataTransfer?.setData("text/plain",r.dataset.snRecord??""),e.dataTransfer&&(e.dataTransfer.effectAllowed="move"))},o=n=>{let s=T.current;if(!s)return;let a=i(n.target);if(!a||a===s||e(a).collection!==e(s).collection)return;n.preventDefault(),n.dataTransfer&&(n.dataTransfer.dropEffect="move");let o=a.getBoundingClientRect(),l=t(s).some(e=>e!==a&&4>Math.abs(e.getBoundingClientRect().top-o.top)),c="rtl"===getComputedStyle(a).direction,d=l?c?n.clientX<o.left+o.width/2:n.clientX>o.left+o.width/2:n.clientY>o.top+o.height/2;(S.current?.el!==a||S.current.after!==d)&&(r(),a.classList.add(d?"snDropAfter":"snDropBefore"),l||a.classList.add("snDropRow"),S.current={el:a,after:d})},l=r=>{let i=T.current,s=S.current;if(!i||!s)return;r.preventDefault();let a=t(i),o=a.filter(e=>e!==i),l=o.indexOf(s.el)+ +!!s.after,d=[...o.slice(0,l),i,...o.slice(l)].map(t=>e(t).id).filter(Boolean),{collection:u}=e(i),{id:h}=n(i);!d.every((t,r)=>t===e(a[r]).id)&&h&&u&&d.length===a.length&&c({type:"reorderRecords",blockId:h,collection:u,ids:d})},d=()=>{T.current?.classList.remove("snDragging"),T.current=null,r(),window.setTimeout(()=>{N.current=!1},0)};return document.addEventListener("dragstart",a),document.addEventListener("dragover",o),document.addEventListener("drop",l),document.addEventListener("dragend",d),()=>{document.removeEventListener("dragstart",a),document.removeEventListener("dragover",o),document.removeEventListener("drop",l),document.removeEventListener("dragend",d),d()}},[]),(0,r.useEffect)(()=>{let e=Array.from(document.querySelectorAll("[data-sn-record]")),t=[];for(let r of e){let e=r.closest("[data-sn-block]")?.dataset.snType??"";(0,s.isReorderableSection)(e)&&(r.setAttribute("draggable","true"),r.classList.add("snDraggable"),t.push(r))}return()=>{for(let e of t)e.removeAttribute("draggable"),e.classList.remove("snDraggable")}},[e]);let E=(0,r.useCallback)(e=>{let t,r=e.closest("[data-sn-block]"),n=e.dataset.snField;if(!r||!n)return;let i=e.dataset.snKind??"text",s=r.dataset.snBlock??"",a="header"===r.dataset.snGlobal||"footer"===r.dataset.snGlobal?r.dataset.snGlobal:null;if("image"===i){if(a)return;c({type:"pickImage",blockId:s,path:n});return}if("richText"===i){if(a)return;c({type:"openRichText",blockId:s,path:n});return}let o=getComputedStyle(e);m({blockId:s,path:n,kind:i,page:e.closest("[data-sn-page]")?.getAttribute("data-sn-page")??void 0,box:{top:(t=e.getBoundingClientRect()).top+window.scrollY,left:t.left+window.scrollX,width:t.width,height:t.height},value:"placeholder"===i?e.getAttribute("placeholder")??"":(e.textContent??"").trim(),global:a,sectionDir:r.getAttribute("dir")??"",style:{fontFamily:o.fontFamily,fontSize:o.fontSize,fontWeight:o.fontWeight,fontStyle:o.fontStyle,lineHeight:o.lineHeight,letterSpacing:o.letterSpacing,textTransform:o.textTransform,textAlign:o.textAlign,color:o.color,direction:o.direction,background:(e=>{let t=e.match(/-?\d+(\.\d+)?/g);if(!t||t.length<3)return!1;let[r,n,i]=t.slice(0,3).map(e=>{let t=Math.min(255,Math.max(0,parseFloat(e)))/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}
119);return .2126*r+.7152*n+.0722*i>.4})(o.color)?"#101725":"#ffffff"}}),h(s),c({type:"select",blockId:s})},[]);(0,r.useEffect)(()=>{let e=e=>{let t=e.target;if(!t||t.closest("[data-sn-ui]"))return;t.closest("a")&&(e.preventDefault(),e.stopPropagation());let r=t.closest("[data-sn-field]");if(r){e.preventDefault(),e.stopPropagation(),E(r);return}let n=t.closest("[data-sn-form]");if(n){e.preventDefault(),e.stopPropagation(),c({type:"openForm",formId:n.dataset.snForm??"",blockId:n.closest("[data-sn-block]")?.dataset.snBlock??""});return}let i=t.closest("[data-sn-slot]")?.dataset.snSlot,s=t.closest("[data-sn-add]");if(s){e.preventDefault(),e.stopPropagation();let t=s.dataset.snAdd??"",r={};try{r=JSON.parse(s.dataset.snAddDefaults||"{}")}catch{}t&&c({type:"createRecord",collection:t,defaults:r,label:s.dataset.snAddLabel??"",field:i,blockId:s.closest("[data-sn-block]")?.dataset.snBlock});return}let a=t.closest("[data-sn-record]");if(a&&N.current){e.preventDefault(),e.stopPropagation();return}if(a){let[t,...r]=(a.dataset.snRecord??"").split(":"),n=r.join(":");if(t&&n){e.preventDefault(),e.stopPropagation(),c({type:"openRecord",collection:t,recordId:n,field:i});return}}let o=t.closest("[data-sn-block]");if(o){let e=o.dataset.snBlock??null;h(e),w(e),c({type:"select",blockId:e});return}h(null),w(null),m(null),c({type:"select",blockId:null})};return document.addEventListener("click",e,!0),()=>document.removeEventListener("click",e,!0)},[w,E]),(0,r.useEffect)(()=>{let e=e=>{if("Enter"!==e.key&&" "!==e.key)return;let t=e.target instanceof Element?e.target.closest("[data-sn-field]"):null;t&&(e.preventDefault(),e.stopPropagation(),E(t))};return document.addEventListener("keydown",e,!0),()=>document.removeEventListener("keydown",e,!0)},[E]),(0,r.useEffect)(()=>{let e=g.current;e&&p&&(e.focus(),e.setSelectionRange(e.value.length,e.value.length),e.style.height="auto",e.style.height=`${Math.max(e.scrollHeight,p.box.height)}px`)},[p]);let C=e.find(e=>e.id===k)??null,M=p?e.find(e=>e.id===p.blockId)??null:null,P=p?M:C;return(0,t.jsxs)("div",{"data-sn-ui-root":"",style:{position:"absolute",inset:0,pointerEvents:"none",zIndex:2147483e3},children:[(0,t.jsx)("style",{children:u}),e.map((r,n)=>{let i=r.box.top<42,s=e.slice(0,n).filter(e=>!e.global).length+1;return(0,t.jsx)("div",{className:"snAnchor",style:{top:r.box.top+8*!!i,left:r.box.left,width:r.box.width},children:(0,t.jsxs)("button",{type:"button",className:`snTab${i?" snTabInside":""}${r.id===P?.id?" snTabOn":""}${r.hidden?" snTabHidden":""}`,"data-sn-ui":"tab","aria-pressed":d===r.id,onClick:()=>{h(r.id),w(r.id),c({type:"select",blockId:r.id})},onMouseEnter:()=>!p&&w(r.id),children:[(0,t.jsx)("span",{className:"snTabNo",children:r.global?"â":s}),l[r.type]??r.type,r.global?(0,t.jsx)("em",{className:"snGlobalTag",children:"×§×××¢ ××× ××תר"}):null,r.hidden?(0,t.jsx)("em",{className:"snHiddenTag",children:"××סתר â ×× ××פ××¢ ××תר"}):null]})},r.id)}),P?(0,t.jsx)("div",{className:"snFrame",style:{top:P.box.top,left:P.box.left,width:P.box.width,height:P.box.height}}):null,C&&!p?(0,t.jsx)("div",{className:"snAnchor snAnchorBar",style:{top:C.box.top+40*(C.box.top<42),left:C.box.left,width:C.box.width},children:(0,t.jsxs)("div",{className:`snBar${C.box.top<42?" snBarInside":""}`,"data-sn-ui":"bar",dir:"rtl",onMouseEnter:()=>w(C.id),children:[(0,t.jsx)("b",{className:"snBarName",children:l[C.type]??C.type}),C.global?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{className:"snSettingsButton",onClick:()=>c({type:"openMenu",scope:C.global}),children:[(0,t.jsx)("i",{children:"â°"}),"header"===C.global?"ס×××ר ×תפר××":"ס×××ר ×§×ש××¨× ×פ××ר"]}),(0,t.jsx)("span",{className:"snGlobalNotice",children:"×× ×©×× ×× ××× ×× ××× ×¢×××× ××תר"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,o.hasCardChoice)(C.type)?(0,t.jsxs)("button",{className:"snTemplateButton",onClick:()=>c({type:"openTemplates",blockId:C.id}),children:[(0,t.jsx)("i",{children:"â¦"})," ××פ×××× ××ר××ס"]}):null,(0,t.jsxs)("button",{className:"snSettingsButton",onClick:()=>c({type:"openSettings",blockId:C.id}),children:[(0,t.jsx)("i",{children:"â"})," ×××ר×ת ×סקש×"]}),(0,s.isReorderableSection)(C.type)?(0,t.jsxs)("span",{className:"snDragNotice",children:[(0,t.jsx)("i",{children:"â ¿"})," ×פשר ××ר×ר ×ת ××ר××ס×× ××× ×ס×ר ××ת×"]}):null,(0,t.jsxs)("button",{onClick:()=>c({type:"move",blockId:C.id,dir:-1}),children:[(0,t.jsx)("i",{children:"â"})," ×××¢××"]}),(0,t.jsxs)("button",{onClick:()=>c({type:"move",blockId:C.id,dir:1}),children:[(0,t.jsx)("i",{children:"â"})," ××××"]}),(0,t.jsxs)("button",{className:C.hidden?"snWarn":"",onClick:()=>c({type:"toggleHidden",blockId:C.id}),children:[(0,t.jsx)("i",{children:C.hidden?"ð«":"ð"}),C.hidden?"××צ×× ×©××":"××סת×ר"]}),(0,t.jsxs)("button",{onClick:()=>c({type:"duplicate",blockId:C.id}),children:[(0,t.jsx)("i",{children:"â§"})," ×¢×תק"]}),(0,t.jsxs)("button",{className:"snDanger",onClick:()=>c({type:"delete",blockId:C.id}),children:[(0,t.jsx)("i",{children:"ð"})," ××××§×"]}),(0,t.jsxs)("button",{className:"snAdd",onClick:()=>c({type:"addAfter",blockId:C.id}),children:[(0,t.jsx)("i",{children:"ï¼"})," ×××ס××£ ×¡×§×©× ×××"]}
119)]})]})}):null,p?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"snAnchor",style:{top:p.box.top,left:p.box.left,width:p.box.width},children:(0,t.jsxs)("div",{className:`snEditHint${p.box.top<46?" snEditHintBelow":""}`,"data-sn-ui":"hint",dir:"rtl",children:["×ת×× ××× Â· ",(0,t.jsx)("kbd",{children:"Enter"})," ×ס×××",p.global?null:(0,t.jsx)("span",{className:"snDirBtns",children:[["rtl","×××× â ש×××"],["ltr","ש××× â ××××"]].map(([e,r])=>{let n=p.sectionDir===e;return(0,t.jsx)("button",{className:`snDirBtn${n?" snDirBtnOn":""}`,"data-sn-ui":"dir","aria-pressed":n,title:n?"××××¦× × ×ספת ×××××¨× ×××××× ×©× ×©×¤×ª ××¢×××":"×× ×××§×¡× ××××§ ××× ××¢××ר ×××××× ×××",onClick:()=>{let t=n?"":e;m(e=>e?{...e,sectionDir:t,style:{...e.style,direction:t||void 0}}:e),c({type:"set",blockId:p.blockId,path:"textDir",value:t})},children:r},e)})}),p.page?(0,t.jsx)("button",{className:"snGoPage","data-sn-ui":"gopage",onClick:()=>c({type:"openPage",page:p.page}),children:"â ×ער××ת ××¢××× ×××"}):null]})}),(0,t.jsx)("textarea",{ref:g,"data-sn-ui":"input",className:"snInput",dir:"auto","aria-label":"ער××ת ×קס×",value:p.value,style:{...p.style,top:p.box.top,left:p.box.left,width:p.box.width},onChange:e=>{let t=e.target.value;m(e=>e?{...e,value:t}:e),p.global?c({type:"setGlobal",scope:p.global,path:p.path,value:t}):c({type:"set",blockId:p.blockId,path:p.path,value:t});let r=e.target;r.style.height="auto",r.style.height=`${r.scrollHeight}px`},onKeyDown:e=>{("Escape"===e.key||"Enter"===e.key&&"multiline"!==p.kind)&&(e.preventDefault(),m(null),c({type:"select",blockId:d}))}})]}):null]})},u=` 120[data-sn-ui] { pointer-events: auto; } 121 122/* ---- what you can change, marked so it reads on photos as well as on paper ---- 123 A faint hint sits on everything; the section you're pointing at lights up in 124 full. The double stroke (colour + translucent white) is what keeps it legible 125 over a dark hero photo and over a white band alike. */ 126[data-sn-field] { 127 cursor: text; 128 outline: 1px dashed rgba(120,175,225,.6); 129 outline-offset: 3px; 130 border-radius: 2px; 131 transition: background .12s ease, outline-color .12s ease, box-shadow .12s ease; 132} 133.snLit [data-sn-field] { 134 outline: 2px solid #236FAE; 135 box-shadow: 0 0 0 1px rgba(255,255,255,.65); 136 background: rgba(65,144,213,.2); 137} 138[data-sn-field]:hover, 139.snLit [data-sn-field]:hover { 140 outline: 2px solid #E30B5F; 141 box-shadow: 0 0 0 1px rgba(255,255,255,.8); 142 background: rgba(227,11,95,.22); 143} 144/* A card drawn from a collection. Marked as a whole rather than word by word: 145 its text is not this page's to edit, and clicking anywhere on it opens the 146 record behind it. The pencil says so without needing a caption. */ 147[data-sn-form] { 148 position: relative; 149 outline: 2px dashed rgba(35,111,174,.45); 150 outline-offset: 6px; 151 border-radius: 6px; 152 cursor: pointer; 153} 154[data-sn-form]::after { 155 content: 'ער××ת ×××פס'; 156 position: absolute; inset-inline-start: 8px; top: -12px; 157 padding: 2px 8px; border-radius: 3px; 158 background: #236FAE; color: #fff; 159 font: 700 11px Heebo, system-ui, sans-serif; 160 opacity: .85; pointer-events: none; 161} 162[data-sn-form]:hover { outline-color: rgba(35,111,174,.95); } 163[data-sn-form]:hover::after { opacity: 1; } 164 165[data-sn-record] { 166 cursor: pointer; 167 outline: 1px dashed rgba(120,175,225,.55); 168 outline-offset: 2px; 169 transition: outline-color .12s ease, box-shadow .12s ease; 170 /* anchors the pencil. No offsets, so nothing moves â and the attribute only 171 exists inside the editor, so the public page is untouched either way. */ 172 position: relative; 173} 174[data-sn-record]::after { 175 content: "â"; 176 position: absolute; z-index: 3; 177 top: 6px; inset-inline-end: 6px; 178 display: grid; place-items: center; 179 width: 26px; height: 26px; 180 background: #10182B; color: #fff; 181 font-size: 14px; line-height: 1; 182 opacity: 0; transition: opacity .12s ease; 183 pointer-events: none; 184} 185.snLit [data-sn-record] { outline: 2px solid rgba(35,111,174,.75); } 186[data-sn-record]:hover { 187 outline: 2px solid #E30B5F; 188 box-shadow: 0 0 0 1px rgba(255,255,255,.8); 189} 190[data-sn-record]:hover::after { opacity: 1; } 191 192/* A card that can be dragged into a new place among its neighbours. 193 The grab cursor used to be the only hint, on the reasoning that a third 194 marker per card turns a grid into a diagram of itself. That reasoning cost 195 the feature: the client asked us to build drag-to-reorder while it was 196 already working. So the grip joins the pencil in the badge that is already 197 revealed on hover â no new permanent marker â and the section's toolbar says 198 it in words, once, whether or not anything is hovered. */ 199.snDraggable { cursor: grab; } 200.snDraggable[data-sn-record]::after {
201 content: "â ¿ â"; 202 width: auto; padding: 0 8px; gap: 4px; letter-spacing: 1px; 203} 204.snDraggable:active { cursor: grabbing; } 205.snDragging { opacity: .4; } 206/* Where it would land. Drawn as a thick edge on the card being pointed at 207 rather than by moving anything: the page's own DOM is never rearranged here, 208 and a line that appears between two real cards reads the same way. */ 209.snDropBefore::before, 210.snDropAfter::before { 211 content: ""; 212 position: absolute; z-index: 4; 213 background: #E30B5F; 214 border-radius: 3px; 215 pointer-events: none; 216 box-shadow: 0 0 0 2px rgba(255,255,255,.7); 217} 218.snDropBefore::before, .snDropAfter::before { 219 inset-block: -4px; width: 4px; 220} 221.snDropBefore::before { inset-inline-start: -7px; } 222.snDropAfter::before { inset-inline-end: -7px; } 223/* A list stacks, so its line lies flat instead. */ 224.snDropRow.snDropBefore::before, 225.snDropRow.snDropAfter::before { 226 inset-inline: -4px; width: auto; height: 4px; inset-block: auto; 227} 228.snDropRow.snDropBefore::before { top: -7px; } 229.snDropRow.snDropAfter::before { bottom: -7px; } 230 231.snDirBtns { display: inline-flex; gap: 4px; margin-inline-start: 8px; } 232.snDirBtn { 233 border: 0; cursor: pointer; padding: 3px 8px; border-radius: 3px; 234 background: rgba(255,255,255,.14); color: #E7EDF9; 235 font: 700 10.5px Heebo, system-ui, sans-serif; white-space: nowrap; 236} 237.snDirBtn:hover { background: rgba(255,255,255,.28); color: #fff; } 238.snDirBtnOn { background: #E30B5F; color: #fff; } 239.snDirBtn:focus-visible { outline: 2px solid #fff; outline-offset: 1px; } 240 241.snDragNotice { 242 display: inline-flex; align-items: center; gap: 6px; 243 padding: 0 10px; color: #C7D2E8; 244 font: 600 12px Heebo, system-ui, sans-serif; white-space: nowrap; 245} 246.snDragNotice i { font-style: normal; font-size: 14px; letter-spacing: 1px; } 247 248/* "Add another one of these." Deliberately reads as a slot waiting to be 249 filled rather than a button bolted on: a dashed outline the same weight as 250 the card markers, so a grid with one card and one of these looks like a grid 251 with room in it. Only ever rendered inside the editor. */ 252.snAdd { 253 display: flex; align-items: center; justify-content: center; gap: 10px; 254 width: 100%; min-height: 120px; padding: 22px 20px; 255 border: 2px dashed rgba(120,175,225,.75); 256 border-radius: 4px; 257 background: rgba(35,111,174,.06); 258 color: #10182B; 259 font: 600 16px/1.3 inherit; 260 cursor: pointer; 261 transition: background .12s ease, border-color .12s ease, transform .12s ease; 262} 263.snAdd:hover { 264 background: rgba(227,11,95,.10); 265 border-color: #E30B5F; 266} 267.snAdd:active { transform: translateY(1px); } 268.snAdd:focus-visible { outline: 3px solid #E30B5F; outline-offset: 3px; } 269.snAddPlus { 270 display: grid; place-items: center; 271 width: 30px; height: 30px; flex: none; 272 border-radius: 50%; 273 background: #E30B5F; color: #fff; 274 font-size: 20px; line-height: 1; 275} 276/* On a grid with nothing in it this is the only thing to look at, so it is 277 allowed to take up the room the missing cards would have. */ 278.snAddEmpty { min-height: 200px; font-size: 18px; } 279 280[data-sn-kind="image"] { 281 cursor: pointer; 282 outline: 2px dashed rgba(120,175,225,.85); 283 outline-offset: -4px; 284 background: none; 285} 286.snLit [data-sn-kind="image"] { 287 outline: 3px solid #236FAE; 288 box-shadow: inset 0 0 0 5px rgba(255,255,255,.55); 289} 290[data-sn-kind="image"]:hover { 291 outline: 4px solid #E30B5F; 292 box-shadow: inset 0 0 0 6px rgba(255,255,255,.6); 293} 294 295/* a hidden section stays visible here so it can be brought back */ 296[data-sn-hidden] > * { opacity: .28; filter: grayscale(1); } 297 298/* ------------------------------------------------------- section chrome ---- */ 299/* spans the section so flexbox can place chrome on the reading-start edge */ 300.snAnchor { 301 position: absolute; z-index: 4; 302 display: flex; align-items: flex-start; 303 padding-inline: 8px; 304 box-sizing: border-box; 305 pointer-events: none; 306} 307.snAnchorBar { z-index: 6; } 308 309.snTab { 310 all: unset; box-sizing: border-box; 311 position: relative; z-index: 4; 312 display: inline-flex; align-items: center; gap: 7px; 313 transform: translateY(-100%); 314 background: #24314D; color: #DCE4F2; 315 font: 600 12px/1 Heebo, system-ui, sans-serif; 316 padding: 6px 10px; white-space: nowrap; 317 pointer-events: auto; cursor: pointer; 318 box-shadow: 0 2px 10px rgba(0,0,0,.3); 319} 320.snTabInside { transform: none; } 321.snTabNo { 322 display: inline-grid; place-items: center; 323 width: 17px; height: 17px; background: #236FAE; color: #fff; 324 font-size: 10.5px; font-weight: 800; 325} 326.snTabOn { background: #236FAE; color: #fff; } 327.snTabOn .snTabNo { background: #10182B; } 328.snTabHidden { background: #F68629; color: #10182B; } 329.snTabHidden .snTabNo { background: #10182B; color: #F68629; } 330.snHiddenTag { font-style: normal; font-weight: 800; } 331.snGlobalTag { font-style: normal; font-weight: 800;
331 opacity: .82; } 332 333.snFrame { 334 position: absolute; z-index: 2; 335 outline: 3px solid #236FAE; outline-offset: -2px; 336 background: rgba(65,144,213,.05); 337 pointer-events: none; 338} 339 340.snBar { 341 position: relative; z-index: 6; 342 display: flex; align-items: stretch; gap: 1px; 343 transform: translateY(-100%); 344 margin-top: -1px; 345 background: #10182B; 346 box-shadow: 0 10px 30px rgba(0,0,0,.34); 347 width: max-content; 348 max-width: 100%; 349 flex-wrap: wrap; 350 white-space: normal; 351} 352.snBarInside { transform: none; margin-top: 0; } 353.snBar .snBarName { 354 display: flex; align-items: center; padding: 0 14px; 355 background: #236FAE; color: #fff; 356 font: 800 13px/1 Heebo, sans-serif; 357} 358.snBar button { 359 all: unset; cursor: pointer; 360 display: inline-flex; align-items: center; gap: 6px; 361 padding: 11px 13px; color: #DCE4F2; background: #1B2540; 362 font: 600 13px/1 Heebo, sans-serif; 363 min-height: 40px; box-sizing: border-box; white-space: nowrap; 364} 365.snBar button i { font-style: normal; font-size: 14px; } 366.snBar button:hover { background: #2E3D5E; color: #fff; } 367.snBar .snDanger:hover { background: #D71948; color: #fff; } 368.snBar .snWarn { background: #F68629; color: #10182B; } 369.snBar .snTemplateButton { background: #236FAE; color: #fff; font-weight: 800; } 370.snBar .snTemplateButton:hover { background: #1B5B92; } 371.snBar .snAdd { background: #E30B5F; color: #fff; font-weight: 800; } 372.snBar .snAdd:hover { background: #C80A50; } 373.snGlobalNotice { 374 display: inline-flex; align-items: center; 375 padding: 10px 14px; color: #DCE4F2; background: #1B2540; 376 font: 600 13px/1.35 Heebo, sans-serif; 377} 378 379.snTab:focus-visible, 380.snBar button:focus-visible, 381[data-sn-field]:focus-visible { 382 outline: 3px solid #F68629; 383 outline-offset: 3px; 384} 385 386@media (max-width: 600px) { 387 .snBar { width: 100%; } 388 .snBar .snBarName { flex: 1 0 100%; min-height: 34px; } 389 .snBar button { flex: 1 0 auto; justify-content: center; } 390} 391 392/* ------------------------------------------------------- typing in place ---- */ 393.snInput { 394 position: absolute; z-index: 8; 395 margin: 0; padding: 2px 4px; border: 0; 396 outline: 3px solid #E30B5F; outline-offset: 2px; 397 resize: none; overflow: hidden; 398 box-shadow: 0 8px 26px rgba(0,0,0,.28); 399} 400.snGoPage { 401 all: unset; cursor: pointer; 402 margin-inline-start: 10px; padding: 2px 8px; 403 background: #E30B5F; color: #fff; 404 font: 700 11px Heebo, system-ui, sans-serif; 405} 406.snGoPage:hover { background: #C80A50; } 407.snGoPage:focus-visible { outline: 2px solid #fff; outline-offset: 1px; } 408 409.snEditHint { 410 position: relative; z-index: 9; 411 transform: translateY(-100%); margin-top: -8px; 412 background: #E30B5F; color: #fff; 413 font: 700 11.5px/1 Heebo, sans-serif; 414 padding: 6px 9px; white-space: nowrap; 415 /* The bar itself is a label, but it carries the "edit this page" button, so 416 it cannot refuse the pointer wholesale. */ 417 pointer-events: none; 418} 419.snEditHint > * { pointer-events: auto; } 420/* A field at the very top of the page â the navigation, mostly â has nothing 421 above it to hang the hint on, so it drops below instead of off the frame. */ 422.snEditHintBelow { 423 transform: none; 424 margin-top: 8px; 425} 426.snEditHint kbd { 427 font: inherit; background: rgba(255,255,255,.24); padding: 2px 5px; border-radius: 2px; 428} 429 430@media (prefers-reduced-motion: reduce) { 431 [data-sn-field] { transition: none; } 432} 433`;e.s(["EditableSitePage",0,({initialSections:e,locale:s,chrome:o,siteChrome:l,siteText:c,feeds:u,footer:h,social:p,langHref:m,film:f})=>{let[g,v]=(0,r.useState)(e),[x,y]=(0,r.useState)(l),[b,w]=(0,r.useState)(!1),[_,k]=(0,r.useState)(null),[j,T]=(0,r.useState)(null);(0,r.useEffect)(()=>{let e=e=>{let t=e.data;(0,a.isToFrame)(t)&&("sections"===t.type?v(t.sections):"chrome"===t.type?y(t.chrome):"preview"===t.type?w(t.on):"previewPopup"===t.type?T(t.popup):"highlight"===t.type?k(t.blockId):"scrollTo"===t.type&&document.querySelector(`[data-sn-block="${t.blockId}"]`)?.firstElementChild?.scrollIntoView({behavior:"smooth",block:"start"}))};return window.addEventListener("message",e),window.parent?.postMessage({sn:a.SN,type:"ready"},"*"),()=>window.removeEventListener("message",e)},[]),(0,r.useEffect)(()=>{_&&document.querySelector(`[data-sn-block="${_}"]`)?.firstElementChild?.scrollIntoView({behavior:"smooth",block:"center"})},[_]);let S=(0,r.useMemo)(()=>({...u,impact:x.impact.items}),[u,x]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.SitePageView,{sections:g,locale:s,chrome:o,siteChrome:x,siteText:c,feeds:S,footer:h,social:p,langHref:m,film:f,editMode:!b,revision:b?"preview":"edit"}),b?null:(0,t.jsx)(d,{}),(0,t.jsx)(n.PopupModal,{popup:j,locale:s,onClose:()=>{T(null),window.parent?.postMessage({sn:a.SN,type:"popupPreviewClosed"},"*")}})]})}],976617)}]);
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.