PageSourceSearch

https://tubidy.cz/_next/static/chunks/pages/contact-782f3659d2a3be45.js

js tubidy.cz collected 2026-10-09 22:40:43 UTC 5,503 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[335],{6405:function(e,a,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact",function(){return s(673)}])},2153:function(e,a,s){"use strict";var t=s(5893);s(7294);var l=s(1664),n=s.n(l),r=s(9136);let getGenrePath=e=>{let a=(null==e?void 0:e.alias)||(null==e?void 0:e.name)||"";return"/genre/".concat(encodeURIComponent(a.toLowerCase().replace(/\s+/g,"-")))};a.Z=()=>{let{genres:e,loading:a,error:s}=(0,r.L_)();return(0,t.jsxs)("div",{className:"bg-white rounded p-1 mt-4 mb-8 h-[564px]",children:[(0,t.jsx)("p",{className:"mb-4 text-center text-2xl font-bold",children:"Genres"}),(0,t.jsxs)("div",{className:"mb-9 flex flex-wrap justify-center gap-2",children:[a&&(0,t.jsx)("p",{className:"text-sm text-[#666]",children:"Loading genres..."}),!a&&0===e.length&&(0,t.jsx)("p",{className:"text-sm text-[#666]",children:s||"No genres available."}),!a&&e.map(e=>(0,t.jsx)(n(),{href:getGenrePath(e),className:"rounded bg-[#f5f5f5] px-3 py-1.5 text-sm",locale:"en",children:e.name},e.id||e.alias||e.name))]})]})}},5538:function(e,a,s){"use strict";var t=s(5893);s(7294);var l=s(1664),n=s.n(l),r=s(9136);let getMoodPath=e=>{let a=(null==e?void 0:e.alias)||(null==e?void 0:e.name)||"";return"/mood/".concat(encodeURIComponent(a.toLowerCase().replace(/\s+/g,"-")))};a.Z=()=>{let{moods:e,loading:a,error:s}=(0,r.L_)();return(0,t.jsxs)("div",{className:"bg-white rounded p-1 h-[244px]",children:[(0,t.jsx)("p",{className:"mb-4 text-center text-2xl font-bold",children:"Moods"}),(0,t.jsxs)("div",{className:"mb-9 flex flex-wrap justify-center gap-2",children:[a&&(0,t.jsx)("p",{className:"text-sm text-[#666]",children:"Loading moods..."}),!a&&0===e.length&&(0,t.jsx)("p",{className:"text-sm text-[#666]",children:s||"No moods available."}),!a&&e.map(e=>(0,t.jsx)(n(),{href:getMoodPath(e),className:"rounded bg-[#f5f5f5] px-3 py-1.5 text-sm",locale:"en",children:e.name},e.id||e.alias||e.name))]})]})}},673:function(e,a,s){"use strict";s.r(a);var t=s(5893),l=s(7294),n=s(7066),r=s(6310),i=s(9008),o=s.n(i),m=s(4173);s(7967);var c=s(2175);s(5538),s(2153),a.default=()=>{let[e,a]=(0,l.useState)(!1),s=r.Ry().shape({name:r.Z_().min(3,"name must be 3 or more characters").required(),email:r.Z_().email().required(),message:r.Z_().trim().required()}),handleSubmit=async(e,s)=>{let{resetForm:t}=s;a(!0);try{let a={name:e.name,email:e.email,message:e.message,site:"tubidy.cz"},s=await n.Z.post("".concat("https://us-central1-ytmp3-tube.cloudfunctions.net","/sendContactEmail"),a);t(),m.Am.success(await s.data,{theme:"colored"})}catch(e){m.Am.error(e.response.data.error)}finally{a(!1)}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(o(),{children:[(0,t.jsx)("title",{children:"Contact — Tubidy"}),(0,t.jsx)("meta",{property:"og:title",content:"Contact — Tubidy"}),(0,t.jsx)("meta",{name:"description",content:"Contact — Tubidy"}),(0,t.jsx)("meta",{property:"og:description",content:"Contact — Tubidy"})]}),(0,t.jsx)("div",{className:"mx-auto pb-5",children:(0,t.jsx)("div",{className:"content mx-auto px-4",children:(0,t.jsx)("div",{className:"-mx-4 flex flex-col md:flex-row md:gap-6",children:(0,t.jsx)("div",{className:"w-full md:flex-1 min-w-0",children:(0,t.jsxs)("div",{className:"static-container bg-white rounded-sm px-4 py-[0.1px]",children:[(0,t.jsx)("p",{className:"text-[18px] font-bold",children:"CONTACT"}),(0,t.jsx)("p",{children:"Your input is important to us! Whether you have a question, suggestion, or feedback, please fill out the form below, and we’ll reach out to you shortly."}),(0,t.jsx)(c.J9,{initialValues:{name:"",email:"",message:""},validationSchema:s,onSubmit:(e,a)=>{let{resetForm:s}=a;return handleSubmit(e,{resetForm:s})},children:a=>{let{errors:s,touched:l,values:n,handleChange:r}=a;return(0,t.jsxs)(c.l0,{className:"px-4 py-4 md:w-4/5 w-full",children:[(0,t.jsxs)("label",{className:"block",children:["Your Name ",(0,t.jsx)("span",{style:{color:"red"},children:" * "})]}),(0,t.jsx)(c.gN,{id:"name",name:"name",type:"text",value:null==n?void 0:n.name,onChange:r,placeholder:"Your Name",className:"p-3 mt-2 rounded outline-none w-full border border-gray-300 bg-[#f5f5f5]"}),s.name&&l.name&&(0,t.jsx)("p",{className:"text-[#ff0000b0] text-[12px] my-0",children:s.name}),(0,t.jsxs)("label",{className:"mt-4 block",children:["Email ",(0,t.jsx)("span",{style:{color:"red"},children:" * "})]}),(0,t.jsx)(c.gN,{id:"email",name:"email",type:"email",value:null==n?void 0:n.email,onChange:r,placeholder:"Email",className:"p-3 mt-2 rounded outline-none w-full border border-gray-300 bg-[#f5f5f5]"}),s.email&&l.email&&(0,t.jsx)("p",{className:"text-[#ff0000b0] text-[12px] my-0",children:s.email}),(0,t.jsxs)("label",{className:"mt-4 block",children:["Message ",(0,t.jsx)("span",{style:{color:"red"},children:" * "})]}),(0,t.jsx)(c.gN,{id:"message",name:"message",as:"textarea",value:null==n?void 0:n.message,onChange:r,className:"p-3 mt-2 rounded outline-none w-full border border-gray-300 bg-[#f5f5f5]",placeholder:"Write Something...",rows:"10",cols:"50"}),s.message&&l.message&&(0,t.jsx)("p",{className:"text-[#ff0000b0] text-[12px] my-0",children:s.message}),(0,t.jsx)("button",{"aria-label":"submit",type:"submit",className:"mt-4 bg-[#62c6e5] text-white rounded cursor-pointer px-20 py-2 block min-w-[200px]",children:e?(0,t.jsx)("div",{className:"send-spinner"}):"Send"})]})}})]})})})})}),(0,t.jsx)(m.Ix,{hideProgressBar:!0})]})}}},function(e){e.O(0,[66,980,774,888,179],function(){return e(e.s=6405)}),_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.