1import{j as t}from"./jsx-runtime-BjG_zV1W.js";import{I as b,N as A}from"./NewImageToTexturePage-Da-ScHMi.js";import{r as T,ak as v,s as j,t as w}from"./vendor-lucide-C-KNoM6r.js";import{L as p}from"./toolDirectory-2fDnxDvB.js";import{B as a}from"./button-DSt51qIy.js";import{L as N}from"./LanguageSwitcher-B0oGDzzl.js";import{u as L}from"./AuthContextCore-CO1D3YF1.js";import{P as I}from"./brandAssets-B0FH5M--.js";import{a as P}from"./authRedirect-Epf4tCTr.js";import{LoginPage as S}from"./LoginPage-BiC7jHDV.js";import"./index-CGRuql43.js";import"./seamlessMaterialEditor-CYSrsH4a.js";import"./dialog-DAUMSarI.js";import"./Combination-OKzzzLAb.js";import"./tslib.es6-CmEaCU22.js";import"./utils-LP6pax-4.js";import"./durableGenerationStart-DdiDXPFh.js";import"./entitlements-BFUQn2ph.js";import"./customerCredits-fzzOpXTs.js";import"./subscriptionBilling-BI1IslSf.js";import"./creditRolloutPromotion-BeC4YVJw.js";import"./supabaseClient-sffWuQ3N.js";import"./CreditSpark-CFudovqi.js";import"./CreditBalanceBadge-C-V0HPDy.js";import"./useCustomerCredits-p--QIb4V.js";import"./popover-m61Lp99i.js";import"./index-DvM0x0iU.js";import"./index-LUy1hCvC.js";import"./index-Cw8VM0xs.js";import"./index-Cy9vfnzn.js";import"./index-Crioge1s.js";import"./index-BVp0Tdx7.js";import"./index-T9Svog7G.js";import"./index-UQ17qT-9.js";import"./index-J-fEf5dc.js";import"./index-VmSN9hoN.js";import"./CreditPayerSelector-BB0v2a8E.js";import"./select-Df_wPTwI.js";import"./index-BdQq_4o_.js";import"./index-CInLAQeJ.js";import"./index-CUxlOX4q.js";import"./index-DXh2eczi.js";import"./index-BD1hNHb3.js";import"./kieTextureModels-CreMuyPj.js";import"./adminKieTexture-BMIuEGMr.js";import"./adminTextureExperiment-B4kev1dt.js";import"./types-C87yULy1.js";import"./useWebMcpTools-CZx5Iwkm.js";import"./toolUtilityDirectory-BLGwZ856.js";import"./visibleRenderLoop-DffrqbQ3.js";import"./label-DLfc8iHM.js";import"./slider-HX7Z9GND.js";import"./switch-CRzdaj5o.js";import"./accordion-CIVGY4TW.js";import"./tooltip-B5lMsaGB.js";import"./tabs-KAuV0-dx.js";import"./index-BTmqkG-y.js";import"./ImageCropper-Bfv0NNRP.js";import"./textarea-C94vs1vu.js";import"./DownloadSizeSelector-Cz6Dc5FC.js";import"./use-toast-BcPCDlL6.js";import"./adminAnalyticsEvents-sOfJXkMw.js";import"./AppDialogContext-Cc-638fG.js";import"./downloadDimensions-u8pvg_Um.js";import"./dropdown-menu-DPPKuCOK.js";import"./feedDownloads-DYjIlhGL.js";import"./operationalErrorReporting-B2bVjo1G.js";import"./imageResolutionLabels-oX2KYvHm.js";import"./CreditActionCost-i_dl50Ll.js";import"./aiTextureExports-z5fozUx0.js";/* empty css */import"./sheet-CePbb4sm.js";import"./useFirstMonthPromotionAvailability-8NBIqbxO.js";import"./useTierOffer-Bl3Bc-PP.js";import"./conversionTracking-DWcNFJCr.js";import"./offerExperimentTracking-IJOnvf1H.js";import"./marketingCampaigns-CRZ22HaS.js";import"./textureStore-BJUb6yWA.js";import"./react-CvJQA3jM.js";import"./vanilla-DtBHub2h.js";import"./hdri-DsNMFG4U.js";import"./aiTexture-E2uDKHbh.js";import"./engine-DmXWGwEn.js";import"./thinEngine.pure-CD7O0cpz.js";import"./performanceConfigurator-cmuSgoC1.js";import"./timingTools-CleB5MpD.js";import"./tools.functions-24GcyPj6.js";import"./thinEngine-eEWGQ7kx.js";import"./abstractEngine.renderPass.pure-Bs92tsxW.js";import"./engine.dynamicBuffer.pure-Dlbjp1Hw.js";import"./sphericalPolynomial.pure-fqyzQv6A.js";import"./math.vector-DCgvxc91.js";
1import"./typeStore-NwCueW6e.js";import"./baseTexture.pure-Cm_6Nuk0.js";import"./decorators-OFRvS1Lw.js";import"./decorators.serialization-BPwgV9lK.js";import"./math.color-BKsq1Qv5.js";import"./math.size-F3xmSqZc.js";import"./scene-tY-ObsZa.js";import"./scene.pure-Cx9XSZ7l.js";import"./tools-DtbOIi0j.js";import"./instantiationTools-BAenXBEq.js";import"./smartArray-BsIpkRz3.js";import"./lightConstants-cISc88M3.js";import"./deviceInputEvents-DhiOQWdB.js";import"./math.plane-DnPL_XMS.js";import"./buffer-Bdetsybu.js";import"./buffer.pure-CMCUvHaY.js";import"./renderingManager-o-F6GSiA.js";import"./arcRotateCamera-Dc40VP45.js";import"./node-CVdk3oVr.js";import"./mesh.pure-d0LIYsOD.js";import"./mesh.vertexData-Bo-yiHrn.js";import"./subMesh.pure-BBMIRw4k.js";import"./drawWrapper-CNlMYq0q.js";import"./math.viewport-CgkTt1RS.js";import"./math.axis-EMgKXUND.js";import"./material.pure-CpFH7iqb.js";import"./hemisphericLight-C1POagtg.js";import"./light-BKKkWRdg.js";import"./directionalLight-BoUUgiuo.js";import"./meshBuilder-D4apM4d2.js";import"./textBuilder-DNg1YNhI.js";import"./texture.pure-CqF0q8Ma.js";import"./vertexPullingHelper.functions-_zdCPGJJ.js";import"./pbrMetallicRoughnessMaterial-D9Sd6nlx.js";import"./pbrBaseMaterial.pure-VEtJx5IS.js";import"./texture-o43T8ty4.js";import"./textureTools-H5zVG1aC.js";import"./postProcess.pure-BNOQQPnr.js";import"./postprocess.vertex-K8vQUKJa.js";import"./postprocess.vertex-ROAKggzh.js";import"./imageProcessing-DwdPXtjV.js";import"./baseTexture.polynomial-BvIRrl-h.js";import"./cubemapToSphericalPolynomial-DUyNuyVB.js";import"./imageProcessingConfiguration-CseEQtxe.js";import"./useGenerationLimitOfferPrompt-C0TaDUrI.js";import"./generationLimitToast-D-Hh91o0.js";import"./useUserPlan-Q9_V_b0e.js";import"./toast-CFnhMuwi.js";import"./ActiveProjectContext-Qjq0SOWL.js";import"./pbrEditorInputs-B2ZEqdPD.js";import"./service-BTeZnm8e.js";import"./generationUsage-C9TJRSaC.js";import"./feedSharing-CbJKqLBs.js";import"./textureMaterialTaxonomy-BZkXN4XZ.js";import"./feedTags-B9z_f1mM.js";import"./brandCopy-C9z98UcQ.js";import"./variantUtils-CqLSrtcK.js";import"./materialNaming-CboTm6eD.js";import"./seo-CpxjGMGC.js";import"./videoStructuredData-CLWM8xkO.js";import"./useWorkSessionDraft-W2dRDOOE.js";import"./workSessionFlags-mgKLA0-s.js";import"./babylonPreviewRelief-CfLOaKeL.js";import"./defaults-G6oMcsSo.js";import"./materialGenerationWorker-C9s375GZ.js";import"./tiledHeightSampling-CfIpC5Ws.js";import"./surfaceAppearance-hIpFMYDK.js";import"./toolSupport-GhyEilG1.js";import"./input-C_qyeCIy.js";import"./checkbox-BCC4QLQl.js";const s="/app/image-to-texture",Ee="/app/sign-in";function d(){T.useEffect(()=>{const m=document.documentElement,o=document.head.querySelector('link[rel="manifest"]'),e=document.head.querySelector('meta[name="robots"]'),r=document.head.querySelector('meta[name="apple-mobile-web-app-title"]');let i=document.head.querySelector('meta[name="theme-color"]');const h=!i;i||(i=document.createElement("meta"),i.name="theme-color",document.head.appendChild(i));const g=document.title,n=(o==null?void 0:o.getAttribute("href"))??null,l=(e==null?void 0:e.getAttribute("content"))??null,u=(r==null?void 0:r.getAttribute("content"))??null,c=i.getAttribute("content"),f=m.classList.contains("dark");return document.title="PLAYTEX AI Image to Texture",m.classList.add("image-to-texture-app","dark"),o&&o.setAttribute("href","/image-to-texture.webmanifest"),e&&e.setAttribute("content","noindex, nofollow"),r&&r.setAttribute("content","PLAYTEX AI Texture"),i.setAttribute("content","#020617"),()=>{document.title=g,m.classList.remove("image-to-texture-app"),f||m.classList.remove("dark"),o&&n&&o.setAttribute("href",n),e&&l&&e.setAttribute("content",l),r&&u&&r.setAttribute("content",u),h?i.remove():c&&i.setAttribute("content",c)}},[])}function x({signInView:m=!1}){const{user:o,loading:e,signOut:r}=L();return t.jsx("header",{className:"image-to-texture-app-header sticky top-0 z-50 border-b border-white/[0.07] bg-[#050813]/92 backdrop-blur-xl",children:t.jsxs("div",{className:"relative mx-auto flex h-14 max-w-[520px] items-center justify-between gap-3 px-4",children:[m?t.jsx(a,{asChild:!0,variant:"ghost",size:"icon",className:"h-10 w-10 rounded-full text-slate-200 hover:bg-white/10 hover:text-white",children:t.jsx(p,{to:s,"aria-label":"Back to Texture Studio",children:t.jsx(v,{className:"h-5 w-5"})})}):t.jsx(p,{to:s,className:"flex h-10 w-10 items-center justify-center rounded-full focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cyan-400","aria-label":"Open Texture Studio",children:t.jsx("img",{src:I,alt:"",className:"h-14 w-14 max-w-none object-contain"})}),t.jsx("span",{className:"pointer-events-none absolute left-1/2 -translate-x-1/2 whitespace-nowrap text-[15px] font-semibold tracking-[-0.01em] text-white",children:m?"Sign in":"Texture Studio"}),t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx(N,{compact:!0}),m?null:e?t.jsx("span",{"aria-label":"Restoring account",className:"h-10 w-10 animate-pulse rounded-full bg-white/10"}):o?t.jsx(a,{type:"button",variant:"ghost",size:"icon",className:"h-10 w-10 rounded-full text-slate-300 hover:bg-white/10 hover:text-white",onClick:()=>void r(),"aria-label":"Sign out",title:"Sign out",children:t.jsx(j,{className:"h-4 w-4"})}):t.jsx(a,{asChild:!0,size:"icon",variant:"ghost",className:"h-10 w-10 rounded-full text-cyan-300 hover:bg-cyan-400/10 hover:text-cyan-200",children:t.jsx(p,{to:P(s),"aria-label":"Sign in",title:"Sign in",children:t.jsx(w,{className:"h-4 w-4"})})})]})]})})}function ye(){return d(),t.jsxs("div",{className:"image-to-texture-app-shell min-h-dvh bg-background text-foreground",children:[t.jsx(x,{}),t.jsx(b,{}),t.jsx(A,{appMode:!0})]})}function _e(){return d(),t.jsxs("div",{className:"image-to-texture-app-shell min-h-dvh bg-background text-foreground",children:[t.jsx(x,{signInView:!0}),t.jsx(S,{appMode:!0})]})}export{s as IMAGE_TO_TEXTURE_APP_PATH,Ee as IMAGE_TO_TEXTURE_APP_SIGN_IN_PATH,ye as ImageToTextureAppPage,_e as ImageToTextureAppSignInPage}; 2//# sourceMappingURL=ImageToTextureAppPage-BUg3fQn4.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.