PageSourceSearch

https://rusgolf.ru/_nuxt/DVoJ1pT-.js

js rusgolf.ru collected 2026-10-02 11:11:04 UTC 2,421 bytes, 1 lines download raw bytes

1var k=(g,r,a)=>new Promise((l,_)=>{var c=e=>{try{d(a.next(e))}catch(t){_(t)}},f=e=>{try{d(a.throw(e))}catch(t){_(t)}},d=e=>e.done?l(e.value):Promise.resolve(e.value).then(c,f);d((a=a.apply(g,r)).next())});import{L as C}from"./wH0HxakZ.js";import{u as w}from"./DpbvG63g.js";import{e as B,h as $,B as D,c as i,u as p,f as A,a as s,t as b,l as E,F as L,r as R,m as U,o as n,_ as W}from"./Bof-CrE0.js";import{u as F}from"./I5vsAFHI.js";import"#entry";import"./IP-s4Jq9.js";const I={class:"clubs-courses-page"},N={key:1,class:"error"},S={key:0},V={key:2,class:"inner-wrapper"},G={class:"panel-pane pane-node-content md-content"},H={class:"panel-pane pane-node-body"},j={class:"field field--name-body field--type-text-with-summary field--label-hidden"},q={class:"field__items"},z={class:"field__item even",property:"content:encoded"},J={class:"documents-list"},K=["href"],M={key:3,class:"empty"},O="/api/page/mini-golf/clubs-courses",P=B({__name:"clubs-courses",setup(g){return k(this,null,function*(){let r,a;$({title:"Clubs and Courses | Russian Golf Association",meta:[{name:"description",content:"Registry of mini-golf fields and courses, standards for mini-golf fields."}]});const{data:l,pending:_,error:c}=([r,a]=D(()=>F("mini-golf-clubs-courses-en",()=>$fetch(O).catch(()=>null),{server:!0,default:()=>null})),r=yield r,a(),r),{rusgolfUrl:f}=w(),d=U(()=>{var y,v;if(!((y=l.value)!=null&&y.content))return[];const e=l.value.content,t=/<a([^>]*?)href=["']([^"']+)["']([^>]*?)>([^<]+)<\/a>/gi,u=[];let m;for(;(m=t.exec(e))!==null;){const o=m[2],h=((v=m[4])==null?void 0:v.trim())||"";if(o&&(o.endsWith(".pdf")||o.includes("/files/"))){const x=o.startsWith("http")?o:o.startsWith("/")?`${f}${o}`:`${f}/${o}`;h&&!h.match(/^<img/i)&&h.length>0&&u.push({title:h,url:x})}}return u.slice(0,2)});return(e,t)=>(n(),i("div",I,[p(_)?(n(),A(C,{key:0})):p(c)?(n(),i("div",N,[t[0]||(t[0]=s("p",null,"Something went wrong: this page may not exist",-1)),p(c).statusCode?(n(),i("p",S,"Error code: "+b(p(c).statusCode),1)):E("",!0)])):p(l)?(n(),i("div",V,[s("div",G,[s("div",H,[s("div",j,[s("div",q,[s("div",z,[s("div",J,[(n(!0),i(L,null,R(d.value,(u,m)=>(n(),i("div",{key:m,class:"document-item"},[s("a",{href:u.url,target:"_blank",class:"document-link"},b(u.title),9,K)]))),128))])])])])])])])):(n(),i("div",M,[...t[1]||(t[1]=[s("p",null,"Data not loaded",-1)])]))]))})}}),se=W(P,[["__scopeId","data-v-6490f542"]]);export{se 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.