1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1253],{79325:function(e,a,t){Promise.resolve().then(t.bind(t,9505)),Promise.resolve().then(t.bind(t,30859)),Promise.resolve().then(t.bind(t,14974))},9505:function(e,a,t){"use strict";var l=t(57437),n=t(36628),r=t(81e3),i=t(67154),u=t(27648),o=t(87414),s=t(89345),c=t(2265),d=t(15598),m=t(3842),v=t(96509);a.default=e=>{let{GoogleSignIn:a,AppleSignIn:t,callbackUrl:b,utmParams:g}=e,[p,E]=(0,c.useState)(!1);return(0,c.useEffect)(()=>{b&&(0,m.A)(b)&&(0,d.HO)(b),g&&(0,d.bq)(g)},[b,g]),(0,l.jsx)(i.ZP,{title:p?"Log in with email":"Welcome to Pixara",subtitle:p?"Use the email and password for your account":"Sign in and continue creating",back:p?()=>E(!1):void 0,backAside:p?(0,l.jsx)(u.default,{href:v.QY.FORGET_PASSWORD,className:i.cO,children:"Forgot password?"}):void 0,footer:(0,l.jsxs)(l.Fragment,{children:["Don't have an account?"," ",(0,l.jsx)(i.gK,{href:v.QY.SIGN_UP,children:"Sign up"})]}),legal:(0,l.jsx)(n.Z,{}),children:p?(0,l.jsx)(r.Z,{}):(0,l.jsxs)("div",{className:"space-y-3",children:[(0,l.jsxs)(u.default,{href:v.QY.SIGN_UP,className:"flex h-11 w-full items-center justify-center gap-2 rounded-xl bg-primary/10 text-sm font-medium text-primary transition-colors hover:bg-primary/15",children:[(0,l.jsx)(o.Z,{className:"h-4 w-4"}),"Sign up and get free credits"]}),a,t,(0,l.jsx)(i.$s,{}),(0,l.jsxs)("button",{type:"button",onClick:()=>E(!0),className:i.pU,children:[(0,l.jsx)(s.Z,{className:"h-4 w-4"}),"Continue with Email"]})]})})}},93657:function(e,a,t){"use strict";var l=t(57437);t(2265);var n=t(94508);a.Z=e=>{let{className:a,size:t="md",children:r}=e;return(0,l.jsx)("p",{className:(0,n.cn)((()=>{switch(t){case"xs":return"text-[12px] leading-[20px] font-poppins-regular";case"sm":return"text-sm leading-[22px] font-poppins-medium";case"md":default:return"text-base leading-[26px] font-poppins";case"avg":return"text-[16px] leading-[26px] font-poppins-regular text-fg-subtle";case"lg":return"text-[18px] leading-[30px] font-poppins-medium text-black-1000"}})(),a),children:r})}},81e3:function(e,a,t){"use strict";t.d(a,{Z:function(){return A}});
1var l=t(57437),n=t(94508),r=t(67154),i=t(2265),u=t(99376);t(83079);var o=(0,t(12119).$)("9bef402f1b1567ee788be72a6698cd04f4d7c610"),s=t(96509),c=t(96462),d=t(50444),m=t(62869),v=t(95186),b=t(26815),g=t(14438),p=t(29501),E=t(24584),h=t(56646),f=t(42423),A=e=>{let{onSuccess:a}=e,[t,A]=(0,i.useState)(!1),[S,_]=(0,i.useState)(!1),[I,R]=(0,i.useState)(null),D=(0,u.useRouter)(),{updateUser:O}=(0,d.LM)(e=>e),N=(0,i.useRef)(null),{register:y,handleSubmit:w,formState:{errors:T}}=(0,p.cI)(),C=async e=>{if(!I){g.Am.error("Please wait for the human verification to finish.");return}A(!0);let t={email:e.email.toLowerCase(),password:e.password},l=await o(t.email,t.password,I);try{if((0,c.Sz)(l))throw Error();a&&a(l),O(l),g.Am.success("Login Successful",{description:"You have successfully logged in."}),l.isSuspicious?D.push(s.QY.SUSPICIOUS_EMAIL):l.emailVerified?a||D.push(s.QY.HOME):D.push("".concat(s.QY.VERIFY_EMAIL_OTP,"?email=").concat(encodeURIComponent(t.email)))}catch(e){(0,c.Sz)(l)&&g.Am.error(l.message)}finally{var n;A(!1),null===(n=N.current)||void 0===n||n.reset(),R(null)}};return(0,l.jsxs)("form",{onSubmit:w(C),className:"space-y-3",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)(b._,{htmlFor:"email",className:"sr-only",children:"Email Address"}),(0,l.jsx)(v.I,{id:"email",type:"email",placeholder:"Email address",className:(0,n.cn)(r.Lu,T.email&&r.gh),...y("email",{required:"Enter a valid email",pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,message:"Enter a valid email"}})}),T.email&&(0,l.jsx)(r.rv,{children:T.email.message})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)(b._,{htmlFor:"password",className:"sr-only",children:"Password"}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)(v.I,{id:"password",type:S?"text":"password",placeholder:"Password",className:(0,n.cn)(r.Lu,"pr-12",T.password&&r.gh),...y("password",{required:"Required",minLength:{value:8,message:"At least 8 characters"}})}),(0,l.jsx)("button",{type:"button",onClick:()=>_(!S),className:"absolute right-4 top-1/2 -translate-y-1/2 text-white/50 hover:text-white",children:S?(0,l.jsx)(E.Z,{}):(0,l.jsx)(h.Z,{})})]}),T.password&&(0,l.jsx)(r.rv,{children:T.password.message})]}),(0,l.jsx)(f.Z,{ref:N,onVerify:R}),(0,l.jsx)(m.z,{type:"submit",className:r.pU,disabled:t||!I,children:t?"Loading...":"Login"})]})}},62869:function(e,a,t){"use strict";t.d(a,{z:function(){return c}});var l=t(57437),n=t(2265),r=t(37053),i=t(90535),u=t(94508);let o=e=>{let{className:a}=e;return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",className:(0,u.cn)("animate-spin",a),children:(0,l.jsx)("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})})},s=(0,i.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90 font-poppins-regular",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border-hairline bg-transparent shadow-sm hover:bg-surface-selected hover:text-accent-foreground font-poppins-regular",secondary:"bg-surface-input text-secondary-foreground shadow-sm hover:bg-surface-selected",ghost:"hover:bg-surface-selected hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=n.forwardRef((e,a)=>{let{className:t,variant:n,size:i,asChild:c=!1,loading:d=!1,children:m,...v}=e,b=c?r.g7:"button",g=d?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o,{className:"mr-1 h-4 w-4"}),m]}):m;return(0,l.jsx)(b,{className:(0,u.cn)(s({variant:n,size:i,className:t})),disabled:d||v.disabled,ref:a,...v,children:g})});c.displayName="Button"},32405:function(e,a,t){"use strict";t.d(a,{Er:function(){return r},hW:function(){return u},if:function(){return n},qN:function(){return i},zD:function(){return l}});let l=["media.pixara.ai","media-staging.pixara.ai"],n="static.pixara.ai",r="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9IiMxYTFjMWUiLz48L3N2Zz4=",
1i="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxIDEiPjwvc3ZnPg==",u=[{label:"Afghanistan",value:"afghanistan"},{label:"Albania",value:"albania"},{label:"Algeria",value:"algeria"},{label:"Andorra",value:"andorra"},{label:"Angola",value:"angola"},{label:"Antigua and Barbuda",value:"antigua and barbuda"},{label:"Argentina",value:"argentina"},{label:"Armenia",value:"armenia"},{label:"Australia",value:"australia"},{label:"Austria",value:"austria"},{label:"Azerbaijan",value:"azerbaijan"},{label:"Bahamas",value:"bahamas"},{label:"Bahrain",value:"bahrain"},{label:"Bangladesh",value:"bangladesh"},{label:"Barbados",value:"barbados"},{label:"Belarus",value:"belarus"},{label:"Belgium",value:"belgium"},{label:"Belize",value:"belize"},{label:"Benin",value:"benin"},{label:"Bhutan",value:"bhutan"},{label:"Bolivia",value:"bolivia"},{label:"Bosnia and Herzegovina",value:"bosnia and herzegovina"},{label:"Botswana",value:"botswana"},{label:"Brazil",value:"brazil"},{label:"Brunei",value:"brunei"},{label:"Bulgaria",value:"bulgaria"},{label:"Burkina Faso",value:"burkina faso"},{label:"Burundi",value:"burundi"},{label:"Cabo Verde",value:"cabo verde"},{label:"Cambodia",value:"cambodia"},{label:"Cameroon",value:"cameroon"},{label:"Canada",value:"canada"},{label:"Central African Republic",value:"central african republic"},{label:"Chad",value:"chad"},{label:"Chile",value:"chile"},{label:"China",value:"china"},{label:"Colombia",value:"colombia"},{label:"Comoros",value:"comoros"},{label:"Congo",value:"congo"},{label:"Congo (Democratic Republic)",value:"congo (democratic republic)"},{label:"Costa Rica",value:"costa rica"},{label:"Croatia",value:"croatia"},{label:"Cuba",value:"cuba"},{label:"Cyprus",value:"cyprus"},{label:"Czech Republic",value:"czech republic"},{label:"Denmark",value:"denmark"},{label:"Djibouti",value:"djibouti"},{label:"Dominica",value:"dominica"},{label:"Dominican Republic",value:"dominican republic"},{label:"Ecuador",value:"ecuador"},{label:"Egypt",value:"egypt"},{label:"El Salvador",value:"el salvador"},{label:"Equatorial Guinea",value:"equatorial guinea"},{label:"Eritrea",value:"eritrea"},{label:"Estonia",value:"estonia"},{label:"Eswatini",value:"eswatini"},{label:"Ethiopia",value:"ethiopia"},{label:"Fiji",value:"fiji"},{label:"Finland",value:"finland"},{label:"France",value:"france"},{label:"Gabon",value:"gabon"},{label:"Gambia",value:"gambia"},{label:"Georgia",value:"georgia"},{label:"Germany",value:"germany"},{label:"Ghana",value:"ghana"},{label:"Greece",value:"greece"},{label:"Grenada",value:"grenada"},{label:"Guatemala",value:"guatemala"},{label:"Guinea",value:"guinea"},{label:"Guinea-Bissau",value:"guinea-bissau"},{label:"Guyana",value:"guyana"},{label:"Haiti",value:"haiti"},{label:"Honduras",value:"honduras"},{label:"Hungary",value:"hungary"},{label:"Iceland",value:"iceland"},{label:"India",value:"india"},{label:"Indonesia",value:"indonesia"},{label:"Iran",value:"iran"},{label:"Iraq",value:"iraq"},{label:"Ireland",value:"ireland"},{label:"Israel",value:"israel"},{label:"Italy",value:"italy"},{label:"Jamaica",value:"jamaica"},{label:"Japan",value:"japan"},{label:"Jordan",value:"jordan"},{label:"Kazakhstan",value:"kazakhstan"},{label:"Kenya",value:"kenya"},{label:"Kiribati",value:"kiribati"},{label:"Korea (North)",value:"korea (north)"},{label:"Korea (South)",value:"korea (south)"},{label:"Kuwait",value:"kuwait"},{label:"Kyrgyzstan",value:"kyrgyzstan"},{label:"Laos",value:"laos"},{label:"Latvia",value:"latvia"},{label:"Lebanon",value:"lebanon"},{label:"Lesotho",value:"lesotho"},{label:"Liberia",value:"liberia"},{label:"Libya",value:"libya"},{label:"Liechtenstein",value:"liechtenstein"},{label:"Lithuania",value:"lithuania"},{label:"Luxembourg",value:"luxembourg"},{label:"Madagascar",value:"madagascar"},{label:"Malawi",value:"malawi"},{label:"Malaysia",value:"malaysia"},{label:"Maldives",value:"maldives"},{label:"Mali",value:"mali"},{label:"Malta",value:"malta"},{label:"Marshall Islands",value:"marshall islands"},{label:"Mauritania",value:"mauritania"},{label:"Mauritius",value:"mauritius"},{label:"Mexico",value:"mexico"},{label:"Micronesia",value:"micronesia"},{label:"Moldova",value:"moldova"},{label:"Monaco",value:"monaco"},{label:"Mongolia",value:"mongolia"},{label:"Montenegro",value:"montenegro"},{label:"Morocco",value:"morocco"},{label:"Mozambique",value:"mozambique"},{label:"Myanmar",value:"myanmar"},{label:"Namibia",value:"namibia"},{label:"Nauru",value:"nauru"},{label:"Nepal",value:"nepal"},{label:"Netherlands",value:"netherlands"},{label:"New Zealand",value:"new zealand"},{label:"Nicaragua",value:"nicaragua"},{label:"Niger",value:"niger"},{label:"Nigeria",value:"nigeria"},{label:"North Macedonia",value:"north macedonia"},{label:"Norway",value:"norway"},{label:"Oman",value:"oman"},{label:"Pakistan",value:"pakistan"},{label:"Palau",value:"palau"},{label:"Panama",value:"panama"},{label:"Papua New Guinea",value:"papua new guinea"},{label:"Paraguay",value:"paraguay"},{label:"Peru",value:"peru"},{label:"Philippines",value:"philippines"},{label:"Poland",value:"poland"},{label:"Portugal",value:"portugal"},{label:"Qatar",value:"qatar"},{label:"Romania",value:"romania"},{label:"Russia",value:"russia"},{label:"Rwanda",value:"rwanda"},{label:"Saint Kitts and Nevis",value:"saint kitts and nevis"},{label:"Saint Lucia",value:"saint lucia"},{label:"Saint Vincent and the Grenadines",value:"saint vincent and the grenadines"},{label:"Samoa",value:"samoa"},{label:"San Marino",value:"san marino"},{label:"Sao Tome and Principe",value:"sao tome and principe"},{label:"Saudi Arabia",value:"saudi arabia"},{label:"Senegal",value:"senegal"},{label:"Serbia",value:"serbia"},{label:"Seychelles",value:"seychelles"},{label:"Sierra Leone",value:"sierra leone"},{label:"Singapore",value:"singapore"},{label:"Slovakia",value:"slovakia"},{label:"Slovenia",value:"slovenia"},{label:"Solomon Islands",value:"solomon islands"},{label:"Somalia",value:"somalia"},{label:"South Africa",value:"south africa"},{label:"South Sudan",value:"south sudan"},{label:"Spain",value:"spain"},{label:"Sri Lanka",value:"sri lanka"},{label:"Sudan",value:"sudan"},{label:"Suriname",value:"suriname"},{label:"Sweden",value:"sweden"},{label:"Switzerland",value:"switzerland"},{label:"Syria",value:"syria"},{label:"Taiwan",value:"taiwan"},{label:"Tajikistan",value:"tajikistan"},{label:"Tanzania",value:"tanzania"},{label:"Thailand",value:"thailand"},{label:"Timor-Leste",value:"timor-leste"},{label:"Togo",value:"togo"},{label:"Tonga",value:"tonga"},{label:"Trinidad and Tobago",value:"trinidad and tobago"},{label:"Tunisia",value:"tunisia"},{label:"Turkey",value:"turkey"},{label:"Turkmenistan",value:"turkmenistan"},{label:"Tuvalu",value:"tuvalu"},{label:"Uganda",value:"uganda"},{label:"Ukraine",value:"ukraine"},{label:"United Arab Emirates",value:"united arab emirates"},{label:"United Kingdom",value:"united kingdom"},{label:"United States",value:"united states"},{label:"Uruguay",value:"uruguay"},{label:"Uzbekistan",value:"uzbekistan"},{label:"Vanuatu",value:"vanuatu"},{label:"Vatican City",value:"vatican city"},{label:"Venezuela",value:"venezuela"},{label:"Vietnam",value:"vietnam"},{label:"Yemen",value:"yemen"},{label:"Zambia",value:"zambia"},{label:"Zimbabwe",value:"zimbabwe"}]},94508:function(e,a,t){"use strict";t.d(a,{cn:function(){return r}});
1var l=t(61994),n=t(53335);function r(){for(var e=arguments.length,a=Array(e),t=0;t<e;t++)a[t]=arguments[t];return(0,n.m6)((0,l.W)(a))}},50444:function(e,a,t){"use strict";t.d(a,{KG:function(){return o},LM:function(){return s}});var l=t(57437),n=t(2265),r=t(27695),i=t(18132);let u=(0,n.createContext)(void 0),o=e=>{let{children:a}=e,t=(0,n.useRef)();return t.current||(t.current=(0,i.WD)()),(0,l.jsx)(u.Provider,{value:t.current,children:a})},s=e=>{let a=(0,n.useContext)(u);if(!a)throw Error("useUserStore must be used within UserStoreProvider");return(0,r.o)(a,e)}},18132:function(e,a,t){"use strict";t.d(a,{HP:function(){return r},WD:function(){return i}});var l=t(90808);let n={user:null,authStatus:"unknown",fetchSubscriptionUsage:!1,virtualizerScrollElement:null,showFirstCreationPopup:!1},r=(0,l.M)()((e,a)=>({...n,updateUser:a=>e(()=>({user:a,authStatus:a?"authed":"guest"})),updateSubscriptionUsage:()=>{let t=a().fetchSubscriptionUsage;return e(()=>({fetchSubscriptionUsage:!t}))},setVirtualizerScrollElement:a=>e(()=>({virtualizerScrollElement:a})),setShowFirstCreationPopup:a=>e(()=>({showFirstCreationPopup:a}))})),i=()=>r},96509:function(e,a,t){"use strict";t.d(a,{QY:function(){return i},vL:function(){return u}});let l={HOME:"/",DASHBOARD:"/dashboard",SIGN_IN:"/sign-in",SIGN_UP:"/sign-up",FORGET_PASSWORD:"/forget-password",VERIFY_EMAIL:"/verify-email",VERIFY_EMAIL_OTP:"/verify-email-otp",SUSPICIOUS_EMAIL:"/suspicious-email",PRIVACY_POLICY:"/privacy-policy",TERMS_AND_CONDITIONS:"/terms-conditions",MCP:"/mcp",AFFILIATE:"/affiliate",PRICING:"/pricing",DISCORD:"https://discord.com/invite/dSuKRptsDZ",LINKEDIN:"https://www.linkedin.com/company/pixara/",INSTAGRAM:"https://www.instagram.com/pixara.ai",FACEBOOK:"https://www.facebook.com/profile.php?id=61566387571679",BLOG:"/blogs",COMPARISON:"/comparisons",ALTERNATIVES:"/alternatives",GENERATOR:"/generator",MODELS:{BASE:"/model",KLING_3_0:"/model/kling-3.0",KLING_2_6:"/model/kling-2.6",KLING_01:"/model/kling-01",GOOGLE_VEO_3_1:"/model/google-veo-3-1",SEEDANCE_2_0:"/model/seedance-2-0",SEEDANCE_2_5:"/model/seedance-2-5",NANO_BANANA_PRO:"/model/nano-banana-pro",MIDJOURNEY:"/model/midjourney",REVE:"/model/reve",BYTEDANCE_SEEDREAM_4_5:"/model/bytedance-seedream-4.5",IDEOGRAM:"/model/ideogram"}},n={EXPLORE:"".concat(l.DASHBOARD,"/explore"),WORKFLOWS:"".concat(l.DASHBOARD,"/workflows"),WORKFLOWS_SHARED:"".concat(l.DASHBOARD,"/workflows/shared"),RECREATE:"".concat(l.DASHBOARD,"/recreate"),VIDEO_EDITOR:"".concat(l.DASHBOARD,"/video-editor"),MY_ASSETS:"".concat(l.DASHBOARD,"/my-assets"),CREATE_IMAGE:"".concat(l.DASHBOARD,"/create-image"),AI_VOICEOVERS:"".concat(l.DASHBOARD,"/ai-voiceover"),AI_VOICE_CLONE:"".concat(l.DASHBOARD,"/ai-voice-clone"),AI_MUSIC:"".concat(l.DASHBOARD,"/ai-music"),AI_LIP_SYNC:"".concat(l.DASHBOARD,"/ai-lip-sync"),AI_AVATAR:"".concat(l.DASHBOARD,"/ai-avatar"),ACCOUNT_SETTINGS:"".concat(l.DASHBOARD,"/account-setting"),SUPPORT:"/support",CREATE_VIDEO:"".concat(l.DASHBOARD,"/create-video"),BUNDLE_PURCHASE:"".concat(l.DASHBOARD,"/bundle-purchase"),AI_APPS:"".concat(l.DASHBOARD,"/ai-apps"),AI_TOOLS:"".concat(l.DASHBOARD,"/ai-tools"),AI_VIDEO_EFFECTS:"".concat(l.DASHBOARD,"/ai-video-effects"),AI_PRODUCT_TEMPLATES:"".concat(l.DASHBOARD,"/ai-product-templates"),OMNI_CHAT:"".concat(l.DASHBOARD,"/omni-chat"),REFERRAL:"".concat(l.DASHBOARD,"/referral"),TEMPLATES:"".concat(l.DASHBOARD,"/templates"),UPSCALE_IMAGE:"".concat(l.DASHBOARD,"/upscale-image"),UPSCALE_VIDEO:"".concat(l.DASHBOARD,"/upscale-video"),EDIT_VIDEO:"".concat(l.DASHBOARD,"/edit-video"),MOTION_CONTROL:"".concat(l.DASHBOARD,"/motion-control"),VIDEO_TRANSLATE:"".concat(l.DASHBOARD,"/video-translate"),BACKGROUND_REMOVER_IMAGE:"".concat(l.DASHBOARD,"/image-background-remover"),BACKGROUND_REMOVER_VIDEO:"".concat(l.DASHBOARD,"/video-background-remover"),IMAGE_REFRAME:"".concat(l.DASHBOARD,"/image-reframe"),VIDEO_REFRAME:"".concat(l.DASHBOARD,"/video-reframe"),VECTORIZE:"".concat(l.DASHBOARD,"/vectorize"),VIDEO_SUBTITLES:"".concat(l.DASHBOARD,"/video-subtitles"),VIDEO_SOUND_EFFECTS:"".concat(l.DASHBOARD,"/video-sound-effects"),CAMERA_ANGLE:"".concat(l.DASHBOARD,"/camera-angle")},r={AI_VIDEO_EFFECTS_PREVIEW:"".concat(n.AI_VIDEO_EFFECTS,"/preview"),AI_PRODUCT_TEMPLATES_PREVIEW:"".concat(n.AI_PRODUCT_TEMPLATES,"/preview")},i={...l,...n,...r},u=e=>e===i.HOME||e===i.DASHBOARD},21099:function(e,a,t){"use strict";var l,n,r,i,u,o;t.d(a,{AO:function(){return r},WC:function(){return n},_8:function(){return s}}),(i=l||(l={})).ACCESS_TOKEN="accessToken",i.REFRESH_TOKEN="refreshToken",(u=n||(n={}))[u.SUCCESS=200]="SUCCESS",u[u.CREATED=201]="CREATED",u[u.BAD_REQUEST=400]="BAD_REQUEST",u[u.UNAUTHORIZED=401]="UNAUTHORIZED",u[u.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",u[u.FORBIDDEN=403]="FORBIDDEN",u[u.NOT_FOUND=404]="NOT_FOUND",u[u.CONFLICT=409]="CONFLICT",u[u.VALIDATION_ERROR=422]="VALIDATION_ERROR",u[u.USAGE_LIMIT_EXCEEDED=429]="USAGE_LIMIT_EXCEEDED",u[u.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",u[u.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE";
1let s={USAGE_LIMIT_EXCEEDED:"You're out of storage. Please upgrade your plan to continue.",INSUFFICIENT_CREDITS:"You don't have enough credits for this request. Please upgrade your plan or top up to continue.",RATE_LIMIT_EXCEEDED:"Too many requests. Please slow down and try again.",UNAUTHORIZED:"Your session has expired. Please log in again.",FORBIDDEN:"You don't have permission to perform this action.",NOT_FOUND:"We couldn't find what you were looking for.",ALREADY_EXISTS:"This already exists. Please try a different value.",VALIDATION_ERROR:"Please check your input and try again.",BAD_REQUEST:"There's an issue with your request. Please review and try again.",PAYMENT_REQUIRED:"Payment failed. Please update your billing details in the subscription portal.",INTERNAL_SERVER_ERROR:"Something went wrong on our end. We're working to fix it. Please try again later.",SERVICE_UNAVAILABLE:"We're temporarily down for maintenance. Please try again in a moment.",EMPTY_RESPONSE:"We couldn't get a response from the server. Please try again."};(o=r||(r={})).SUBSCRIPTION="subscription",o.BUNDLE="bundle"},15598:function(e,a,t){"use strict";t.d(a,{$k:function(){return c},$v:function(){return X},BT:function(){return el},D9:function(){return Z},DF:function(){return z},HO:function(){return A},Hm:function(){return p},KG:function(){return q},L1:function(){return $},LJ:function(){return C},LM:function(){return U},Mi:function(){return ei},Ne:function(){return ee},OU:function(){return F},P3:function(){return f},Qq:function(){return M},Rm:function(){return et},SN:function(){return W},WH:function(){return g},ZZ:function(){return N},ax:function(){return h},bq:function(){return T},bu:function(){return Y},ed:function(){return V},fL:function(){return O},gw:function(){return b},ht:function(){return _},k$:function(){return K},lf:function(){return er},lk:function(){return L},mc:function(){return D},nN:function(){return Q},pp:function(){return w},py:function(){return R},q8:function(){return y},r7:function(){return I},rb:function(){return P},v5:function(){return E},vh:function(){return H},zy:function(){return S}});var l=t(64131),n=t(49360);let r="suspicious_email_dismissed",i="callback_url",u="referral_code",o="show_compact_subscription_modal",s="pixara_utm",c=()=>{try{let e=l.Z.get("pixara_attribution");if(e)return JSON.parse(e)}catch(e){}return null},d="workflow_quickstart_dismissed",m="oauth_provider",v="oauth_is_signup",b={GOOGLE:"google",APPLE:"apple"},g={SIGNUP:"signup",SIGNIN:"signin"},p=()=>{l.Z.set(r,"true",{expires:7,path:"/",secure:!0,sameSite:"strict"})},E=()=>"true"===l.Z.get(r),h=()=>{l.Z.set(d,"true",{expires:365,path:"/",secure:!0,sameSite:"strict"})},f=()=>"true"===l.Z.get(d),A=e=>{l.Z.set(i,e,{expires:1,path:"/",secure:!0,sameSite:"lax"})},S=()=>l.Z.get(i),_=()=>{l.Z.remove(i)},I=e=>{l.Z.set(u,e,{expires:30,path:"/",secure:!0,sameSite:"lax"})},R=()=>l.Z.get(u),D=()=>{l.Z.remove(u)},O=()=>{sessionStorage.setItem(o,"true")},N=()=>"true"===sessionStorage.getItem(o),y=()=>{sessionStorage.removeItem(o)},w=e=>{let a=a=>{let t=e[a];return"string"==typeof t?t:void 0},t=a("utm_source"),l=a("utm_medium"),n=a("utm_campaign"),r=a("utm_term"),i=a("utm_content");return t||n?{...t&&{utm_source:t},...l&&{utm_medium:l},...n&&{utm_campaign:n},...r&&{utm_term:r},...i&&{utm_content:i}}:null},T=e=>{l.Z.set(s,JSON.stringify(e),{expires:30,path:"/",secure:!0,sameSite:"lax"})},C=()=>{try{let e=l.Z.get(s);if(e)return JSON.parse(e)}catch(e){console.error("Error parsing UTM cookie:",e)}try{let e=c();if((null==e?void 0:e.utm_source)||(null==e?void 0:e.utm_campaign))return{...e.utm_source&&{utm_source:e.utm_source},...e.utm_medium&&{utm_medium:e.utm_medium},...e.utm_campaign&&{utm_campaign:e.utm_campaign},...e.utm_term&&{utm_term:e.utm_term},...e.utm_content&&{utm_content:e.utm_content}}}catch(e){}return null},x="upgrade_promo_modal_last_shown",L=()=>{let e=localStorage.getItem(x);return!e||Date.now()-parseInt(e,10)>864e5},P=()=>{localStorage.setItem(x,String(Date.now()))},B="starter_trial_popup_last_shown",M=()=>{let e=localStorage.getItem(B);return!e||Date.now()-parseInt(e,10)>864e5},U=()=>{localStorage.setItem(B,String(Date.now()))},k="first_creation_share_shown",H=()=>"true"===localStorage.getItem(k),V=()=>{localStorage.setItem(k,"true")},j="pending_checkout_info",G="payment_tracked",z=e=>{sessionStorage.setItem(j,JSON.stringify({...e,checkoutId:(0,n.Z)()})),sessionStorage.removeItem(G)},F=()=>{try{let e=sessionStorage.getItem(j);if(e)return JSON.parse(e)}catch(e){console.error("Error parsing pending checkout info:",e)}return null},Z=()=>{sessionStorage.removeItem(j)},W=()=>{sessionStorage.setItem(G,"true")},Y=()=>"true"===sessionStorage.getItem(G),q=(e,a)=>{sessionStorage.setItem(m,e),sessionStorage.setItem(v,a?"true":"false")},K=()=>({provider:sessionStorage.getItem(m),isSignup:"true"===sessionStorage.getItem(v)}),Q=()=>{sessionStorage.removeItem(m),sessionStorage.removeItem(v)},J="pendingSignupContext",X=e=>{sessionStorage.setItem(J,JSON.stringify(e))},$=()=>{try{let e=sessionStorage.getItem(J);return e?JSON.parse(e):null}catch(e){return null}},ee=()=>{sessionStorage.removeItem(J)},ea="workflow_live_popup_seen",et=()=>"true"===localStorage.getItem(ea),el=()=>{localStorage.setItem(ea,"true")},en="workflow_canvas_guide_seen",er=()=>
1"true"===localStorage.getItem(en),ei=()=>{localStorage.setItem(en,"true")}},96462:function(e,a,t){"use strict";t.d(a,{zG:function(){return m},Sz:function(){return s}});var l=t(14438),n=t(21099);let r=e=>e===n.WC.BAD_REQUEST?"Thereâs an issue with your request. Please review and try again.":e===n.WC.UNAUTHORIZED?"Your session has expired. Please log in again.":e===n.WC.PAYMENT_REQUIRED?"Payment failed. Please update your billing details in the subscription portal.":e===n.WC.FORBIDDEN?"You donât have permission to perform this action.":e===n.WC.NOT_FOUND?"We couldnât find what you were looking for.":e===n.WC.CONFLICT?"This already exists. Please try a different value.":e===n.WC.VALIDATION_ERROR?"Please check your input and try again.":e===n.WC.USAGE_LIMIT_EXCEEDED?"Youâve reached your limit. Please upgrade your plan to continue.":e===n.WC.INTERNAL_SERVER_ERROR?"Something went wrong on our end. Weâre working to fix it. Please try again later.":e===n.WC.SERVICE_UNAVAILABLE?"Weâre temporarily down for maintenance. Please try again in a moment.":"An unexpected error occurred. Please try again.",i=[/^input validation failed/i,/^validation error/i,/^invalid input\b/i,/^invalid type\b/i,/^invalid option\b/i,/^invalid value\b/i,/^invalid key\b/i,/^invalid element\b/i,/^invalid format\b/i,/^invalid string\b/i,/^invalid number\b/i,/^invalid array\b/i,/^invalid date\b/i,/^invalid literal\b/i,/^invalid enum\b/i,/^invalid union\b/i,/^too small:/i,/^too big:/i,/^unrecognized key/i,/^expected .+, received /i,/^required$/i,/^must have required property/i,/^(body|querystring|params|headers)\/\S* must /i],u=/^\s*[[{]["{[]/,o=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"An unexpected error occurred.",t=null==e?void 0:e.trim();return t?i.some(e=>e.test(t))?n._8.VALIDATION_ERROR:u.test(t)?a:t:a},s=e=>"message"in e,c=e=>{l.Am.error(null!=e?e:"An unexpected error occurred")},d=new Set(["SERVICE_UNAVAILABLE","RATE_LIMIT_EXCEEDED","EMPTY_RESPONSE","INTERNAL_SERVER_ERROR","USAGE_LIMIT_EXCEEDED","UNAUTHORIZED"]),m=e=>{var a,t,l,i,u;if(null==e?void 0:e.isGuestBlocked)return{status:401,message:"Sign in required"};if(null===(t=e.response)||void 0===t?void 0:null===(a=t.data)||void 0===a?void 0:a.error){let a=e.response.data.error.code,t=e.response.data.error.message,s=e.response.data.error.details;if("VALIDATION_ERROR"===a&&Array.isArray(s)&&s.length>0){let a=o(null===(l=s[0])||void 0===l?void 0:l.message,n._8.VALIDATION_ERROR);return c(a),{status:e.response.status,message:a}}let m=a&&d.has(a)?null!==(i=n._8[a])&&void 0!==i?i:r(e.response.status):o(t,null!==(u=n._8[null!=a?a:""])&&void 0!==u?u:r(e.response.status));return c(m),{status:e.response.status,message:m}}{let e=r(500);return c(e),{status:500,message:e}}}},12555:function(e,a,t){"use strict";t.r(a),t.d(a,{default:function(){return r}});var l=t(32405),n=t(91209);function r(e){let{src:a,width:t,quality:r}=e,i=Math.min(t,1080);try{var u,o,s,c,d;let e=new URL(a);if(e.hostname===l.if&&e.pathname.startsWith("/cdn-cgi/media/")){let a=parseInt(null!==(s=null===(u=e.pathname.match(/\bwidth=(\d+)/))||void 0===u?void 0:u[1])&&void 0!==s?s:"0"),t=parseInt(null!==(c=null===(o=e.pathname.match(/\bheight=(\d+)/))||void 0===o?void 0:o[1])&&void 0!==c?c:"0"),l=e.pathname.replace(/\bwidth=\d+/,"width=".concat(i));if(a&&t){let e=Math.round(i/a*t);l=l.replace(/\bheight=\d+/,"height=".concat(e))}return"".concat(e.origin).concat(l)}return null!==(d=(0,n.r)(a,i,r))&&void 0!==d?d:a}catch(e){return"".concat(a,"?w=").concat(i)}}},91209:function(e,a,t){"use strict";t.d(a,{r:function(){return n}});var l=t(32405);function n(e,a,t){try{let n=new URL(e);if(l.zD.includes(n.hostname))return n.searchParams.set("w",String(a)),t&&n.searchParams.set("q",String(t)),n.toString();if(n.hostname===l.if&&!n.pathname.startsWith("/cdn-cgi/"))return"".concat(n.origin,"/cdn-cgi/image/width=").concat(a,",format=auto,quality=").concat(null!=t?t:85).concat(n.pathname)}catch(e){}}},3842:function(e,a,t){"use strict";t.d(a,{A:function(){return r},i:function(){return n}});var l=t(95912).Buffer;let n=e=>{let a=new TextEncoder().encode(e);if("function"==typeof btoa){let e="";for(let t of a)e+=String.fromCharCode(t);return btoa(e)}return l.from(a).toString("base64")},r=e=>{let a;if(!e)return null;try{a=l.from(e,"base64").toString("utf8")}catch(e){return null}if(!a.startsWith("/")||a.startsWith("//")||a.startsWith("/\\"))return null;for(let e=0;e<a.length;e++)if(32>
1a.charCodeAt(e))return null;return a}}},function(e){e.O(0,[5878,6137,4438,2972,8763,561,9367,9574,2971,2117,1744],function(){return e(e.s=79325)}),_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.