1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9315],{27901:function(e,t,r){r.d(t,{y:function(){return o}});var l=r(2784);function o(e){(0,l.useEffect)(()=>{var t;if(!e||"undefined"==typeof document)return;let r=null!==(t=document.querySelector('[class*="WebContainerBody"]'))&&void 0!==t?t:document.documentElement,l=r.style.overflow;return r.style.overflow="hidden",()=>{r.style.overflow=l}},[e])}},84045:function(e,t,r){r.d(t,{Z:function(){return er}});var l=r(52322),o=r(2784),i=r(27901),a=r(30954),n=r(6295),s=r(62158);let c=new Map,m=new Map;function d(e){c.delete(e),m.delete(e)}function u(){c.clear(),m.clear()}let p=a.object({projectTitle:a.string().trim().min(1).max(200),synopsis:a.string().trim().min(1).max(5e3),footageOrPdfLink:a.string().trim().max(2e3).optional().nullable(),purposes:a.array(a.string().min(1).max(80)).max(20),purposeOther:a.string().trim().max(200).optional().nullable(),projectUses:a.array(a.string().min(1).max(80)).max(20),projectUseOther:a.string().trim().max(200).optional().nullable(),aspectRatio:a.enum(["16:9","9:16"]),resolution:a.enum(["1080p","up_to_4k"]),tones:a.array(a.string().min(1).max(80)).max(20),themes:a.array(a.string().min(1).max(80)).max(20),scopeFocus:a.array(a.string().min(1).max(80)).max(20),scopeOther:a.string().trim().max(200).optional().nullable(),hasDialogue:a.boolean(),dialogueTypes:a.array(a.string().min(1).max(80)).max(10),willProvideScript:a.boolean().optional().nullable(),scriptFileClientId:a.string().trim().max(64).optional().nullable(),scriptFileName:a.string().trim().max(255).optional().nullable(),scriptFileSizeBytes:a.number().int().nonnegative().max(1e8).optional().nullable(),needsVoiceOver:a.boolean(),voicePreferences:a.array(a.string().min(1).max(80)).max(10),visualStyles:a.array(a.string().min(1).max(80)).max(20),visualStyleOther:a.string().trim().max(200).optional().nullable(),characters:a.array(a.object({name:a.string().trim().max(120).optional().nullable(),ageRange:a.string().trim().max(80).optional().nullable(),role:a.string().trim().max(200).optional().nullable(),personality:a.string().trim().max(500).optional().nullable(),visualDescription:a.string().trim().max(2e3).optional().nullable()})).max(10),assetsProvided:a.array(a.string().min(1).max(80)).max(20),assetLinks:a.array(a.string().trim().min(1).max(2e3)).max(20),assetFiles:a.array(a.object({clientId:a.string().trim().min(1).max(64),name:a.string().trim().min(1).max(255),sizeBytes:a.number().int().nonnegative().max(1e8).optional().nullable()})).max(20),additionalNotes:a.string().trim().max(5e3).optional().nullable()});function f(e){let t=null==e?void 0:e.trim();return t||null}async function h(e){var t,r,l,o,i,a;let s=[];for(let a of e.assetFiles){let e=(l=a.clientId,m.get(l));if(e){s.push({url:e,name:a.name,sizeBytes:null!==(t=a.sizeBytes)&&void 0!==t?t:null});continue}let d=(o=a.clientId,c.get(o));if(!d)throw Error("Missing pending asset file: ".concat(a.name));let u=await (0,n.dV)(d);i=a.clientId,m.set(i,u),s.push({url:u,name:a.name,sizeBytes:null!==(r=a.sizeBytes)&&void 0!==r?r:d.size})}let d=null,u=f(e.scriptFileName),p=f(e.scriptFileClientId);if(p){let e=m.get(p);if(e)d=e;else{let e=c.get(p);if(!e)throw Error("Missing pending script file");a=d=await (0,n.dV)(e),m.set(p,a),u=u||e.name}}return{projectTitle:e.projectTitle,synopsis:e.synopsis,footageOrPdfLink:f(e.footageOrPdfLink),purposes:e.purposes,purposeOther:f(e.purposeOther),projectUses:e.projectUses,projectUseOther:f(e.projectUseOther),aspectRatio:e.aspectRatio,resolution:e.resolution,tones:e.tones,themes:e.themes,scopeFocus:e.scopeFocus,scopeOther:f(e.scopeOther),hasDialogue:e.hasDialogue,dialogueTypes:e.dialogueTypes,willProvideScript:e.willProvideScript,scriptFileUrl:d,scriptFileName:u,needsVoiceOver:e.needsVoiceOver,voicePreferences:e.voicePreferences,visualStyles:e.visualStyles,visualStyleOther:f(e.visualStyleOther),characters:e.characters.map(e=>({name:f(e.name),ageRange:f(e.ageRange),role:f(e.role),personality:f(e.personality),visualDescription:f(e.visualDescription)})).filter(e=>e.name||e.ageRange||e.role||e.personality||e.visualDescription),assetsProvided:e.assetsProvided,assetLinks:e.assetLinks.map(e=>
1e.trim()).filter(Boolean),assetFiles:s,additionalNotes:f(e.additionalNotes)}}let x={name:"",ageRange:"",role:"",personality:"",visualDescription:""},g=()=>({projectTitle:"",synopsis:"",footageOrPdfLink:"",purposes:[],purposeOther:"",projectUses:[],projectUseOther:"",aspectRatio:"16:9",resolution:"1080p",tones:[],themes:[],scopeFocus:[],scopeOther:"",hasDialogue:!0,dialogueTypes:[],willProvideScript:!0,scriptFileClientId:"",scriptFileName:"",scriptFileSizeBytes:null,needsVoiceOver:!0,voicePreferences:[],visualStyles:[],visualStyleOther:"",characters:[{...x}],assetsProvided:[],assetLinks:[],assetFiles:[],additionalNotes:""}),v=["Raise Investment","Attract Producers","Secure Distribution","Pitch to Studios","Crowdfunding Campaign","Build Audience Interest"],y=["Investor fundraising","Product validation","Studio / network pitch","Customer acquisition","Market testing","Internal presentation"],b=["Excitement","Inspiration","Trust","Curiosity","Urgency","Hope","Suspense","Fear","Shock","Nostalgia"],j=["Family","Redemption","Survival","Justice","Love","Coming of Age"],k=["Story World","Character Development","Visual Effects","Action Sequences","Horror Elements","Emotional Tone","Production Quality"],F=["Cinematic","Inspirational","Corporate","Emotional","Epic","Modern Tech"],P=["Male","Female","Neutral","AI Voice","Human Narrator"],w=["Script","Storyboard","Character Designs","Mood Board"],S=["Provide script","Provide voice-over script","Provide narration script"],N="Others";var C=r(69102),T=r(85116),A=r(41763),O=r(78781),E=r(2386),M=r(16984),I=r(84382),V=r(2352),z=r(57377),R=r(33776),D=r(3442),L=r(86073),_=r(77458),B=r(15814),U=r(21253),Z=r(78885),W=r(9184);function q(e){let{label:t,description:r,options:o,value:i,onChange:a,otherValue:n,onOtherChange:s,otherPlaceholder:c="Specify...",columns:m=2,withOther:d=!0}=e,u=d&&i.includes(N),p=(e,t)=>{let r=t?i.concat([e]):i.filter(t=>t!==e);a(r),e===N&&!t&&s&&s("")};return(0,l.jsxs)("div",{className:"flex w-full flex-col gap-2",children:[(0,l.jsx)("span",{className:"text-sm font-medium text-zinc-50",children:t}),r?(0,l.jsx)("span",{className:"text-xs text-zinc-500",children:r}):null,(0,l.jsx)("div",{className:(0,B.cn)("w-full gap-x-8 gap-y-2",2===m?"grid grid-cols-1 sm:grid-cols-2":"flex flex-col"),children:o.map(e=>{let t=i.includes(e);return(0,l.jsx)(U.K,{isSelected:t,onValueChange:t=>p(e,t),classNames:{base:"m-0 max-w-full",label:"text-sm text-zinc-300"},children:e},e)})}),d?(0,l.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,l.jsx)(U.K,{isSelected:u,onValueChange:e=>p(N,e),classNames:{base:"m-0 max-w-full",label:"text-sm text-zinc-300"},children:N}),u&&s?(0,l.jsx)(Z.Y,{...W.Xe,"aria-label":c,placeholder:c,value:null!=n?n:"",onValueChange:s}):null]}):null]})}var G=r(85267),H=r(31424);function $(e){let{files:t,onChange:r,single:i=!1,scriptOnly:a=!1,hint:n,browseLabel:s,dropLabel:m}=e,{t:u}=(0,L.$G)("Promotions"),p=(0,o.useRef)(null),[f,h]=(0,o.useState)(!1),[x,g]=(0,o.useState)(null),v=a?".pdf,application/pdf":".pdf,.png,.jpg,.jpeg,.jfif,.mov,.mp4,application/pdf,image/png,image/jpeg,video/quicktime,video/mp4",y=(0,o.useCallback)(e=>{let l=Array.from(e);if(!l.length)return;g(null);let o=[],n=i?1:Math.max(0,20-t.length);if(!i&&n<=0){g(u("filmmaker.myPromotions.pocForm.upload.countError"));return}for(let e of l){if(!i&&o.length>=n){g(u("filmmaker.myPromotions.pocForm.upload.countError"));break}let t=a?function(e){let t=e.name.toLowerCase(),r=e.type.toLowerCase();return"application/pdf"===r||t.endsWith(".pdf")}(e):function(e){let t=e.name.toLowerCase(),r=e.type.toLowerCase();return"application/pdf"===r||"image/png"===r||"image/jpeg"===r||"image/jfif"===r||"image/pjpeg"===r||"video/mp4"===r||"video/quicktime"===r||t.endsWith(".pdf")||t.endsWith(".png")||t.endsWith(".jpg")||t.endsWith(".jpeg")||t.endsWith(".jfif")||t.endsWith(".mp4")||t.endsWith(".mov")}(e);if(!t){g(a?u("filmmaker.myPromotions.pocForm.upload.scriptTypeError"):u("filmmaker.myPromotions.pocForm.upload.typeError"));continue}if(e.size>104857600){g(u("filmmaker.myPromotions.pocForm.upload.sizeError"));continue}let r=function(e){let t=crypto.randomUUID();return c.set(t,e),t}(e);if(o.push({clientId:r,name:e.name,sizeBytes:e.size}),i)break}if(!o.length){p.current&&(p.current.value="");return}if(i){for(let e of t)d(e.clientId);r(o.slice(0,1))}else r(t.concat(o));p.current&&(p.current.value="")},[t,r,a,i,u]),b=e=>{let l=t[e];l&&d(l.clientId),r(t.filter((t,r)=>r!==e))},j=!i||0===t.length;return(0,l.jsxs)("div",{className:"flex w-full flex-col gap-3",children:[t.length>0?(0,l.jsx)("ul",{className:"flex w-full flex-col gap-2",children:t.map((e,t)=>(0,l.jsxs)("li",{className:"flex w-full items-center gap-3 rounded-lg border border-zinc-800 bg-zinc-900/60 px-3 py-2",children:[(0,l.jsx)(G.Z,{className:"h-5 w-5 shrink-0 text-primary"}),(0,l.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,l.jsx)("p",{className:"truncate text-sm text-zinc-100",children:e.name}),e.sizeBytes?(0,l.jsx)("p",{className:"text-xs text-zinc-500",children:function(e){if(null==e||e<=0)return"";let t=e/1048576;return t>=1?"".concat(t.toFixed(1),"mb"):"".concat(Math.max(1,Math.round(e/1024)),"kb")}(e.sizeBytes)}):null]}),i?(0,l.jsx)("button",{type:"button",className:"shrink-0 text-sm font-semibold text-primary underline-offset-2 hover:underline",onClick:()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.click()},children:null!=s?s:u("filmmaker.myPromotions.pocForm.upload.browse")}):null,(0,l.jsx)(E.A,{isIconOnly:!0,size:"sm",variant:"light",radius:"full",className:"text-zinc-400","aria-label":u("filmmaker.myPromotions.pocForm.upload.remove"),onPress:()=>b(t),children:(0,l.jsx)(T.Z,{className:"h-4 w-4"})})]},e.clientId))}):null,j?(0,l.jsxs)("div",{className:(0,B.cn)("flex w-full flex-col items-center justify-center gap-2 rounded-lg border border-dashed px-4 py-8 text-center transition-colors",f?"border-primary bg-primary/10":"border-primary/70 bg-zinc-900/40"),onDragEnter:e=>{e.preventDefault(),h(!0)},onDragOver:e=>{e.preventDefault(),h(!0)},onDragLeave:e=>{e.preventDefault(),h(!1)},onDrop:e=>{var t;e.preventDefault(),h(!1),(null===(t=e.dataTransfer.files)||void 0===t?void 0:t.length)&&y(e.dataTransfer.files)},children:[(0,l.jsx)(H.Z,{className:"h-6 w-6 text-primary"}),(0,l.jsxs)("p",{className:"text-sm text-zinc-300",children:[null!=m?m:u("filmmaker.myPromotions.pocForm.upload.drop")," ",(0,l.jsx)("button",{type:"button",className:"font-semibold text-primary underline-offset-2 hover:underline",onClick:()=>{var e;return null===(e=p.current)||void 0===e?void 0:e.click()},children:null!=s?s:u("filmmaker.myPromotions.pocForm.upload.browse")})]}),(0,l.jsx)("p",{className:"text-xs text-zinc-500",children:null!=n?n:u("filmmaker.myPromotions.pocForm.upload.hint")})]}):null,(0,l.jsx)("input",{ref:p,type:"file",className:"hidden",accept:v,multiple:!i,onChange:e=>{var t;(null===(t=e.target.files)||void 0===t?void 0:t.length)&&y(e.target.files)}}),x?(0,l.jsx)("p",{className:"text-sm text-danger",children:x}):null]})}
1let K="flex w-full flex-col gap-4 rounded-xl border border-solid border-system-secondary-border bg-system-secondary-raised p-4";function Y(e){let{form:t,formSubmitted:r}=e,{t:o}=(0,L.$G)("Promotions"),i=(0,R.oR)(t.store,e=>e.values.assetFiles);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("section",{className:"flex w-full flex-col gap-5",children:[(0,l.jsx)("h3",{className:"border-t border-zinc-800/80 pt-5 text-sm font-semibold uppercase tracking-wide text-zinc-50",children:o("filmmaker.myPromotions.pocForm.sections.assets")}),(0,l.jsx)(t.AppField,{name:"assetsProvided",children:e=>(0,l.jsx)(q,{label:o("filmmaker.myPromotions.pocForm.fields.assetsProvided"),description:o("filmmaker.myPromotions.pocForm.helpers.assetsProvided"),options:w,value:e.state.value,onChange:e.handleChange,withOther:!1,columns:2})}),(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsx)("span",{className:"text-sm font-medium text-zinc-50",children:o("filmmaker.myPromotions.pocForm.fields.fileUpload")}),(0,l.jsx)($,{files:i,onChange:e=>t.setFieldValue("assetFiles",e)})]})]}),(0,l.jsxs)("section",{className:"flex w-full flex-col gap-4",children:[(0,l.jsxs)("h3",{className:"flex items-center gap-1.5 text-sm font-medium text-zinc-50",children:[o("filmmaker.myPromotions.pocForm.sections.notes"),(0,l.jsx)(_.Z,{className:"h-4 w-4 text-zinc-500","aria-hidden":!0})]}),(0,l.jsx)(t.AppField,{name:"additionalNotes",children:e=>(0,l.jsx)(e.TextareaField,{formSubmitted:r,...W.pw,"aria-label":o("filmmaker.myPromotions.pocForm.fields.additionalNotes"),placeholder:o("filmmaker.myPromotions.pocForm.placeholders.additionalNotes"),minRows:3})})]})]})}function J(e){let{label:t,description:r,descriptionUppercase:o=!1,value:i,options:a,onChange:n,equalWidth:s=!1}
1=e;return(0,l.jsxs)("div",{className:"flex w-full flex-col gap-2",children:[t?(0,l.jsx)("span",{className:"text-sm font-medium text-zinc-50",children:t}):null,r?(0,l.jsx)("span",{className:(0,B.cn)("text-xs font-medium text-zinc-500",o&&"uppercase tracking-wide text-system-secondary-text"),children:r}):null,(0,l.jsx)("div",{className:(0,B.cn)("flex gap-2",s&&"w-full"),children:a.map(e=>{let t=e.value===i;return(0,l.jsx)("button",{type:"button",className:(0,B.cn)("min-h-11 rounded-lg border border-solid px-4 py-2.5 text-sm font-medium transition-colors",s&&"flex-1",t?"border-primary bg-primary text-white":"border-system-secondary-border bg-system-secondary-card text-zinc-50 hover:border-primary/40"),onClick:()=>n(e.value),children:e.label},String(e.value))})})]})}function X(e){var t,r;let{form:o,formSubmitted:i}=e,{t:a}=(0,L.$G)("Promotions"),n=(0,R.oR)(o.store,e=>null!==(t=e.values.purposeOther)&&void 0!==t?t:""),s=(0,R.oR)(o.store,e=>null!==(r=e.values.projectUseOther)&&void 0!==r?r:"");return(0,l.jsxs)("section",{className:"flex w-full flex-col gap-5",children:[(0,l.jsx)("h3",{className:"text-sm font-semibold uppercase tracking-wide text-zinc-50",children:a("filmmaker.myPromotions.pocForm.sections.project")}),(0,l.jsx)(o.AppField,{name:"projectTitle",children:e=>(0,l.jsx)(e.InputField,{formSubmitted:i,...W.pw,label:a("filmmaker.myPromotions.pocForm.fields.projectTitle"),placeholder:a("filmmaker.myPromotions.pocForm.placeholders.projectTitle")})}),(0,l.jsx)(o.AppField,{name:"synopsis",children:e=>(0,l.jsx)(e.TextareaField,{formSubmitted:i,...W.pw,label:a("filmmaker.myPromotions.pocForm.fields.synopsis"),placeholder:a("filmmaker.myPromotions.pocForm.placeholders.synopsis"),minRows:3})}),(0,l.jsx)(o.AppField,{name:"footageOrPdfLink",children:e=>(0,l.jsx)(e.InputField,{formSubmitted:i,...W.pw,label:a("filmmaker.myPromotions.pocForm.fields.footageLink"),placeholder:a("filmmaker.myPromotions.pocForm.placeholders.footageLink")})}),(0,l.jsx)(o.AppField,{name:"purposes",children:e=>(0,l.jsx)(q,{label:a("filmmaker.myPromotions.pocForm.fields.purposes"),description:a("filmmaker.myPromotions.pocForm.helpers.purposes"),options:v,value:e.state.value,onChange:e.handleChange,otherValue:n,onOtherChange:e=>o.setFieldValue("purposeOther",e),otherPlaceholder:a("filmmaker.myPromotions.pocForm.placeholders.specify")})}),(0,l.jsx)(o.AppField,{name:"projectUses",children:e=>(0,l.jsx)(q,{label:a("filmmaker.myPromotions.pocForm.fields.projectUses"),description:a("filmmaker.myPromotions.pocForm.helpers.projectUses"),options:y,value:e.state.value,onChange:e.handleChange,otherValue:s,onOtherChange:e=>o.setFieldValue("projectUseOther",e),otherPlaceholder:a("filmmaker.myPromotions.pocForm.placeholders.specify")})}),(0,l.jsx)(o.AppField,{name:"aspectRatio",children:e=>(0,l.jsx)(J,{label:a("filmmaker.myPromotions.pocForm.fields.aspectRatio"),equalWidth:!0,value:e.state.value,onChange:e.handleChange,options:[{value:"16:9",label:a("filmmaker.myPromotions.pocForm.fields.landscape")},{value:"9:16",label:a("filmmaker.myPromotions.pocForm.fields.portrait")}]})}),(0,l.jsx)(o.AppField,{name:"resolution",children:e=>(0,l.jsx)(J,{label:a("filmmaker.myPromotions.pocForm.fields.resolution"),value:e.state.value,onChange:e.handleChange,options:[{value:"1080p",label:a("filmmaker.myPromotions.pocForm.fields.resolution1080p")}]})})]})}function Q(e){let{form:t,formSubmitted:r}=e,{t:o}=(0,L.$G)("Promotions"),i=(0,R.oR)(t.store,e=>e.values.characters),a=e=>{if(i.length<=1){t.setFieldValue("characters",[{...x}]);return}t.setFieldValue("characters",i.filter((t,r)=>r!==e))};return(0,l.jsxs)("div",{className:"flex w-full flex-col gap-4",children:[(0,l.jsx)("span",{className:"text-sm font-medium text-zinc-50",children:o("filmmaker.myPromotions.pocForm.sections.characters")}),i.map((e,i)=>(0,l.jsxs)("div",{className:"flex flex-col gap-3 rounded-xl border border-solid border-system-outline-dark-card bg-system-bg-dark-card p-4",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,l.jsx)("span",{className:"text-sm font-semibold text-zinc-100",children:o("filmmaker.myPromotions.pocForm.fields.characterCard",{number:i+1})}),(0,l.jsx)(E.A,{isIconOnly:!0,size:"sm",variant:"light",radius:"full",className:"text-zinc-400","aria-label":o("filmmaker.myPromotions.pocForm.fields.removeCharacter"),onPress:()=>a(i),children:(0,l.jsx)(T.Z,{className:"h-4 w-4"})})]}),(0,l.jsxs)("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[(0,l.jsx)(t.AppField,{name:"characters[".concat(i,"].name"),children:e=>(0,l.jsx)(e.InputField,{formSubmitted:r,...W.pw,"aria-label":o("filmmaker.myPromotions.pocForm.fields.characterName"),placeholder:o("filmmaker.myPromotions.pocForm.placeholders.characterName")})}),(0,l.jsx)(t.AppField,{name:"characters[".concat(i,"].ageRange"),children:e=>(0,l.jsx)(e.InputField,{formSubmitted:r,...W.pw,"aria-label":o("filmmaker.myPromotions.pocForm.fields.characterAge"),placeholder:o("filmmaker.myPromotions.pocForm.placeholders.characterAge")})}),(0,l.jsx)(t.AppField,{name:"characters[".concat(i,"].role"),children:e=>(0,l.jsx)(e.InputField,{formSubmitted:r,...W.pw,"aria-label":o("filmmaker.myPromotions.pocForm.fields.characterRole"),placeholder:o("filmmaker.myPromotions.pocForm.placeholders.characterRole")})}),(0,l.jsx)(t.AppField,{name:"characters[".concat(i,"].personality"),children:e=>(0,l.jsx)(e.InputField,{formSubmitted:r,...W.pw,"aria-label":o("filmmaker.myPromotions.pocForm.fields.characterPersonality"),placeholder:o("filmmaker.myPromotions.pocForm.placeholders.characterPersonality")})})]}),(0,l.jsx)(t.AppField,{name:"characters[".concat(i,"].visualDescription"),children:e=>(0,l.jsx)(e.TextareaField,{formSubmitted:r,...W.pw,"aria-label":o("filmmaker.myPromotions.pocForm.fields.characterVisual"),placeholder:o("filmmaker.myPromotions.pocForm.placeholders.characterVisual"),minRows:2})})]},i)),(0,l.jsx)(E.A,{variant:"bordered",radius:"sm",className:"min-h-11 w-full border-dashed border-zinc-600 font-semibold text-zinc-100",onPress:()=>{i.length>=10||t.setFieldValue("characters",i.concat([{...x}]))},isDisabled:i.length>=10,children:o("filmmaker.myPromotions.pocForm.fields.addCharacter")})]})}function ee(e){let{label:t,description:r,mutedLabel:o=!1,options:i,value:a,onChange:n,otherValue:s,onOtherChange:c,otherPlaceholder:m="Specify...",withOther:d=!1}=e,u=d?i.concat([N]):i,p=d&&a.includes(N);return(0,l.jsxs)("div",{className:"flex w-full flex-col gap-2",children:[(0,l.jsx)("span",{className:o?"text-xs font-medium uppercase tracking-wide text-system-secondary-text":"text-sm font-medium text-zinc-50",children:t}),r?(0,l.jsx)("span",{className:"text-xs text-zinc-500",children:r}):null,(0,l.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[u.map(e=>{let t=a.includes(e);return(0,l.jsx)("button",{type:"button",className:(0,B.cn)("rounded-lg border border-solid px-3.5 py-2 text-sm font-medium transition-colors",t?"border-primary bg-primary text-white":"border-system-secondary-border bg-system-secondary-card text-zinc-300 hover:border-primary/40"),onClick:()=>{let r=t?a.filter(t=>t!==e):a.concat([e]);n(r),e===N&&t&&c&&c("")},children:e},e)}),p&&c?(0,l.jsx)(Z.Y,{...W.Xe,"aria-label":m,placeholder:m,value:null!=s?s:"",onValueChange:c}):null]})]})}function et(e){var t,r,o,i;let{form:a,formSubmitted:n,hasDialogue:s,needsVoiceOver:c,willProvideScript:m}=e,{t:u}=(0,L.$G)("Promotions"),p=(0,R.oR)(a.store,e=>null!==(t=e.values.scopeOther)&&void 0!==t?t:""),f=(0,R.oR)(a.store,e=>null!==(r=e.values.visualStyleOther)&&void 0!==r?r:""),h=(0,R.oR)(a.store,e=>null!==(o=e.values.scriptFileClientId)&&void 0!==o?o:""),x=(0,R.oR)(a.store,e=>null!==(i=e.values.scriptFileName)&&void 0!==i?i:""),g=(0,R.oR)(a.store,e=>e.values.scriptFileSizeBytes),v=(0,R.oR)(a.store,e=>e.values.dialogueTypes);return(0,l.jsxs)("section",{className:"flex w-full flex-col gap-5",children:[(0,l.jsx)("h3",{className:"border-t border-zinc-800/80 pt-5 text-sm font-semibold uppercase tracking-wide text-zinc-50",children:u("filmmaker.myPromotions.pocForm.sections.story")}),(0,l.jsx)(a.AppField,{name:"tones",children:e=>(0,l.jsx)(ee,{label:u("filmmaker.myPromotions.pocForm.fields.tones"),description:u("filmmaker.myPromotions.pocForm.helpers.tones"),options:b,value:e.state.value,onChange:e.handleChange})}),(0,l.jsx)(a.AppField,{name:"themes",children:e=>(0,l.jsx)(ee,{label:u("filmmaker.myPromotions.pocForm.fields.themes"),options:j,value:e.state.value,onChange:e.handleChange})}),(0,l.jsx)(a.AppField,{name:"scopeFocus",children:e=>(0,l.jsx)(ee,{label:u("filmmaker.myPromotions.pocForm.fields.scope"),description:u("filmmaker.myPromotions.pocForm.helpers.scope"),options:k,value:e.state.value,onChange:e.handleChange,withOther:!0,otherValue:p,onOtherChange:e=>a.setFieldValue("scopeOther",e),otherPlaceholder:u("filmmaker.myPromotions.pocForm.placeholders.specify")})}),(0,l.jsxs)("div",{className:"flex w-full flex-col gap-3",children:[(0,l.jsx)(a.AppField,{name:"hasDialogue",children:e=>(0,l.jsx)(J,{label:u("filmmaker.myPromotions.pocForm.fields.dialogueSection"),description:u("filmmaker.myPromotions.pocForm.fields.dialogueRequirements"),descriptionUppercase:!0,equalWidth:!0,value:e.state.value,onChange:t=>{if(e.handleChange(t),!t){a.setFieldValue("dialogueTypes",[]),a.setFieldValue("willProvideScript",!1);let e=a.store.state.values.scriptFileClientId;e&&d(e),a.setFieldValue("scriptFileClientId",""),a.setFieldValue("scriptFileName",""),a.setFieldValue("scriptFileSizeBytes",null)}},options:[{value:!0,label:u("filmmaker.myPromotions.pocForm.fields.hasDialogue")},{value:!1,label:u("filmmaker.myPromotions.pocForm.fields.noDialogue")}]})}),s?(0,l.jsxs)("div",{className:K,children:[(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsx)("span",{className:"text-xs font-medium uppercase tracking-wide text-system-secondary-text",children:u("filmmaker.myPromotions.pocForm.fields.dialogueTypes")}),(0,l.jsx)("div",{className:"flex flex-col gap-2",children:S.map(e=>{let t=v.includes(e);return(0,l.jsx)(U.K,{isSelected:t,onValueChange:t=>{a.setFieldValue("dialogueTypes",t?v.concat([e]):v.filter(t=>t!==e))},classNames:{base:"m-0 max-w-full",label:"text-sm text-zinc-300"},children:e},e)})})]}),(0,l.jsx)(a.AppField,{name:"willProvideScript",children:e=>(0,l.jsx)(J,{description:u("filmmaker.myPromotions.pocForm.fields.willProvideScript"),descriptionUppercase:!0,equalWidth:!0,value:!!e.state.value,onChange:t=>{if(e.handleChange(t),!t){let e=a.store.state.values.scriptFileClientId;e&&d(e),a.setFieldValue("scriptFileClientId",""),a.setFieldValue("scriptFileName",""),a.setFieldValue("scriptFileSizeBytes",null)}},options:[{value:!0,label:u("filmmaker.myPromotions.pocForm.fields.willProvideScriptYes")},{value:!1,label:u("filmmaker.myPromotions.pocForm.fields.willProvideScriptNo")}]})}),m?(0,l.jsx)($,{single:!0,scriptOnly:!0,files:h?[{clientId:h,name:x||"script.pdf",sizeBytes:g}]:[],onChange:e=>{var t,r,l;let o=e[0];a.setFieldValue("scriptFileClientId",null!==(t=null==o?void 0:o.clientId)&&void 0!==t?t:""),a.setFieldValue("scriptFileName",null!==(r=null==o?void 0:o.name)&&void 0!==r?r:""),a.setFieldValue("scriptFileSizeBytes",null!==(l=null==o?void 0:o.sizeBytes)&&void 0!==l?l:null)},dropLabel:u("filmmaker.myPromotions.pocForm.upload.scriptDrop"),hint:u("filmmaker.myPromotions.pocForm.upload.scriptHint")}):null]}):null]}),(0,l.jsxs)("div",{className:"flex w-full flex-col gap-3",children:[(0,l.jsx)(a.AppField,{name:"needsVoiceOver",children:e=>(0,l.jsx)(J,{label:u("filmmaker.myPromotions.pocForm.fields.voiceOver"),description:u("filmmaker.myPromotions.pocForm.helpers.voiceOver"),equalWidth:!0,value:e.state.value,onChange:t=>{e.handleChange(t),t||a.setFieldValue("voicePreferences",[])},options:[{value:!0,label:u("filmmaker.myPromotions.pocForm.fields.yes")},{value:!1,label:u("filmmaker.myPromotions.pocForm.fields.no")}]})}),c?(0,l.jsx)("div",{className:K,children:(0,l.jsx)(a.AppField,{name:"voicePreferences",children:e=>(0,l.jsx)(ee,{label:u("filmmaker.myPromotions.pocForm.fields.voicePreference"),mutedLabel:!0,options:P,value:e.state.value,onChange:e.handleChange})})}):null]}),(0,l.jsx)(a.AppField,{name:"visualStyles",children:e=>(0,l.jsx)(ee,{label:u("filmmaker.myPromotions.pocForm.fields.visualStyle"),options:F,value:e.state.value,onChange:e.handleChange,withOther:!0,otherValue:f,onOtherChange:e=>a.setFieldValue("visualStyleOther",e),otherPlaceholder:u("filmmaker.myPromotions.pocForm.placeholders.specify")})}),(0,l.jsx)(Q,{form:a,formSubmitted:n})]})}function er(e){let{row:t,onClose:r,onSuccess:a}=e,{t:n}=(0,L.$G)("Promotions"),c=(0,D.w8Z)(),[m,d]=(0,o.useState)(null),[f,x]=(0,o.useState)(!1),v=!!t;(0,i.y)(v);let y=function(e){let t=(0,o.useMemo)(()=>p,[]);
1return(0,s.hN)({defaultValues:g(),validators:{onSubmit:t},onSubmit:async t=>{let{value:r}=t,l=p.parse(r);await e.onSubmit(l)}})}({onSubmit:async e=>{if(t){x(!0);try{let r;d(null);try{r=await h(e)}catch(e){d(n("filmmaker.myPromotions.pocForm.upload.failed"));return}await c.mutateAsync({saleItemId:t.saleItemId,payload:{intake:r}}),u(),a()}catch(e){d(e instanceof Error?e.message:n("filmmaker.myPromotions.pocForm.submitFailed"))}finally{x(!1)}}}}),b=(0,R.oR)(y.store,e=>!!e.submissionAttempts),j=(0,R.oR)(y.store,e=>e.values.hasDialogue),k=(0,R.oR)(y.store,e=>e.values.needsVoiceOver),F=(0,R.oR)(y.store,e=>!!e.values.willProvideScript);return((0,o.useEffect)(()=>{v||(u(),y.reset(),d(null))},[v]),t)?(0,l.jsx)(A.R,{isOpen:v,onClose:r,size:"3xl",scrollBehavior:"inside",shouldBlockScroll:!0,hideCloseButton:!0,classNames:{base:"twp bg-black border border-zinc-900 font-poppins max-h-[90vh]",body:"px-6 py-0",footer:"border-t border-zinc-800/80 px-6 py-4",wrapper:"overflow-y-hidden"},children:(0,l.jsxs)(O.A,{children:[(0,l.jsxs)("div",{className:"flex items-start gap-4 border-b border-zinc-800/80 px-6 py-5",children:[(0,l.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[(0,l.jsx)("span",{className:"text-xl font-semibold text-zinc-50",children:n("filmmaker.myPromotions.pocForm.title")}),(0,l.jsx)("span",{className:"text-sm text-zinc-400",children:function(e,t){var r;let l=e.item.metadata,o=z.MarketingToolSaleItemMetadataValidator.safeParse(null!=l?l:{}),i=o.success?null===(r=o.data.overrides)||void 0===r?void 0:r.pocVariant:void 0;if(!i&&l&&"object"==typeof l&&!Array.isArray(l)){let e=l.overrides;if(e&&"object"==typeof e&&!Array.isArray(e)){let t=e.pocVariant;"string"==typeof t&&(i=t)}i||"string"!=typeof l.pocVariant||(i=l.pocVariant)}return i?t("filmmaker.myPromotions.pocForm.typeSubtitle",{type:(0,C.HD)(i,t)}):e.toolName}(t,n)})]}),(0,l.jsx)(E.A,{isIconOnly:!0,variant:"light",radius:"full",className:"shrink-0 text-zinc-400",onPress:r,"aria-label":n("filmmaker.myPromotions.pocForm.close"),children:(0,l.jsx)(T.Z,{className:"h-5 w-5"})})]}),(0,l.jsxs)(M.I,{className:"gap-5 py-5",children:[(0,l.jsx)("p",{className:"text-sm text-zinc-400",children:n("filmmaker.myPromotions.pocForm.intro")}),(0,l.jsx)(I.l,{className:"flex w-full flex-col gap-5",onSubmit:e=>{e.preventDefault(),y.handleSubmit()},children:(0,l.jsxs)(y.AppForm,{children:[(0,l.jsx)(X,{form:y,formSubmitted:b}),(0,l.jsx)(et,{form:y,formSubmitted:b,hasDialogue:j,needsVoiceOver:k,willProvideScript:F}),(0,l.jsx)(Y,{form:y,formSubmitted:b})]})}),m?(0,l.jsx)("p",{className:"mt-3 text-sm text-danger",children:m}):null]}),(0,l.jsxs)(V.R,{className:"justify-between gap-3",children:[(0,l.jsx)(E.A,{variant:"bordered",radius:"sm",className:"min-h-11 border-zinc-600 px-6 font-semibold text-zinc-50",onPress:r,children:n("filmmaker.myPromotions.pocForm.cancel")}),(0,l.jsx)(E.A,{color:"primary",radius:"sm",className:"min-h-11 flex-1 px-8 font-semibold sm:max-w-xs",isLoading:f||c.isPending,onPress:()=>void y.handleSubmit(),children:n("filmmaker.myPromotions.pocForm.submit")})]})]})}):null}},56259:function(e,t,r){r.d(t,{Z:function(){return f}});var l=r(52322),o=r(25556),i=r(85126),a=r(85116),n=r(41763),s=r(78781),c=r(2386),m=r(16984),d=r(2352),u=r(5345),p=r(86073);function f(e){let{isOpen:t,onClose:r}=e,{t:f}=(0,p.$G)("Promotions");return(0,l.jsx)(n.R,{isOpen:t,onClose:r,size:"md",hideCloseButton:!0,classNames:{base:"twp bg-black border border-zinc-900 font-poppins",body:"px-6 py-0",footer:"border-t border-zinc-800/80 px-6 py-4"},children:(0,l.jsxs)(s.A,{children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-3 border-b border-zinc-800/80 px-6 py-5",children:[(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsx)(i.Z,{className:"h-8 w-8 text-primary"}),(0,l.jsx)("span",{className:"text-xl font-semibold text-zinc-50",children:f("filmmaker.myPromotions.success.title")})]}),(0,l.jsx)(c.A,{isIconOnly:!0,variant:"light",radius:"full",className:"shrink-0 text-zinc-400",onPress:r,"aria-label":f("filmmaker.myPromotions.pocForm.close"),children:(0,l.jsx)(a.Z,{className:"h-5 w-5"})})]}),(0,l.jsxs)(m.I,{className:"gap-3 py-6",children:[(0,l.jsx)("p",{className:"font-medium text-zinc-50",children:f("filmmaker.myPromotions.success.message")}),(0,l.jsx)("p",{className:"text-sm text-zinc-400",children:f("filmmaker.myPromotions.success.detail")})]}),(0,l.jsx)(d.R,{children:(0,l.jsx)(c.A,{color:"primary",radius:"sm",fullWidth:!0,className:"min-h-11 font-semibold",as:u.O,href:o._j.films.dashboard(),onPress:r,children:f("filmmaker.myPromotions.success.back")})})]})})}},86935:function(e,t,r){r.d(t,{Ww:function(){return m},fK:function(){return d},uE:function(){return n},vi:function(){return c}});var l=r(57377),o=r(59738),i=r(69102);
1function a(e,t){let r=l.MarketingToolSaleItemMetadataValidator.safeParse(null!=t?t:{});if(r.success&&r.data.fulfillmentStatus)return r.data.fulfillmentStatus;if(!t||"object"!=typeof t||Array.isArray(t))return e;let o=t.fulfillmentStatus;return"string"==typeof o&&Object.values(l.MarketingToolPurchaseStatus).includes(o)?o:e}function n(e,t){let r=[];for(let s of e)for(let e of s.items){var n;let c=l.MarketingToolSaleItemMetadataValidator.safeParse(null!==(n=e.metadata)&&void 0!==n?n:{}),m=c.success?c.data.overrides:void 0,d=function(e,t){let r=a(t,e.metadata);return e.tool.slug===l.MarketingToolSlug.PROOF_OF_CONCEPT&&!function(e){let t=l.MarketingToolSaleItemMetadataValidator.safeParse(null!=e?e:{});if(t.success)return!!t.data.intake;if(!e||"object"!=typeof e||Array.isArray(e))return!1;let r=e.intake;return null!=r&&"object"==typeof r&&!Array.isArray(r)}(e.metadata)?"information_needed":(0,l.isServiceCenterMarketingToolSlug)(e.tool.slug)&&r===l.MarketingToolPurchaseStatus.PENDING?l.MarketingToolPurchaseStatus.IN_PROGRESS:r}(e,s.sale.purchaseStatus),u=t("filmmaker.myPromotions.purchasedOn",{date:function(e){try{return new Date(e).toLocaleDateString(void 0,{month:"short",day:"numeric",year:"numeric"})}catch(t){return e}}(s.purchasedAt)}),p=[];if(null==m?void 0:m.projectTitle)p.push(m.projectTitle);else if((null==m?void 0:m.pocVariant)&&m.quantityMinutes)p.push("".concat((0,i.HD)(m.pocVariant,t)," ⢠").concat(t("filmmaker.myPromotions.minutes",{count:m.quantityMinutes})));else{let e=c.success?c.data.resolved:void 0,t="string"==typeof(null==e?void 0:e.filmTitle)?e.filmTitle.trim():"";t&&p.push(t)}let f=!(0,l.isServiceCenterMarketingToolSlug)(e.tool.slug)&&!!e.startsAt;f&&p.push(t("filmmaker.myPromotions.schedule",{date:(0,o.PU)(e.startsAt)})),p.push(u),r.push({key:e.id,saleItemId:e.id,marketingToolSaleId:s.marketingToolSaleId,toolSlug:e.tool.slug,toolName:e.tool.name,status:d,subtitle:p.join(" ⢠"),purchasedAt:s.purchasedAt,canAddInformation:"information_needed"===d,item:e})}return r.sort((e,t)=>new Date(t.purchasedAt).getTime()-new Date(e.purchasedAt).getTime())}function s(e){return(0,l.isServiceCenterMarketingToolSlug)(e.toolSlug)}function c(e){return e.filter(e=>!s(e))}function m(e){return e.filter(s)}function d(e){let t=[];for(let n of e)for(let e of n.items){var r,i;let s=function(e){let t=e.tool;return t.type!==l.MarketingToolType.FILMMAKER||t.group===l.MarketingToolGroup.SERVICE_CENTER||(0,l.isServiceCenterMarketingToolSlug)(t.slug)?null:t.group===l.MarketingToolGroup.WEBSITE_PLACEMENT?"platform":"email"}(e);if(!s)continue;let c=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now(),l=new Date(e).getTime(),o=new Date(t).getTime();return Number.isFinite(l)&&Number.isFinite(o)?r<l?"scheduled":r>o?"completed":"active":"completed"}(e.startsAt,e.endsAt),m=a(n.sale.purchaseStatus,e.metadata),d=(i={toolSlug:e.tool.slug,lineStatus:m,scheduleStatus:c}).toolSlug===l.MarketingToolSlug.PROMOTED_PROJECT?i.scheduleStatus:i.lineStatus===l.MarketingToolPurchaseStatus.COMPLETED?"completed":i.lineStatus===l.MarketingToolPurchaseStatus.IN_PROGRESS?"active":i.scheduleStatus;t.push({key:e.id,filmId:null!==(r=e.filmId)&&void 0!==r?r:null,snapshotFilmTitle:function(e){var t,r,o,i;let a=l.MarketingToolSaleItemMetadataValidator.safeParse(null!==(i=e.metadata)&&void 0!==i?i:{});if(!a.success)return"";let n=null===(t=a.data.overrides)||void 0===t?void 0:null===(r=t.projectTitle)||void 0===r?void 0:r.trim();if(n)return n;let s=null===(o=a.data.resolved)||void 0===o?void 0:o.filmTitle;return"string"==typeof s&&s.trim()?s.trim():""}(e),toolSlug:e.tool.slug,toolName:e.tool.name,kind:s,status:d,periodLabel:(0,o.co)(e.startsAt,e.endsAt),purchasedAt:n.purchasedAt})}return t.sort((e,t)=>new Date(t.purchasedAt).getTime()-new Date(e.purchasedAt).getTime())}},69102:function(e,t,r){r.d(t,{HD:function(){return a},Ip:function(){return u},Lk:function(){return s},Pc:function(){return m},bU:function(){return c},r5:function(){return i},ro:function(){return d},tZ:function(){return o}});var l=r(57377);let o=[l.MarketingToolPocVariant.ANIMATION_2D,l.MarketingToolPocVariant.ANIMATION_3D,l.MarketingToolPocVariant.LIVE_ACTION],i=[1,2,3,4,5];function a(e,t){return e===l.MarketingToolPocVariant.ANIMATION_2D?t("filmmaker.ServiceCenterModal.fields.poc2d"):e===l.MarketingToolPocVariant.ANIMATION_3D?t("filmmaker.ServiceCenterModal.fields.poc3d"):e===l.MarketingToolPocVariant.LIVE_ACTION?t("filmmaker.ServiceCenterModal.fields.pocLiveAction"):e}function n(e){return e.type===l.MarketingToolType.FILMMAKER&&(e.group===l.MarketingToolGroup.SERVICE_CENTER||(0,l.isServiceCenterMarketingToolSlug)(e.slug))}function s(e){return e.filter(n).sort((e,t)=>
1(0,l.getMarketingToolSlugSortIndex)(e.slug,l.FILMMAKER_SERVICE_CENTER_SLUG_ORDER)-(0,l.getMarketingToolSlugSortIndex)(t.slug,l.FILMMAKER_SERVICE_CENTER_SLUG_ORDER))}function c(e){var t;let r=e.prices.find(e=>e.frequency===l.MarketingToolPriceFrequency.ONE_TIME&&e.limitType===l.MarketingToolLimitType.STANDARD);return null!==(t=null==r?void 0:r.price)&&void 0!==t?t:null}function m(e,t){var r;let o=(0,l.marketingToolPocVariantToLimitType)(t),i=e.prices.find(e=>e.frequency===l.MarketingToolPriceFrequency.PER_MINUTE&&e.limitType===o);return null!==(r=null==i?void 0:i.price)&&void 0!==r?r:null}function d(e){if(e.slug===l.MarketingToolSlug.PROOF_OF_CONCEPT){let t=function(e){let t=o.map(t=>m(e,t)).filter(e=>null!=e);return t.length?Math.min(...t):null}(e);return null!=t?"Starts at $".concat(t):"Starts at $550"}let t=c(e);return null!=t?"$".concat(t):""}function u(e){var t;if(e.tool.slug===l.MarketingToolSlug.PROOF_OF_CONCEPT){if(!e.pocVariant||!e.quantityMinutes)return 0;let t=m(e.tool,e.pocVariant);return null!=t?t*e.quantityMinutes:0}return null!==(t=c(e.tool))&&void 0!==t?t:0}},1458:function(e,t,r){/** 2 * @license React 3 * use-sync-external-store-shim.production.js 4 * 5 * Copyright (c) Meta Platforms, Inc. and affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var l=r(2784),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=l.useState,a=l.useEffect,n=l.useLayoutEffect,s=l.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!o(e,r)}catch(e){return!0}}var m="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),l=i({inst:{value:r,getSnapshot:t}}),o=l[0].inst,m=l[1];return n(function(){o.value=r,o.getSnapshot=t,c(o)&&m({inst:o})},[e,r,t]),a(function(){return c(o)&&m({inst:o}),e(function(){c(o)&&m({inst:o})})},[e]),s(r),r};t.useSyncExternalStore=void 0!==l.useSyncExternalStore?l.useSyncExternalStore:m},43100:function(e,t,r){e.exports=r(1458)},31424:function(e,t,r){var l=r(2784);let o=l.forwardRef(function({title:e,titleId:t,...r},o){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:o,"aria-labelledby":t},r),e?l.createElement("title",{id:t},e):null,l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5"}))});t.Z=o},85126:function(e,t,r){var l=r(2784);let o=l.forwardRef(function({title:e,titleId:t,...r},o){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:o,"aria-labelledby":t},r),e?l.createElement("title",{id:t},e):null,l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});t.Z=o},85267:function(e,t,r){var l=r(2784);let o=l.forwardRef(function({title:e,titleId:t,...r},o){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:o,"aria-labelledby":t},r),e?l.createElement("title",{id:t},e):null,l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))});t.Z=o},39875:function(e,t,r){var l=r(2784);let o=l.forwardRef(function({title:e,titleId:t,...r},o){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:o,"aria-labelledby":t},r),e?l.createElement("title",{id:t},e):null,l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))});t.Z=o},10443:function(e,t,r){var l=r(2784);let o=l.forwardRef(function({title:e,titleId:t,...r},o){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:o,"aria-labelledby":t},r),e?l.createElement("title",{id:t},e):null,l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}),l.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.91 11.672a.375.375 0 0 1 0 .656l-5.603 3.113a.375.375 0 0 1-.557-.328V8.887c0-.286.307-.466.557-.327l5.603 3.112Z"}))});t.Z=o},84382:function(e,t,r){r.d(t,{l:function(){return n}});var l=r(5682),o=r(72439),i=r(2784),a=r(52322),n=(0,i.forwardRef)(function(e,t){var r,i;let n=(0,o.w)(),s=null!=(i=null!=(r=e.validationBehavior)?r:null==n?void 0:n.validationBehavior)?i:"native";return(0,a.jsx)(l.l,{...e,ref:t,validationBehavior:s})})}}]);
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.