PageSourceSearch

https://tenischile.com/_next/static/chunks/pages/_app-46692added7904a5.js

js tenischile.com collected 2026-10-02 21:33:14 UTC 3,661 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{9831:(t,e,a)=>{"use strict";a.d(e,{M:()=>s});let s=a(14232).createContext({open:!1,open_nav:!1,cart:[],renewCart:()=>{},openNav:t=>{},addToCart:t=>{},toggleCart:()=>{},closeCart:t=>{},deleteFromCart:t=>{},changeQ:t=>{}})},22750:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>f});var s=a(3576),n=a(37876);a(14232),a(98477);var r=a(78944),o=a(4361),i=a.n(o),c=a(77328),l=a.n(c),h=a(89099),d=a.n(h),p=a(47607),u=a(9831);a(56142),a(90263),a(46890),a(31987),a(31620);var m=a(35070),g=a(90168);a(20351);var v=a(31929),x=a(5068);function C(t){return(0,n.jsxs)("div",{className:"flex justify-center items-center w-full h-full absolute",children:[(0,n.jsx)("div",{className:"top-0 left-0 w-full h-full block z-50 fixed bg-black bg-opacity-50"}),(0,n.jsxs)("div",{className:"my-32 mx-auto max-w-sm text-center relative z-50 top-0",children:[(0,n.jsx)("div",{className:"block mb-4 mt-[100px]",children:(0,n.jsx)("i",{className:"fas fa-circle-notch animate-spin text-white mx-auto text-6xl"})}),(0,n.jsxs)("h4",{className:"text-lg font-medium text-white",children:["Cargando: ",t.path]})]})]})}let w=null;d().events.on("routeChangeStart",t=>{w=(0,r.createRoot)(document.getElementById("page-transition")),document.body.classList.add("body-page-transition"),w.render((0,n.jsx)(C,{path:t}))}),d().events.on("routeChangeComplete",()=>{w.unmount(),document.body.classList.remove("body-page-transition")}),d().events.on("routeChangeError",()=>{w.unmount(),document.body.classList.remove("body-page-transition")});class f extends i(){componentDidMount(){this.renewCart(),d().events.on("routeChangeStart",t=>{this.closeCart(!1)})}static async getInitialProps(t){let{Component:e,router:a,ctx:s}=t,n={};return e.getInitialProps&&(n=await e.getInitialProps(s)),{pageProps:n}}render(){let{Component:t,pageProps:e}=this.props,a=t.layout||(t=>{let{children:e}=t;return(0,n.jsx)(n.Fragment,{children:e})});return(0,n.jsxs)(m.S,{value:{fetcher:g.A,onError:t=>{console.error(t)}},children:[(0,n.jsxs)(l(),{children:[(0,n.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, shrink-to-fit=no"}),(0,n.jsx)("title",{children:"Tennis Chile"})]}),(0,n.jsx)(p.ah,{trackPageViews:!0}),(0,n.jsx)(u.M.Provider,{value:{open:this.state.open,open_nav:this.state.open_nav,cart:this.state.cart,addToCart:this.addToCart,deleteFromCart:this.deleteFromCart,toggleCart:this.toggleCart,changeQ:this.changeQ,openNav:this.openNav,closeCart:this.closeCart},children:(0,n.jsxs)(a,{children:[(0,n.jsx)(t,(0,s._)({},e)),(0,n.jsx)(v.bL,{})]})})]})}constructor(...t){super(...t),this.state={cart:[],open:!1,open_nav:!1},this.addToCart=async t=>{let e=await x.A.post("/api/cart/add",t);this.setState({cart:e.data,open:!0})},this.changeQ=async t=>{let e=await x.A.post("/api/cart/change-q",t);this.setState({cart:e.data,open:!0})},this.deleteFromCart=async t=>{let e=await x.A.post("/api/cart/remove",t);this.setState({cart:e.data,open:!0})},this.renewCart=async t=>{let e=await x.A.get("/api/cart");this.setState({cart:e.data})},this.toggleCart=async()=>{this.setState({open:!this.state.open})},this.closeCart=async t=>{this.setState({open:t})},this.openNav=async t=>{this.setState({open_nav:t})}}}},31987:()=>{},46890:()=>{},56556:(t,e,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return a(22750)}])},90168:(t,e,a)=>{"use strict";a.d(e,{A:()=>n});var s=a(3576);async function n(t,e){let a=await fetch(t,(0,s._)({credentials:"include"},e)),n=await a.json();if(a.ok)return n;throw console.log(n),Error(n.message)}},90263:()=>{}},t=>{var e=e=>t(t.s=e);t.O(0,[8096,8792],()=>(e(56556),e(59603))),_N_E=t.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.