PageSourceSearch

https://swissborg.com/1067-de500c771d89bdffd9ff.js

js swissborg.com collected 2026-09-24 09:10:24 UTC 54,601 bytes, 1 lines download raw bytes

1(self.webpackChunkswissborg_website_main=self.webpackChunkswissborg_website_main||[]).push([[1067],{14588:function(e,t,n){var i=n(30758);function s(e){return i.createElement("svg",e,[i.createElement("path",{d:"M16.2945 11.5709C16.619 11.7649 16.619 12.2351 16.2945 12.4292L10.7444 15.7477C10.4111 15.9469 9.98779 15.7068 9.98779 15.3185V8.68156C9.98779 8.29325 10.4111 8.05315 10.7444 8.25242L16.2945 11.5709Z",fill:"white",key:0}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.5 12C22.5 17.5228 18.0228 22 12.5 22C6.97715 22 2.5 17.5228 2.5 12C2.5 6.47715 6.97715 2 12.5 2C18.0228 2 22.5 6.47715 22.5 12ZM21.5 12C21.5 16.9706 17.4706 21 12.5 21C7.52944 21 3.5 16.9706 3.5 12C3.5 7.02944 7.52944 3 12.5 3C17.4706 3 21.5 7.02944 21.5 12Z",fill:"white",key:1})])}s.defaultProps={viewBox:"0 0 25 24",fill:"none"},e.exports=s,s.default=s},19896:function(e,t,n){var i=n(30758);function s(e){return i.createElement("svg",e,[i.createElement("path",{d:"M9.43934 5.35348C10.3843 4.40853 12 5.07779 12 6.41414V17.5857C12 18.9221 10.3843 19.5913 9.43934 18.6464L6.43934 15.6464C6.34557 15.5526 6.2184 15.4999 6.08579 15.4999H4.5C3.67157 15.4999 3 14.8284 3 13.9999V9.99993C3 9.1715 3.67157 8.49993 4.5 8.49993H6.08579C6.21839 8.49993 6.34557 8.44725 6.43934 8.35348L9.43934 5.35348Z",fill:"white",key:0}),i.createElement("path",{d:"M14.6464 9.64639C14.8417 9.45112 15.1583 9.45112 15.3536 9.64639L17 11.2928L18.6464 9.64639C18.8417 9.45112 19.1583 9.45112 19.3536 9.64639C19.5488 9.84165 19.5488 10.1582 19.3536 10.3535L17.7071 11.9999L19.3536 13.6464C19.5488 13.8416 19.5488 14.1582 19.3536 14.3535C19.1583 14.5488 18.8417 14.5488 18.6464 14.3535L17 12.707L15.3536 14.3535C15.1583 14.5488 14.8417 14.5488 14.6464 14.3535C14.4512 14.1582 14.4512 13.8416 14.6464 13.6464L16.2929 11.9999L14.6464 10.3535C14.4512 10.1582 14.4512 9.84165 14.6464 9.64639Z",fill:"white",key:1})])}s.defaultProps={viewBox:"0 0 24 24",fill:"none"},e.exports=s,s.default=s},21067:function(e,t,n){"use strict";n.r(t),n.d(t,{StoriesSlice:function(){return Yt}});var i=n(30758),s=n(81363),o=n(9331),r=n(58730),a=n(55005),c=n(48973),l=n(27684),u=n(41915),d=n.n(u),h=n(80862),p=n.n(h),m=n(23439),f=n.n(m),g=n(60212),v=n.n(g),b=n(14588),y=n.n(b),w=n(19896),_=n.n(w),C=n(44530),E=n.n(C),x=n(33598),S=n(75514);const k={toVector(e,t){return void 0===e&&(e=t),Array.isArray(e)?e:[e,e]},add(e,t){return[e[0]+t[0],e[1]+t[1]]},sub(e,t){return[e[0]-t[0],e[1]-t[1]]},addTo(e,t){e[0]+=t[0],e[1]+=t[1]},subTo(e,t){e[0]-=t[0],e[1]-=t[1]}};function I(e,t,n){return 0===t||Math.abs(t)===1/0?Math.pow(e,5*n):e*t*n/(t+n*e)}function T(e,t,n,i=.15){return 0===i?function(e,t,n){return Math.max(t,Math.min(e,n))}(e,t,n):e<t?-I(t-e,n-t,i)+t:e>n?+I(e-n,n-t,i)+n:e}function P(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function M(e,t,n){return(t=P(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){M(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const N={pointer:{start:"down",change:"move",end:"up"},mouse:{start:"down",change:"move",end:"up"},touch:{start:"start",change:"move",end:"end"},gesture:{start:"start",change:"change",end:"end"}};function D(e){return e?e[0].toUpperCase()+e.slice(1):""}const B=["enter","leave"];function A(e,t="",n=!1){const i=N[e],s=i&&i[t]||t;return"on"+D(e)+D(s)+(function(e=!1,t){return e&&!B.includes(t)}(n,s)?"Capture":"")}const j=["gotpointercapture","lostpointercapture"];function V(e){let t=e.substring(2).toLowerCase();const n=!!~t.indexOf("passive");n&&(t=t.replace("passive",""));const i=j.includes(t)?"capturecapture":"capture",s=!!~t.indexOf(i);return s&&(t=t.replace("capture","")),{device:t,capture:s,passive:n}}function K(e){return"touches"in e}function R(e){return K(e)?"touch":"pointerType"in e?e.pointerType:"mouse"}function $(e){return K(e)?function(e){return"touchend"===e.type||"touchcancel"===e.type?e.changedTouches:e.targetTouches}(e)[0]:e}function z(e,t){try{const n=t.clientX-e.clientX,i=t.clientY-e.clientY,s=(t.clientX+e.clientX)/2,o=(t.clientY+e.clientY)/2,r=Math.hypot(n,i),a=-180*Math.atan2(n,i)/Math.PI;return{angle:a,distance:r,origin:[s,o]}}catch(n){}return null}function X(e){return function(e){return Array.from(e.touches).filter((t=>{var n,i;return t.target===e.currentTarget||(null===(n=e.currentTarget)||void 0===n||null===(i=n.contains)||void 0===i?void 0:i.call(n,t.target))}))}(e).map((e=>e.identifier))}function Z(e,t){const[n,i]=Array.from(e.touches).filter((e=>t.includes(e.identifier)));return z(n,i)}function U(e){const t=$(e);return K(e)?t.identifier:t.pointerId}function H(e){const t=$(e);return[t.clientX,t.clientY]}function Y(e){let{deltaX:t,deltaY:n,deltaMode:i}=e;return 1===i?(t*=40,n*=40):2===i&&(t*=800,n*=800),[t,n]}function W(e,...t){return"function"==typeof e?e(...t):e}function q(){}function G(...e){return 0===e.length?q:1===e.length?e[0]:function(){let t;for(const n of e)t=n.apply(this,arguments)||t;return t}}function J(e,t){return Object.assign({},t,e||{})}class F{constructor(e,t,n){this.ctrl=e,this.args=t,this.key=n,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}
1get state(){return this.ctrl.state[this.key]}set state(e){this.ctrl.state[this.key]=e}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){const{state:e,shared:t,ingKey:n,args:i}=this;t[n]=e._active=e.active=e._blocked=e._force=!1,e._step=[!1,!1],e.intentional=!1,e._movement=[0,0],e._distance=[0,0],e._direction=[0,0],e._delta=[0,0],e._bounds=[[-1/0,1/0],[-1/0,1/0]],e.args=i,e.axis=void 0,e.memo=void 0,e.elapsedTime=e.timeDelta=0,e.direction=[0,0],e.distance=[0,0],e.overflow=[0,0],e._movementBound=[!1,!1],e.velocity=[0,0],e.movement=[0,0],e.delta=[0,0],e.timeStamp=0}start(e){const t=this.state,n=this.config;t._active||(this.reset(),this.computeInitial(),t._active=!0,t.target=e.target,t.currentTarget=e.currentTarget,t.lastOffset=n.from?W(n.from,t):t.offset,t.offset=t.lastOffset,t.startTime=t.timeStamp=e.timeStamp)}computeValues(e){const t=this.state;t._values=e,t.values=this.config.transform(e)}computeInitial(){const e=this.state;e._initial=e._values,e.initial=e.values}compute(e){const{state:t,config:n,shared:i}=this;t.args=this.args;let s=0;if(e&&(t.event=e,n.preventDefault&&e.cancelable&&t.event.preventDefault(),t.type=e.type,i.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,i.locked=!!document.pointerLockElement,Object.assign(i,function(e){const t={};if("buttons"in e&&(t.buttons=e.buttons),"shiftKey"in e){const{shiftKey:n,altKey:i,metaKey:s,ctrlKey:o}=e;Object.assign(t,{shiftKey:n,altKey:i,metaKey:s,ctrlKey:o})}return t}(e)),i.down=i.pressed=i.buttons%2==1||i.touches>0,s=e.timeStamp-t.timeStamp,t.timeStamp=e.timeStamp,t.elapsedTime=t.timeStamp-t.startTime),t._active){const e=t._delta.map(Math.abs);k.addTo(t._distance,e)}this.axisIntent&&this.axisIntent(e);const[o,r]=t._movement,[a,c]=n.threshold,{_step:l,values:u}=t;if(n.hasCustomTransform?(!1===l[0]&&(l[0]=Math.abs(o)>=a&&u[0]),!1===l[1]&&(l[1]=Math.abs(r)>=c&&u[1])):(!1===l[0]&&(l[0]=Math.abs(o)>=a&&Math.sign(o)*a),!1===l[1]&&(l[1]=Math.abs(r)>=c&&Math.sign(r)*c)),t.intentional=!1!==l[0]||!1!==l[1],!t.intentional)return;const d=[0,0];if(n.hasCustomTransform){const[e,t]=u;d[0]=!1!==l[0]?e-l[0]:0,d[1]=!1!==l[1]?t-l[1]:0}else d[0]=!1!==l[0]?o-l[0]:0,d[1]=!1!==l[1]?r-l[1]:0;this.restrictToAxis&&!t._blocked&&this.restrictToAxis(d);const h=t.offset,p=t._active&&!t._blocked||t.active;p&&(t.first=t._active&&!t.active,t.last=!t._active&&t.active,t.active=i[this.ingKey]=t._active,e&&(t.first&&("bounds"in n&&(t._bounds=W(n.bounds,t)),this.setup&&this.setup()),t.movement=d,this.computeOffset()));const[m,f]=t.offset,[[g,v],[b,y]]=t._bounds;t.overflow=[m<g?-1:m>v?1:0,f<b?-1:f>y?1:0],t._movementBound[0]=!!t.overflow[0]&&(!1===t._movementBound[0]?t._movement[0]:t._movementBound[0]),t._movementBound[1]=!!t.overflow[1]&&(!1===t._movementBound[1]?t._movement[1]:t._movementBound[1]);const w=t._active&&n.rubberband||[0,0];if(t.offset=function(e,[t,n],[i,s]){const[[o,r],[a,c]]=e;return[T(t,o,r,i),T(n,a,c,s)]}(t._bounds,t.offset,w),t.delta=k.sub(t.offset,h),this.computeMovement(),p&&(!t.last||s>32)){t.delta=k.sub(t.offset,h);const e=t.delta.map(Math.abs);k.addTo(t.distance,e),t.direction=t.delta.map(Math.sign),t._direction=t._delta.map(Math.sign),!t.first&&s>0&&(t.velocity=[e[0]/s,e[1]/s],t.timeDelta=s)}}emit(){const e=this.state,t=this.shared,n=this.config;if(e._active||this.clean(),(e._blocked||!e.intentional)&&!e._force&&!n.triggerAllEvents)return;const i=this.handler(L(L(L({},t),e),{},{[this.aliasKey]:e.values}));void 0!==i&&(e.memo=i)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}class Q extends F{constructor(...e){super(...e),M(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=k.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=k.sub(this.state.offset,this.state.lastOffset)}axisIntent(e){const t=this.state,n=this.config;if(!t.axis&&e){const i="object"==typeof n.axisThreshold?n.axisThreshold[R(e)]:n.axisThreshold;t.axis=function([e,t],n){const i=Math.abs(e),s=Math.abs(t);return i>s&&i>n?"x":s>i&&s>n?"y":void 0}(t._movement,i)}t._blocked=(n.lockDirection||!!n.axis)&&!t.axis||!!n.axis&&n.axis!==t.axis}restrictToAxis(e){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":e[1]=0;break;case"y":e[0]=0}}}const ee=e=>e,te={enabled(e=!0){return e},eventOptions(e,t,n){return L(L({},n.shared.eventOptions),e)},preventDefault(e=!1){return e},triggerAllEvents(e=!1){return e},rubberband(e=0){switch(e){case!0:return[.15,.15];case!1:return[0,0];default:return k.toVector(e)}},from(e){return"function"==typeof e?e:null!=e?k.toVector(e):void 0},transform(e,t,n){const i=e||n.shared.transform;return this.hasCustomTransform=!!i,i||ee},threshold(e){return k.toVector(e,0)}};const ne=L(L({},te),{},{axis(e,t,{axis:n}){if(this.lockDirection="lock"===n,!this.lockDirection)return n},axisThreshold(e=0){return e},bounds(e={}){if("function"==typeof e)return t=>ne.bounds(e(t));if("current"in e)return()=>e.current;if("function"==typeof HTMLElement&&e instanceof HTMLElement)return e;const{left:t=-1/0,right:n=1/0,top:i=-1/0,bottom:s=1/0}=e;return[[t,n],[i,s]]}}),ie={ArrowRight:(e,t=1)=>[e*t,0],ArrowLeft:(e,t=1)=>[-1*e*t,0],ArrowUp:(e,t=1)=>[0,-1*e*t],ArrowDown:(e,t=1)=>[0,e*t]};const se="undefined"!=typeof window&&window.document&&window.document.createElement;function oe(){return se&&"ontouchstart"in window}const re={isBrowser:se,gesture:function(){try{return"constructor"in GestureEvent}catch(e){return!1}}(),touch:oe(),touchscreen:oe()||se&&window.navigator.maxTouchPoints>1,pointer:se&&"onpointerdown"in window,pointerLock:se&&"exitPointerLock"in window.document},ae={mouse:0,touch:0,pen:8},ce=L(L({},ne),{},{device(e,t,{pointer:{touch:n=!1,lock:i=!1,mouse:s=!1}={}}){return this.pointerLock=i&&re.pointerLock,re.touch&&n?"touch":this.pointerLock?"mouse":re.pointer&&!s?"pointer":re.touch?"touch":"mouse"},preventScrollAxis(e,t,{preventScroll:n}){if(this.preventScrollDelay="number"==typeof n?n:n||void 0===n&&e?250:void 0,re.touchscreen&&!1!==n)return e||(void 0!==n?"y":void 0)},pointerCapture(e,t,{pointer:{capture:n=!0,buttons:i=1,keys:s=!0}={}}){return this.pointerButtons=i,this.keys=s,!this.pointerLock&&"pointer"===this.device&&n},threshold(e,t,{filterTaps:n=!1,tapsThreshold:i=3,axis:s}){const o=k.toVector(e,n?i:s?1:0);return this.filterTaps=n,this.tapsThreshold=i,o},swipe({velocity:e=.5,distance:t=50,duration:n=250}={}){return{velocity:this.transform(k.toVector(e)),distance:this.transform(k.toVector(t)),duration:n}},delay(e=0){switch(e){case!0:return 180;case!1:return 0;default:return e}},axisThreshold(e){return e?L(L({},ae),e):ae},keyboardDisplacement(e=10){return e}});function le(e){const[t,n]=e.overflow,[i,s]=e._delta,[o,r]=e._direction;(t<0&&i>0&&o<0||t>0&&i<0&&o>0)&&(e._movement[0]=e._movementBound[0]),(n<0&&s>0&&r<0||n>0&&s<0&&r>0)&&(e._movement[1]=e._movementBound[1])}const ue=L(L({},te),{},{device(e,t,{shared:n,pointer:{touch:i=!1}={}}){if(n.target&&!re.touch&&re.gesture)return"gesture";if(re.touch&&i)return"touch";if(re.touchscreen){if(re.pointer)return"pointer";if(re.touch)return"touch"}},bounds(e,t,{scaleBounds:n={},angleBounds:i={}}){const s=e=>{const t=J(W(n,e),{min:-1/0,max:1/0});return[t.min,t.max]},o=e=>{const t=J(W(i,e),{min:-1/0,max:1/0});return[t.min,t.max]};return"function"!=typeof n&&"function"!=typeof i?[s(),o()]:e=>[s(e),o(e)]},threshold(e,t,n){this.lockDirection="lock"===n.axis;return k.toVector(e,this.lockDirection?[.1,3]:0)},modifierKey(e){return void 0===e?"ctrlKey":e},pinchOnWheel(e=!0){return e}});const de=L(L({},ne),{},{mouseOnly:(e=!0)=>e});const he=ne;const pe=ne;const me=L(L({},ne),{},{mouseOnly:(e=!0)=>e}),fe=new Map,ge=new Map;function ve(e){fe.set(e.key,e.engine),ge.set(e.key,e.resolver)}const be={key:"drag",engine:class extends Q{constructor(...e){super(...e),M(this,"ingKey","dragging")}reset(){super.reset();const e=this.state;e._pointerId=void 0,e._pointerActive=!1,e._keyboardActive=!1,e._preventScroll=!1,e._delayed=!1,e.swipe=[0,0],e.tap=!1,e.canceled=!1,e.cancel=this.cancel.bind(this)}setup(){const e=this.state;if(e._bounds instanceof HTMLElement){const t=e._bounds.getBoundingClientRect(),n=e.currentTarget.getBoundingClientRect(),i={left:t.left-n.left+e.offset[0],right:t.right-n.right+e.offset[0],top:t.top-n.top+e.offset[1],bottom:t.bottom-n.bottom+e.offset[1]};e._bounds=ne.bounds(i)}}cancel(){const e=this.state;e.canceled||(e.canceled=!0,e._active=!1,setTimeout((()=>
1{this.compute(),this.emit()}),0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(e){const t=this.config,n=this.state;if(null!=e.buttons&&(Array.isArray(t.pointerButtons)?!t.pointerButtons.includes(e.buttons):-1!==t.pointerButtons&&t.pointerButtons!==e.buttons))return;const i=this.ctrl.setEventIds(e);t.pointerCapture&&e.target.setPointerCapture(e.pointerId),i&&i.size>1&&n._pointerActive||(this.start(e),this.setupPointer(e),n._pointerId=U(e),n._pointerActive=!0,this.computeValues(H(e)),this.computeInitial(),t.preventScrollAxis&&"mouse"!==R(e)?(n._active=!1,this.setupScrollPrevention(e)):t.delay>0?(this.setupDelayTrigger(e),t.triggerAllEvents&&(this.compute(e),this.emit())):this.startPointerDrag(e))}startPointerDrag(e){const t=this.state;t._active=!0,t._preventScroll=!0,t._delayed=!1,this.compute(e),this.emit()}pointerMove(e){const t=this.state,n=this.config;if(!t._pointerActive)return;const i=U(e);if(void 0!==t._pointerId&&i!==t._pointerId)return;const s=H(e);return document.pointerLockElement===e.target?t._delta=[e.movementX,e.movementY]:(t._delta=k.sub(s,t._values),this.computeValues(s)),k.addTo(t._movement,t._delta),this.compute(e),t._delayed&&t.intentional?(this.timeoutStore.remove("dragDelay"),t.active=!1,void this.startPointerDrag(e)):n.preventScrollAxis&&!t._preventScroll?t.axis?t.axis===n.preventScrollAxis||"xy"===n.preventScrollAxis?(t._active=!1,void this.clean()):(this.timeoutStore.remove("startPointerDrag"),void this.startPointerDrag(e)):void 0:void this.emit()}pointerUp(e){this.ctrl.setEventIds(e);try{this.config.pointerCapture&&e.target.hasPointerCapture(e.pointerId)&&e.target.releasePointerCapture(e.pointerId)}catch(r){0}const t=this.state,n=this.config;if(!t._active||!t._pointerActive)return;const i=U(e);if(void 0!==t._pointerId&&i!==t._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(e);const[s,o]=t._distance;if(t.tap=s<=n.tapsThreshold&&o<=n.tapsThreshold,t.tap&&n.filterTaps)t._force=!0;else{const[e,i]=t._delta,[s,o]=t._movement,[r,a]=n.swipe.velocity,[c,l]=n.swipe.distance,u=n.swipe.duration;if(t.elapsedTime<u){const n=Math.abs(e/t.timeDelta),u=Math.abs(i/t.timeDelta);n>r&&Math.abs(s)>c&&(t.swipe[0]=Math.sign(e)),u>a&&Math.abs(o)>l&&(t.swipe[1]=Math.sign(i))}}this.emit()}pointerClick(e){!this.state.tap&&e.detail>0&&(e.preventDefault(),e.stopPropagation())}setupPointer(e){const t=this.config,n=t.device;t.pointerLock&&e.currentTarget.requestPointerLock(),t.pointerCapture||(this.eventStore.add(this.sharedConfig.window,n,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,n,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(e){this.state._preventScroll&&e.cancelable&&e.preventDefault()}setupScrollPrevention(e){this.state._preventScroll=!1,function(e){"persist"in e&&"function"==typeof e.persist&&e.persist()}(e);const t=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",t),this.eventStore.add(this.sharedConfig.window,"touch","cancel",t),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,e)}setupDelayTrigger(e){this.state._delayed=!0,this.timeoutStore.add("dragDelay",(()=>{this.state._step=[0,0],this.startPointerDrag(e)}),this.config.delay)}keyDown(e){const t=ie[e.key];if(t){const n=this.state,i=e.shiftKey?10:e.altKey?.1:1;this.start(e),n._delta=t(this.config.keyboardDisplacement,i),n._keyboardActive=!0,k.addTo(n._movement,n._delta),this.compute(e),this.emit()}}keyUp(e){e.key in ie&&(this.state._keyboardActive=!1,this.setActive(),this.compute(e),this.emit())}bind(e){const t=this.config.device;e(t,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(e(t,"change",this.pointerMove.bind(this)),e(t,"end",this.pointerUp.bind(this)),e(t,"cancel",this.pointerUp.bind(this)),e("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(e("key","down",this.keyDown.bind(this)),e("key","up",this.keyUp.bind(this))),this.config.filterTaps&&e("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}},resolver:ce},ye={key:"hover",engine:class extends Q{constructor(...e){super(...e),M(this,"ingKey","hovering")}enter(e){this.config.mouseOnly&&"mouse"!==e.pointerType||(this.start(e),this.computeValues(H(e)),this.compute(e),this.emit
1())}leave(e){if(this.config.mouseOnly&&"mouse"!==e.pointerType)return;const t=this.state;if(!t._active)return;t._active=!1;const n=H(e);t._movement=t._delta=k.sub(n,t._values),this.computeValues(n),this.compute(e),t.delta=t.movement,this.emit()}bind(e){e("pointer","enter",this.enter.bind(this)),e("pointer","leave",this.leave.bind(this))}},resolver:me},we={key:"move",engine:class extends Q{constructor(...e){super(...e),M(this,"ingKey","moving")}move(e){this.config.mouseOnly&&"mouse"!==e.pointerType||(this.state._active?this.moveChange(e):this.moveStart(e),this.timeoutStore.add("moveEnd",this.moveEnd.bind(this)))}moveStart(e){this.start(e),this.computeValues(H(e)),this.compute(e),this.computeInitial(),this.emit()}moveChange(e){if(!this.state._active)return;const t=H(e),n=this.state;n._delta=k.sub(t,n._values),k.addTo(n._movement,n._delta),this.computeValues(t),this.compute(e),this.emit()}moveEnd(e){this.state._active&&(this.state._active=!1,this.compute(e),this.emit())}bind(e){e("pointer","change",this.move.bind(this)),e("pointer","leave",this.moveEnd.bind(this))}},resolver:de},_e={key:"pinch",engine:class extends F{constructor(...e){super(...e),M(this,"ingKey","pinching"),M(this,"aliasKey","da")}init(){this.state.offset=[1,0],this.state.lastOffset=[1,0],this.state._pointerEvents=new Map}reset(){super.reset();const e=this.state;e._touchIds=[],e.canceled=!1,e.cancel=this.cancel.bind(this),e.turns=0}computeOffset(){const{type:e,movement:t,lastOffset:n}=this.state;this.state.offset="wheel"===e?k.add(t,n):[(1+t[0])*n[0],t[1]+n[1]]}computeMovement(){const{offset:e,lastOffset:t}=this.state;this.state.movement=[e[0]/t[0],e[1]-t[1]]}axisIntent(){const e=this.state,[t,n]=e._movement;if(!e.axis){const i=30*Math.abs(t)-Math.abs(n);i<0?e.axis="angle":i>0&&(e.axis="scale")}}restrictToAxis(e){this.config.lockDirection&&("scale"===this.state.axis?e[1]=0:"angle"===this.state.axis&&(e[0]=0))}cancel(){const e=this.state;e.canceled||setTimeout((()=>{e.canceled=!0,e._active=!1,this.compute(),this.emit()}),0)}touchStart(e){this.ctrl.setEventIds(e);const t=this.state,n=this.ctrl.touchIds;if(t._active&&t._touchIds.every((e=>n.has(e))))return;if(n.size<2)return;this.start(e),t._touchIds=Array.from(n).slice(0,2);const i=Z(e,t._touchIds);i&&this.pinchStart(e,i)}pointerStart(e){if(null!=e.buttons&&e.buttons%2!=1)return;this.ctrl.setEventIds(e),e.target.setPointerCapture(e.pointerId);const t=this.state,n=t._pointerEvents,i=this.ctrl.pointerIds;if(t._active&&Array.from(n.keys()).every((e=>i.has(e))))return;if(n.size<2&&n.set(e.pointerId,e),t._pointerEvents.size<2)return;this.start(e);const s=z(...Array.from(n.values()));s&&this.pinchStart(e,s)}pinchStart(e,t){this.state.origin=t.origin,this.computeValues([t.distance,t.angle]),this.computeInitial(),this.compute(e),this.emit()}touchMove(e){if(!this.state._active)return;const t=Z(e,this.state._touchIds);t&&this.pinchMove(e,t)}pointerMove(e){const t=this.state._pointerEvents;if(t.has(e.pointerId)&&t.set(e.pointerId,e),!this.state._active)return;const n=z(...Array.from(t.values()));n&&this.pinchMove(e,n)}pinchMove(e,t){const n=this.state,i=n._values[1],s=t.angle-i;let o=0;Math.abs(s)>270&&(o+=Math.sign(s)),this.computeValues([t.distance,t.angle-360*o]),n.origin=t.origin,n.turns=o,n._movement=[n._values[0]/n._initial[0]-1,n._values[1]-n._initial[1]],this.compute(e),this.emit()}touchEnd(e){this.ctrl.setEventIds(e),this.state._active&&this.state._touchIds.some((e=>!this.ctrl.touchIds.has(e)))&&(this.state._active=!1,this.compute(e),this.emit())}pointerEnd(e){const t=this.state;this.ctrl.setEventIds(e);try{e.target.releasePointerCapture(e.pointerId)}catch(n){}t._pointerEvents.has(e.pointerId)&&t._pointerEvents.delete(e.pointerId),t._active&&t._pointerEvents.size<2&&(t._active=!1,this.compute(e),this.emit())}gestureStart(e){e.cancelable&&e.preventDefault();const t=this.state;t._active||(this.start(e),this.computeValues([e.scale,e.rotation]),t.origin=[e.clientX,e.clientY],this.compute(e),this.emit())}gestureMove(e){if(e.cancelable&&e.preventDefault(),!this.state._active)return;const t=this.state;this.computeValues([e.scale,e.rotation]),t.origin=[e.clientX,e.clientY];const n=t._movement;t._movement=[e.scale-1,e.rotation],t._delta=k.sub(t._movement,n),this.compute(e),this.emit
1()}gestureEnd(e){this.state._active&&(this.state._active=!1,this.compute(e),this.emit())}wheel(e){const t=this.config.modifierKey;t&&!(Array.isArray(t)?t.find((t=>e[t])):e[t])||(this.state._active?this.wheelChange(e):this.wheelStart(e),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this)))}wheelStart(e){this.start(e),this.wheelChange(e)}wheelChange(e){"uv"in e||e.cancelable&&e.preventDefault();const t=this.state;t._delta=[-Y(e)[1]/100*t.offset[0],0],k.addTo(t._movement,t._delta),le(t),this.state.origin=[e.clientX,e.clientY],this.compute(e),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(e){const t=this.config.device;t&&(e(t,"start",this[t+"Start"].bind(this)),e(t,"change",this[t+"Move"].bind(this)),e(t,"end",this[t+"End"].bind(this)),e(t,"cancel",this[t+"End"].bind(this)),e("lostPointerCapture","",this[t+"End"].bind(this))),this.config.pinchOnWheel&&e("wheel","",this.wheel.bind(this),{passive:!1})}},resolver:ue},Ce={key:"scroll",engine:class extends Q{constructor(...e){super(...e),M(this,"ingKey","scrolling")}scroll(e){this.state._active||this.start(e),this.scrollChange(e),this.timeoutStore.add("scrollEnd",this.scrollEnd.bind(this))}scrollChange(e){e.cancelable&&e.preventDefault();const t=this.state,n=function(e){var t,n;const{scrollX:i,scrollY:s,scrollLeft:o,scrollTop:r}=e.currentTarget;return[null!==(t=null!=i?i:o)&&void 0!==t?t:0,null!==(n=null!=s?s:r)&&void 0!==n?n:0]}(e);t._delta=k.sub(n,t._values),k.addTo(t._movement,t._delta),this.computeValues(n),this.compute(e),this.emit()}scrollEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(e){e("scroll","",this.scroll.bind(this))}},resolver:he},Ee={key:"wheel",engine:class extends Q{constructor(...e){super(...e),M(this,"ingKey","wheeling")}wheel(e){this.state._active||this.start(e),this.wheelChange(e),this.timeoutStore.add("wheelEnd",this.wheelEnd.bind(this))}wheelChange(e){const t=this.state;t._delta=Y(e),k.addTo(t._movement,t._delta),le(t),this.compute(e),this.emit()}wheelEnd(){this.state._active&&(this.state._active=!1,this.compute(),this.emit())}bind(e){e("wheel","",this.wheel.bind(this))}},resolver:pe};function xe(e,t){if(null==e)return{};var n,i,s=function(e,t){if(null==e)return{};var n,i,s={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(s[n]=e[n]);return s}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}const Se={target(e){if(e)return()=>"current"in e?e.current:e},enabled(e=!0){return e},window(e=(re.isBrowser?window:void 0)){return e},eventOptions({passive:e=!0,capture:t=!1}={}){return{passive:e,capture:t}},transform(e){return e}},ke=["target","eventOptions","window","enabled","transform"];function Ie(e={},t){const n={};for(const[i,s]of Object.entries(t))switch(typeof s){case"function":n[i]=s.call(n,e[i],i,e);break;case"object":n[i]=Ie(e[i],s);break;case"boolean":s&&(n[i]=e[i])}return n}class Te{constructor(e,t){M(this,"_listeners",new Set),this._ctrl=e,this._gestureKey=t}add(e,t,n,i,s){const o=this._listeners,r=function(e,t=""){const n=N[e];return e+(n&&n[t]||t)}(t,n),a=L(L({},this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{}),s);e.addEventListener(r,i,a);const c=()=>{e.removeEventListener(r,i,a),o.delete(c)};return o.add(c),c}clean(){this._listeners.forEach((e=>e())),this._listeners.clear()}}class Pe{constructor(){M(this,"_timeouts",new Map)}add(e,t,n=140,...i){this.remove(e),this._timeouts.set(e,window.setTimeout(t,n,...i))}remove(e){const t=this._timeouts.get(e);t&&window.clearTimeout(t)}clean(){this._timeouts.forEach((e=>{window.clearTimeout(e)})),this._timeouts.clear()}}class Me{constructor(e){M(this,"gestures",new Set),M(this,"_targetEventStore",new Te(this)),M(this,"gestureEventStores",{}),M(this,"gestureTimeoutStores",{}),M(this,"handlers",{}),M(this,"config",{}),M(this,"pointerIds",new Set),M(this,"touchIds",new Set),M(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),function(e,t){t.drag&&Oe(e,"drag");t.wheel&&Oe(e,"wheel");t.scroll&&Oe(e,"scroll");t.move&&Oe(e,"move");t.pinch&&Oe(e,"pinch");t.hover&&Oe(e,"hover")}(this,e)}setEventIds(e){return K(e)?(this.touchIds=new Set(X(e)),this.touchIds):"pointerId"in e?("pointerup"===e.type||"pointercancel"===e.type?this.pointerIds.delete(e.pointerId):"pointerdown"===e.type&&this.pointerIds.add(e.pointerId),this.pointerIds):void 0}applyHandlers(e,t){this.handlers=e,this.nativeHandlers=t}applyConfig(e,t){this.config=function(e,t,n={}){const i=e,{target:s,eventOptions:o,window:r,enabled:a,transform:c}=i,l=xe(i,ke);if(n.shared=Ie({target:s,eventOptions:o,window:r,enabled:a,transform:c},Se),t){const e=ge.get(t);n[t]=Ie(L({shared:n.shared},l),e)}else for(const u in l){const e=ge.get(u);e&&(n[u]=Ie(L({shared:n.shared},l[u]),e))}return n}(e,t,this.config)}clean(){this._targetEventStore.clean();for(const e of this.gestures)this.gestureEventStores[e].clean(),this.gestureTimeoutStores[e].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...e){const t=this.config.shared,n={};let i;
1if(!t.target||(i=t.target(),i)){if(t.enabled){for(const t of this.gestures){const s=this.config[t],o=Le(n,s.eventOptions,!!i);if(s.enabled){new(fe.get(t))(this,e,t).bind(o)}}const s=Le(n,t.eventOptions,!!i);for(const t in this.nativeHandlers)s(t,"",(n=>this.nativeHandlers[t](L(L({},this.state.shared),{},{event:n,args:e}))),void 0,!0)}for(const e in n)n[e]=G(...n[e]);if(!i)return n;for(const e in n){const{device:t,capture:s,passive:o}=V(e);this._targetEventStore.add(i,t,"",n[e],{capture:s,passive:o})}}}}function Oe(e,t){e.gestures.add(t),e.gestureEventStores[t]=new Te(e,t),e.gestureTimeoutStores[t]=new Pe}const Le=(e,t,n)=>(i,s,o,r={},a=!1)=>{var c,l;const u=null!==(c=r.capture)&&void 0!==c?c:t.capture,d=null!==(l=r.passive)&&void 0!==l?l:t.passive;let h=a?i:A(i,s,u);n&&d&&(h+="Passive"),e[h]=e[h]||[],e[h].push(o)},Ne=/^on(Drag|Wheel|Scroll|Move|Pinch|Hover)/;function De(e,t,n,i,s,o){if(!e.has(n))return;if(!fe.has(i))return void 0;const r=n+"Start",a=n+"End";s[i]=e=>{let i;return e.first&&r in t&&t[r](e),n in t&&(i=t[n](e)),e.last&&a in t&&t[a](e),i},o[i]=o[i]||{}}function Be(e,t){const[n,i,s]=function(e){const t={},n={},i=new Set;for(let s in e)Ne.test(s)?(i.add(RegExp.lastMatch),n[s]=e[s]):t[s]=e[s];return[n,t,i]}(e),o={};return De(s,n,"onDrag","drag",o,t),De(s,n,"onWheel","wheel",o,t),De(s,n,"onScroll","scroll",o,t),De(s,n,"onPinch","pinch",o,t),De(s,n,"onMove","move",o,t),De(s,n,"onHover","hover",o,t),{handlers:o,config:t,nativeHandlers:i}}function Ae(e,t={},n,s){const o=i.useMemo((()=>new Me(e)),[]);if(o.applyHandlers(e,s),o.applyConfig(t,n),i.useEffect(o.effect.bind(o)),i.useEffect((()=>o.clean.bind(o)),[]),void 0===t.target)return o.bind.bind(o)}function je(e,t){return ve(be),Ae({drag:e},t||{},"drag")}function Ve(e,t){const n=([be,_e,Ce,Ee,we,ye].forEach(ve),function(e,t){const{handlers:n,nativeHandlers:i,config:s}=Be(e,t||{});return Ae(n,s,void 0,i)});return n(e,t||{})}var Ke=n(97881),Re=n(70124);const $e=(0,i.createContext)(null),ze=({children:e,...t})=>{const n=(0,i.useRef)(null);return n.current||(n.current=(e=>(0,Re.y)()(((t,n)=>({...e,isStoryOpen:!1,currentTabIndex:0,currentTabProgress:0,isPaused:!0,isMuted:!0,durationMs:5e3,updateDuration:e=>t({durationMs:1e3*e}),updateStoryOpen:e=>t({isStoryOpen:e}),showNext:()=>t((({currentTabIndex:e,items:t})=>{var n,i;if(!(e<t.length-1))return{isStoryOpen:!1};const s=e+1;return{durationMs:1e3*(null!==(n=null===(i=t[s])||void 0===i?void 0:i.duration)&&void 0!==n?n:5),currentTabIndex:s,currentTabProgress:0}})),showPrevious:()=>{t((({currentTabIndex:e,items:t})=>{var n,i;if(e<=0)return{};const s=e-1;return{durationMs:1e3*(null!==(n=null===(i=t[s])||void 0===i?void 0:i.duration)&&void 0!==n?n:5),currentTabIndex:s,currentTabProgress:0}}))},togglePause:()=>t((({isPaused:e})=>({isPaused:!e}))),toggleMuted:()=>t((({isMuted:e})=>({isMuted:!e}))),updateCurrentTabProgress:()=>{const{currentTabIndex:e,currentTabProgress:i,items:s}=n(),o=i>=100,r=e>=s.length-1;if(o&&r)return t((()=>({isPaused:!0,currentTabProgress:100,isStoryOpen:!1})));if(o)return n().showNext();const a=1e4/n().durationMs;return t((e=>({currentTabProgress:e.currentTabProgress+a})))},updatePause:e=>t((()=>({isPaused:e}))),openStory:()=>t({currentTabIndex:0,currentTabProgress:0,isStoryOpen:!0}),closeStory:()=>t({isStoryOpen:!1,isPaused:!0})}))))(t)),i.createElement($e.Provider,{value:n.current},e)},Xe=(e,t)=>{const n=(0,i.useContext)($e);if(!n)throw new Error("useStoryStore must be used inside StoryStoreProvider");return(0,Ke.Pj)(n,e,t)},Ze=(0,s.css)(["all:unset;touch-action:none;cursor:pointer;"]),Ue=s.default.div.withConfig({displayName:"controlButtons__NavigationButton",componentId:"sc-lvqdx2-0"})([""," display:none;color:",";@media ",'{display:flex;}svg{width:4rem;height:4rem;}&[aria-disabled="true"]{opacity:0;}'],Ze,(({theme:e})=>e.neutral.white),(({theme:e})=>e.breakpoints.tablet)),He=s.default.div.withConfig({displayName:"controlButtons__MediaButton",componentId:"sc-lvqdx2-1"})([""," svg{width:2.5rem;height:2.5rem;color:",";}"],Ze,(({theme:e})=>e.neutral.white)),Ye=({className:e,children:t})=>{const n=Xe((e=>e.showNext)),s=Xe((e=>e.items.length-1===e.currentTabIndex)),o=je((({tap:e,event:t})=>{t.stopPropagation(),e&&n()}));return i.createElement(Ue,Object.assign({role:"button","aria-label":"Next Story","aria-disabled":s,className:e},o()),t)},We=({className:e,children:t})=>{const n=Xe((e=>e.showPrevious)),s=0===Xe((e=>e.currentTabIndex)),o=je((({tap:e,event:t})=>{t.stopPropagation(),e&&n()}));return i.createElement(Ue,Object.assign({role:"button","aria-label":"Previous Story","aria-disabled":s,className:e},o()),t)},qe=({className:e,children:t})=>{const n=Xe((e=>e.isMuted)),s=Xe((e=>e.toggleMuted)),o=je((({tap:e,event:t})=>{t.stopPropagation(),e&&s()}));return i.createElement(He,Object.assign({role:"button","aria-label":"Mute/Unmute Story","aria-pressed":n,className:e},o()),t)},Ge=s.default.div.attrs((({$progress:e})=>({style:{"--progress-width":`${e}%`}}))).withConfig({displayName:"progressBar__StyledProgressBar",componentId:"sc-i2r44t-0"}
1)(["height:0.2rem;width:100%;border-radius:0.2rem;position:relative;background-color:",';&::after{content:"";position:absolute;top:0;left:0;height:100%;border-radius:0.3rem;width:var(--progress-width);background-color:',";transition:width 0.2s;}"],(({theme:e})=>e.neutral.base),(({theme:e})=>e.neutral.light.tint1)),Je=({index:e})=>{const t=Xe((e=>e.currentTabIndex)),n=Xe((e=>e.currentTabProgress)),s=e===t?n:e<t?100:0;return i.createElement(Ge,{$progress:s})},Fe=s.default.div.withConfig({displayName:"storyContainer__StyledContainer",componentId:"sc-1gkp6nz-0"})(["display:flex;align-items:center;gap:2rem;width:100%;height:100%;&:focus{outline:none;}"]),Qe=({className:e,children:t})=>{const{touchEvents:n}=(()=>{const e=Xe((e=>e.items)),t=Xe((e=>e.currentTabIndex)),n=Xe((e=>e.currentTabProgress)),s=Xe((e=>e.isPaused)),o=Xe((e=>e.showNext)),r=Xe((e=>e.showPrevious)),a=Xe((e=>e.toggleMuted)),c=Xe((e=>e.togglePause)),l=Xe((e=>e.updateCurrentTabProgress)),u=Xe((e=>e.updatePause)),d=e.length-1,h=n>=100&&t>=d,p=(0,i.useCallback)((e=>{if(!e.repeat)switch(e.key){case"ArrowLeft":r();break;case"ArrowRight":o();break;case" ":c();break;case"m":a()}}),[o,r,a,c]);return(0,i.useEffect)((()=>{if("undefined"!=typeof window)return window.addEventListener("keydown",p),()=>{window.removeEventListener("keydown",p)}}),[p]),(0,i.useEffect)((()=>{if(s)return;const e=setInterval((()=>{l()}),100);return()=>{clearInterval(e)}}),[s,l]),{storyDone:h,touchEvents:Ve({onDrag:({event:e,tap:t,xy:n,elapsedTime:i,dragging:s})=>{if(!s&&t&&i<200){const t=e.target,i=t.clientWidth;n[0]-t.getBoundingClientRect().left<i/3?r():o()}},onPointerDown:()=>{u(!0)},onPointerUp:()=>{u(!1)}})}})();return i.createElement(Fe,Object.assign({},n(),{className:e,tabIndex:0}),t)};var et=n(72373);const tt=(0,s.keyframes)(["from{opacity:0;}to{opacity:1;}"]),nt={TEXT_TOP:"flex-start",TEXT_CENTER:"center",TEXT_BOTTOM:"flex-end"},it=(0,s.css)(["pointer-events:none;user-select:none;opacity:",";transition:opacity 0.3s ease-in;animation:"," 0.3s ease-in;animation-play-state:",";flex-direction:",";justify-content:",";"],(({$isVisible:e})=>e?1:0),tt,(({$isVisible:e})=>e?"running":"paused"),(({$flexDirection:e})=>e),(({$justifyContent:e})=>e)),st=e=>{const t=Xe((t=>t.items[e])),n=Xe((e=>e.updatePause)),s=Boolean("image"in t&&t.image||"videoLink"in t&&t.videoLink),{0:o,1:r}=(0,i.useState)(s);return(0,i.useEffect)((()=>{s||n(!1)}),[s,n]),{isLoading:o,setIsLoading:r,currentTab:t,updatePause:n}},ot=(0,s.keyframes)(["from{transform:rotate(0deg);}to{transform:rotate(360deg);}"]),rt=(0,s.keyframes)(["from{opacity:0;}to{opacity:1;}"]),at=s.default.div.withConfig({displayName:"loadingSpinnerScreen__StyledContainer",componentId:"sc-1y2l7x6-0"})(["opacity:0;width:100%;height:100%;animation:"," 0.2s ease-in forwards;animation-delay:0.1s;"],rt),ct=s.default.div.withConfig({displayName:"loadingSpinnerScreen__LoadingSpinner",componentId:"sc-1y2l7x6-1"})(["position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:2rem;height:2rem;border:0.2rem solid rgba(255,255,255,0.2);border-top-color:white;border-radius:50%;animation:"," 1s linear infinite;"],ot),lt=()=>i.createElement(at,null,i.createElement(ct,null)),ut=s.default.div.withConfig({displayName:"tabStoryImageText__Container",componentId:"sc-10z0nuf-0"})([""," color:",";display:flex;flex-grow:1;align-items:center;position:static;padding:",";"],it,(({theme:e})=>e.neutral.white),(({theme:e})=>e.spacing.mobile.spacerM)),dt=s.default.p.withConfig({displayName:"tabStoryImageText__StyledText",componentId:"sc-10z0nuf-1"})([""," strong{","}"],r.zr,r.Au),ht=(0,s.default)(et.t).withConfig({displayName:"tabStoryImageText__StyledSimpleBlockContent",componentId:"sc-10z0nuf-2"})(["p{",";margin-block-start:",";@media ","{margin-block-start:",";}}"],r.zr,(({theme:e})=>e.spacing.mobile.spacerXS),(({theme:e})=>e.breakpoints.tablet),(({theme:e})=>e.spacing.desktop.spacerXS)),pt=(0,s.default)(S.SanityImage).withConfig({displayName:"tabStoryImageText__SImage",componentId:"sc-10z0nuf-3"})([""]),mt=({className:e})=>{const t=Xe((e=>e.currentTabIndex)),{currentTab:n,isLoading:s,updatePause:o,setIsLoading:r}=st(t),{image:a,text:c,textPosition:l}=n,{flexDirection:u,justifyContent:d}=((e,t)=>t?{justifyContent:"space-between",flexDirection:"TEXT_BOTTOM"===e?"column-reverse":"column"}:{justifyContent:nt[e],flexDirection:"column"})(l,Boolean(null==a?void 0:a.asset));return(0,i.useEffect)((()=>{r(!1),o(!1)}),[r,o]),i.createElement(i.Fragment,null,s&&i.createElement(lt,null),i.createElement(ut,{className:e,$flexDirection:u,$justifyContent:d,$isVisible:!s},i.createElement(dt,null,c&&i.createElement(ht,{value:c})),a&&i.createElement(pt,Object.assign({},a,{width:312,loading:"eager"}))))},ft=s.default.div.withConfig({displayName:"tabVideo__StyledContainer",componentId:"sc-owltcb-0"})([""," width:100%;height:100%;position:absolute;inset:0;z-index:-10;object-fit:cover;"],it),gt=s.default.video.withConfig({displayName:"tabVideo__StyledVideo",componentId:"sc-owltcb-1"})(["object-fit:cover;width:100%;height:100%;"]),vt=({index:e,className:t})=>{var n,s,o,r,a,c;const{currentTab:l,isLoading:u,setIsLoading:d,updatePause:h}=st(e),p=Xe((e=>e.isPaused)),m=Xe((e=>e.isMuted)),f=Xe((e=>e.updateDuration)),g=(0,i.useRef)(null);return(0,i.useEffect)((()=>{const e=g.current;e&&(p&&!u?e.pause():e.play().catch((()=>{})))}),[p,u]),i.createElement(ft,{$isVisible:!u,$flexDirection:"column",$justifyContent:"center"},i.createElement(gt,{controlsList:"nodownload nofullscreen noremoteplayback",preload:"metadata",playsInl
1ine:!0,disableRemotePlayback:!0,disablePictureInPicture:!0,className:t,ref:g,poster:null===(n=l.video.thumbnail)||void 0===n||null===(s=n.asset)||void 0===s?void 0:s.url,muted:m,onLoadedData:()=>{d(!1),g.current&&(h(!1),f(g.current.duration))}},i.createElement("source",{src:null!==(o=l.video.src1080p.asset.fileURL)&&void 0!==o?o:void 0,type:"video/webm"}),i.createElement("source",{src:null!==(r=l.video.src720p.asset.fileURL)&&void 0!==r?r:void 0,type:"video/webm"}),i.createElement("source",{src:null!==(a=l.video.src480p.asset.fileURL)&&void 0!==a?a:void 0,type:"video/webm"}),i.createElement("source",{src:null!==(c=l.video.fallbackVideo.asset.fileURL)&&void 0!==c?c:void 0,type:"video/mp4"})),u&&i.createElement(lt,null))},bt=(0,i.memo)(vt);var yt=n(74817),wt=n.n(yt);const _t=(0,s.default)(wt()).withConfig({displayName:"thumbnail__StyledPlayIcon",componentId:"sc-1wpte4a-0"})(["width:3rem;height:3rem;"]),Ct=s.default.button.withConfig({displayName:"thumbnail__StyledThumbnail",componentId:"sc-1wpte4a-1"})(["all:unset;display:inline-block;isolation:isolate;overflow:hidden;cursor:pointer;border-radius:1rem;color:",";position:relative;isolation:isolate;background:",";width:100%;height:100%;&:focus-visible{outline:0.3rem solid ",";outline-offset:-0.3rem;}"],(({theme:e})=>e.neutral.white),(({$bgStart:e,$bgEnd:t,theme:n})=>e&&t?`linear-gradient(to bottom, ${e} 0%, ${t} 100%);`:n.gradients.vertical.dark),(({theme:e})=>e.primary.base)),Et=s.default.div.withConfig({displayName:"thumbnail__StyledContent",componentId:"sc-1wpte4a-2"})(["display:flex;flex-direction:column;justify-content:space-between;padding:",";width:100%;height:100%;@media ","{padding:",";}"],(({theme:e})=>e.spacing.mobile.spacerS),(({theme:e})=>e.breakpoints.tablet),(({theme:e})=>e.spacing.desktop.spacerS)),xt=(0,s.default)(S.SanityImage).withConfig({displayName:"thumbnail__StyledImage",componentId:"sc-1wpte4a-3"})(["position:absolute !important;width:100%;height:100%;z-index:-20;"]),St=s.default.div.withConfig({displayName:"thumbnail__StyledOverlay",componentId:"sc-1wpte4a-4"})(["z-index:-10;background:linear-gradient(360deg,rgba(0,0,0,0.8),rgba(0,0,0,0.1));position:absolute;width:100%;height:100%;opacity:50%;"]),kt=s.default.h3.withConfig({displayName:"thumbnail__StyledTitle",componentId:"sc-1wpte4a-5"})([""," overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;padding-right:1rem;"],r.Au),It=(0,i.forwardRef)((({hasOverlay:e=!0,bgStart:t,bgEnd:n,...s},o)=>{const r=Xe((e=>e.title)),a=Xe((e=>e.thumbnail));return i.createElement(Ct,Object.assign({ref:o,$bgStart:t,$bgEnd:n},s),a&&i.createElement(xt,Object.assign({},a,{width:440,height:240,alt:r})),e&&i.createElement(St,null),i.createElement(Et,null,i.createElement(_t,null),i.createElement(kt,null,r)))}));It.displayName="Thumbnail";const Tt=(0,s.default)(l.hJ).withConfig({displayName:"story__DialogOverlay",componentId:"sc-158goei-0"})(["z-index:1000;position:fixed;width:100%;height:100%;top:0;left:0;background:",";opacity:0.5;"],(({theme:e})=>e.neutral.black)),Pt=(0,s.default)(l.UC).withConfig({displayName:"story__DialogContent",componentId:"sc-158goei-1"})(["z-index:1100;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100dvh;user-select:none;touch-action:none;& > *{user-select:none;touch-action:none;}&:focus{outline:none;}@media ","{height:auto;width:auto;}"],(({theme:e})=>e.breakpoints.tablet)),Mt=s.default.div.withConfig({displayName:"story__Background",componentId:"sc-158goei-2"})(["z-index:-20;position:absolute;inset:0;width:100%;height:100%;background:",";",""],(({theme:e})=>e.gradients.horizontal.dark),(({$bgStartColor:e,$bgEndColor:t})=>{if(e&&t)return(0,s.css)(["background:linear-gradient( 45deg,"," 0%,"," 100% );"],e,t)})),Ot=(0,s.default)(S.SanityImage).withConfig({displayName:"story__SBackgroundImage",componentId:"sc-158goei-3"})(["z-index:-20;position:absolute !important;inset:0;object-fit:cover;"]),Lt=s.default.div.withConfig({displayName:"story__ProgressBarsContainer",componentId:"sc-158goei-4"})(["display:flex;gap:0.3rem;"]),Nt=s.default.div.withConfig({displayName:"story__TopUiButtonsGroup",componentId:"sc-158goei-5"})(["padding-inline:",";width:100%;display:flex;align-items:center;gap:1rem;margin-top:",";"],(({theme:e})=>e.spacing.mobile.spacerM),(({theme:e})=>e.spacing.mobile.spacerM)),Dt=(0,s.default)((({className:e,children:t})=>{const n=Xe((e=>e.updateStoryOpen)),s=je((({tap:e,event:t})=>{t.stopPropagation(),e&&n(!1)}));return i.createElement(He,Object.assign({role:"button","aria-label":"Close story",className:e},s()),t)})).withConfig({displayName:"story__StyledCloseButton",componentId:"sc-158goei-6"})(["margin-left:auto;"]),Bt=(0,s.default)((({className:e,children:t})=>{const n=Xe((e=>e.isPaused)),s=Xe((e=>e.togglePause)),o=je((({tap:e,event:t})=>{t.stopPropagation(),e&&s()}));return i.createElement(He,Object.assign({role:"button","aria-label":"Play/Pause Story","aria-pressed":n,className:e},o()),t)})).withConfig({displayName:"story__StyledPlayPauseButton",componentId:"sc-158goei-7"})(["display:none;@media ","{display:block;}"],(({theme:e})=>e.breakpoints.tablet)),At=s.default.div.withConfig({displayName:"story__TabsContainer",componentId:"sc-158goei-8"})(["display:flex;flex-direction:column;box-shadow:0 0.2rem 1rem rgba(0,0,0,0.5),0 1rem 4rem 2rem rgba(0,0,0,0.2);overflow:hidden;position:relative;isolation:isolate;width:100%;height:100%;padding-block:",";@media ","{border-radius:2rem;aspect-ratio:9 / 18;height:80vh;}"],(({theme:e})=>e.spacing.mobile.spacerM),(({theme:e})=>e.breakpoints.tablet)),jt=s.default.div.withConfig({displayName:"story__StyledButtonAndContentWrapper",componentId:"sc-158goei-9"})(["display:flex;flex-direction:column;height:100%;justify-content:space-between;"]),Vt=(0,s.default)(x.ButtonLink).withConfig({displayName:"story__StyledCtaButton",componentId:"sc-158goei-10"})(["width:calc(100% - "," * 2);margin-inline:",";"],(({theme:e})=>e.spacing.mobile.spacerM),(({theme:e})=>e.spacing.mobile.spacerM));var Kt=()=>{const e=Xe((e=>e.currentTabIndex)),t=Xe((e=>e.isStoryOpen)),n=Xe((e=>e.openStory)),s=Xe((e=>e.closeStory)),o=Xe((e=>e.isMuted)),r=Xe((e=>e.isPaused)),a=Xe((e=>e.items)),c=a[e],u=Xe((e=>e.bgStartColor)),h=Xe((e=>e.bgEndColor));return i.createElement(l.bL,{open:t},i.createElement(l.l9,{asChild:!0},i.createElement(It,{onClick:n})),i.createElement(l.ZL,null,i.createElement(Tt,null),i.createElement(Pt,{onEscapeKeyDown:s,onInteractOutside:s},i.createElement(Qe,null,i.createElement(We,null,i.createElement(d(),null)),i.createElement(At,null,i.createElement(Mt,{$bgStartColor:u,$bgEndColor:h}),"video"!==c.type&&c.backgroundImage&&i.createElement(Ot,c.backgroundImage),i.createElement(Lt,null,a.map(((e,t)=>i.createElement(Je,{key:t,index:t})))),i.createElement(Nt,null,i.createElement(Bt,null,r?i.createElement(y(),null):i.createElement(v(),null)),"video"===c.type&&i.createElement(qe,null,o?i.createElement(_(),null):i.createElement(E(),null)),i.createElement(Dt,null,i.createElement(f(),null))),i.createElement(jt,null,a.map(((t,n)=>{let s=null;return"video"===t.type&&(s=i.createElement(bt,{key:n,index:n})),"imageText"===t.type&&(s=i.createElement(mt,{key:n})),e===n?s:null})),c.primaryButtonLink&&i.createElement(Vt,{variant:"white-primary-large",field:c.primaryButtonLink},c.primaryButtonLink.text))),i.createElement(Ye,null,i.createElement(p(),null))))))};const Rt=s.default.div.withConfig({displayName:"storyWrapper__SContainer",componentId:"sc-qb7g69-0"})(["width:100%;height:100%;"]),$t=({className:e,...t})=>i.createElement(Rt,{className:e},i.createElement(ze,t,i.createElement(Kt,null))),zt=s.default.div.withConfig({displayName:"storiesSlice__StoriesContainer",componentId:"sc-acrn2g-0"})(["width:100%;display:flex;flex-direction:row;overflow-x:scroll;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding-bottom:",";gap:",";@media ","{overflow-x:auto;scroll-snap-type:none;justify-content:center;}"],(({theme:e})=>e.spacing.mobile.spacerS),(({theme:e})=>e.spacing.mobile.spacerM),(({theme:e})=>e.breakpoints.tablet)),Xt=s.default.div.withConfig({displayName:"storiesSlice__StyledStoryContainer",componentId:"sc-acrn2g-1"})(["aspect-ratio:11 / 7;width:100%;height:auto;min-width:18rem;@media ","{min-width:40vw;max-width:44rem;}@media ","{width:100%;height:auto;min-width:15rem;}"],(({theme:e})=>e.breakpoints.mobileM),(({theme:e})=>e.breakpoints.tablet)),Zt=s.default.div.withConfig({displayName:"storiesSlice__StyledTextContainer",componentId:"sc-acrn2g-2"})(["width:100%;gap:",";"," @media ","{text-align:center;gap:",";padding:0;}"],(({theme:e})=>e.spacing.mobile.spacerXS),o.NA,(({theme:e})=>e.breakpoints.tablet),(({theme:e})=>e.spacing.desktop.spacerXS)),Ut=s.default.div.withConfig({displayName:"storiesSlice__STitle",componentId:"sc-acrn2g-3"})(["",""],r.WS),Ht=s.default.div.withConfig({displayName:"storiesSlice__SParagraph",componentId:"sc-acrn2g-4"})(["",""],r.c_),Yt=({title:e,paragraph:t,stories:n,sectionProps:s,containerProps:o})=>{const{maxWidth:r,align:l}=o,u=(0,i.useMemo)((()=>(e=>e.map((e=>{var t;return{title:e.heading,thumbnail:e.thumbnail,bgEndColor:e.bgEndColor.hex,bgStartColor:e.bgStartColor.hex,themeProp:e.themeValue,items:(null!==(t=e.storyTabs)&&void 0!==t?t:[]).map((e=>{return"videoStoryTab"===e._type?{...e,type:"video",video:e.video}:"storyTab"===e._type?{...e,type:"imageText",backgroundImage:e.backgroundImage,image:e.image,primaryButtonLink:null!==(t=e.button)&&void 0!==t?t:void 0,text:e.text,duration:null!==(n=e.duration)&&void 0!==n?n:void 0}:null;var t,n}
1)).filter(Boolean)}})))(n)),[n]);return i.createElement(a.M3,s,i.createElement(a.JI,{$maxWidth:r,$align:l},i.createElement(Zt,null,i.createElement(Ut,null,e),t&&i.createElement(Ht,null,i.createElement(c.BlockContent,{value:t}))),i.createElement(zt,null,u.map(((e,t)=>i.createElement(Xt,{key:t},i.createElement($t,Object.assign({key:t},e))))))))}},23439:function(e,t,n){var i=n(30758);function s(e){return i.createElement("svg",e,i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12ZM7.14645 7.14645C7.34171 6.95119 7.65829 6.95119 7.85355 7.14645L12 11.2929L16.1464 7.14645C16.3417 6.95119 16.6583 6.95119 16.8536 7.14645C17.0488 7.34171 17.0488 7.65829 16.8536 7.85355L12.7071 12L16.8536 16.1464C17.0488 16.3417 17.0488 16.6583 16.8536 16.8536C16.6583 17.0488 16.3417 17.0488 16.1464 16.8536L12 12.7071L7.85355 16.8536C7.65829 17.0488 7.34171 17.0488 7.14645 16.8536C6.95118 16.6583 6.95118 16.3417 7.14645 16.1464L11.2929 12L7.14645 7.85355C6.95118 7.65829 6.95118 7.34171 7.14645 7.14645Z",fill:"white"}))}s.defaultProps={viewBox:"0 0 24 24",fill:"none"},e.exports=s,s.default=s},41915:function(e,t,n){var i=n(30758);function s(e){return i.createElement("svg",e,i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M25.6553 3.21967C25.3624 2.92678 24.8876 2.92678 24.5947 3.21967L10.3447 17.4697C10.0518 17.7626 10.0518 18.2374 10.3447 18.5303L24.5947 32.7803C24.8876 33.0732 25.3624 33.0732 25.6553 32.7803C25.9482 32.4874 25.9482 32.0126 25.6553 31.7197L11.9357 18L25.6553 4.28033C25.9482 3.98744 25.9482 3.51256 25.6553 3.21967Z",fill:"white"}))}s.defaultProps={viewBox:"0 0 36 36",fill:"none"},e.exports=s,s.default=s},44530:function(e,t,n){var i=n(30758);function s(e){return i.createElement("svg",e,[i.createElement("path",{d:"M17.5143 4.61113C17.2995 4.43756 16.9847 4.47097 16.8111 4.68575C16.6375 4.90052 16.671 5.21534 16.8857 5.38891C17.8717 6.18569 18.667 7.19291 19.2133 8.33682C19.7596 9.48073 20.0431 10.7323 20.0431 12C20.0431 13.2677 19.7596 14.5193 19.2133 15.6632C18.667 16.8071 17.8717 17.8143 16.8857 18.6111C16.671 18.7847 16.6375 19.0995 16.8111 19.3143C16.9847 19.5291 17.2995 19.5625 17.5143 19.3889C18.6162 18.4984 19.5051 17.3727 20.1157 16.0942C20.7262 14.8157 21.0431 13.4168 21.0431 12C21.0431 10.5832 20.7262 9.18434 20.1157 7.90586C19.5051 6.62737 18.6162 5.50165 17.5143 4.61113Z",fill:"white",key:0}),i.createElement("path",{d:"M14.8 7.60003C14.5791 7.43434 14.2657 7.47912 14.1 7.70003C13.9343 7.92094 13.9791 8.23434 14.2 8.40003C14.7589 8.81919 15.2125 9.36272 15.5249 9.98757C15.8373 10.6124 16 11.3014 16 12C16 12.6986 15.8373 13.3876 15.5249 14.0125C15.2125 14.6373 14.7589 15.1809 14.2 15.6C13.9791 15.7657 13.9343 16.0791 14.1 16.3C14.2657 16.5209 14.5791 16.5657 14.8 16.4C15.4831 15.8877 16.0375 15.2234 16.4193 14.4597C16.8012 13.696 17 12.8539 17 12C17 11.1462 16.8012 10.3041 16.4193 9.54035C16.0375 8.77665 15.4831 8.11234 14.8 7.60003Z",fill:"white",key:1}),i.createElement("path",{d:"M12 6.4142C12 5.07785 10.3843 4.40859 9.43934 5.35354L6.43934 8.35354C6.34557 8.44731 6.21839 8.49999 6.08579 8.49999H4.5C3.67157 8.49999 3 9.17156 3 9.99999V14C3 14.8284 3.67157 15.5 4.5 15.5H6.
108579C6.2184 15.5 6.34557 15.5527 6.43934 15.6464L9.43934 18.6464C10.3843 19.5914 12 18.9221 12 17.5858V6.4142Z",fill:"white",key:2})])}s.defaultProps={viewBox:"0 0 24 24",fill:"none"},e.exports=s,s.default=s},60212:function(e,t,n){var i=n(30758);function s(e){return i.createElement("svg",e,[i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21ZM12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",fill:"white",key:0}),i.createElement("path",{d:"M9.01904 8.04797C9.01904 7.63376 9.35483 7.29797 9.76904 7.29797C10.1833 7.29797 10.519 7.63376 10.519 8.04797V15.952C10.519 16.3662 10.1833 16.702 9.76904 16.702C9.35483 16.702 9.01904 16.3662 9.01904 15.952V8.04797Z",fill:"white",key:1}),i.createElement("path",{d:"M13.4849 8.04797C13.4849 7.63376 13.8206 7.29797 14.2349 7.29797C14.6491 7.29797 14.9849 7.63376 14.9849 8.04797V15.952C14.9849 16.3662 14.6491 16.702 14.2349 16.702C13.8206 16.702 13.4849 16.3662 13.4849 15.952V8.04797Z",fill:"white",key:2})])}s.defaultProps={viewBox:"0 0 24 24",fill:"none"},e.exports=s,s.default=s},74817:function(e,t,n){var i=n(30758);function s(e){return i.createElement("svg",e,i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 33C26.2843 33 33 26.2843 33 18C33 9.71573 26.2843 3 18 3C9.71573 3 3 9.71573 3 18C3 26.2843 9.71573 33 18 33ZM23.6917 18.6436C24.1785 18.3525 24.1785 17.6472 23.6917 17.3562L15.3666 12.3784C14.8667 12.0795 14.2317 12.4397 14.2317 13.0222V22.9776C14.2317 23.5601 14.8667 23.9202 15.3666 23.6213L23.6917 18.6436Z",fill:"white"}))}s.defaultProps={viewBox:"0 0 36 36",fill:"none"},e.exports=s,s.default=s},80862:function(e,t,n){var i=n(30758);function s(e){return i.createElement("svg",e,i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.3447 3.21967C10.6376 2.92678 11.1124 2.92678 11.4053 3.21967L25.6553 17.4697C25.9482 17.7626 25.9482 18.2374 25.6553 18.5303L11.4053 32.7803C11.1124 33.0732 10.6376 33.0732 10.3447 32.7803C10.0518 32.4874 10.0518 32.0126 10.3447 31.7197L24.0643 18L10.3447 4.28033C10.0518 3.98744 10.0518 3.51256 10.3447 3.21967Z",fill:"white"}))}s.defaultProps={viewBox:"0 0 36 36",fill:"none"},e.exports=s,s.default=s}}]);

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.