PageSourceSearch

https://ttpsc.com/_next/static/immutable/chunks/072otp1zuh090.js

js ttpsc.com collected 2026-10-02 09:56:30 UTC 42,931 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,32611,e=>{"use strict";let t,n;var s=e.i(84837),r=e.i(64731),i=e.i(40075),l=e.i(5419),o=e.i(29023),a=e.i(674),u=e.i(78374),c=e.i(1483),d=e.i(89027),h=e.i(45516),p=e.i(66606),f=e.i(44873),v=e.i(97271),m=e.i(97963),g=e.i(5738),b=e.i(51603),w=e.i(26466),E=e.i(61707),y=e.i(91306),P=e.i(96895),C=e.i(27638),x=e.i(53356),S=e.i(81489),I=e.i(25475),O=e.i(49406),_=e.i(42231),M=e.i(67679),A=e.i(38789),k=e.i(9858),F=e.i(66383),R=e.i(72773),B=e.i(39801),Y=e.i(18273),L=e.i(35057),D=Object.defineProperty,T=(e,t,n)=>{let s;return(s="symbol"!=typeof t?t+"":t)in e?D(e,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[s]=n,n},X=((t=X||{})[t.Open=0]="Open",t[t.Closed=1]="Closed",t),H=((n=H||{})[n.OpenPopover=0]="OpenPopover",n[n.ClosePopover=1]="ClosePopover",n[n.SetButton=2]="SetButton",n[n.SetButtonId=3]="SetButtonId",n[n.SetPanel=4]="SetPanel",n[n.SetPanelId=5]="SetPanelId",n);let $={0:e=>0===e.popoverState?e:{...e,popoverState:0,__demoMode:!1},1:e=>1===e.popoverState?e:{...e,popoverState:1,__demoMode:!1},2:(e,t)=>e.button===t.button?e:{...e,button:t.button},3:(e,t)=>
1e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},4:(e,t)=>e.panel===t.panel?e:{...e,panel:t.panel},5:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId}};class z extends Y.Machine{constructor(e){super(e),T(this,"actions",{close:()=>this.send({type:1}),refocusableClose:e=>{this.actions.close();let t=e?_.isHTMLElement(e)?e:"current"in e&&_.isHTMLElement(e.current)?e.current:this.state.button:this.state.button;null==t||t.focus()},open:()=>this.send({type:0}),setButtonId:e=>this.send({type:3,buttonId:e}),setButton:e=>this.send({type:2,button:e}),setPanelId:e=>this.send({type:5,panelId:e}),setPanel:e=>this.send({type:4,panel:e})}),T(this,"selectors",{isPortalled:e=>{var t;if(!e.button||!e.panel)return!1;let n=null!=(t=(0,k.getOwnerDocument)(e.button))?t:document;for(let t of n.querySelectorAll("body > *"))if(Number(null==t?void 0:t.contains(e.button))^Number(null==t?void 0:t.contains(e.panel)))return!0;let s=(0,M.getFocusableElements)(n),r=s.indexOf(e.button),i=(r+s.length-1)%s.length,l=(r+1)%s.length,o=s[i],a=s[l];return!e.panel.contains(o)&&!e.panel.contains(a)}});{let e=this.state.id,t=L.stackMachines.get(null);this.on(0,()=>t.actions.push(e)),this.on(1,()=>t.actions.pop(e))}}static new({id:e,__demoMode:t=!1}){return new z({id:e,__demoMode:t,popoverState:+!t,buttons:{current:[]},button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:{current:null},afterPanelSentinel:{current:null},afterButtonSentinel:{current:null}})}reduce(e,t){return(0,A.match)(t.type,$,e,t)}}var W=e.i(46723);let Q=(0,i.createContext)(null);function V(e){let t=(0,i.useContext)(Q);if(null===t){let t=Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,V),t}return t}let j=(0,i.createContext)(null);function N(){return(0,i.useContext)(j)}j.displayName="PopoverGroupContext";let K=(0,i.createContext)(null);K.displayName="PopoverPanelContext";let U=F.RenderFeatures.RenderStrategy|F.RenderFeatures.Static;function G(e,t){let n=(0,i.useId)(),{id:s=`headlessui-popover-backdrop-${n}`,transition:r=!1,...l}=e,o=V("Popover.Backdrop"),u=(0,I.useSlice)(o,(0,i.useCallback)(e=>e.popoverState,[])),[c,d]=(0,i.useState)(null),h=(0,w.useSyncRefs)(t,d),p=(0,S.useOpenClosed)(),[f,v]=(0,y.useTransition)(r,c,null!==p?(p&S.State.Open)===S.State.Open:u===X.Open),m=(0,a.useEvent)(e=>{if((0,O.isDisabledReactIssue7711)(e.currentTarget))return e.preventDefault();o.actions.close()}),g=(0,b.useSlot)({open:u===X.Open}),E={ref:h,id:s,"aria-hidden":!0,onClick:m,...(0,y.transitionDataAttributes)(v)};return(0,F.useRender)()({ourProps:E,theirProps:l,slot:g,defaultTag:"div",features:U,visible:f,name:"Popover.Backdrop"})}let Z=F.RenderFeatures.RenderStrategy|F.RenderFeatures.Static,q=(0,F.forwardRefWithAs)(function(e,t){var n;let s=(0,i.useId)(),{__demoMode:r=!1,...l}=e,o=function({id:e,__demoMode:t=!1}){let n=(0,i.useMemo)(()=>z.new({id:e,__demoMode:t}),[]);return(0,W.useOnUnmount)(()=>n.dispose()),n}({id:s,__demoMode:r}),c=(0,i.useRef)(null),h=(0,w.useSyncRefs)(t,(0,w.optionalRef)(e=>{c.current=e})),[v,g,E,y,x]=(0,I.useSlice)(o,(0,i.useCallback)(e=>[e.popoverState,e.button,e.panel,e.buttonId,e.panelId],[])),O=(0,f.useRootDocument)(null!=(n=c.current)?n:g),R=(0,d.useLatestValue)(y),Y=(0,d.useLatestValue)(x),L=(0,i.useMemo)(()=>({buttonId:R,panelId:Y,close:o.actions.close}),[R,Y,o]),D=N(),T=null==D?void 0:D.registerPopover,H=(0,a.useEvent)(()=>{var e,t;let n=(0,k.getActiveElement)(null!=(e=c.current)?e:g);return null!=(t=null==D?void 0:D.isFocusWithinPopoverGroup())?t:n&&((null==g?void 0:g.contains(n))||(null==E?void 0:E.contains(n)))});(0,i.useEffect)(()=>null==T?void 0:T(L),[T,L]);let[$,V]=(0,B.useNestedPortals)(),j=(0,m.useMainTreeNode)(g),U=(0,m.useRootContainers)({mainTreeNode:j,portals:$,defaultContainers:[{get current(){return o.state.button}},{get current(){return o.state.panel}}]});(0,u.useEventListener)(O,"focus",e=>{var t,n,s,r,i,l;e.target!==window&&_.isHTMLorSVGElement(e.target)&&o.state.popoverState===X.Open&&(H()||o.state.button&&o.state.panel&&(U.contains(e.target)||null!=(n=null==(t=o.state.beforePanelSentinel.current)?void 0:t.contains)&&n.call(t,e.target)||null!=(r=null==(s=o.state.afterPanelSentinel.current)?void 0:s.contains)&&r.call(s,e.target)||null!=(l=null==(i=o.state.afterButtonSentinel.current)?void 0:i.contains)&&l.call(i,e.target)||o.actions.close()))},!0);let G=v===X.Open;(0,p.useOutsideClick)(G,U.resolveContainers,(e,t)=>{o.actions.close(),(0,M.isFocusableElement)(t,M.FocusableMode.Loose)||(e.preventDefault(),null==g||g.focu
1s())});let Z=(0,b.useSlot)({open:v===X.Open,close:o.actions.refocusableClose}),q=(0,I.useSlice)(o,(0,i.useCallback)(e=>(0,A.match)(e.popoverState,{[X.Open]:S.State.Open,[X.Closed]:S.State.Closed}),[])),J=(0,F.useRender)();return i.default.createElement(m.MainTreeProvider,{node:j},i.default.createElement(C.FloatingProvider,null,i.default.createElement(K.Provider,{value:null},i.default.createElement(Q.Provider,{value:o},i.default.createElement(P.CloseProvider,{value:o.actions.refocusableClose},i.default.createElement(S.OpenClosedProvider,{value:q},i.default.createElement(V,null,J({ourProps:{ref:h},theirProps:l,slot:Z,defaultTag:"div",name:"Popover"}))))))))}),J=(0,F.forwardRefWithAs)(function(e,t){let n=(0,i.useId)(),{id:o=`headlessui-popover-button-${n}`,disabled:u=!1,autoFocus:c=!1,...d}=e,h=V("Popover.Button"),[p,f,m,g,y,P,S]=(0,I.useSlice)(h,(0,i.useCallback)(e=>[e.popoverState,h.selectors.isPortalled(e),e.button,e.buttonId,e.panel,e.panelId,e.afterButtonSentinel],[])),B=(0,i.useRef)(null),Y=`headlessui-focus-sentinel-${(0,i.useId)()}`,L=N(),D=null==L?void 0:L.closeOthers,T=null!==(0,i.useContext)(K);(0,i.useEffect)(()=>{if(!T)return h.actions.setButtonId(o),()=>h.actions.setButtonId(null)},[T,o,h]);let[H]=(0,i.useState)(()=>Symbol()),$=(0,w.useSyncRefs)(B,t,(0,C.useFloatingReference)(),(0,a.useEvent)(e=>{if(!T){if(e)h.state.buttons.current.push(H);else{let e=h.state.buttons.current.indexOf(H);-1!==e&&h.state.buttons.current.splice(e,1)}h.state.buttons.current.length>1&&console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."),e&&h.actions.setButton(e)}})),z=(0,w.useSyncRefs)(B,t),W=(0,a.useEvent)(e=>{var t,n,s;if(T){if(h.state.popoverState===X.Closed)return;switch(e.key){case R.Keys.Space:case R.Keys.Enter:e.preventDefault(),null==(n=(t=e.target).click)||n.call(t),h.actions.close(),null==(s=h.state.button)||s.focus()}}else switch(e.key){case R.Keys.Space:case R.Keys.Enter:e.preventDefault(),e.stopPropagation(),h.state.popoverState===X.Closed?(null==D||D(h.state.buttonId),h.actions.open()):h.actions.close();break;case R.Keys.Escape:if(h.state.popoverState!==X.Open)return null==D?void 0:D(h.state.buttonId);if(!B.current)return;let r=(0,k.getActiveElement)(B.current);if(r&&!B.current.contains(r))return;e.preventDefault(),e.stopPropagation(),h.actions.close()}}),Q=(0,a.useEvent)(e=>{T||e.key===R.Keys.Space&&e.preventDefault()}),j=(0,a.useEvent)(e=>{var t,n;(0,O.isDisabledReactIssue7711)(e.currentTarget)||u||(T?(h.actions.close(),null==(t=h.state.button)||t.focus()):(e.preventDefault(),e.stopPropagation(),h.state.popoverState===X.Closed?(null==D||D(h.state.buttonId),h.actions.open()):h.actions.close(),null==(n=h.state.button)||n.focus()))}),U=(0,a.useEvent)(e=>{e.preventDefault(),e.stopPropagation()}),{isFocusVisible:G,focusProps:Z}=(0,s.useFocusRing)({autoFocus:c}),{isHovered:q,hoverProps:J}=(0,r.useHover)({isDisabled:u}),{pressed:ee,pressProps:et}=(0,l.useActivePress)({disabled:u}),en=p===X.Open,es=(0,b.useSlot)({open:en,active:ee||en,disabled:u,hover:q,focus:G,autofocus:c}),er=(0,v.useResolveButtonType)(e,m),ei=T?(0,F.mergeProps)({ref:z,type:er,onKeyDown:W,onClick:j,disabled:u||void 0,autoFocus:c},Z,J,et):(0,F.mergeProps)({ref:$,id:g,type:er,"aria-expanded":p===X.Open,"aria-controls":y?P:void 0,disabled:u||void 0,autoFocus:c,onKeyDown:W,onKeyUp:Q,onClick:j,onMouseDown:U},Z,J,et),el=(0,E.useTabDirection)(),eo=(0,a.useEvent)(()=>{if(!_.isHTMLElement(h.state.panel))return;let e=h.state.panel;(0,A.match)(el.current,{[E.Direction.Forwards]:()=>(0,M.focusIn)(e,M.Focus.First),[E.Direction.Backwards]:()=>(0,M.focusIn)(e,M.Focus.Last)})===M.FocusResult.Error&&(0,M.focusIn)((0,M.getFocusableElements)((0,k.getRootNode)(h.state.button)).filter(e=>"true"!==e.dataset.headlessuiFocusGuard),(0,A.match)(el.current,{[E.Direction.Forwards]:M.Focus.Next,[E.Direction.Backwards]:M.Focus.Previous}),{relativeTo:h.state.button})}),ea=(0,F.useRender)();return i.default.createElement(i.default.Fragment,null,ea({ourProps:ei,theirProps:d,slot:es,defaultTag:"button",name:"Popover.Button"}),en&&!T&&f&&i.default.createElement(x.Hidden,{id:Y,ref:S,features:x.HiddenFeatures.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:eo}))}),ee=(0,F.forwardRefWithAs)(G),et=(0,F.forwardRefWithAs)(G),en=(0,F.forwardRefWithAs)(function(e,t){let n=(0,i.useId)(),{id:s=`headlessui-popover-panel-${n}`,focus:r=!1,anchor:l,portal:u=!1,modal:d=!1,transition:p=!1,...v}=e,m=V("Popover.Panel"),O=(0,I.useSlice)(m,m.selectors.isPortalled),[_,Y,L,D,T]=(0,I.useSlice)(m,(0,i.useCallback)(e=>[e.popoverState,e.button,e.__demoMode,e.beforePanelSentinel,e.afterPanelSentinel],[])),H=`headlessui-focus-sentinel-before-${n}`,$=`headlessui-focus-sentinel-after-${n}`,z=(0,i.useRef)(null),W=(0,C.useResolvedAnchor)(l),[Q,j]=(0,C.useFloatingPanel)(W),N=(0,C.useFloatingPanelProps)();W&&(u=!0);let[U,G]=(0,i.useState)(null),q=(0,w.useSyncRefs)(z,t,W?Q:null,m.actions.setPanel,G),J=(0,f.useOwnerDocument)(Y),ee=(0,f.useOwnerDocument)(z.current);(0,c.useIsoMorphicEffect)(()=>(m.actions.setPanelId(s),()=>m.actions.setPanelId(null)),[s,m]);let et=(0,S.useOpenClosed)(),[en,es]=(0,y.useTransition)(p,U,null!==et?(et&S.State.Open)===S.State.Open:_===X.Open);(0,h.useOnDisappear)(en,Y,m.actions.close),(0,g.useScrollLock)(!L&&d&&en,ee);let er=(0,a.useEvent)(e=>{var t;if(e.key===R.Keys.Escape){if(m.state.popoverState!==X.Open||!z.current)return;let n=(0,k.getActiveElement)(z.current);if(n&&!z.current.contains(n))return;e.preventDefault(),e.stopPropagation(),m.actions.close(),null==(t=m.state.button)||t.focu
1s()}});(0,i.useEffect)(()=>{var t;e.static||_===X.Closed&&(null==(t=e.unmount)||t)&&m.actions.setPanel(null)},[_,e.unmount,e.static,m]),(0,i.useEffect)(()=>{if(L||!r||_!==X.Open||!z.current)return;let e=(0,k.getActiveElement)(z.current);z.current.contains(e)||(0,M.focusIn)(z.current,M.Focus.First)},[L,r,z.current,_]);let ei=(0,b.useSlot)({open:_===X.Open,close:m.actions.refocusableClose}),el=(0,F.mergeProps)(W?N():{},{ref:q,id:s,onKeyDown:er,onBlur:r&&_===X.Open?e=>{var t,n,s,r,i;let l=e.relatedTarget;l&&z.current&&(null!=(t=z.current)&&t.contains(l)||(m.actions.close(),(null!=(s=null==(n=D.current)?void 0:n.contains)&&s.call(n,l)||null!=(i=null==(r=T.current)?void 0:r.contains)&&i.call(r,l))&&l.focus({preventScroll:!0})))}:void 0,tabIndex:-1,style:{...v.style,...j,"--button-width":(0,o.useElementSize)(en,Y,!0).width},...(0,y.transitionDataAttributes)(es)}),eo=(0,E.useTabDirection)(),ea=(0,a.useEvent)(()=>{let e=z.current;e&&(0,A.match)(eo.current,{[E.Direction.Forwards]:()=>{var t;(0,M.focusIn)(e,M.Focus.First)===M.FocusResult.Error&&(null==(t=m.state.afterPanelSentinel.current)||t.focus())},[E.Direction.Backwards]:()=>{var e;null==(e=m.state.button)||e.focus({preventScroll:!0})}})}),eu=(0,a.useEvent)(()=>{let e=z.current;e&&(0,A.match)(eo.current,{[E.Direction.Forwards]:()=>{var e;if(!m.state.button)return;let t=null!=(e=(0,k.getRootNode)(m.state.button))?e:document.body,n=(0,M.getFocusableElements)(t),s=n.indexOf(m.state.button),r=n.slice(0,s+1),i=[...n.slice(s+1),...r];for(let e of i.slice())if("true"===e.dataset.headlessuiFocusGuard||null!=U&&U.contains(e)){let t=i.indexOf(e);-1!==t&&i.splice(t,1)}(0,M.focusIn)(i,M.Focus.First,{sorted:!1})},[E.Direction.Backwards]:()=>{var t;(0,M.focusIn)(e,M.Focus.Previous)===M.FocusResult.Error&&(null==(t=m.state.button)||t.focus())}})}),ec=(0,F.useRender)();return i.default.createElement(S.ResetOpenClosedProvider,null,i.default.createElement(K.Provider,{value:s},i.default.createElement(P.CloseProvider,{value:m.actions.refocusableClose},i.default.createElement(B.Portal,{enabled:!!u&&(e.static||en),ownerDocument:J},en&&O&&i.default.createElement(x.Hidden,{id:H,ref:D,features:x.HiddenFeatures.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:ea}),ec({ourProps:el,theirProps:v,slot:ei,defaultTag:"div",features:Z,visible:en,name:"Popover.Panel"}),en&&O&&i.default.createElement(x.Hidden,{id:$,ref:T,features:x.HiddenFeatures.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:eu})))))}),es=(0,F.forwardRefWithAs)(function(e,t){let n=(0,i.useRef)(null),s=(0,w.useSyncRefs)(n,t),[r,l]=(0,i.useState)([]),o=(0,a.useEvent)(e=>{l(t=>{let n=t.indexOf(e);if(-1!==n){let e=t.slice();return e.splice(n,1),e}return t})}),u=(0,a.useEvent)(e=>(l(t=>[...t,e]),()=>o(e))),c=(0,a.useEvent)(()=>{var e;let t=(0,k.getRootNode)(n.current);if(!t)return!1;let s=(0,k.getActiveElement)(n.current);return!!(null!=(e=n.current)&&e.contains(s))||r.some(e=>{var n,r;return(null==(n=t.getElementById(e.buttonId.current))?void 0:n.contains(s))||(null==(r=t.getElementById(e.panelId.current))?void 0:r.contains(s))})}),d=(0,a.useEvent)(e=>{for(let t of r)t.buttonId.current!==e&&t.close()}),h=(0,i.useMemo)(()=>({registerPopover:u,unregisterPopover:o,isFocusWithinPopoverGroup:c,closeOthers:d}),[u,o,c,d]),p=(0,b.useSlot)({}),f=(0,F.useRender)();return i.default.createElement(m.MainTreeProvider,null,i.default.createElement(j.Provider,{value:h},f({ourProps:{ref:s},theirProps:e,slot:p,defaultTag:"div",name:"Popover.Group"})))}),er=Object.assign(q,{Button:J,Backdrop:et,Overlay:ee,Panel:en,Group:es});e.s(["Popover",0,er,"PopoverBackdrop",0,et,"PopoverButton",0,J,"PopoverGroup",0,es,"PopoverOverlay",0,ee,"PopoverPanel",0,en],32611)},78374,e=>{"use strict";var t=e.i(40075),n=e.i(89027);e.s(["useEventListener",0,function(e,s,r,i){let l=(0,n.useLatestValue)(r);(0,t.useEffect)(()=>{function t(e){l.current(e)}return(e=null!=e?e:window).addEventListener(s,t,i),()=>e.removeEventListener(s,t,i)},[e,s,i])}])},97963,e=>{"use strict";var t=e.i(40075),n=e.i(53356),s=e.i(42231),r=e.i(9858),i=e.i(674);let l=(0,t.createContext)(null);function o(e=null){var n;return null!=(n=(0,t.useContext)(l))?n:e}e.s(["MainTreeProvider",0,function({children:e,node:i}
1){let[a,u]=(0,t.useState)(null),c=o(null!=i?i:a);return t.default.createElement(l.Provider,{value:c},e,null===c&&t.default.createElement(n.Hidden,{features:n.HiddenFeatures.Hidden,ref:e=>{var t,n;if(e){for(let i of null!=(n=null==(t=(0,r.getOwnerDocument)(e))?void 0:t.querySelectorAll("html > *, body > *"))?n:[])if(i!==document.body&&i!==document.head&&s.isElement(i)&&null!=i&&i.contains(e)){u(i);break}}}}))},"useMainTreeNode",0,o,"useRootContainers",0,function({defaultContainers:e=[],portals:t,mainTreeNode:n}={}){let l=(0,i.useEvent)(()=>{var i,l;let o=(0,r.getOwnerDocument)(n),a=[];for(let t of e)null!==t&&(s.isElement(t)?a.push(t):"current"in t&&s.isElement(t.current)&&a.push(t.current));if(null!=t&&t.current)for(let e of t.current)a.push(e);for(let e of null!=(i=null==o?void 0:o.querySelectorAll("html > *, body > *"))?i:[])e!==document.body&&e!==document.head&&s.isElement(e)&&"headlessui-portal-root"!==e.id&&(n&&(e.contains(n)||e.contains(null==(l=null==n?void 0:n.getRootNode())?void 0:l.host))||a.some(t=>e.contains(t))||a.push(e));return a});
1return{resolveContainers:l,contains:(0,i.useEvent)(e=>l().some(t=>t.contains(e)))}}])},61707,e=>{"use strict";let t;var n=e.i(40075),s=e.i(81520),r=((t=r||{})[t.Forwards=0]="Forwards",t[t.Backwards=1]="Backwards",t);e.s(["Direction",0,r,"useTabDirection",0,function(){let e=(0,n.useRef)(0);return(0,s.useWindowEvent)(!0,"keydown",t=>{"Tab"===t.key&&(e.current=+!!t.shiftKey)},!0),e}])},96895,e=>{"use strict";var t=e.i(40075);let n=(0,t.createContext)(()=>{});e.s(["CloseProvider",0,function({value:e,children:s}){return t.default.createElement(n.Provider,{value:e},s)},"useClose",0,function(){return(0,t.useContext)(n)}])},45694,(e,t,n)=>{var s="function"==typeof Float32Array;function r(e,t,n){return(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e}function i(e,t,n){return 3*(1-3*n+3*t)*e*e+2*(3*n-6*t)*e+3*t}function l(e){return e}t.exports=function(e,t,n,o){if(!(0<=e&&e<=1&&0<=n&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===o)return l;for(var a=s?new Float32Array(11):Array(11),u=0;u<11;++u)a[u]=r(.1*u,e,n);return function(s){return 0===s?0:1===s?1:r(function(t){for(var s=0,l=1;10!==l&&a[l]<=t;++l)s+=.1;var o=s+(t-a[--l])/(a[l+1]-a[l])*.1,u=i(o,e,n);if(u>=.001){for(var c=o,d=0;d<4;++d){var h=i(c,e,n);if(0===h)break;var p=r(c,e,n)-t;c-=p/h}return c}return 0===u?o:function(e,t,n,s,i){var l,o,a=0;do(l=r(o=t+(n-t)/2,s,i)-e)>0?n=o:t=o;while(Math.abs(l)>1e-7&&++a<10)return o}(t,s,s+.1,e,n)}(s),t,o)}}},50550,e=>{"use strict";var t=e.i(1098);function n(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let s=n(0,t.useTranslations);n(0,t.useFormatter),e.s(["useTranslations",0,s])},11352,(e,t,n)=>{"use strict";e.i(4737),Object.defineProperty(n,"__esModule",{value:!0});var s={default:function(){return c},getImageProps:function(){return u}};for(var r in s)Object.defineProperty(n,r,{enumerable:!0,get:s[r]});let i=e.r(36437),l=e.r(82125),o=e.r(64830),a=i._(e.r(88861));function u(e){let{props:t}=(0,l.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let c=o.Image},7883,(e,t,n)=>{t.exports=e.r(11352)},31972,e=>{"use strict";var t,n,s,r,i,l,o,a,u,c,d,h=e.i(45694),p=function(e){this.startX=e.startX,this.startY=e.startY,this.endX=e.endX,this.endY=e.endY,this.totalX=this.endX-this.startX,this.totalY=this.endY-this.startY,this.startMultiplierX=e.startMultiplierX||1,this.endMultiplierX=e.endMultiplierX||1,this.startMultiplierY=e.startMultiplierY||1,this.endMultiplierY=e.endMultiplierY||1};function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e}).apply(this,arguments)}(t=l||(l={})).speed="speed",t.translateX="translateX",t.translateY="translateY",t.rotate="rotate",t.rotateX="rotateX",t.rotateY="rotateY",t.rotateZ="rotateZ",t.scale="scale",t.scaleX="scaleX",t.scaleY="scaleY",t.scaleZ="scaleZ",t.opacity="opacity",(n=o||(o={})).px="px",n["%"]="%",n.vh="vh",n.vw="vw",(s=a||(a={})).deg="deg",s.turn="turn",s.rad="rad",(u||(u={}))[""]="",(r=c||(c={})).vertical="vertical",r.horizontal="horizontal",(i=d||(d={})).ease="ease",i.easeIn="easeIn",i.easeOut="easeOut",i.easeInOut="easeInOut",i.easeInQuad="easeInQuad",i.easeInCubic="easeInCubic",i.easeInQuart="easeInQuart",i.easeInQuint="easeInQuint",i.easeInSine="easeInSine",i.easeInExpo="easeInExpo",i.easeInCirc="easeInCirc",i.easeOutQuad="easeOutQuad",i.easeOutCubic="easeOutCubic",i.easeOutQuart="easeOutQuart",i.easeOutQuint="easeOutQuint",i.easeOutSine="easeOutSine",i.easeOutExpo="easeOutExpo",i.easeOutCirc="easeOutCirc",i.easeInOutQuad="easeInOutQuad",i.easeInOutCubic="easeInOutCubic",i.easeInOutQuart="easeInOutQuart",i.easeInOutQuint="easeInOutQuint",i.easeInOutSine="easeInOutSine",i.easeInOutExpo="easeInOutExpo",i.easeInOutCirc="easeInOutCirc",i.easeInBack="easeInBack",i.easeOutBack="easeOutBack",i.easeInOutBack="easeInOutBack";var v=0,m=function(){function e(e){var t=e.el.getBoundingClientRect();if(e.view.scrollContainer){var n=e.view.scrollContainer.getBoundingClientRect();t=f({},t,{top:t.top-n.top,right:t.right-n.left,bottom:t.bottom-n.top,left
1:t.left-n.left})}this.height=e.el.offsetHeight,this.width=e.el.offsetWidth,this.left=t.left,this.right=t.right,this.top=t.top,this.bottom=t.bottom,e.rootMargin&&this._setRectWithRootMargin(e.rootMargin)}return e.prototype._setRectWithRootMargin=function(e){var t=e.top+e.bottom,n=e.left+e.right;this.top-=e.top,this.right+=e.right,this.bottom+=e.bottom,this.left-=e.left,this.height+=t,this.width+=n},e}(),g=[u[""],o.px,o["%"],o.vh,o.vw,a.deg,a.turn,a.rad];function b(e,t){void 0===t&&(t=o["%"]);var n={value:0,unit:t};if(void 0===e)return n;if("number"!=typeof e&&"string"!=typeof e)throw Error("Invalid value provided. Must provide a value as a string or number");if(n.value=parseFloat(e=String(e)),n.unit=e.match(/[\d.\-+]*\s*(.*)/)[1]||t,!g.includes(n.unit))throw Error("Invalid unit provided.");return n}var w={ease:[.25,.1,.25,1],easeIn:[.42,0,1,1],easeOut:[0,0,.58,1],easeInOut:[.42,0,.58,1],easeInQuad:[.55,.085,.68,.53],easeInCubic:[.55,.055,.675,.19],easeInQuart:[.895,.03,.685,.22],easeInQuint:[.755,.05,.855,.06],easeInSine:[.47,0,.745,.715],easeInExpo:[.95,.05,.795,.035],easeInCirc:[.6,.04,.98,.335],easeOutQuad:[.25,.46,.45,.94],easeOutCubic:[.215,.61,.355,1],easeOutQuart:[.165,.84,.44,1],easeOutQuint:[.23,1,.32,1],easeOutSine:[.39,.575,.565,1],easeOutExpo:[.19,1,.22,1],easeOutCirc:[.075,.82,.165,1],easeInOutQuad:[.455,.03,.515,.955],easeInOutCubic:[.645,.045,.355,1],easeInOutQuart:[.77,0,.175,1],easeInOutQuint:[.86,0,.07,1],easeInOutSine:[.445,.05,.55,.95],easeInOutExpo:[1,0,0,1],easeInOutCirc:[.785,.135,.15,.86],easeInBack:[.6,-.28,.735,.045],easeOutBack:[.175,.885,.32,1.275],easeInOutBack:[.68,-.55,.265,1.55]};function E(e){if(Array.isArray(e))return(0,h.default)(e[0],e[1],e[2],e[3]);if("string"==typeof e&&void 0!==w[e]){var t=w[e];return(0,h.default)(t[0],t[1],t[2],t[3])}}var y=Object.values(l),P={speed:"px",translateX:"%",translateY:"%",rotate:"deg",rotateX:"deg",rotateY:"deg",rotateZ:"deg",scale:"",scaleX:"",scaleY:"",scaleZ:"",opacity:""};function C(e,t){var n={};return y.forEach(function(s){var r=P[s];if("number"==typeof(null==e?void 0:e[s])){var i=null==e?void 0:e[s],l=b(10*(i||0)+"px"),o=b(-10*(i||0)+"px"),a={start:l.value,end:o.value,unit:l.unit};t===c.vertical&&(n.translateY=a),t===c.horizontal&&(n.translateX=a)}if(Array.isArray(null==e?void 0:e[s])){var u=null==e?void 0:e[s];if(void 0!==u[0]&&void 0!==u[1]){var d=b(null==u?void 0:u[0],r),h=b(null==u?void 0:u[1],r),p=E(null==u?void 0:u[2]);if(n[s]={start:d.value,end:h.value,unit:d.unit,easing:p},d.unit!==h.unit)throw Error("Must provide matching units for the min and max offset values of each axis.")}}}),n}function x(e,t,n,s){var r=(n-e)/t;return s&&(r=s(r)),r}function S(e,t){var n,s;return{value:(n="function"==typeof e.easing?e.easing(t):t,s=(null==e?void 0:e.start)||0,(((null==e?void 0:e.end)||0)-s)*(n-0)/1+s),unit:null==e?void 0:e.unit}}var I=Object.values(l).filter(function(e){return"opacity"!==e});function O(e){var t=e.el;t&&(t.style.transform="",t.style.opacity="")}function _(e,t,n){return Math.max(n/(n+(Math.abs(e)+Math.abs(t))*(t>e?-1:1)),1)}function M(e,t){var n=e.start,s=e.end,r=e.unit;if("%"===r){var i=t/100;n*=i,s*=i}if("vw"===r){var l=n/100,o=s/100;n=window.innerWidth*l,s=window.innerWidth*o}if("vh"===r){var a=n/100,u=s/100;n=window.innerHeight*a,s=window.innerHeight*u}return{start:n,end:s}}var A={start:0,end:0,unit:""},k=function(e,t,n){return Math.min(Math.max(e,t),n)},F=function(){function e(e){var t,n;this.el=e.el,this.props=e.props,this.scrollAxis=e.scrollAxis,this.disabledParallaxController=e.disabledParallaxController||!1,this.id=++v,this.effects=C(this.props,this.scrollAxis),this.isInView=null,this.progress=0,this._setElementEasing(e.props.easing),t=e.el,n=Object.keys(this.effects).includes("opacity"),t.style.willChange="transform"+(n?",opacity":"")}var t=e.prototype;return t.updateProps=function(e){return this.props=f({},this.props,e),this.effects=C(e,this.scrollAxis),this._setElementEasing(e.easing),this},t.setCachedAttributes=function(e,t){O(this),this.rect=new m({el:this.props.targetElement||this.el,rootMargin:this.props.rootMargin,view:e});var n,s,r,i,l,o,a,u,d,h,v,g,b=(n=this.props,s=this.effects,r=this.scrollAxis,!n.rootMargin&&!n.targetElement&&!n.shouldDisableScalingTranslations&&(!!s.translateX&&r===c.horizontal||!!s.translateY&&r===c.vertical));return"number"==typeof this.props.startScroll&&"number"==typeof this.props.endScroll?(this.limits=new p({startX:this.props.startScroll,startY:this.props.startScroll,endX:this.props.endScroll,endY:this.props.endScroll}),this._setElementStyles(),this):(b?(this.limits=function(e,t,n,s,r,i){var l=n.translateX||A,o=n.translateY||A,a=M(l,e.width),u=a.start,d=a.end,h=M(o,e.height),f=h.start,v=h.end,m=e.top-t.height,g=e.left-t.width,b=e.bottom,w=e.right,E=1,y=1;r===c.vertical&&(y=E=_(f,v,t.height+e.height));var P=1,C=1;if(r===c.horizontal&&(C=P=_(u,d,t.width+e.width)),f<0&&(m+=f*E),v>0&&(b+=v*y),u<0&&(g+=u*P),d>0&&(w+=d*C),g+=s.x,w+=s.x,m+=s.y,b+=s.y,i){var x=s.y+e.top<t.height,S=s.x+e.left<t.width,I=s.y+e.bottom>t.scrollHeight-t.height,O=s.x+e.right>t.scrollWidth-t.height;x&&I&&(E=1,y=1,m=0,b=t.scrollHeight-t.height),S&&O&&(P=1,C=1,g=0,w=t.scrollWidth-t.width),!x&&I&&(m=e.top-t.height+s.y,E=_(f,v,(b=t.scrollHeight-t.height)-m),y=1,f<0&&(m+=f*E)),!S&&O&&(g=e.left-t.width+s.x,P=_(u,d,(w=t.scrollWidth-t.width)-g),C=1,u<0&&(g+=u*P)),x&&!I&&(m=0,E=1,y=_(f,v,(b=e.bottom+s.y)-m),v>0&&(b+=v*y)),S&&!O&&(g=0,P=1,C=_(u,d,(w=e.right+s.x)-g),d>0&&(w+=d*C))}return new p({startX:g,startY:m,endX:w,endY:b,startMultiplierX:P,endMultiplierX:C,startMultiplierY:E,endMultiplierY:y})}(this.rect,e,this.effects,t,this.scrollAxis,this.props.shouldAlwaysCompleteAnimation),this.scaledEffects=(i=this.effects,l=this.limits,(o=f({},i)).translateX&&(o.translateX=f({},i.translateX,{start:o.translateX.start*l.startMultiplierX,end:o.translateX.end*l.endMultiplierX})),o.translateY&&(o.translateY=f({},i.translateY,{start:o.translateY.start*l.startMultiplierY,end:o.translateY.end*l.endMultiplierY})),o)):this.limits=(a=this.rect,u=this.props.shouldAlwaysCompleteAnimation,d=a.top-e.height,h=a.left-e.width,v=a.bottom,g=a.right,h+=t.x,g+=t.x,d+=t.y,v+=t.y,u&&(t.y+a.top<e.height&&(d=0),t.x+a.left<e.width&&(h=0),v>e.scrollHeight-e.height&&(v=e.scrollHeight-e.height),g>e.scrollWidth-e.width&&(g=e.scrollWidth-e.width)),new p({startX:h,startY:d,endX:g,endY:v})),this._setElementStyles(),this)},t._updateElementIsInView=function(e){var t=null===this.isInView;
1e!==this.isInView&&(e?this.props.onEnter&&this.props.onEnter(this):!t&&(this._setFinalProgress(),this._setElementStyles(),this.props.onExit&&this.props.onExit(this))),this.isInView=e},t._setFinalProgress=function(){var e=k(Math.round(this.progress),0,1);this._updateElementProgress(e)},t._setElementStyles=function(){this.props.disabled||this.disabledParallaxController||function(e,t,n){if(n){var s,r,i,l,o,a=(s=e,r=t,I.reduce(function(e,t){var n=s[t]&&S(s[t],r);return void 0===n||void 0===n.value||void 0===n.unit?e:e+(t+"("+n.value+n.unit)+")"},"")),u=(i=e,l=t,void 0===(o=i.opacity&&S(i.opacity,l))||void 0===o.value||void 0===o.unit?"":""+o.value);n.style.transform=a,n.style.opacity=u}}(this.scaledEffects||this.effects,this.progress,this.el)},t._updateElementProgress=function(e){this.progress=e,this.props.onProgressChange&&this.props.onProgressChange(this.progress),this.props.onChange&&this.props.onChange(this)},t._setElementEasing=function(e){this.easing=E(e)},t.updateElementOptions=function(e){this.scrollAxis=e.scrollAxis,this.disabledParallaxController=e.disabledParallaxController||!1},t.updatePosition=function(e){if(!this.limits)return this;var t=this.scrollAxis===c.vertical,n=null===this.isInView,s=t?this.limits.startY:this.limits.startX,r=t?this.limits.endY:this.limits.endX,i=t?this.limits.totalY:this.limits.totalX,l=t?e.y:e.x,o=l>=s&&l<=r;if(this._updateElementIsInView(o),o){var a=x(s,i,l,this.easing);this._updateElementProgress(a),this._setElementStyles()}else n&&(this.progress=k(Math.round(x(s,i,l,this.easing)),0,1),this._setElementStyles());return this},e}(),R=function(){function e(e){this.scrollContainer=e.scrollContainer,this.width=e.width,this.height=e.height,this.scrollHeight=e.scrollHeight,this.scrollWidth=e.scrollWidth}var t=e.prototype;return t.hasChanged=function(e){return e.width!==this.width||e.height!==this.height||e.scrollWidth!==this.scrollWidth||e.scrollHeight!==this.scrollHeight},t.setSize=function(e){return this.width=e.width,this.height=e.height,this.scrollHeight=e.scrollHeight,this.scrollWidth=e.scrollWidth,this},e}(),B=function(){function e(e,t){this.x=e,this.y=t,this.dx=0,this.dy=0}return e.prototype.setScroll=function(e,t){return this.dx=e-this.x,this.dy=t-this.y,this.x=e,this.y=t,this},e}(),Y=function(){function e(e){var t=e.scrollAxis,n=void 0===t?c.vertical:t,s=e.scrollContainer,r=e.disabled;this.disabled=void 0!==r&&r,this.scrollAxis=n,this.elements=[],this._hasScrollContainer=!!s,this.viewEl=null!=s?s:window;var i=this._getScrollPosition(),l=i[0],o=i[1];this.scroll=new B(l,o),this.view=new R({width:0,height:0,scrollWidth:0,scrollHeight:0,scrollContainer:this._hasScrollContainer?s:void 0}),this._ticking=!1,this._supportsPassive=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e}(),this._bindAllMethods(),this.disabled||(this._addListeners(this.viewEl),this._addResizeObserver(),this._setViewSize())}e.init=function(t){if(!("u">typeof window))throw Error("Looks like ParallaxController.init() was called on the server. This method must be called on the client.");return new e(t)};var t=e.prototype;return t._bindAllMethods=function(){var e=this;["_addListeners","_removeListeners","_getScrollPosition","_handleScroll","_handleUpdateCache","_updateAllElements","_updateElementPosition","_setViewSize","_addResizeObserver","_checkIfViewHasChanged","_getViewParams","getElements","createElement","removeElementById","resetElementStyles","updateElementPropsById","update","updateScrollContainer","destroy"].forEach(function(t){e[t]=e[t].bind(e)})},t._addListeners=function(e){e.addEventListener("scroll",this._handleScroll,!!this._supportsPassive&&{passive:!0}),window.addEventListener("resize",this._handleUpdateCache,!1),window.addEventListener("blur",this._handleUpdateCache,!1),window.addEventListener("focus",this._handleUpdateCache,!1),window.addEventListener("load",this._handleUpdateCache,!1)},t._removeListeners=function(e){var t;e.removeEventListener("scroll",this._handleScroll,!1),window.removeEventListener("resize",this._handleUpdate
1Cache,!1),window.removeEventListener("blur",this._handleUpdateCache,!1),window.removeEventListener("focus",this._handleUpdateCache,!1),window.removeEventListener("load",this._handleUpdateCache,!1),null==(t=this._resizeObserver)||t.disconnect()},t._addResizeObserver=function(){var e=this;try{var t=this._hasScrollContainer?this.viewEl:document.documentElement;this._resizeObserver=new ResizeObserver(function(){return e.update()}),this._resizeObserver.observe(t)}catch(e){console.warn("Failed to create the resize observer in the ParallaxContoller")}},t._getScrollPosition=function(){return[this._hasScrollContainer?this.viewEl.scrollLeft:window.pageXOffset,this._hasScrollContainer?this.viewEl.scrollTop:window.pageYOffset]},t._handleScroll=function(){var e,t=this._getScrollPosition(),n=t[0],s=t[1];this.scroll.setScroll(n,s),!this._ticking&&(null==(e=this.elements)?void 0:e.length)>0&&(this._ticking=!0,window.requestAnimationFrame(this._updateAllElements))},t._handleUpdateCache=function(){this._setViewSize(),this._updateAllElements({updateCache:!0})},t._updateAllElements=function(e){var t=this,n=(void 0===e?{}:e).updateCache;this.elements&&this.elements.forEach(function(e){n&&e.setCachedAttributes(t.view,t.scroll),t._updateElementPosition(e)}),this._ticking=!1},t._updateElementPosition=function(e){e.props.disabled||this.disabled||e.updatePosition(this.scroll)},t._getViewParams=function(){if(this._hasScrollContainer){var e=this.viewEl.offsetWidth,t=this.viewEl.offsetHeight,n=this.viewEl.scrollHeight,s=this.viewEl.scrollWidth;return this.view.setSize({width:e,height:t,scrollHeight:n,scrollWidth:s})}var r=document.documentElement;return{width:window.innerWidth||r.clientWidth,height:window.innerHeight||r.clientHeight,scrollHeight:r.scrollHeight,scrollWidth:r.scrollWidth}},t._setViewSize=function(){return this.view.setSize(this._getViewParams())},t._checkIfViewHasChanged=function(){return this.view.hasChanged(this._getViewParams())},t.getElements=function(){return this.elements},t.createElement=function(e){var t=new F(f({},e,{scrollAxis:this.scrollAxis,disabledParallaxController:this.disabled}));return t.setCachedAttributes(this.view,this.scroll),this.elements=this.elements?[].concat(this.elements,[t]):[t],this._updateElementPosition(t),this._checkIfViewHasChanged()&&this.update(),t},t.removeElementById=function(e){this.elements&&(this.elements=this.elements.filter(function(t){return t.id!==e}))},t.updateElementPropsById=function(e,t){this.elements&&(this.elements=this.elements.map(function(n){return n.id===e?n.updateProps(t):n})),this.update()},t.resetElementStyles=function(e){O(e)},t.update=function(){var e=this._getScrollPosition(),t=e[0],n=e[1];this.scroll.setScroll(t,n),this._setViewSize(),this._updateAllElements({updateCache:!0})},t.updateScrollContainer=function(e){this._removeListeners(this.viewEl),this.viewEl=e,this._hasScrollContainer=!!e,this.view=new R({width:0,height:0,scrollWidth:0,scrollHeight:0,scrollContainer:e}),this._setViewSize(),this._addListeners(this.viewEl),this._updateAllElements({updateCache:!0})},t.disableParallaxController=function(){this.disabled=!0,this._removeListeners(this.viewEl),this.elements&&this.elements.forEach(function(e){return O(e)})},t.enableParallaxController=function(){var e=this;this.disabled=!1,this.elements&&this.elements.forEach(function(t){return t.updateElementOptions({disabledParallaxController:!1,scrollAxis:e.scrollAxis})}),this._addListeners(this.viewEl),this._addResizeObserver(),this._setViewSize()},t.disableAllElements=function(){console.warn("deprecated: use disableParallaxController() instead"),this.elements&&(this.elements=this.elements.map(function(e){return e.updateProps({disabled:!0})})),this.update()},t.enableAllElements=function(){console.warn("deprecated: use enableParallaxController() instead"),this.elements&&(this.elements=this.elements.map(function(e){return e.updateProps({disabled:!1})})),this.update()},t.destroy=function(){this._removeListeners(this.viewEl),this.elements&&this.elements.forEach(function(e){return O(e)}),this.elements=void 0},e}(),L=e.i(40075);function D(e){var t;let{disabled:n,easing:s,endScroll:r,onChange:i,onEnter:l,onExit:o,onProgressChange:a,opacity:u,rootMargin:c,rotate:d,rotateX:h,rotateY:p,rotateZ:f,scale:v,scaleX:m,scaleY:g,scaleZ:b,shouldAlwaysCompleteAnimation:w,shouldDisableScalingTranslations:E,speed:y,startScroll:P,targetElement:C,translateX:x,translateY:S,...I}=e;
1return{parallaxProps:(Object.keys(t={disabled:n,easing:s,endScroll:r,onChange:i,onEnter:l,onExit:o,onProgressChange:a,opacity:u,rootMargin:c,rotate:d,rotateX:h,rotateY:p,rotateZ:f,scale:v,scaleX:m,scaleY:g,scaleZ:b,shouldAlwaysCompleteAnimation:w,shouldDisableScalingTranslations:E,speed:y,startScroll:P,targetElement:C,translateX:x,translateY:S}).forEach(e=>void 0===t[e]&&delete t[e]),t),rest:I}}let T=L.default.createContext(null),X={height:0},H={position:"absolute",top:0,left:0,right:0,bottom:0},$=e=>{let{parallaxProps:t,rest:n}=D(e),{children:s,disabled:r,style:i,expanded:l=!0,image:o,testId:a,...u}=n,c=e.image?{backgroundImage:`url(${e.image})`,backgroundPosition:"center",backgroundSize:"cover"}:{},d=l?function(e){if(Array.isArray(e.translateY)){let s=b(e.translateY[0]),r=b(e.translateY[1]);if("px"===s.unit&&"px"===r.unit)return{top:`${-1*Math.abs(r.value)}px`,bottom:`${-1*Math.abs(s.value)}px`};if("%"===s.unit&&"%"===r.unit){var t,n;let i=null!=(t=null==(n=e.targetElement)?void 0:n.getBoundingClientRect())?t:X,l=-1*Math.abs(.01*i.height*r.value),o=-1*Math.abs(.01*i.height*s.value);return{top:`${l}px`,bottom:`${o}px`}}}if(e.speed){let t=-(10*Math.abs(e.speed||0)*1);return{top:`${t}px`,bottom:`${t}px`}}return{}}(e):{},h=function(e){let t=function(){let e=(0,L.useContext)(T);if("u"<typeof window)return null;if(!e)throw Error("Could not find `react-scroll-parallax` context value. Please ensure the component is wrapped in a <ParallaxProvi
1der>");return e}(),n=(0,L.useRef)(null),{parallaxProps:s}=D(e);(0,L.useEffect)(()=>{let e=t instanceof Y;if(!("u"<typeof window)&&!t&&!e)throw Error("Must wrap your application's <Parallax /> components in a <ParallaxProvider />.")},[t]);let[r,i]=(0,L.useState)();return(0,L.useEffect)(()=>{let e;if(n.current instanceof HTMLElement){let r={el:n.current,props:s};i(e=null==t?void 0:t.createElement(r))}else throw Error("You must assign the ref returned by the useParallax() hook to an HTML Element.");return()=>{e&&(null==t||t.removeElementById(e.id))}},[]),(0,L.useEffect)(()=>{r&&(e.disabled&&(null==t||t.resetElementStyles(r)),null==t||t.updateElementPropsById(r.id,s))},[e.disabled,e.easing,e.endScroll,e.onChange,e.onEnter,e.onExit,e.onProgressChange,e.opacity,e.rootMargin,e.rotate,e.rotateX,e.rotateY,e.rotateZ,e.scale,e.scaleX,e.scaleY,e.scaleZ,e.shouldAlwaysCompleteAnimation,e.shouldDisableScalingTranslations,e.speed,e.startScroll,e.targetElement,e.translateX,e.translateY]),{ref:n,controller:t,element:r}}({targetElement:e.targetElement,shouldDisableScalingTranslations:!0,...t});return L.default.createElement("div",{"data-testid":a,ref:h.ref,style:{...c,...H,...d,...i},...u},n.children)},z={position:"relative",overflow:"hidden",width:"100%"};e.s(["ParallaxBanner",0,e=>{let[t,n]=(0,L.useState)(null),s=(0,L.useRef)(null);(0,L.useEffect)(()=>{n(s.current)},[]);let{disabled:r,style:i,layers:l=[],...o}=e;return L.default.createElement("div",{ref:s,style:{...z,...i},...o},t&&l&&l.length>0?l.map((e,n)=>L.default.createElement($,{...e,targetElement:t,key:`layer-${n}`,testId:`layer-${n}`})):null,t?L.default.Children.map(e.children,e=>(null==e?void 0:e.type)===$?L.default.cloneElement(e,{targetElement:t}):e):null)}
1,"ParallaxBannerLayer",0,$,"ParallaxProvider",0,function(e){var t;let n=(0,L.useRef)(null);return n.current||(t={scrollAxis:e.scrollAxis||c.vertical,scrollContainer:e.scrollContainer,disabled:e.isDisabled},n.current="u">typeof window?Y.init(t):null),(0,L.useEffect)(()=>{e.scrollContainer&&n.current&&n.current.updateScrollContainer(e.scrollContainer)},[e.scrollContainer]),(0,L.useEffect)(()=>{e.isDisabled&&n.current&&n.current.disableParallaxController(),!e.isDisabled&&n.current&&n.current.enableParallaxController()},[e.isDisabled]),(0,L.useEffect)(()=>()=>{var e;null==n||null==(e=n.current)||e.destroy()},[]),L.default.createElement(T.Provider,{value:n.current},e.children)}],31972)},1171,e=>{"use strict";var t=e.i(88386),n=e.i(30504),s=e.i(57440),r=e.i(32611),i=e.i(50550),l=e.i(40075);e.i(21351);var o=e.i(89441),a=e.i(1103);e.s(["AuthorCallButton",0,function({phone:e,label:u,author:c}){let d=(0,i.useTranslations)("contact"),h=`tel:${e}`,p=(e=>{if(!e)return"";let t=e.replace(/[^\d+]/g,"");for(let[e,n]of Object.entries({"+48":e=>9===e.length?`+48 ${e.slice(0,3)} ${e.slice(3,6)} ${e.slice(6)}`:null,"+45":e=>e.length>=8?`+45 ${e.slice(0,4)} ${e.slice(4,8)} ${e.slice(8)}`:null,"+49":e=>e.length>=6?`+49 ${e.slice(0,3)} ${e.slice(3)}`:null,"+33":e=>e.length>=9?`+33 ${e.slice(0,1)} ${e.slice(1,3)} ${e.slice(3,5)} ${e.slice(5,7)} ${e.slice(7)}`:null,"+886":e=>e.length>=10?`+886 (${e.slice(0,2)}) ${e.slice(2,6)}-${e.slice(6)}`:null,"+1":e=>10===e.length?`+1 (${e.slice(0,3)}) ${e.slice(3,6)}-${e.slice(6)}`:null,"+44":e=>e.length>=7?`+44 ${e.slice(0,2)} ${e.slice(2,5)} ${e.slice(5)}`:null,"+971":e=>e.length>=9?`+971 ${e.slice(0,2)} ${e.slice(2,5)} ${e.slice(5)}`:null}))if(t.startsWith(e)){let s=n(t.slice(e.length));if(s)return s}return e})(e),f=(0,l.useRef)(!1),v={event:"author-contact-phone",label:u,author:c},m=()=>{f.current||(f.current=!0,window.dataLayer=window.dataLayer??[],window.dataLayer.push({...v,link_url:h}))};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"contents pointer-fine:hidden",children:(0,t.jsx)(o.ButtonLinkTT,{href:h,variant:"secondary",size:"xs",icon:"phone",onClick:m,children:u})}),(0,t.jsxs)(r.Popover,{className:"relative hidden pointer-fine:block",children:[(0,t.jsxs)(r.PopoverButton,{className:(0,a.getButtonClasses)("secondary","xs","default"),onClick:m,children:[(0,t.jsx)(s.FontAwesomeIcon,{icon:n.faPhone,className:"inherit aspect-square max-h-[1.25em] max-w-[1.25em] shrink-0",size:"lg"}),u]}),(0,t.jsxs)(r.PopoverPanel,{anchor:"bottom start",className:"border-tt-gray-300 z-50 mt-2 rounded-md border bg-white px-4 py-3 shadow-2xl outline-none",children:[(0,t.jsx)("span",{className:"text-tt-gray-700 text-sm",children:d("directPhoneNumber")}),(0,t.jsx)("br",{}),(0,t.jsx)("a",{href:h,className:"hover:text-tt-pink-500 font-montserrat text-sm font-semibold whitespace-nowrap text-gray-900",children:p})]})]})]})}],1171)},93030,e=>{"use strict";var t=e.i(88386),n=e.i(7284);e.s(["Grid",0,function({children:e,className:s,cols:r=2,id:i}){let l=s?.includes("gap-");return(0,t.jsx)("div",{id:i,className:(0,n.default)("grid grid-cols-1 items-start",!l&&"gap-x-6 gap-y-4 lg:gap-x-8 lg:gap-y-5",1===r&&"sm:grid-cols-1 lg:grid-cols-1",2===r&&"sm:grid-cols-1 lg:grid-cols-2",3===r&&"sm:grid-cols-2 lg:grid-cols-3",4===r&&"sm:grid-cols-3 lg:grid-cols-4",5===r&&"sm:grid-cols-4 lg:grid-cols-5",6===r&&"sm:grid-cols-4 lg:grid-cols-6",s),children:e})}])},32080,e=>{"use strict";var t=e.i(88386),n=e.i(7284);e.s(["Lead",0,function({children:e,className:s,isSubtitle:r=!1}){return(0,t.jsx)("p",{className:(0,n.default)("font-montserrat text-lg font-normal xl:text-xl",r&&"max-w-4xl xl:max-w-5xl xl:leading-relaxed",s),children:e})}])}]);

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.