1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,458580,e=>{e.v({carouselSpacer:"themeCarousel-module-scss-module__Z8yZDa__carouselSpacer",container:"themeCarousel-module-scss-module__Z8yZDa__container",containerWithShadow:"themeCarousel-module-scss-module__Z8yZDa__containerWithShadow",embla:"themeCarousel-module-scss-module__Z8yZDa__embla","fade-in":"themeCarousel-module-scss-module__Z8yZDa__fade-in",navButton:"themeCarousel-module-scss-module__Z8yZDa__navButton",navNext:"themeCarousel-module-scss-module__Z8yZDa__navNext",navPrev:"themeCarousel-module-scss-module__Z8yZDa__navPrev",slide:"themeCarousel-module-scss-module__Z8yZDa__slide",viewport:"themeCarousel-module-scss-module__Z8yZDa__viewport"})},835315,e=>{e.v({cardThemeContainer:"cardThemeDefault-module-scss-module__XmgwQW__cardThemeContainer",cardThemeContent:"cardThemeDefault-module-scss-module__XmgwQW__cardThemeContent",cardThemeImage:"cardThemeDefault-module-scss-module__XmgwQW__cardThemeImage",cardThemeImageContainer:"cardThemeDefault-module-scss-module__Xmg
1wQW__cardThemeImageContainer",cardThemeTitle:"cardThemeDefault-module-scss-module__XmgwQW__cardThemeTitle","fade-in":"cardThemeDefault-module-scss-module__XmgwQW__fade-in"})},681642,e=>{e.v({cardNewsContainer:"cardThemeNews-module-scss-module__-hxLRG__cardNewsContainer",cardNewsImageLink:"cardThemeNews-module-scss-module__-hxLRG__cardNewsImageLink",cardNewsTitle:"cardThemeNews-module-scss-module__-hxLRG__cardNewsTitle",cardNewsTitleLink:"cardThemeNews-module-scss-module__-hxLRG__cardNewsTitleLink","fade-in":"cardThemeNews-module-scss-module__-hxLRG__fade-in"})},60001,e=>{e.v({cardVideoContainer:"cardThemeVideo-module-scss-module__suvbeG__cardVideoContainer",cardVideoOverlay:"cardThemeVideo-module-scss-module__suvbeG__cardVideoOverlay",cardVideoPlayButton:"cardThemeVideo-module-scss-module__suvbeG__cardVideoPlayButton",cardVideoThumbnail:"cardThemeVideo-module-scss-module__suvbeG__cardVideoThumbnail",cardVideoTitle:"cardThemeVideo-module-scss-module__suvbeG__cardVideoTitle",cardVideoWrapper:"cardThemeVideo-module-scss-module__suvbeG__cardVideoWrapper","fade-in":"cardThemeVideo-module-scss-module__suvbeG__fade-in"})},859961,e=>{"use strict";e.s(["ThemeCarousel",()=>$],859961);var t=e.i(843476),n=e.i(458580),r=e.i(271645),o=e.i(343794);function i(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function l(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let r=e[n],o=t[n];return"function"==typeof r?`${r}`==`${o}`:i(r)&&i(o)?l(r,o):r===o})}function a(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function s(e){return"number"==typeof e}function u(e){return"string"==typeof e}function c(e){return"boolean"==typeof e}function d(e){return"[object Object]"===Object.prototype.toString.call(e)}function m(e){return Math.abs(e)}function f(e){return Math.sign(e)}function h(e){return v(e).map(Number)}function p(e){return e[g(e)]}function g(e){return Math.max(0,e.length-1)}function _(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.from(Array(e),(e,n)=>t+n)}function v(e){return Object.keys(e)}function b(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function w(){let e=[],t={add:function(n,r,o){let i,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return"addEventListener"in n?(n.addEventListener(r,o,l),i=()=>n.removeEventListener(r,o,l)):(n.addListener(o),i=()=>n.removeListener(o)),e.push(i),t},clear:function(){e=e.filter(e=>e())}};return t}function x(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=m(e-t);function r(n){return n<e||n>t}return{length:n,max:t,min:e,constrain:function(n){return r(n)?n<e?e:t:n},reachedAny:r,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e},removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function y(e){let t=e;function n(e){return s(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function C(e,t){let n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},r=t.style,o=null,i=!1;return{clear:function(){!i&&(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(i)return;let l=Math.round(100*e.direction(t))/100;l!==o&&(r.transform=n(l),o=l)},toggleActive:function(e){i=!e}}}let k={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function T(e,t,n){let r,o,i,l,a,S=e.ownerDocument,j=S.defaultView,N=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(v(n).forEach(r=>{let o=t[r],i=n[r],l=d(o)&&d(i);t[r]=l?e(o,i):i}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},o=v(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,o)},optionsMediaQueries:function(t){return t.map(e=>v(e.breakpoints||{})).reduce((e,t)=>
1e.concat(t),[]).map(e.matchMedia)}}}(j),I=(a=[],{init:function(e,t){return(a=t.filter(e=>{let{options:t}=e;return!1!==N.optionsAtMedia(t).active})).forEach(t=>t.init(e,N)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){a=a.filter(e=>e.destroy())}}),D=w(),E=function(){let e,t={},n={init:function(t){e=t},emit:function(r){return(t[r]||[]).forEach(t=>t(e,r)),n},off:function(e,r){return t[e]=(t[e]||[]).filter(e=>e!==r),n},on:function(e,r){return t[e]=(t[e]||[]).concat([r]),n},clear:function(){t={}}};return n}(),{mergeOptions:O,optionsAtMedia:L,optionsMediaQueries:V}=N,{on:P,off:z,emit:F}=E,M=!1,A=O(k,T.globalOptions),W=O(A),Z=[];function R(t,n){if(M)return;W=L(A=O(A,t)),Z=n||Z;let{container:a,slides:d}=W;i=(u(a)?e.querySelector(a):a)||e.children[0];let k=u(d)?i.querySelectorAll(d):d;l=[].slice.call(k||i.children),r=function t(n){let r=function(e,t,n,r,o,i,l){let a,d,{align:k,axis:T,direction:S,startIndex:j,loop:N,duration:I,dragFree:D,dragThreshold:E,inViewThreshold:O,slidesToScroll:L,skipSnaps:V,containScroll:P,watchResize:z,watchSlides:F,watchDrag:M,watchFocus:A}=i,W={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:o}=e;return{top:t,right:n+r,bottom:t+o,left:n,width:r,height:o}}},Z=W.measure(t),R=n.map(W.measure),B=function(e,t){let n="rtl"===t,r="y"===e,o=!r&&n?-1:1;return{scroll:r?"y":"x",cross:r?"x":"y",startEdge:r?"top":n?"right":"left",endEdge:r?"bottom":n?"left":"right",measureSize:function(e){let{height:t,width:n}=e;return r?t:n},direction:function(e){return e*o}}}(T,S),H=B.measureSize(Z),U={measure:function(e){return e/100*H}},G=function(e,t){let n={start:function(){return 0},center:function(e){return(t-e)/2},end:function(e){return t-e}};return{measure:function(r,o){return u(e)?n[e](r):e(t,r,o)}}}(k,H),$=!N&&!!P,{slideSizes:X,slideSizesWithGaps:q,startGap:Q,endGap:K}=function(e,t,n,r,o,i){let{measureSize:l,startEdge:a,endEdge:s}=e,u=n[0]&&o,c=function(){if(!u)return 0;let e=n[0];return m(t[a]-e[a])}(),d=u?parseFloat(i.getComputedStyle(p(r)).getPropertyValue(`margin-${s}`)):0,f=n.map(l),h=n.map((e,t,n)=>{let r=t===g(n);return t?r?f[t]+d:n[t+1][a]-e[a]:f[t]+c}).map(m);return{slideSizes:f,slideSizesWithGaps:h,startGap:c,endGap:d}}(B,Z,R,n,N||!!P,o),Y=function(e,t,n,r,o,i,l,a,u){let{startEdge:c,endEdge:d,direction:f}=e,_=s(n);return{groupSlides:function(e){return _?h(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?h(e).reduce((n,s,u)=>{let h=p(n)||0,_=s===g(e),v=o[c]-i[h][c],b=o[c]-i[s][d],w=r||0!==h?0:f(l),x=m(b-(!r&&_?f(a):0)-(v+w));return u&&x>t+2&&n.push(s),_&&n.push(e.length),n},[]).map((t,n,r)=>{let o=Math.max(r[n-1]||0);return e.slice(o,t)}):[]}}}(B,H,L,N,Z,R,Q,K,0),{snaps:J,snapsAligned:ee}=function(e,t,n,r,o){let{startEdge:i,endEdge:l}=e,{groupSlides:a}=o,s=a(r).map(e=>p(e)[l]-e[0][i]).map(m).map(t.measure),u=r.map(e=>n[i]-e[i]).map(e=>-m(e)),c=a(u).map(e=>e[0]).map((e,t)=>e+s[t]);return{snaps:u,snapsAligned:c}}(B,G,Z,R,Y),et=-p(J)+p(q),{snapsContained:en,scrollContainLimit:er}=function(e,t,n,r,o){let i=x(-t+e,0),l=n.map((e,t)=>{let{min:r,max:o}=i,l=i.constrain(e),a=t===g(n);return t?a||function(e,t){return 1>=m(e-t)}(r,l)?r:function(e,t){return 1>=m(e-t)}(o,l)?o:l:o}).map(e=>parseFloat(e.toFixed(3))),a=function(){let e=l[0],t=p(l);return x(l.lastIndexOf(e),l.indexOf(t)+1)}();return{snapsContained:function(){if(t<=e+2)return[i.max];if("keepSnaps"===r)return l;let{min:n,max:o}=a;return l.slice(n,o)}(),scrollContainLimit:a}}(H,et,ee,P,0),eo=$?en:ee,{limit:ei}=function(e,t,n){let r=t[0];return{limit:x(n?r-e:p(t),r)}}(et,eo,N),el=function e(t,n,r){let{constrain:o}=x(0,t),i=t+1,l=a(n);function a(e){return r?m((i+e)%i):o(e)}function s(){return e(t,l,r)}let u={get:function(){return l},set:function(e){return l=a(e),u},add:function(e){return s().set(l+e)},clone:s};return u}(g(eo),j,N),ea=el.clone(),es=h(n),eu=function(e,t,n,r){let o=w(),i=1e3/60,l=null,a=0,s=0;function u(e){if(!s)return;l||(l=e,n(),n());let o=e-l;for(l=e,a+=o;a>=i;)n(),a-=i;r(a/i),s&&(s=t.requestAnimationFrame(u))}function c(){t.cancelAnimationFrame(s),l=null,a=0,s=0}
1return{init:function(){o.add(e,"visibilitychange",()=>{e.hidden&&(l=null,a=0)})},destroy:function(){c(),o.clear()},start:function(){s||(s=t.requestAnimationFrame(u))},stop:c,update:n,render:r}}(r,o,()=>(e=>{let{dragHandler:t,scrollBody:n,scrollBounds:r,options:{loop:o}}=e;o||r.constrain(t.pointerDown()),n.seek()})(eC),e=>((e,t)=>{let{scrollBody:n,translate:r,location:o,offsetLocation:i,previousLocation:l,scrollLooper:a,slideLooper:s,dragHandler:u,animation:c,eventHandler:d,scrollBounds:m,options:{loop:f}}=e,h=n.settled(),p=!m.shouldConstrain(),g=f?h:h&&p,_=g&&!u.pointerDown();_&&c.stop();let v=o.get()*t+l.get()*(1-t);i.set(v),f&&(a.loop(n.direction()),s.loop()),r.to(i.get()),_&&d.emit("settle"),g||d.emit("scroll")})(eC,e)),ec=eo[el.get()],ed=y(ec),em=y(ec),ef=y(ec),eh=y(ec),ep=function(e,t,n,r,o,i){let l=0,a=0,s=o,u=.68,c=e.get(),d=0;function h(e){return s=e,g}function p(e){return u=e,g}let g={direction:function(){return a},duration:function(){return s},velocity:function(){return l},seek:function(){let t=r.get()-e.get(),o=0;return s?(n.set(e),l+=t/s,l*=u,c+=l,e.add(l),o=c-d):(l=0,n.set(r),e.set(r),o=t),a=f(o),d=c,g},settled:function(){return .001>m(r.get()-t.get())},useBaseFriction:function(){return p(.68)},useBaseDuration:function(){return h(o)},useFriction:p,useDuration:h};return g}(ed,ef,em,eh,I,.68),eg=function(e,t,n,r,o){let{reachedAny:i,removeOffset:l,constrain:a}=r;function s(e){return e.concat().sort((e,t)=>m(e)-m(t))[0]}function u(t,r){let o=[t,t+n,t-n];if(!e)return t;if(!r)return s(o);let i=o.filter(e=>f(e)===r);return i.length?s(i):p(o)-n}return{byDistance:function(n,r){let s=o.get()+n,{index:c,distance:d}=function(n){let r=e?l(n):a(n),{index:o}=t.map((e,t)=>({diff:u(e-r,0),index:t})).sort((e,t)=>m(e.diff)-m(t.diff))[0];return{index:o,distance:r}}(s),f=!e&&i(s);if(!r||f)return{index:c,distance:n};let h=n+u(t[c]-d,0);return{index:c,distance:h}},byIndex:function(e,n){let r=u(t[e]-o.get(),n);return{index:e,distance:r}},shortcut:u}}(N,eo,et,ei,eh),e_=function(e,t,n,r,o,i,l){function a(o){let a=o.distance,s=o.index!==t.get();
1i.add(a),a&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),s&&(n.set(t.get()),t.set(o.index),l.emit("select"))}return{distance:function(e,t){a(o.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);a(o.byIndex(r.get(),n))}}}(eu,el,ea,ep,eg,eh,l),ev=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(ei),eb=w(),ew=function(e,t,n,r){let o,i={},l=null,a=null,s=!1;return{init:function(){o=new IntersectionObserver(e=>{s||(e.forEach(e=>{i[t.indexOf(e.target)]=e}),l=null,a=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(e=>o.observe(e))},destroy:function(){o&&o.disconnect(),s=!0},get:function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(e&&l)return l;if(!e&&a)return a;let t=v(i).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:o}=i[r];return(e&&o||!e&&!o)&&t.push(r),t},[]);return e&&(l=t),e||(a=t),t}}}(t,n,l,O),{slideRegistry:ex}=function(e,t,n,r,o,i){let{groupSlides:l}=o,{min:a,max:s}=r;return{slideRegistry:function(){let r=l(i);return 1===n.length?[i]:e&&"keepSnaps"!==t?r.slice(a,s).map((e,t,n)=>{let r=t===g(n);return t?r?_(g(i)-p(n)[0]+1,p(n)[0]):e:_(p(n[0])+1)}):r}()}}($,P,eo,er,Y,es),ey=function(e,t,n,r,o,i,l,a){let u={passive:!0,capture:!0},d=0;function m(e){"Tab"===e.code&&(d=new Date().getTime())}return{init:function(f){a&&(i.add(document,"keydown",m,!1),t.forEach((t,m)=>{i.add(t,"focus",t=>{(c(a)||a(f,t))&&function(t){if(new Date().getTime()-d>10)return;l.emit("slideFocusStart"),e.scrollLeft=0;let i=n.findIndex(e=>e.includes(t));s(i)&&(o.useDuration(0),r.index(i,0),l.emit("slideFocus"))}(m)},u)}))}}}(e,n,ex,e_,ep,eb,l,A),eC={ownerDocument:r,ownerWindow:o,eventHandler:l,containerRect:Z,slideRects:R,animation:eu,axis:B,dragHandler:function(e,t,n,r,o,i,l,a,s,u,d,h,p,g,_,v,y,C,k){let{cross:T,direction:S}=e,j=["INPUT","SELECT","TEXTAREA"],N={passive:!1},I=w(),D=w(),E=x(50,225).constrain(g.measure(20)),O={mouse:300,touch:400},L={mouse:500,touch:600},V=_?43:25,P=!1,z=0,F=0,M=!1,A=!1,W=!1,Z=!1;function R(e){if(!b(e,r)&&e.touches.length>=2)return B(e);let t=i.readPoint(e),n=i.readPoint(e,T),l=m(t-z),s=m(n-F);if(!A&&!Z&&(!e.cancelable||!(A=l>s)))return B(e);let c=i.pointerMove(e);l>v&&(W=!0),u.useFriction(.3).useDuration(.75),a.start(),o.add(S(c)),e.preventDefault()}function B(e){let t=d.byDistance(0,!1).index!==h.get(),n=i.pointerUp(e)*(_?L:O)[Z?"mouse":"touch"],r=function(e,t){let n=h.add(-1*f(e)),r=d.byDistance(e,!_).distance;return _||m(e)<E?r:y&&t?.5*r:d.byIndex(n.get(),0).distance}(S(n),t),o=function(e,t){var n,r;if(0===e||0===t||m(e)<=m(t))return 0;let o=(n=m(e),r=m(t),m(n-r));return m(o/e)}(n,r);A=!1,M=!1,D.clear(),u.useDuration(V-10*o).useFriction(.68+o/50),s.distance(r,!_),Z=!1,p.emit("pointerUp")}function H(e){W&&(e.stopPropagation(),e.preventDefault(),W=!1)}return{init:function(e){k&&I.add(t,"dragstart",e=>e.preventDefault(),N).add(t,"touchmove",()=>void 0,N).add(t,"touchend",()=>void 0).add(t,"touchstart",a).add(t,"mousedown",a).add(t,"touchcancel",B).add(t,"contextmenu",B).add(t,"click",H,!0);function a(a){(c(k)||k(e,a))&&function(e){let a=b(e,r);if((Z=a,W=_&&a&&!e.buttons&&P,P=m(o.get()-l.get())>=2,!a||0===e.button)&&!function(e){let t=e.nodeName||"";return j.includes(t)}(e.target)){M=!0,i.pointerDown(e),u.useFriction(0).useDuration(0),o.set(l);let r=Z?n:t;D.add(r,"touchmove",R,N).add(r,"touchend",B).add(r,"mousemove",R,N).add(r,"mouseup",B),z=i.readPoint(e),F=i.readPoint(e,T),p.emit("pointerDown")}}(a)}},destroy:function(){I.clear(),D.clear()},pointerDown:function(){return M}}}(B,e,r,o,eh,function(e,t){let n,r;function o(e){return e.timeStamp}function i(n,r){let o=r||e.scroll,i=`client${"x"===o?"X":"Y"}`;return(b(n,t)?n:n.touches[0])[i]}return{pointerDown:function(e){return n=e,r=e,i(e)},pointerMove:function(e){let t=i(e)-i(r),l=o(e)-o(n)>170;return r=e,l&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=i(r)-i(n),l=o(e)-o(n),a=o(e)-o(r)>170,s=t/l;return l&&!a&&m(s)>.1?s:0},readPoint:i}}(B,o),ed,eu,e_,ep,eg,el,l,U,D,E,V,0,M),eventStore:eb,percentOfView:U,index:el,indexPrevious:ea,limit:ei,location:ed,offsetLocation:ef,previousLocation:em,options:i,resizeHandler:function(e,t,n,r,o,i,l){let a,s,u=[e].concat(r),d=[],f=!1;function h(e){return o.measureSize(l.measure(e))}
1return{init:function(o){i&&(s=h(e),d=r.map(h),a=new ResizeObserver(n=>{(c(i)||i(o,n))&&function(n){for(let i of n){if(f)return;let n=i.target===e,l=r.indexOf(i.target),a=n?s:d[l];if(m(h(n?e:r[l])-a)>=.5){o.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{u.forEach(e=>a.observe(e))}))},destroy:function(){f=!0,a&&a.disconnect()}}}(t,l,o,n,B,z,W),scrollBody:ep,scrollBounds:function(e,t,n,r,o){let i=o.measure(10),l=o.measure(50),a=x(.1,.99),s=!1;function u(){return!s&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:u,constrain:function(o){if(!u())return;let s=e.reachedMin(t.get())?"min":"max",c=m(e[s]-t.get()),d=n.get()-t.get(),f=a.constrain(c/l);n.subtract(d*f),!o&&m(d)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){s=!e}}}(ei,ef,eh,ep,U),scrollLooper:function(e,t,n,r){let{reachedMin:o,reachedMax:i}=x(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?i(n.get()):-1===t&&o(n.get())))return;let l=-1*t*e;r.forEach(e=>e.add(l))}}}(et,ei,ef,[ed,ef,em,eh]),scrollProgress:ev,scrollSnapList:eo.map(ev.get),scrollSnaps:eo,scrollTarget:eg,scrollTo:e_,slideLooper:function(e,t,n,r,o,i,l,a,s){let u=h(o),c=h(o).reverse(),d=p(f(c,l[0]),n,!1).concat(p(f(u,t-l[0]-1),-n,!0));function m(e,t){return e.reduce((e,t)=>e-o[t],t)}function f(e,t){return e.reduce((e,n)=>m(e,t)>0?e.concat([n]):e,[])}function p(o,l,u){let c=i.map((e,n)=>({start:e-r[n]+.5+l,end:e+t-.5+l}));return o.map(t=>{let r=u?0:-n,o=u?n:0,i=c[t][u?"end":"start"];return{index:t,loopPoint:i,slideLocation:y(-1),translate:C(e,s[t]),target:()=>a.get()>i?r:o}})}return{canLoop:function(){return d.every(e=>{let{index:n}=e;return .1>=m(u.filter(e=>e!==n),t)})},clear:function(){d.forEach(e=>e.translate.clear())},loop:function(){d.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,o=t();o!==r.get()&&(n.to(o),r.set(o))})},loopPoints:d}}(B,H,et,X,q,J,eo,ef,n),slideFocus:ey,slidesHandler:(d=!1,{init:function(e){F&&(a=new MutationObserver(t=>{!d&&(c(F)||F(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),l.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){a&&a.disconnect(),d=!0}}),slidesInView:ew,slideIndexes:es,slideRegistry:ex,slidesToScroll:Y,target:eh,translate:C(B,t)};return eC}(e,i,l,S,j,n,E);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(W),V([A,...Z.map(e=>{let{options:t}=e;return t})]).forEach(e=>D.add(e,"change",B)),W.active&&(r.translate.to(r.location.get()),r.animation.init(),r.slidesInView.init(),r.slideFocus.init($),r.eventHandler.init($),r.resizeHandler.init($),r.slidesHandler.init($),r.options.loop&&r.slideLooper.loop(),i.offsetParent&&l.length&&r.dragHandler.init($),o=I.init($,Z))}function B(e,t){let n=G();H(),R(O({startIndex:n},e),t),E.emit("reInit")}function H(){r.dragHandler.destroy(),r.eventStore.clear(),r.translate.clear(),r.slideLooper.clear(),r.resizeHandler.destroy(),r.slidesHandler.destroy(),r.slidesInView.destroy(),r.animation.destroy(),I.destroy(),D.clear()}function U(e,t,n){W.active&&!M&&(r.scrollBody.useBaseFriction().useDuration(!0===t?0:W.duration),r.scrollTo.index(e,n||0))}function G(){return r.index.get()}let $={canScrollNext:function(){return r.index.add(1).get()!==G()},canScrollPrev:function(){return r.index.add(-1).get()!==G()},containerNode:function(){return i},internalEngine:function(){return r},destroy:function(){M||(M=!0,D.clear(),H(),E.emit("destroy"),E.clear())},off:z,on:P,emit:F,plugins:function(){return o},previousScrollSnap:function(){return r.indexPrevious.get()},reInit:B,rootNode:function(){return e},scrollNext:function(e){U(r.index.add(1).get(),e,-1)},scrollPrev:function(e){U(r.index.add(-1).get(),e,1)},scrollProgress:function(){return r.scrollProgress.get(r.offsetLocation.get())},scrollSnapList:function(){return r.scrollSnapList},scrollTo:U,selectedScrollSnap:G,slideNodes:function(){return l},slidesInView:function(){return r.slidesInView.get()},slidesNotInView:function(){return r.slidesInView.get(!1)}};return R(t,n),setTimeout(()=>E.emit("init"),0),$}function S(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,r.useRef)(e),o=(0,r.useRef)(t),[i,s]=(0,r.useState)(),[u,c]=(0,r.useState)(),d=(0,r.useCallback)(()=>{i&&i.reInit(n.current,o.current)},[i]);return(0,r.useEffect)(()=>
1{l(n.current,e)||(n.current=e,d())},[e,d]),(0,r.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=a(e),r=a(t);return n.every((e,t)=>l(e,r[t]))}(o.current,t)&&(o.current=t,d())},[t,d]),(0,r.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&u){T.globalOptions=S.globalOptions;let e=T(u,n.current,o.current);return s(e),()=>e.destroy()}s(void 0)},[u,s]),[c,i]}T.globalOptions=void 0,S.globalOptions=void 0;var j=e.i(575108);let N=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),r.createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),I=r.forwardRef((e,t)=>r.createElement(j.default,{ref:t,...e,weights:N}));I.displayName="CaretLeftIcon";var D=e.i(640397),E=e.i(835315),O=e.i(657688),L=e.i(454686);function V(e){let{card:n,newsImagePriority:r}=e,o=n.mainImage,i=o?.desktop??o?.sizes?.desktop,l=o?.tablet??o?.sizes?.tablet??i,a=o?.mobile??o?.sizes?.mobile??i,{props:{srcSet:s}}=(0,O.getImageProps)({src:i?.url??"",alt:o?.alt??"",width:i?.width??380,height:i?.height??214,sizes:"380px"}),{props:{srcSet:u}}=(0,O.getImageProps)({src:l?.url??"",alt:o?.alt??"",width:l?.width??380,height:l?.height??214,sizes:"380px"}),{props:c}=(0,O.getImageProps)({src:a?.url??"",alt:o?.alt??"",width:a?.width??380,height:a?.height??214,sizes:"380px",priority:r});return(0,t.jsx)("article",{className:E.default.cardThemeContainer,children:(0,t.jsxs)("a",{href:n.url,className:E.default.cardThemeContent,title:n.title,children:[o&&(0,t.jsxs)("picture",{className:E.default.cardThemeImageContainer,children:[(0,t.jsx)("source",{media:"(min-width: 1025px)",srcSet:s}),(0,t.jsx)("source",{media:"(min-width: 768px)",srcSet:u}),(0,t.jsx)("img",{...c,className:E.default.cardThemeImage,alt:o?.alt??""})]}),(0,t.jsx)(L.Title,{tag:"h2",color:"pure0",fontFamily:"family3",fontSize:"large",fontWeight:"regular",className:E.default.cardThemeTitle,children:n.title})]})})}var P=e.i(681642);e.i(736215);var z=e.i(168721);e.i(147516);var F=e.i(743615),M=e.i(239847);function A(e){let{card:n,newsImagePriority:r}=e,o=n.mainImage?.sizes??(n.mainImage?.desktop?{mobile:n.mainImage.mobile??n.mainImage.desktop,tablet:n.mainImage.tablet??n.mainImage.desktop,desktop:n.mainImage.desktop}:void 0);return(0,t.jsxs)("article",{className:P.default.cardNewsContainer,children:[(0,t.jsx)("a",{href:n.url,className:P.default.cardNewsImageLink,title:n.title,children:o&&(0,t.jsx)(M.CardImage,{imgSizes:o,imgAlt:n.mainImage?.alt??"",visualType:"default",imgIcon:n.mainImage?.type??"",imgCredit:n.mainImage?.credit??"",priority:r})}),n.hat&&(0,t.jsx)(z.Overline,{text:n.hat.title,visualType:n.hat.type,columnistSrcPhoto:"vozes"===n.hat.type?n.hat.author?.photo:void 0,columnistFullName:"vozes"===n.hat.type?n.hat.author?.name:void 0,columnistUrl:"vozes"===n.hat.type?n.hat.author?.url:void 0}),(0,t.jsx)("a",{href:n.url,className:P.default.cardNewsTitleLink,title:n.title,children:(0,t.jsx)(L.Title,{tag:"h2",className:P.default.cardNewsTitle,color:"pure100",fontFamily:"family1",fontSize:"mini",fontWeight:"semibold",children:n.title})}),n.commentCount&&(0,t.jsx)(F.CardComment,{commentCount:n.commentCount,postUrl:n.url,hasText:!1})]})}var W=e.i(60001),Z=e.i(943505),R=e.i(914895);function B(e){let{card:n,newsImagePriority:r=!1,onOpenFullscreen:o}=e;if(!n.video?.url)return null;
1let i=(0,R.getYoutubeId)(n.video.url),l=(0,R.getYoutubeThumbnail)(n.video.url),a=(0,t.jsxs)(t.Fragment,{children:[l&&(0,t.jsx)(O.default,{src:l,alt:n.title,fill:!0,sizes:"315px",priority:r,className:W.default.cardVideoThumbnail}),(0,t.jsxs)("div",{className:W.default.cardVideoOverlay,children:[(0,t.jsx)(L.Title,{tag:"h2",fontFamily:"family1",color:"pure0",fontSize:"mini",fontWeight:"regular",className:W.default.cardVideoTitle,children:n.title}),(0,t.jsx)("div",{className:W.default.cardVideoPlayButton,"aria-hidden":"true",children:(0,t.jsx)(Z.PlayIcon,{color:"var(--pure0)",size:16,weight:"fill"})})]})]});return i?(0,t.jsx)("article",{className:W.default.cardVideoContainer,children:(0,t.jsx)("a",{href:`/shorts/${i}/`,className:W.default.cardVideoWrapper,onClick:e=>{o&&(e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||0!==e.button||(e.preventDefault(),o()))},"aria-label":`Assistir: ${n.title}`,children:a})}):(0,t.jsx)("article",{className:W.default.cardVideoContainer,children:(0,t.jsx)("button",{type:"button",className:W.default.cardVideoWrapper,onClick:o,"aria-label":`Assistir: ${n.title}`,children:a})})}let H=(0,r.memo)(function(e){let{card:n,variant:r="theme",newsImagePriority:o=!1,onOpenVideoFullscreen:i}=e;return"video"===r?(0,t.jsx)(B,{card:n,newsImagePriority:o,onOpenFullscreen:i}):"news"===r?(0,t.jsx)(A,{card:n,newsImagePriority:o}):(0,t.jsx)(V,{card:n,newsImagePriority:o})});e.i(286982);var U=e.i(42541);let G=e=>{let t=e?.video?.url?(0,R.getYoutubeId)(e.video.url):null;return t?`/shorts/${t}/`:null};function $(i){let{cards:l,variant:a="theme"}=i,s="video"===a,[u,c]=S({loop:!1,align:"start",containScroll:"trimSnaps"}),[d,m]=(0,r.useState)(!1),[f,h]=(0,r.useState)(!1),[p,g]=(0,r.useState)(null),[,_]=(0,r.useTransition)(),v=(0,r.useCallback)(()=>{c&&_(()=>{m(c.canScrollPrev()),h(c.canScrollNext())})},[c,_]);(0,r.useEffect)(()=>{if(c)return v(),c.on("select",v),c.on("reInit",v),()=>{c.off("select",v),c.off("reInit",v)}},[c,v]),(0,r.useEffect)(()=>{let t;if(!s)return;let n=()=>{e.A(128871)},r="requestIdleCallback"in window,o=()=>{t=r?window.requestIdleCallback(n,{timeout:8e3}):window.setTimeout(n,3e3)};return"complete"===document.readyState?o():window.addEventListener("load",o,{once:!0}),()=>{window.removeEventListener("load",o),void 0!==t&&(r?window.cancelIdleCallback(t):clearTimeout(t))}},[s]);let b=(0,o.default)(n.default.container,{[n.default.containerWithShadow]:"news"===a||"video"===a}),w=(0,r.useMemo)(()=>s?l.filter(e=>e.video?.url):[],[s,l]),x=(0,r.useMemo)(()=>new Map(w.map((e,t)=>[e,t])),[w]),y=(0,r.useRef)(!1);(0,r.useEffect)(()=>{if(!c)return;let e=()=>{y.current=!1},t=()=>{y.current=!0};return c.on("pointerDown",e),c.on("scroll",t),()=>{c.off("pointerDown",e),c.off("scroll",t)}},[c]);let C=(0,r.useCallback)(e=>{if(y.current)return;let t=G(w[e]);if(t){let e=window.location.pathname+window.location.search;window.history.pushState({shortsOverlay:!0,from:e,_N:!0},"",t)}setTimeout(()=>{_(()=>g(e))},0)},[w]),k=(0,r.useMemo)(()=>w.map((e,t)=>()=>C(t)),[w,C]),T=(0,r.useCallback)(()=>{g(null),window.history.state?.shortsOverlay&&window.history.back()},[]),j=(0,r.useCallback)(e=>{let t=G(e);t&&window.history.replaceState(window.history.state,"",t)},[]);return(0,r.useEffect)(()=>{let e=()=>g(null);return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:n.default.embla,children:[(0,t.jsx)("div",{className:n.default.viewport,ref:u,children:(0,t.jsxs)("div",{className:b,children:[l.map((e,r)=>{let o=s?x.get(e)??-1:-1,i=o>=0?k[o]:void 0;return(0,t.jsx)("div",{role:"group","aria-roledescription":"slide","aria-label":`${r+1} de ${l.length}`,className:n.default.slide,children:(0,t.jsx)(H,{card:e,variant:a,newsImagePriority:0===r,onOpenVideoFullscreen:i})},r)}),(0,t.jsx)("div",{role:"presentation",className:n.default.carouselSpacer})]})}),d&&(0,t.jsx)("button",{type:"button",className:(0,o.default)(n.default.navButton,n.default.navPrev),onClick:()=>c?.scrollPrev(),"aria-label":"Anterior",children:(0,t.jsx)(I,{size:24,color:"var(--secondary)"})}),f&&(0,t.jsx)("button",{type:"button",className:(0,o.default)(n.default.navButton,n.default.navNext),onClick:()=>c?.scrollNext(),"aria-label":"Próximo",children:(0,t.jsx)(D.CaretRightIcon,{size:24,color:"var(--secondary)"})})]}),s&&null!==p&&w.length>0&&(0,t.jsx)(U.VideoShortsOverlay,{cards:w,initialIndex:p,onClose:T,onShortChange:j})]})}},251115,e=>{e.v({blockCarousel:"blockCarousel-module-scss-module__UDRzHa__blockCarousel",blockCarouselContent:"blockCarousel-module-scss-module__UDRzHa__blockCarouselContent",blockCarouselContentHeader:"blockCarousel-module-scss-module__UDRzHa__blockCarouselContentHeader",blockCarouselVideo:"blockCarousel-module-scss-module__UDRzHa__blockCarouselVideo","fade-in":"blockCarousel-module-scss-module__UDRzHa__fade-in"})},858948,e=>{e.v({blockCarouselSkeleton:"blockCarouselSkeleton-module-scss-module__9O_wDW__blockCarouselSkeleton",cardContainer:"blockCarouselSkeleton-module-scss-module__9O_wDW__cardContainer",cardImage:"blockCarouselSkeleton-module-scss-module__9O_wDW__cardImage",cardItem:"blockCarouselSkeleton-module-scss-module__9O_wDW__cardItem",cardsRow:"blockCarouselSkeleton-module-scss-module__9O_wDW__cardsRow",embla:"blockCarouselSkeleton-module-scss-module__9O_wDW__embla","fade-in":"blockCarouselSkeleton-module-scss-module__9O_wDW__fade-in",overline:"blockCarouselSkeleton-module-scss-module__9O_wDW__overline",titleBar:"blockCarouselSkeleton-module-scss-module__9O_wDW__titleBar",titleLine:"blockCarouselSkeleton-module-scss-module__9O_wDW__titleLine",titleLineShort:"blockCarouselSkeleton-module-scss-module__9O_wDW__titleLineShort",viewport:"blockCarouselSkeleton-module-scss-module__9O_wDW__viewport"})},308536,e=>{"use strict";e.s(["BlockCarouselPiano",()=>h],308536);var t=e.i(843476),n=e.i(271645),r=e.i(54513),o=e.i(544607),i=e.i(776543),l=e.i(251115),a=e.i(859961),s=e.i(343794);e.i(676218);var u=e.i(347235);
1function c(e){let{components:n,subtype:r,sectionTitle:o,sectionLink:i,sectionSponsorImage:c,sectionSubtitle:d,dataMrfRecirculation:m}=e,f="block-news-carousel"===r?"news":"block-shorts-carousel"===r?"video":"theme",h=(0,s.default)(l.default.blockCarousel,"video"===f&&l.default.blockCarouselVideo);if("video"===f){let e=n.map(e=>"card"===e.type?e:e.url&&e.title?{type:"card",url:e.url,title:e.title,video:{url:e.url}}:null).filter(e=>null!==e);return e.length?(0,t.jsx)("section",{className:h,"data-mrf-recirculation":m,children:(0,t.jsxs)("div",{className:l.default.blockCarouselContent,children:[(0,t.jsx)("div",{className:l.default.blockCarouselContentHeader,children:(0,t.jsx)(u.ClusterTitle,{visualType:"carousel-shorts",clusterTitle:o||"",clusterParagraph:d||void 0,buttonText:i?.text,buttonUrl:i?.url,sponsorImage:c||void 0})}),(0,t.jsx)(a.ThemeCarousel,{cards:e,variant:"video"})]})}):null}let p=n.filter(e=>"card"===e.type);return p.length?(0,t.jsx)("section",{className:h,"data-mrf-recirculation":m,children:(0,t.jsxs)("div",{className:l.default.blockCarouselContent,children:[o&&(0,t.jsx)("div",{className:l.default.blockCarouselContentHeader,children:(0,t.jsx)(u.ClusterTitle,{visualType:"block",clusterTitle:o,clusterParagraph:d||void 0,buttonText:i?.text,buttonUrl:i?.url,sponsorImage:c||void 0})}),(0,t.jsx)(a.ThemeCarousel,{cards:p,variant:f})]})}):null}e.i(965777);var d=e.i(248322),m=e.i(858948);function f(e){let{showTitle:n=!0}=e;return(0,t.jsxs)("div",{className:m.default.blockCarouselSkeleton,children:[n&&(0,t.jsx)(d.Skeleton,{className:m.default.titleBar}),(0,t.jsx)("div",{className:m.default.embla,children:(0,t.jsx)("div",{className:m.default.viewport,children:(0,t.jsx)("ul",{role:"list",className:m.default.cardsRow,children:Array.from({length:4}).map((e,n)=>(0,t.jsx)("li",{className:m.default.cardItem,children:(0,t.jsxs)("div",{className:m.default.cardContainer,children:[(0,t.jsx)(d.Skeleton,{className:m.default.cardImage}),(0,t.jsx)(d.Skeleton,{className:m.default.overline}),(0,t.jsx)(d.Skeleton,{className:m.default.titleLine}),(0,t.jsx)(d.Skeleton,{className:m.default.titleLineShort})]})},n))})})})]})}function h(e){let{widgetId:l,subtype:a,sectionTitle:s,sectionSubtitle:u,sectionLink:d,sectionSponsorImage:m,dataMrfRecirculation:h}=e,[p,g]=(0,n.useState)([]),[_,v]=(0,n.useState)(!1),b=(0,n.useRef)(!1),{ref:w,inView:x}=(0,r.useInView)({triggerOnce:!0,rootMargin:"100px"});return(0,n.useEffect)(()=>{if(x&&!b.current){if(b.current=!0,!l){console.warn("[Piano] BlockCarouselPiano: widgetId vazio"),v(!0);return}o.pianoService.getRecommendationsForWidget(l).then(e=>{g((e?.items??[]).filter(i.isValidPianoItem).slice(0,10).map(e=>(0,i.mapPianoToCard)(e)))}).catch(e=>{console.error("[Piano] BlockCarouselPiano: erro ao buscar recomendações",e)}).finally(()=>v(!0))}},[x,l]),(0,t.jsxs)("div",{ref:w,style:{width:"100%",overflow:"hidden"},"data-mrf-recirculation":h+"-piano",children:[!_&&(0,t.jsx)("div",{style:{visibility:x?"visible":"hidden"},children:(0,t.jsx)(f,{showTitle:!!s})}),_&&p.length>0&&(0,t.jsx)(c,{components:p,subtype:a,sectionTitle:s,sectionSubtitle:u,sectionLink:d,sectionSponsorImage:m})]})}}]);
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.