PageSourceSearch

https://assets.worldstar.com/production/f2180f3c9170665840d513a5a2…/static/chunks/271.1be0d1548596c296.js

js worldstar.com collected 2026-09-25 14:34:50 UTC 6,702 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[271],{50271:(e,t,l)=>{l.r(t),l.d(t,{default:()=>u});var a=l(37876),s=l(14e3),r=l(14232),n=l(84274),o=l(72031),i=l(31551),c=l(10366),d=l.n(c);let u=e=>{let{showSubmitVideoDialog:t,isModal:l=!0,trackMixpanelEvent:c}=e,[u,x]=(0,r.useState)(""),[m,h]=(0,r.useState)(""),[b,p]=(0,r.useState)(""),[f,g]=(0,r.useState)(""),[y,v]=(0,r.useState)(!0),[w,j]=(0,r.useState)(o.EoG[0].value),[k,N]=(0,r.useState)(!0),[S,E]=(0,r.useState)(!1),[C,I]=(0,r.useState)(!1),[T,O]=(0,r.useState)(),R=(0,r.useRef)(null),V=(0,r.useRef)(null),U=(0,s.useRouter)();(0,r.useEffect)(()=>{if(!R.current)return;let e=document.createElement("script");return e.src="https://www.google.com/recaptcha/enterprise.js?render=".concat(o._Ak),e.async=!0,e.defer=!0,document.body.appendChild(e),document.body.style.overflow="hidden",()=>{document.body.removeChild(e),document.body.style.overflow="auto"}},[]);let D=async()=>{try{if(c(o.vjE,{section:o.Fcz}),O(""),I(!0),void 0===window.grecaptcha){O(o.h1K),I(!1);return}let e=await window.grecaptcha.enterprise.execute(o._Ak,{action:"SUBMITVIDEO"});if(!e){O(o.h1K),I(!1);return}let t=await fetch("/api/email",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({videoUrl:u,videoType:w,title:(0,i.R9)(m),description:(0,i.R9)(b),email:f,recaptchaToken:e})});(null==t?void 0:t.ok)||O(o.h1K),E(t.ok),I(!1)}catch(e){O(o.h1K),console.error("Error:",e)}};return(0,a.jsxs)("div",{ref:R,className:"".concat(!l?"flex justify-center":""," ").concat(d().variable),children:[(0,a.jsxs)("div",{ref:V,className:"\n          px-6 lg:px-8 xl:px-10 py-10 block bg-white ".concat(l?"left-1/2 -translate-x-1/2 fixed w-full md:w-10/12 lg:w-8/12 xl:w-6/12 2xl:w-4/12 top-8 max-h-[calc(100vh-50px)] overflow-y-auto custom-scrollbar":"top-28 w-11/12 lg:w-8/12 xl:w-6/12","\n        "),style:{zIndex:99999},children:[l&&(0,a.jsx)("div",{className:"absolute top-4 right-6 flex items-center justify-center after:content-['✕'] after:text-2xl after:text-black cursor-pointer",onClick:()=>t(!1)}),S?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h2",{className:"w-full text-center text-2xl lg:text-4xl font-bold mb-5",children:"THANK YOU!"}),(0,a.jsx)("p",{className:"text-neutral-600 text-sm lg:text-base",children:"Thank you for submitting your video to our website. Someone from our team will follow up with you as quickly as possible."}),(0,a.jsx)("p",{className:"text-neutral-600 mt-3 text-sm lg:text-base",children:"Thank you for sharing your content with us!"}),(0,a.jsx)("button",{title:"Watch videos",className:"mt-14 mb-4 rounded text-center py-2 w-full text-sm lg:text-base\n                  border border-black bg-black text-white hover:bg-white hover:text-black\n                ",onClick:()=>{t(!1),U.push("/")},children:"WATCH VIDEOS"}),(0,a.jsx)("button",{title:"Submit video",className:"mt-2 mb-4 rounded text-center py-2 w-full text-sm lg:text-base\n                  bg-white text-black border border-black hover:bg-black hover:text-white\n                ",onClick:()=>{c(o.vjE,{section:o.kq4}),x(""),h(""),p(""),g(""),E(!1)},children:"SUBMIT MORE VIDEOS"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h2",{className:"w-full text-center text-2xl lg:text-4xl font-bold mb-5",children:"SUBMIT YOUR VIDEO"}),(0,a.jsx)("h3",{className:"font-bold text-base lg:text-lg",children:"Enter Video Link (URL)"}),(0,a.jsxs)("p",{className:"mt-1 text-sm lg:text-base",children:["If your video is already uploaded to a platform, simply paste the link here, or upload it to a platform like"," ",(0,a.jsx)("a",{href:"https://www.sendspace.com/",target:"_blank",className:"text-blue-500 underline",children:"Sendspace.com"})," ","and paste the link below."]}),(0,a.jsx)("input",{title:"Video Link (URL)",type:"url",placeholder:"Video Link (URL) *",className:"text-sm lg:text-base py-2 px-4 border border-neutral-400 mt-2 rounded w-full",value:u,onChange:e=>x(e.target.value),onBlur:()=>
1{v(o.P8z.test(u))}}),!y&&(0,a.jsx)("span",{className:"text-sm text-red-500",children:"* Invalid URL"}),(0,a.jsx)("h3",{className:"font-bold text-base lg:text-lg mt-5",children:"Video type"}),(0,a.jsx)("select",{title:"Video Type",className:"text-sm lg:text-base py-2 px-4 border border-neutral-400 mt-3 rounded w-full",value:w,onChange:e=>j(Number(e.target.value)),children:o.EoG.map(e=>(0,a.jsx)("option",{value:e.value,children:e.label},e.value))}),(0,a.jsx)("h3",{className:"font-bold text-base lg:text-lg mt-5",children:"Details"}),(0,a.jsx)("input",{title:"Title",type:"text",placeholder:"Title *",className:"text-sm lg:text-base py-2 px-4 border border-neutral-400 mt-3 rounded w-full",value:m,onChange:e=>h(e.target.value)}),(0,a.jsx)("input",{title:"Description",type:"text",multiple:!0,placeholder:"Description",className:"text-sm lg:text-base py-2 px-4 border border-neutral-400 mt-4 rounded w-full",value:b,onChange:e=>p(e.target.value)}),(0,a.jsx)("h3",{className:"font-bold text-base lg:text-lg mt-5",children:"Email"}),(0,a.jsx)("input",{title:"Email",type:"email",placeholder:"Email *",className:"text-sm lg:text-base py-2 px-4 border border-neutral-400 mt-3 rounded w-full",value:f,onChange:e=>g(e.target.value),onBlur:()=>{N(o.GXJ.test(f))}}),!k&&(0,a.jsx)("span",{className:"text-sm text-red-500",children:"* Invalid email"}),(0,a.jsx)("div",{className:"flex items-center justify-center w-full h-12 mt-6 mb-3",children:C?(0,a.jsx)(n.A,{color:"rgb(163 163 163)",cssOverride:{display:"flex",justifyContent:"center"},size:10}):(0,a.jsxs)("div",{className:"flex flex-col w-full",children:[T&&(0,a.jsx)("span",{className:"text-red-700 mb-1",children:T}),(0,a.jsx)("button",{title:"Submit video",className:"rounded text-center py-2 w-full\n                        ".concat(u&&y&&m&&f&&k?"border border-black bg-black text-white hover:bg-white hover:text-black":"bg-neutral-300 text-neutral-400","\n                        text-sm lg:text-base\n                      "),disabled:!u||!y||!m||!f||!k,onClick:D,children:"SUBMIT VIDEO"})]})}),(0,a.jsxs)("p",{className:"text-xs text-neutral-400 text-justify leading-4",children:["By submitting your video, you confirm that you have all necessary rights to authorize our use and reuse of the audio and visual material it contains, that your submission of the video is governed by our"," ",(0,a.jsx)("a",{href:"/agree",target:"_blank",className:"text-blue-500 underline",children:"On Line Video Submission Agreement"}),", and that you have read, understood and agreed to the terms and conditions of that Agreement."]})]})]}),l&&(0,a.jsx)("div",{onClick:e=>{e.preventDefault(),t(!1)},className:"fixed top-0 left-0 w-full h-screen bg-black opacity-70",style:{zIndex:99998}})]})}}}]);

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.