PageSourceSearch

https://www.ballify.app/_next/static/chunks/pages/legal/[clubId]/[doc]-4a2a2127ece18fa0.js

js ballify.app collected 2026-10-08 21:40:30 UTC 2,171 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a487dfe2-9f47-402d-ab13-5021e95dcd1b",e._sentryDebugIdIdentifier="sentry-dbid-a487dfe2-9f47-402d-ab13-5021e95dcd1b")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[104],{79592:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/legal/[clubId]/[doc]",function(){return n(98073)}])},98073:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ClubLegalPage}});var l=n(85893),a=n(67294),s=n(11163),i=n(10309);let u={terms:{file:"generic-terms.md",defaultTitle:"T\xe9rminos y condiciones de contrataci\xf3n",enabledKey:"enableTermsPage"},returns:{file:"generic-returns.md",defaultTitle:"Reembolsos y devoluciones",enabledKey:"enableReturnsPage"}},c=["businessName","cif","businessAddress","businessEmail","businessPhone"];function ClubLegalPage(){let e=(0,s.useRouter)(),{clubId:t,doc:n}=e.query,[o,r]=(0,a.useState)(null),[d,f]=(0,a.useState)(""),[b,g]=(0,a.useState)(""),[p,y]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{if(!t||!n)return;let e=u[n];if(!e){y(!0);return}Promise.all([fetch("".concat("https://api.ballify.app","/clubs/").concat(t,"/public-legal")).then(e=>e.ok?e.json():Promise.reject()),fetch("/legal-templates/".concat(e.file)).then(e=>e.ok?e.text():Promise.reject())]).then(t=>{let[n,l]=t,a=n.club;if(!a[e.enabledKey]){y(!0);return}let s=function(e,t){let n=new Date().toLocaleDateString("es-ES",{day:"numeric",month:"long",year:"numeric"}),l=e.replace(/\{\{updatedAt\}\}/g,n);for(let e of c)l=l.replace(RegExp("\\{\\{".concat(e,"\\}\\}"),"g"),t[e]||"");return l}(l,a),i=a.businessName||a.name;r(s),f("".concat(e.defaultTitle," — ").concat(i)),g("".concat(e.defaultTitle," aplicable a los servicios de ").concat(i," gestionados a trav\xe9s de Ballify."))}).catch(()=>y(!0))},[t,n]),p||null===o)?null:(0,l.jsx)(i.Z,{seoTitle:d,seoDescription:b,canonicalUrl:"",markdown:o})}}},function(e){e.O(0,[8618,309,9774,2888,179],function(){return e(e.s=79592)}),_N_E=e.O()}]);

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.