PageSourceSearch

https://ewrk.co.uk/_nuxt/D-oBo17R.js

js ewrk.co.uk collected 2026-10-03 18:15:06 UTC 5,322 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CVWGsesh.js","./DZazjvK2.js","./BaesYzdW.js","./CT7wXifU.js","./framework.CIcGVNlr.css","./BFgkgDsu.js","./vuetify.BTPYv6O6.css","./D6trejea.js","./vendor-maps.BmfcjYDA.css","./entry.4lNXg1uM.css","./AXVxKB1h.js","./BxHTvznF.js","./DjQnxtf9.js","./DeleteWarning.Bn181Xgj.css","./D3ivj-Vu.js","./CQJsGVH_.js","./DUylREow.js","./Cug_iWHc.js","./CKJ93ES3.js","./OrderingDraggable.CU1JlM9q.css","./CXScb-c2.js","./quill-Base64image.BzlHBbxM.css","./D5ZdlyYx.js","./DrExg1Vc.js","./CwSFHU6w.js","./Ckxq_auv.js","./FIKZwoKv.js","./v6iIASqR.js","./ImageSelector.CC0NIQ4O.css","./DK9XMrmJ.js","./CustomBulletsForm.DFTTkr2s.css","./D9cqs7DN.js","./DOsPU9u1.js","./C8Z3mRcc.js","./DbDfHD2r.js","./BaIu7UwC.js","./PageEdit.ChuXBj2d.css"])))=>i.map(i=>d[i]);
2import{a as X,B as Y,z as Z,s as N,_ as ee}from"#entry";import te from"./vKIIDGpG.js";import ae from"./BPd5rVgD.js";import{_ as ne}from"./BxHTvznF.js";import oe from"./DZazjvK2.js";import{aP as O,ag as u,r as A,aR as se,aM as le,aE as t,y as i,aQ as p,p as v,q as f,a as re,an as ue,as as ie,x as ce,a3 as me,al as c,D as pe,m as de}from"./CT7wXifU.js";import{t as _e,h as ge}from"./DiniezPd.js";import{u as ve}from"./CKJ93ES3.js";import{u as fe}from"./DOsPU9u1.js";import{u as he}from"./DUylREow.js";import{aD as we,_ as z,a5 as Pe,e as F}from"./BFgkgDsu.js";import{i as B}from"./BaIu7UwC.js";import{_ as ye}from"./D6trejea.js";import"./Cug_iWHc.js";const ke={key:0},xe={__name:"[page]",async setup(be){let _,h;const{getApiCalls:R,postApiCalls:V,secureEndpoint:w}=he(),G=we().public,m=X(),g=Y(),j=ve(),{titleFromAPI:T,descriptionFromAPI:$,headlineFromAPI:C,cssText:H}=([_,h]=O(()=>_e()),_=await _,h(),_);Z(ge(T,$,H,G,null,g.path));const{isAdminLoggedIn:P,isMemberLoggedIn:M}=fe(),y=c(!0),k=c(""),l=c([]),x=c(""),E=c(""),b=c(""),o=c(null),D=c(null),q=c(!1),Q=de(()=>m.auth),J=pe(()=>ee(()=>import("./CVWGsesh.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36]),import.meta.url)),I=()=>["/reviews","/contact"].some(a=>g.path.includes(a)),K=async()=>{if(g.params.page==="contact"){let e=m.location.pages?.find(n=>n.slug==="contact");if(e){o.value=e,k.value=e.name,x.value=e.show_header,y.value=!0,l.value=[],e.content.forEach(n=>{l.value.push(n)}),E.value=e.tracking_event_name,b.value=I()?C:e.name;return}}if(g.params.page==="reviews"){let e=m.location.pages?.find(n=>n.slug==="reviews");if(e){o.value=e,k.value=e.name,x.value=e.show_header,y.value=!0,l.value=[],e.content?.forEach(n=>{l.value.push(n)}),E.value=e.tracking_event_name,b.value=I()?C:e.name;return}}const d=g.params.page,a=m.allPages.find(e=>e.slug==d);a?a.is_member_only&&!Q.value.loggedIn?N({path:"/"}):(o.value=a,k.value=a.name,x.value=a.show_header,y.value=!0,l.value=[],a.content.forEach(e=>{l.value.push(e)}),E.value=a.tracking_event_name,b.value=I()?C:a.name):N({path:"/"})};[_,h]=O(()=>K()),await _,h();const U=d=>{m.setPageEditPopup(d)},S=async d=>{if(o.value.slug==="contact"){let a={name:"Contact",slug:"contact",content:l.value,show_header:!0,location:m.location.id},n=(await R(w.PAGE)).filter(r=>r.slug==="contact")[0];if(n&&(o.value=n),!n){const r=await V(w.PAGE,a);o.value=r}}if(o.value.slug==="reviews"){let e=(await R(w.PAGE)).filter(n=>n.slug==="reviews"&&n.location===m.location.id)[0];if(e&&(o.value=e),!e){const n={name:"Reviews",slug:"reviews",content:l.value||[],show_header:!0,location:m.location.id},r=await V(w.PAGE,n);o.value=r}}D.value=d,U(!0)};return(d,a)=>{const e=te,n=ae,r=ne,W=oe;return u(),A("div",{class:me({"admin-editing":t(P)()})},[se(i(e,{header:t(b)},null,8,["header"]),[[le,t(x)]]),t(y)?(u(),A("div",ke,[i(r,null,{default:p(()=>[t(M)()&&t(k)==="Reviews"?(u(),v(n,{key:0})):f("",!0)]),_:1}),i(r,null,{default:p(()=>[t(P)()&&(!t(B)(t(o))||t(o)?.slug==="reviews")?(u(),v(t(J),{key:0,page:t(o),sections:t(l),selected_section:t(D),deletePopup:t(q)},null,8,["page","sections","selected_section","deletePopup"])):f("",!0)]),_:1}),i(r,null,{default:p(()=>[(u(!0),A(re,null,ue(t(l),(s,L)=>(u(),A("div",{key:L},[t(P)()&&(!t(B)(t(o))||t(o)?.slug==="reviews")?(u(),v(z,{key:0,class:"mt-12 pt-10"},{default:p(()=>[i(Pe),i(F,{class:"mt-5 mr-5",style:{border:"1px 1px 0px 1px","z-index":"10"},large:"",icon:"",onClick:Ae=>S(L)},{default:p(()=>[i(W,{name:"mdi:table-edit",style:{"font-size":"18px"}})]),_:1},8,["onClick"])]),_:2},1024)):f("",!0),(u(),v(ie(t(j)[s.component]),{headline:s.headline,content:s.content,media:s.media,bullets:s.bullets,id:s.id,service_id:s.service_id,count_of_programs:s.countOfPrograms,count_of_reviews:s.countOfReviews,backgroundImage:s.backgroundImage,customBullets:s.customBullets,url:s.url,interactiveVideo:s.interactiveVideo},null,8,["headline","content","media","bullets","id","service_id","count_of_programs","count_of_reviews","backgroundImage","customBullets","url","interactiveVideo"]))]))),128))]),_:1}),i(r,null,{default:p(()=>[t(P)()&&(!t(B)(t(o))||t(o)?.slug==="reviews")?(u(),v(z,{key:0,class:"py-10 my-10",justify:"center"},{default:p(()=>[i(F,{class:"text-center mt-5 mr-5",large:"",onClick:a[0]||(a[0]=s=>S(null)),color:"#ff5252"},{default:p(()=>[...a[1]||(a[1]=[ce(" Add Section ",-1)])]),_:1})]),_:1})):f("",!0)]),_:1})])):f("",!0)],2)}}},je=ye(xe,[["__scopeId","data-v-aac4aeb0"]]);export{je 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.