PageSourceSearch

https://pixquid.com/static/js/1609.2e2da0fe.chunk.js

js pixquid.com collected 2026-10-05 05:17:48 UTC 12,498 bytes, 3 lines download raw bytes

1/*! For license information please see 1609.2e2da0fe.chunk.js.LICENSE.txt */
2"use strict";(self.webpackChunkpixquid_website=self.webpackChunkpixquid_website||[]).push([[1609],{1609:(e,t,a)=>{a.r(t),a.d(t,{default:()=>x});var l=a(5043),s=a(3216);const i=(0,a(7784).A)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var r=a(9463),o=a(7672),n=a(9896),d=a(834),c=a(4171),u=a(3914),m=a(4312),p=a(579);const g=[{value:"",label:"Select"},{value:"yes",label:"Yes"},{value:"no",label:"No"}],h={control:(e,t)=>({...e,backgroundColor:"#FFFFFF0D",borderColor:t.isFocused?"#fd8ed8":"#333",borderRadius:"0.5rem",minHeight:"44px",boxShadow:"none","&:hover":{borderColor:"#fd8ed8"}}),menu:e=>({...e,backgroundColor:"#070707",border:"1px solid #333",borderRadius:"0.5rem",zIndex:9999}),option:(e,t)=>({...e,backgroundColor:t.isFocused?"#333":"transparent",color:t.isSelected?"#fd8ed8":"white","&:active":{backgroundColor:"#444"}}),singleValue:e=>({...e,color:"white"}),placeholder:e=>({...e,color:"#6b7280"}),input:e=>({...e,color:"white"}),indicatorSeparator:()=>({display:"none"}),dropdownIndicator:e=>({...e,color:"#6b7280"})},f=[{key:"originality_ownership",title:"Originality & Ownership",question:"Do you own or control all necessary intellectual property rights to distribute this film globally on Pixquid?",note:"If no, you must hold explicit written authorization from the rights holder.",options:g},{key:"copyright_status",title:"Copyright Status",question:"Is your content properly protected under copyright law (or in the process of registration)?",options:g},{key:"cast_talent_releases",title:"Cast & Talent Releases",question:"Do you possess signed talent/appearance release forms for all recognizable actors, hosts, and participants appearing in the film?",options:[{value:"",label:"Select"},{value:"yes",label:"Yes"},{value:"no",label:"No"},{value:"na",label:"Not Applicable (Documentary/Animation)"}]},{key:"music_rights",title:"Music Rights & Clearances",subtitle:"Crucial for Distributors",question:"Are all musical compositions, score tracks, and sound recordings used in the film 100% original, properly licensed (Sync & Master), or in the public domain?",options:g},{key:"third_party_footage",title:"Third-Party Footage & Archival Material",question:"Does this film contain any third-party clips, archival footage, or trademarked brand assets that require formal clearance or fair use justification?",options:[{value:"",label:"Select"},{value:"yes",label:"Yes"},{value:"no",label:"No"},{value:"none",label:"None Used"}]},{key:"generative_ai_compliance",title:"Generative AI Compliance",subtitle:"Aligned with Pixquid's AI Filtering Ecosystem",question:"If generative AI tools were used in the creation of this film's video, audio, or script, do you certify that they comply with copyright laws and do not infringe on third-party protected IP?",options:[{value:"",label:"Select"},{value:"yes",label:"Yes"},{value:"no",label:"No"},{value:"no_ai",label:"No AI Used"}]}];const x=function(){const e=(0,s.Zp)(),{uniqueId:t}=(0,s.g)(),{legalCompliance:a,setLegalCompliance:g,movieDetails:x}=(0,u.v)(),b=t||(null===x||void 0===x?void 0:x.id),[y,v]=(0,l.useState)({}),[w,_]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{window.scrollTo(0,0)},[]),(0,l.useEffect)(()=>{(async()=>{if(!b)return;const{data:e,error:t}=await m.A.from("movies").select("legal_originality_ownership, legal_copyright_status, legal_cast_talent_releases, legal_music_rights, legal_third_party_footage, legal_generative_ai_compliance").eq("id",b).single();t?console.error("Failed to load legal compliance data:",t):e&&g({originality_ownership:e.legal_originality_ownership||"",copyright_status:e.legal_copyright_status||"",cast_talent_releases:e.legal_cast_talent_releases||"",music_rights:e.legal_music_rights||"",third_party_footage:e.legal_third_party_footage||"",generative_ai_compliance:e.legal_generative_ai_compliance||""})})()},[b,g]),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("style",{jsx:"true",global:"true",children:"\n        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');\n        * {\n          font-family: 'Poppins', sans-serif !important;\n        }\n      "}),(0,p.jsxs)("div",{className:"bg-gray-950 text-white min-h-screen pt-[70px] font-['Poppins']",children:[(0,p.jsx)(n.A,{}),(0,p.jsxs)("div",{className:"max-w-6xl mx-auto px-4 py-8",children:[(0,p.jsx)(c.A,{currentStep:5,uniqueId:b}),(0,p.jsxs)("div",{className:"rounded-3xl p-4 sm:p-8",children:[(0,p.jsxs)("div",{className:"text-center mb-10",children:[(0,p.jsx)("div",{className:"inline-flex items-center justify-center w-14 h-14 roun
2ded-full bg-gradient-to-r from-[#fd8ed8] to-pink-400 mb-4",children:(0,p.jsx)(i,{className:"w-7 h-7 text-white"})}),(0,p.jsx)("h2",{className:"text-3xl sm:text-4xl font-bold bg-gradient-to-r from-[#fd8ed8] to-pink-400 bg-clip-text text-transparent",children:"Legal Compliance"}),(0,p.jsx)("p",{className:"text-gray-400 mt-2 text-sm sm:text-base max-w-xl mx-auto",children:"Please confirm the legal status of your film before proceeding to submission."})]}),(0,p.jsxs)("div",{className:"max-w-3xl mx-auto space-y-6",children:[f.map((e,t)=>(0,p.jsxs)("div",{id:e.key,className:"bg-gray-800/30 border border-gray-700 rounded-2xl p-6 hover:border-[#fd8ed8]/40 transition-colors duration-200",children:[(0,p.jsx)("div",{className:"mb-4",children:(0,p.jsxs)("div",{className:"flex items-start gap-2 mb-1",children:[(0,p.jsx)("span",{className:"flex-shrink-0 inline-flex items-center justify-center w-6 h-6 rounded-full bg-gradient-to-r from-[#fd8ed8] to-pink-400 text-white text-xs font-bold mt-0.5",children:t+1}),(0,p.jsxs)("div",{children:[(0,p.jsxs)("h3",{className:"text-white font-semibold text-base leading-snug",children:[e.title,e.subtitle&&(0,p.jsx)("span",{className:"ml-2 text-xs font-normal text-[#fd8ed8] bg-[#fd8ed8]/10 px-2 py-0.5 rounded-full",children:e.subt
2itle}),(0,p.jsx)("span",{className:"text-[#fd8ed8] ml-1",children:"*"})]}),(0,p.jsx)("p",{className:"text-gray-300 text-sm mt-1 leading-relaxed",children:e.question}),e.note&&(0,p.jsxs)("p",{className:"text-amber-400/80 text-xs mt-2 italic",children:["\u26a0 ",e.note]})]})]})}),(0,p.jsx)(o.Ay,{options:e.options,styles:h,value:e.options.find(t=>t.value===a[e.key])||e.options[0],onChange:t=>{return a=e.key,l=(null===t||void 0===t?void 0:t.value)||"",g(e=>({...e,[a]:l})),void(y[a]&&v(e=>({...e,[a]:""})));var a,l},isSearchable:!1,"aria-label":e.title}),y[e.key]&&(0,p.jsxs)("p",{className:"text-red-400 text-xs mt-2 flex items-center gap-1",children:[(0,p.jsx)("span",{children:"\u26a0"})," ",y[e.key]]})]},e.key)),y.form&&(0,p.jsxs)("div",{className:"bg-red-500/10 border border-red-500/30 rounded-xl px-5 py-3 text-red-400 text-sm flex items-center gap-2",children:[(0,p.jsx)("span",{children:"\u26a0"})," ",y.form]}),(0,p.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 justify-between pt-4 pb-8",children:[(0,p.jsxs)("button",{className:"px-6 py-3 bg-gray-800 hover:bg-gray-700 text-white font-semibold rounded-full transition-all duration-300 flex items-center justify-center gap-2 border border-gray-600 hover:border-gray-500",onClick:()=>e(`/creator-workflow/festivals-and-funding/${b}`),disabled:w,children:[(0,p.jsx)(r.A,{className:"w-4 h-4"}),"Back"]}),(0,p.jsx)("button",{className:"px-8 py-3 bg-gradient-to-r from-[#fd8ed8] to-pink-400 text-white font-semibold rounded-full hover:opacity-90 transition-all duration-300 transform hover:scale-105 shadow-lg hover:shadow-pink-500/25 flex items-center justify-center gap-2 disabled:opacity-60 disabled:cursor-not-allowed disabled:transform-none",onClick:async()=>{const t=(()=>{const e={};return f.forEach(t=>{let{key:l}=t;a[l]||(e[l]="Please select an answer.")}),e})();if(Object.keys(t).length>0){var l;v(t);const e=Object.keys(t)[0];null===(l=document.getElementById(e))||void 0===l||l.scrollIntoView({behavior:"smooth",block:"center"})}else{_(!0);try{if(!b)return v({form:"Movie ID is missing. Please restart the upload workflow."}),void _(!1);const{error:t}=await m.A.from("movies").update({legal_originality_ownership:a.originality_ownership,legal_copyright_status:a.copyright_status,legal_cast_talent_releases:a.cast_talent_releases,legal_music_rights:a.music_rights,legal_third_party_footage:a.third_party_footage,legal_generative_ai_compliance:a.generative_ai_compliance}).eq("id",b);if(t)return v({form:"Failed to save legal information. Please try again."}),void _(!1);e(`/creator-workflow/submit/${b}`)}catch(s){console.error("Legal save error:",s),v({form:"An unexpected error occurred. Please try again."})}finally{_(!1)}}},disabled:w,children:w?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)("svg",{className:"animate-spin w-4 h-4",viewBox:"0 0 24 24",fill:"none",children:[(0,p.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,p.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v8H4z"})]}),"Saving..."]}):"Next: Submit"})]})]})]})]}),(0,p.jsx)(d.A,{})]})]})}},4171:(e,t,a)=>{a.d(t,{A:()=>r});var l=a(3216),s=a(3914),i=a(579);const r=function(e){let{currentStep:t,uniqueId:a}=e;const r=(0,l.Zp)(),{uploadData:o}=(0,s.v)();let n={isEditing:null===o||void 0===o?void 0:o.isEditing,movieStatus:null===o||void 0===o?void 0:o.movieStatus};if((!n.isEditing||!n.movieStatus)&&a)try{const e=sessionStorage.getItem(`movieEdit:${a}`);e&&(n={...n,...JSON.parse(e)})}catch(m){}const d=n.isEditing&&"approved"===n.movieStatus,c=[{id:1,label:"Details",fullLabel:"Movie Details",route:`/creator-workflow/movie-details/${a}`},{id:2,label:"Cast",fullLabel:"Cast & Crew",route:`/creator-workflow/cast-and-crew/${a}`},{id:3,label:"Social",fullLabel:"Social Links",route:`/creator-workflow/social-links/${a}`},{id:4,label:"Funding",fullLabel:"Festivals & Funding",route:`/creator-workflow/festivals-and-funding/${a}`},{id:5,label:"Legal",fullLabel:"Legal",route:`/creator-workflow/legal/${a}`},{id:6,label:"Submit",fullLabel:"Submit",route:`/creator-workflow/submit/${a}`}],u=(t-1)/(c.length-1)*100;return(0,i.jsx)("div",{className:"bg-gray-950 backdrop-blur-sm",children:(0,i.jsxs)("div",{className:"max-w-6xl mx-auto px-4",children:[(0,i.jsxs)("div",{className:"flex items-center justify-between relative",children:[(0,i.jsx)("div",{className:"absolute top-1/4 left-5 sm:left-10 m:left-10 lg:left-10 right-5 h-0.5 bg-gray-700 -translate-y-1/2 z-0",children:(0,i.jsx)("div",{className:"h-full bg-gradient-to-r from-[#fd8ed8] to-pink-400 transition-all duration-500 ease-out",style:{width:`${u}%`}})}),c.map((e,a)=>{const l=e.id===t,s=e.id<t,o=d||e.id<=t;return(0,i.jsxs)("div",{className:"relative z-10 flex flex-col items-center group "+(o?"cursor-pointer":"cursor-default"),onClick:()=>o&&r(e.route),children:[(0,i.jsx)("div",{className:`\n                    w-6 h-6 rounded-full flex items-center justify-center font-semibold text-sm\n                    transition-all duration-300 transform group-hover:scale-110\n                    ${l?"bg-gradient-to-r from-[#fd8ed8] to-pink-400 text-white":s?"bg-white text-[#fd8ed8] border-2 border-[#fd8ed8]":"bg-gray-700 text-gray-400 border-2 border-gray-600"}\n                    ${o?"hover:shadow-xl":""}\n                  `,children:s?(0,i.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})}):e.id}),(0,i.jsxs)("div",{className:`\n                    mt-3 text-xs lg:text-sm font-medium text-center whitespace-nowrap\n                    transition-colors duration-300\n                    ${l||s?"text-[#fd8ed8]":"text-gray-400"}\n                    ${o?"group-hover:text-white":""}\n                  `,children:[(0,i.jsx)("span",{className:"sm:hidden",children:e.label}),(0,i.jsx)("span",{className:"hidden sm:inline",children:e.fullLabel})]})]},e.id)})]}),(0,i.jsx)("div",{className:"mt-2 text-center",children:(0,i.jsxs)("span",{className:"text-sm text-gray-400",children:["Step ",t," of ",c.length]})})]})})}},9463:(e,t,a)=>{a.d(t,{A:()=>l});const l=(0,a(7784).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])}}]);
3//# sourceMappingURL=1609.2e2da0fe.chunk.js.map

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.