1import{h as m,C as u,j as _,z as d,n as h}from"./index.a83a0d04.js";import f from"./WordpressPageTemplate.b547bc21.js";import{S as v}from"./SearchInput.73bc6eca.js";import{L as x}from"./LayoutPageDataLoaderMixin.1acb5c3c.js";import{W as n,P as C}from"./WordpressService.f5eb68ef.js";import"./ContentUserTestimonial.e506e235.js";import"./ico-quote.65116508.js";var g=Object.defineProperty,y=Object.getOwnPropertyDescriptor,p=(t,a,s,e)=>{for(var r=e>1?void 0:e?y(a,s):a,i=t.length-1,o;i>=0;i--)(o=t[i])&&(r=(e?o(a,s,r):o(r))||r);return e&&r&&g(a,s,r),r};let l=class extends m(x){constructor(){super(...arguments),this.post=null,this.selectedTerm=null,this.currentTermTitle="",this.terms=null,this.search=""}async searchHelpCenter(){this.$router.push({name:"Support",query:{s:this.search}})}async initializeData(){var t;try{if(this.slug){const a=await n.fetch(`custom/posts/${(t=this.slug)!=null?t:""}`,{type:C.SUPPORT});this.post=a.data;const s=await n.fetch("custom/support");this.terms=s.data,this.terms.map(e=>e.isSelected=e.term_id===this.post.taxonomy.term_id),this.selectedTerm=this.terms.filter(e=>e.term_id===this.post.taxonomy.term_id)[0],this.currentTermTitle=this.selectedTerm.name}}catch{}}};p([_(String)],l.prototype,"slug",2);l=p([u({components:{WordpressPageTemplate:f,SearchInput:v}})],l);var b=function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{staticClass:"bg-white"},[s("div",{staticClass:"c-page-wrapper"},[s("div",{staticClass:"hero-section py-24 pb-12 flex items-center 2xl:py-20"},[s("div",{staticClass:"w-[90%] max-w-7xl lg:items-center justify-center lg:max-h-[768px] mx-auto relative z-10 gap-8 xl:gap-12 2xl:gap-32"},[s("div",{staticClass:"mx-auto flex items-center justify-between flex-row flex-wrap gap-5"},[s("ul",{staticClass:"flex divide-x-2 items-center"},[s("li",{staticClass:"px-2 first:pl-0"},[s("RouterLink",{attrs:{to:{name:"Support"}}},[t._v("Help Center")])],1),s("li",{staticClass:"px-2 hidden md:block"},[s("strong",[t._v(t._s(t.currentTermTitle))])])]),s("SearchInput",{on:{submit:t.searchHelpCenter},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}})],1)])]),s("div",{staticClass:"mx-auto py-24 w-[90%] max-w-7xl"},[s("div",{staticClass:"flex items-start gap-12"},[t.terms?s("div",{staticClass:"sticky top-0 hidden md:block w-1/3"},[s("ul",{staticClass:"border"},t._l(t.terms,function(e,r){return s("li",[s("span",{staticClass:"font-bold text-lg flex justify-between block p-4 bg-slate-50 cursor-pointer items-center",on:{click:function(i){t.selectedTerm=e}}},[t._v(t._s(e.name)),s("inline-svg",{staticClass:"w-1.5 h-auto transition-transform",class:{"rotate-90":t.selectedTerm===e},attrs:{src:d}})],1),s("div",{staticClass:"overflow-hidden max-h-0 transition-all ease-out duration-150",class:{"max-h-[99999px]":t.selectedTerm===e}},[e.posts.length>0?s("ul",{staticClass:"flex flex-col gap-2 px-4 py-2"},t._l(e.posts,function(i){return s("li",{staticClass:"py-0.5"},[s("router-link",{attrs:{to:{name:"SupportChild",params:{slug:i.post_name}}}},[t._v(t._s(i.post_title))])],1)}),0):t._e()])])}),0)]):t._e(),s("div",{staticClass:"w-2/3"},[s("h1",{staticClass:"mb-5"},[t._v(t._s(t.post.post_title))]),t.post.fields["acf-berrycast-video"]?s("div",{staticClass:"relative aspect-video mb-5"},[s("iframe",{staticClass:"absolute inset-0 w-full h-full",attrs:{src:t.post.fields["acf-berrycast-video"]}})]):t._e(),s("article",{staticClass:"prose",domProps:{innerHTML:t._s(t.post.post_content)}}),s("div",{staticClass:"flex justify-between mt-12"},[s("router-link",{staticClass:"c-link -sm",attrs:{to:{name:"SupportChild",params:{slug:t.post.prev.post_name}}}},[t._v("Prev")]),s("router-link",{staticClass:"c-link -sm",attrs:{to:{name:"SupportChild",params:{slug:t.post.next.post_name}}}},[t._v("Next")])],1)])])])])])},w=[];const c={};var P=h(l,b,w,!1,S,"58735b93",null,null);function S(t){for(let a in c)this[a]=c[a]}var D=function(){return P.exports}();export{D as default};
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.