Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 832

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
import U from"./HorizontalRule.CF5E5IYM.js";import X from"./MobileNavDropdown.BXn8iInb.js";import Z from"./StageFilter.CziO88Pb.js";import{b as B,q as H,d as ee,X as j,I as te,a4 as ne,j as w,l as z,w as oe,H as ae,al as se,eO as ie,a3 as le,f as S,o as c,J as p,O as M,M as _,x as I,aH as re,K as A,L as m,Q as t,an as $,S as V,T as D,ar as P,bE as ce,bF as pe,_ as ue}from"#entry";import de from"./SideNavigation.EwWjlPLf.js";import{u as me}from"./useCheckIfMobile.DGW8b-Jf.js";import"./MobileNavDropdownTree.Sq5HYZXs.js";import"./linkUtils.Dmebx7WA.js";import"./useDynamicComponents.CAMVkI-t.js";import"./FeatureList.DT6KsM0C.js";import"./Badge.Do3xunmM.js";import"./HighlightCard.B_mNxaX-.js";import"./Video.CaU66l0N.js";import"./VideoModal.CBBlX7ZK.js";import"./play-button.Ah5ivh0W.js";import"./NewsletterForm.Ct1JnIYR.js";import"./MktoForm.D0yUKXXD.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"c141ebdc70122b5fe997e9a19a5b00a8390edc39"}}catch{}})();try{(function(){var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new n.Error().stack;i&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[i]="ed9b1894-0f37-4a6d-94f6-f14b84943cda",n._sentryDebugIdIdentifier="sentry-dbid-ed9b1894-0f37-4a6d-94f6-f14b84943cda")})()}catch{}const fe=async n=>{const[{data:i},{data:F}]=await Promise.all([B(`whats-new-versions-${n}`,()=>H(`/shared/${n}/releases/whats-new/versions/`).where({_extension:"yml"}).find()),B(`whats-coming-${n}`,()=>H(`/shared/${n}/releases/whats-new/whats-coming`).where({_extension:"yml"}).findOne())]),k=F.value?.features||[];if(!i.value?.length)return{navigationLinks:[],allComponents:[],whatsComingFeatures:k};const v=i.value.sort((e,o)=>{const l=e._path?.split("/").pop()?.replace(".yml","")||"",s=o._path?.split("/").pop()?.replace(".yml","")||"",a=b=>{const r=b.replace("-",".").split(".").map(C=>parseInt(C,10));return r.length>=2&&!r.some(isNaN)?r:[0,0]},[f,R]=a(l),[T,E]=a(s);return f!==T?f-T:R-E}),x=v.map(e=>{const o=e._path?.split("/").pop()?.replace(".yml","")||"",l=o.replace("-",".");return{text:l,releaseDate:e.config?.releaseDate,hasNoContent:e.config?.noContent===!0,config:{id:o,href:`#${o}`,withDate:!!e.config?.releaseDate,dataGaName:`${l}-nav`,dataGaLocation:"side-navigation"}}}),W=[...v].reverse().find(e=>e.config?.noContent!==!0)?._path?.split("/").pop()?.replace(".yml",""),u=[...v].reverse().flatMap(e=>{const o=e._path?.split("/").pop()?.replace(".yml","")||"",l=o===W;if(!e.content)return[];if(!Array.isArray(e.content)){if(e.config?.noContent===!0)return[];const s=e.content.components;return!s||!Array.isArray(s)?[]:s.map(a=>{const f={...a.componentContent,config:{newestRelease:l,...a.componentContent?.config,id:o,releaseDate:e.config?.releaseDate}};return{componentName:a.componentName,componentContent:f}})}return e.content.map(s=>{const a={...s.componentContent,config:{newestRelease:l,...s.componentContent?.config,id:o,releaseDate:e.config?.releaseDate}};return{componentName:s.componentName,componentContent:a}})});return{navigationLinks:x,allComponents:u,whatsComingFeatures:k}},he={key:0,class:"mobile-sticky-wrapper"},ge={class:"mobile-flex"},we={key:0},_e={class:"releases-whats-new"},ve=ee({inheritAttrs:!1,__name:"ReleaseWhatsNew",props:{content:{type:Object,required:!0}},async setup(n){let i,F;const k=j(),{t:v,locale:x}=te(),{path:W}=j();if(!n.content)throw ne({statusCode:500,message:`Page is missing the "content" attribute: ${W}`});const{isMobile:y}=me(),u=w([]),e=w(!1),o=w(!1),l=w(!1),s=w(null),a=w(!1),f=()=>{a.value=k.hash==="#whats-coming"};z(()=>{f()}),oe(()=>k.hash,f);const R=h=>{if(u.value=h,!l.value&&u.value.length>0){const g=document.querySelector(".feature-list");g&&g.scrollIntoView({behavior:"smooth",block:"start"})}},T=()=>{o.value&&(o.value=!1),e.value=!e.value},E=()=>{e.value&&(e.value=!1),o.value=!o.value};let b=null;z(()=>{if(!y.value&&s.value){const g=s.value.offsetTop,d=()=>{l.value=window.scrollY>=g-80};d();let N=!1;b=()=>{N||(requestAnimationFrame(()=>{d(),N=!1}),N=!0)},window.addEventListener("scroll",b,{passive:!0})}}),ae(()=>{b&&window.removeEventListener("scroll",b)}),se("stageFilters",ie(u));const L=h=>{a.value=h},r=w(),{data:C}=([i,F]=le(async()=>B(`whats-new-page-data-${x.value}`,async()=>{const{navigationLinks:h,allComponents:g,whatsComingFeatures:d}=await fe(x.value);return{navigationLinks:h,allComponents:g,whatsComingFeatures:d}},{server:!0})),i=await i,F(),i);return C.value?.navigationLinks?.length&&(r.value={config:{id:"whats-new-side-navigation",position:"left"},heading:"Release versions",links:C.value.navigationLinks,whatsComingContent:n.content.whatsComing,whatsComingFeatures:C.value.whatsComingFeatures,components:C.value.allComponents}),(h,g)=>{const d=I("SlpTypography"),N=U,G=I("SlpSection"),Y=X,J=I("SlpIcon"),O=Z,q=re,K=I("SlpContainer"),Q=de;return c(),S("main",null,[p(G,{class:"hero slp-pt-64 slp-pb-48"},{default:_(()=>[p(d,{tag:"h1",variant:"heading4-bold",class:"slp-mb-8"},{default:_(()=>[V(D(n.content.hero.heading),1)]),_:1}),p(d,{tag:"h2",variant:"heading1-bold"},{default:_(()=>[V(D(n.content.hero.subheading),1)]),_:1}),p(d,{tag:"p",variant:"heading5",class:"slp-mt-24 slp-mb-32"},{default:_(()=>[V(D(n.content.hero.description),1)]),_:1}),p(N)]),_:1}),p(q,null,{default:_(()=>[t(y)?(c(),S("div",he,[M("div",ge,[t(r)?(c(),A(Y,{key:0,class:"mobile-nav",links:t(r)?.links||[],header:t(v)("whatsNewReleases.mobileDropdownNavHeader"),"is-open":t(o),"whats-coming-features":t(r)?.whatsComingFeatures,onToggle:E,onWhatsComingToggle:L},null,8,["links","header","is-open","whats-coming-features"])):m("",!0),t(a)?m("",!0):(c(),S("button",{key:1,class:P(["show-mobile-filters",{active:t(e)}]),onClick:T},[M("div",null,[V(D(t(v)("whatsNewReleases.mobileDropdownFiltersHeader"))+" ",1),t(u).length>0?(c(),S("span",we," ("+D(t(u).length)+") ",1)):m("",!0)]),p(J,{icon:t(e)?t(ce):t(pe)},null,8,["icon"])],2))]),t(y)&&t(e)&&!t(a)?(c(),A(O,$({key:0},n.content.filter,{onFiltersChanged:R}),null,16)):m("",!0)])):m("",!0)]),_:1}),p(q,null,{default:_(()=>[!t(y)&&!t(a)?(c(),S("div",{key:0,ref_key:"stickyWrapper",ref:s,class:P(["desktop-sticky-wrapper",{"is-sticky":t(l)}])},[p(K,null,{default:_(()=>[!t(y)&&!t(a)?(c(),A(O,$({key:0},n.content.filter,{onFiltersChanged:R}),null,16)):m("",!0)]),_:1})],2)):m("",!0)]),_:1}),M("div",_e,[t(r)?(c(),A(Q,$({key:0},t(r),{filters:t(u),onWhatsComingToggle:L}),null,16,["filters"])):m("",!0)])])}}}),Me=ue(ve,[["__scopeId","data-v-af5f5bb9"]]);export{Me as default};