PageSourceSearch

https://cloudmysite.ai/assets/app._id-BTvp5RX3.js

js cloudmysite.ai collected 2026-10-05 15:11:54 UTC 11,639 bytes, 75 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Chat.client-D3wYdePh.js","assets/jsx-runtime-C2UBfbyc.js","assets/index-Ctn5E0jf.js","assets/contract-C8_2XbhZ.js","assets/amplify_outputs-ByhBuvRU.js","assets/logger-AqfA_hXV.js","assets/chat-YAQO4n_L.js","assets/index-CHoi3jgE.js","assets/index-DgoachrA.js","assets/artifactTitle-DNRdmHz0.js","assets/authenticated-chat-Yvg3yA_B.js","assets/resume-DQ2pc8eQ.js","assets/aiWorkspace-DNQ8NOJn.js","assets/auth-BYwTrny6.js","assets/API-DAFHaofH.js","assets/sync-DtNvzS6k.js","assets/HostedSignInButtons-BY3xXxUD.js","assets/index-qtUc8lsi.js","assets/HostedSignInButtons-HSKQt6gX.css","assets/react-toastify.esm-DcR-pTER.js","assets/clsx-B-dksMZM.js","assets/workbench-DVZ8UPcc.js","assets/preload-helper-CLcXU_4U.js","assets/chatMode-nkbEUJmy.js","assets/chatMedia-Bm3yTEDP.js","assets/networkQuality-MoaFJ23-.js","assets/clientImageAssets-BwBgCWfG.js","assets/index-D-j07sr6.js","assets/router-CdSor0Tc.js","assets/index-DG0jpFbZ.js","assets/index-SgDwteQq.js","assets/usePromptEnhancer-5VnOEynm.js","assets/pendingDashboardPromptAttachments-BmaqZ4u2.js","assets/index-CAsT1rfk.js","assets/index-DTbehiYO.js","assets/Dropdown-Dgl1XgmV.js","assets/index-D2RkbEbt.js","assets/index-CdmNQeNf.js","assets/classNames-D4DIdros.js","assets/supportLinks-D1aYQK4l.js","assets/proxy-gn4uqtVm.js","assets/BillingExperience-D-K1LAVQ.js","assets/service-D1r3_DgS.js","assets/createLucideIcon-C_AYRPVT.js","assets/video-CFxngqn5.js","assets/mic-vocal-20U2l1KN.js","assets/pricingData-DrQtaPwh.js","assets/platformPricing-tZHuNO2h.js","assets/useBillingSummary-BO9ufWot.js","assets/refresh-cw-BgmVbcS1.js","assets/gauge-DejO41ze.js","assets/credit-card-C6H2etZq.js","assets/file-text-Bq8boU8U.js","assets/circle-alert-BPTJID5T.js","assets/components-DKMMHsO5.js","assets/single-fetch-Bfr4o6AV.js","assets/shield-check-BYYH1pJ6.js","assets/search-ZlL_h0-r.js","assets/download-BNQ6jJBj.js","assets/Button-B5kdVOtM.js","assets/Dialog-DaMOFeJE.js","assets/check-6fU0F-bx.js","assets/ImageStudio-Bk7F7h1y.js","assets/imageStudio-BZ6yVwsW.js","assets/Input-DTMX85Mn.js","assets/Tabs-DNJS30xw.js","assets/imagePricing-Y4dpxEcZ.js","assets/useImagePricingPlan-Ddd2NPJk.js","assets/stripIndent-OpH14_i6.js","assets/workspaceHistorySource-CW8zU1pv.js","assets/index-Bj4CZp8v.js","assets/workspacePromptLaunch-Cfzl8mao.js","assets/workspacePromptLaunch-CK3iMQik.css","assets/googleDrive-2-J1c5so.js","assets/runtimeUsage-CUnLOScq.js","assets/homePromptDraft-Br7wJnvm.js","assets/mutations-Dba0hfjS.js","assets/d1RuntimeProduct-DuY39u3D.js","assets/genieWebsiteRazorpay--S7PVtZf.js","assets/homeReset-ClYxhsPV.js","assets/index-CDg6de0u.js","assets/routing-5g8LK-Iv.js","assets/ReportIssueLink-2gue2bLN.js","assets/ChatClientFallback-DRLUUO3H.js","assets/AuthWrapper-BR8lelxY.js","assets/AuthWrapper-Cmd5PKjq.css","assets/Chat-BYYva2xL.css","assets/LandingWrapper-CncMR-CU.js","assets/index-BXSeZNFN.js","assets/LandingWrapper-Dq7G_H4Y.css","assets/Footer-BNYzaTo8.js"])))=>i.map(i=>d[i]);
2import{_ as b}from"./preload-helper-CLcXU_4U.js";import{r,j as e}from"./jsx-runtime-C2UBfbyc.js";import{u as C}from"./index-Ctn5E0jf.js";import{r as f,a as m,u as y}from"./homePromptDraft-Br7wJnvm.js";import{c as _,w as L,d as S,B as T,W as x,h as D}from"./workspacePromptLaunch-Cfzl8mao.js";import{s as p,u as H}from"./usePromptEnhancer-5VnOEynm.js";import{H as I}from"./Header-CdmHz6N7.js";import{c as R}from"./chat-YAQO4n_L.js";import"./networkQuality-MoaFJ23-.js";import"./chatMedia-Bm3yTEDP.js";import"./logger-AqfA_hXV.js";import"./index-CHoi3jgE.js";import"./imageStudio-BZ6yVwsW.js";import"./chatMode-nkbEUJmy.js";import"./classNames-D4DIdros.js";import"./index-DgoachrA.js";const M="qwen3.6-plus",O={name:"Qwen",staticModels:[]},A=`
3(() => {
4  const initialInput = document.getElementById('home-prompt-input');
5  const initialButton = document.getElementById('home-prompt-submit');
6
7  if (!(initialInput instanceof HTMLTextAreaElement) || !(initialButton instanceof HTMLButtonElement)) {
8    return;
9  }
10
11  const queuePrompt = () => {
12    const input = document.getElementById('home-prompt-input');
13
14    if (!(input instanceof HTMLTextAreaElement)) {
15      return false;
16    }
17
18    const prompt = input.value.trim();
19
20    if (!prompt) {
21      input.focus({ preventScroll: true });
22      return false;
23    }
24
25    try {
26      sessionStorage.setItem(
27        'cms:workspace-prompt-launch',
28        JSON.stringify({
29          id: 'workspace-launch:' + Date.now() + ':' + Math.random().toString(36).slice(2, 10),
30          prompt,
31          createdAt: Date.now(),
32        }),
33      );
34    } catch {
35      return false;
36    }
37
38    return true;
39  };
40
41  const stopEarlyHandlers = () => {
42    document.removeEventListener('click', handleEarlyClick, true);
43    document.removeEventListener('keydown', handleEarlyKeyDown, true);
44  };
45  const handleEarlyClick = (event) => {
46    if (!(event.target instanceof Element) || !event.target.closest('#home-prompt-submit')) {
47      return;
48    }
49
50    if (queuePrompt()) {
51      stopEarlyHandlers();
52    }
53  };
54  const handleEarlyKeyDown = (event) => {
55    if (
56      event.target?.id !== 'home-prompt-input' ||
57      event.key !== 'Enter' ||
58      event.shiftKey ||
59      event.isComposing
60    ) {
61      return;
62    }
63
64    event.preventDefault();
65
66    if (queuePrompt()) {
67      stopEarlyHandlers();
68    }
69  };
70
71  document.addEventListener('click', handleEarlyClick, true);
72  document.addEventListener('keydown', handleEarlyKeyDown, true);
73  initialInput.focus({ preventScroll: true });
74})();
75`;function E({onActivate:n,onEnhancingChange:o}){const i=r.useRef(null),c=f(),[l,a]=r.useState(()=>c.trim().length>0),[s,d]=r.useState(()=>p(c)),{enhancingPrompt:u,enhancePrompt:j}=H(),P=t=>{i.current&&(i.current.value=t),m(t),a(t.trim().length>0),d(p(t))},k=()=>{const t=i.current?.value.trim()||"";if(!t||u||!p(t)){i.current?.focus();return}o?.(!0),j(t,P,M,O).finally(()=>{o?.(!1)})},w=()=>{const t=i.current?.value.trim()||"";if(!t){i.current?.focus();return}m(t);const v=_(t);L(v),S(v),n?.()},N=t=>{t.key!=="Enter"||t.shiftKey||t.nativeEvent.isComposing||(t.preventDefault(),w())};return r.useEffect(()=>{const t=i.current?.value||"";t!==f()&&m(t)},[]),e.jsx("div",{className:"relative z-10 flex min-h-[90vh] w-full items-center justify-center px-4 py-12",children:e.jsxs("section",{className:"mx-auto w-full max-w-4xl",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsx("h1",{className:"text-3xl font-semibold text-bolt-elements-textPrimary md:text-5xl",children:"What do you want to build?"}),e.jsx("p",{className:"mx-auto mt-3 max-w-2xl text-sm leading-6 text-bolt-elements-textSecondary md:text-base",children:"Start with a prompt and Genie will help turn the idea into a working app or website."})]}),e.jsx("div",{className:"relative z-prompt mx-auto w-full max-w-full overflow-hidden rounded-lg border border-bolt-elements-borderColor bg-bolt-elements-background-depth-2 p-3 text-left shadow-sm backdrop-blur transition hover:border-bolt-elements-focus",children:e.jsxs("div",{className:"relative overflow-hidden rounded-lg border border-bolt-elements-borderColor shadow-xs backdrop-blur",children:[e.jsx("textarea",{id:"home-prompt-input",ref:i,rows:1,autoFocus:!0,"aria-label":"Describe what you want Genie to build",placeholder:"Describe the idea you want Genie building",defaultValue:f(),className:"block min-h-[96px] w-full resize-none bg-transparent px-4 pb-4 pt-4 text-sm font-medium leading-5 text-bolt-elements-textPrimary outline-none placeholder:text-bolt-elements-textSecondary",onFocus:n,onInput:t=>{m(t.currentTarget.value),a(t.currentTarget.value.trim().length>0),d(p(t.currentTarget.value))},onKeyDown:N}),e.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-x-3 gap-y-2 px-4 pb-4 pt-2 text-sm",children:[e.jsxs("div",{className:"flex min-w-0 flex-wrap items-center gap-1 text-bolt-elements-textSecondary",children:[e.jsx("span",{className:"inline-flex h-9 w-9 items-center justify-center rounded-lg border border-bolt-elements-borderColor",children:e.jsx("span",{className:"i-ph:plus text-xl","aria-hidden":"true"})}),e.jsx("span",{className:"inline-flex h-9 w-9 items-center justify-center rounded-lg border border-bolt-elements-borderColor",children:e.jsx("span",{className:"i-ph:microphone text-lg","aria-hidden":"true"})}),e.jsx("button",{type:"button",title:l&&!s?"Prompt is already detailed":"Enhance prompt","aria-label":l&&!s?"Prompt is already detailed":"Enhance prompt",disabled:!l||u||!s,className:"inline-flex h-9 w-9 items-center justify-center rounded-lg border border-bolt-elements-borderColor transition disabled:cursor-not-allowed disabled:opacity-50",onClick:k,children:e.jsx("span",{className:u?"i-svg-spinners:90-ring-with-bg animate-spin text-xl":"i-bolt:stars text-xl","aria-hidden":"true"})})]}),e.jsx("button",{id:"home-prompt-submit",type:"button",className:"inline-flex h-9 w-9 items-center justify-center rounded-lg bg-[#075fae] text-white",onClick:w,"aria-label":"Continue with this prompt",children:e.jsx("span",{className:"i-ph:arrow-up text-lg","aria-hidden":"true"})})]}),e.jsx("script",{dangerouslySetInnerHTML:{__html:A}})]})})]})})}let h=null;function g(){return h||(h=b(()=>import("./Chat.client-D3wYdePh.js").then(n=>n.aZ),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86])).then(n=>({default:n.Chat})).catch(n=>{throw h=null,n})),h}const B=r.lazy(g),F=r.lazy(()=>b(()=>import("./LandingWrapper-CncMR-CU.js"),__vite__mapDeps([87,1,7,40,88,70,6,8,59,20,38,89]))),K=r.lazy(()=>b(()=>import("./Footer-BNYzaTo8.js"),__vite__mapDeps([90,1,7,39,4,76,14]))),se=()=>[{title:"CloudMySite"},{name:"description",content:"Talk with Genie, an AI assistant."}];function W(){const{constrained:n}=y(),[o,i]=r.useState(!1),[c,l]=r.useState(!1),a=r.useCallback(()=>{o||g().then(()=>i(!0)).catch(s=>console.error("[home] Unable to load the chat composer.",s))}
75,[o]);return r.useEffect(()=>{if(o)return;if(window.addEventListener(x,a),D())return a(),()=>window.removeEventListener(x,a);const s=n?void 0:window.setTimeout(a,350);return()=>{window.removeEventListener(x,a),s!==void 0&&window.clearTimeout(s)}},[a,n,o]),o&&!c?e.jsx(r.Suspense,{fallback:e.jsx(E,{onActivate:a,onEnhancingChange:l}),children:e.jsx(B,{})}):e.jsx(E,{onActivate:a,onEnhancingChange:l})}function V(){const{constrained:n}=y(),[o,i]=r.useState(!1),[c,l]=r.useState(!1),a=r.useRef(null);return r.useEffect(()=>{const s=window.setTimeout(()=>i(!0),n?9e3:2500);return()=>window.clearTimeout(s)},[n]),r.useEffect(()=>{if(c||!o)return;const s=a.current;if(!s||typeof IntersectionObserver>"u"){const u=window.setTimeout(()=>l(!0),n?3e3:1e3);return()=>window.clearTimeout(u)}const d=new IntersectionObserver(([u])=>{u?.isIntersecting&&(l(!0),d.disconnect())},{rootMargin:n?"160px 0px":"520px 0px"});return d.observe(s),()=>d.disconnect()},[o,n,c]),e.jsxs(e.Fragment,{children:[e.jsx("div",{ref:a,className:"h-px","aria-hidden":"true"}),c?e.jsxs(r.Suspense,{fallback:e.jsx("div",{className:"min-h-24","aria-hidden":"true"}),children:[e.jsx(F,{}),e.jsx(K,{})]}):e.jsx("div",{className:"min-h-24","aria-hidden":"true"})]})}function ie(){const o=!C(R).started;return e.jsxs("div",{className:"cms-app-shell-bg flex h-full w-full flex-col",children:[o&&e.jsx(T,{}),o&&e.jsx(I,{}),e.jsx("div",{className:o?"min-h-[90vh]":"flex-1 min-h-[90vh]",children:e.jsx(W,{})}),o&&e.jsx(V,{})]})}export{ie as default,se as meta};

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.