(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8069],{8336:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/prompt-guide",function(){return n(2363)}])},4501:function(e,t,n){"use strict";var a=n(5893);n(7294),t.Z=function(e){let{children:t,onClick:n,className:s,disabled:o,ref:i,text:l}=e;return(0,a.jsx)("button",{className:"".concat(s," button"),ref:i,onClick:n,disabled:o,children:l||t})}},1376:function(e,t,n){"use strict";var a=n(5893);n(7294),t.Z=function(e){let t=e.btnText,n=e.btnClick,s=e.disabled,o=e.className?e.className:"",i=e.btnIcon2;return(0,a.jsxs)("button",{className:"purple-btn ".concat(o),onClick:n,disabled:s,children:[t,i]})}},7089:function(e,t,n){"use strict";var a=n(5893),s=n(1664),o=n.n(s),i=n(9332);n(7294),t.Z=function(e){let{title:t="LLUMO: Free until we save you $100k on LLMs! Eligible users only. Opt-in to get the deal",btnText:n="Opt In",isEligible:s=!1}=e;return(0,i.useRouter)(),(0,a.jsxs)("div",{className:"top-announcement-banner",children:[t,!0==s?(0,a.jsx)(o(),{href:"".concat("https://www.llumo.ai","/save-AI-cost-evaluate-LLMs"),children:(0,a.jsx)("button",{className:"opt-in",children:n})}):(0,a.jsx)(o(),{href:"".concat("https://app.llumo.ai","/signup-early-access-offer"),target:"_blank",children:(0,a.jsx)("button",{className:"opt-in",children:n})})]})}},954:function(e,t,n){"use strict";var a=n(5893),s=n(7294);n(4501);var o=n(1376),i=n(1664),l=n.n(i),r=n(7066);t.Z=e=>{let{fetchAndDownloadPdf:t,fileURL:n}=e,[i,l]=(0,s.useState)(1),[d,m]=(0,s.useState)(""),[p,h]=(0,s.useState)(""),[u,w]=(0,s.useState)([{label:"$0 - $20",value:"0-20_USD",selected:!1},{label:"$20 - $100",value:"20-100_USD",selected:!1},{label:"$100 - $1k",value:"100-1000_USD",selected:!1},{label:"$1k - $5k",value:"1000-5000_USD",selected:!1},{label:"More than $5k",value:"MORE_THAN_5K_USD",selected:!1}]),[f,x]=(0,s.useState)(null),[g,y]=(0,s.useState)(!1),[j,b]=(0,s.useState)(!1),[v,k]=(0,s.useState)(!1),N=async()=>{let e;console.log(d,p,u),b(!0),u.forEach(t=>{t.selected&&(e=t.label)});let a=await (0,r.Z)({url:"/api/submit-hubspot-form",method:"POST",data:{name:p,email:d,llmSpend:e,source:window.location.pathname}}),s=await (0,r.Z)({url:"/api/submit-lead-details",method:"POST",data:{name:p,email:d,llmSpend:e,source:window.location.pathname,pdf:n}});if("OK"===a.data.success&&"OK"===s.data.success){var o;b(!1),l(4),null===(o=window.dataLayer)||void 0===o||o.push({event:"thank_you_form_submissions",pageTypeName:"cost-ad-revenue",url:window.location.pathname,source:window.location.pathname})}t&&t()};function _(e){let t=e.trim();return/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(t)}return(0,s.useEffect)(()=>{window.innerWidth<840&&k(!0)},[]),(0,a.jsxs)(a.Fragment,{children:[i<=2&&v?(0,a.jsxs)("div",{style:{color:"black"},children:[(0,a.jsx)("h1",{className:"typeform-header-title",children:"Download for free!"}),(0,a.jsx)("p",{className:"typeform-header-description",children:"Only 50 free copies left. Get it before it's gone!"})]}):"",(0,a.jsxs)("div",{className:"typeform-modal",children:[i<=2&&(v?"":(0,a.jsxs)("div",{style:{color:"black"},children:[(0,a.jsx)("h1",{className:"typeform-header-title",children:"Download for free!"}),(0,a.jsx)("p",{className:"typeform-header-description",children:"Only 50 free copies left. Get it before it's gone!"})]})),1===i&&(0,a.jsx)("div",{className:"typeform",children:(0,a.jsxs)("div",{className:"right",children:[(0,a.jsxs)("h1",{children:["Company email",(0,a.jsx)("span",{style:{color:"red"},children:"*"})]}),(0,a.jsx)("input",{className:"new-border-design",placeholder:"Enter company email...",value:d,onChange:e=>{m(e.target.value),x(null)},maxLength:"32",onKeyPress:e=>{"Enter"===e.key&&(_(d)?""===d?x("*Please enter company name"):l(2):x("*Please enter valid company email"))}}),f&&(0,a.jsx)("span",{className:"text-danger",children:f}),(0,a.jsxs)("div",{className:"actions",children:[(0,a.jsx)(o.Z,{className:"big gradient",btnText:"Submit",btnClick:()=>{_(d)?""===d?x("*Please enter company name"):l(2):x("*Please enter valid company email")}}),v?"":(0,a.jsxs)("span",{className:"enter-text",children:["press ",(0,a.jsx)("b",{children:"enter"}),(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",className:"bi bi-arrow-return-left",viewBox:"0 0 16 16",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M14.5 1.5a.5.5 0 0 1 .5.5v4.8a2.5 2.5 0 0 1-2.5 2.5H2.707l3.347 3.346a.5.5 0 0 1-.708.708l-4.2-4.2a.5.5 0 0 1 0-.708l4-4a.5.5 0 1 1 .708.708L2.707 8.3H12.5A1.5 1.5 0 0 0 14 6.8V2a.5.5 0 0 1 .5-.5"})})]})]})]})}),2===i&&(0,a.jsx)("div",{className:"typeform",children:(0,a.jsxs)("div",{className:"right",children:[(0,a.jsxs)("h1",{children:["Select your monthly LLM cost",(0,a.jsx)("span",{className:"typeform-warning",children:"*"})]}),(0,a.jsx)("div",{className:"typeform-checklist",children:u.map((e,t)=>(0,a.jsxs)("label",{className:"label",children:[(0,a.jsx)("input",{type:"checkbox",checked:e.selected,onChange:()=>{let e=[...u];e.forEach((e,n)=>{e.selected=n===t}),w(e),x(null)}}),e.label]},"spends-".concat(t)))}),f&&(0,a.jsx)("span",{className:"text-danger",children:f}),(0,a.jsx)("div",{className:"actions",children:j?(0,a.jsx)("div",{className:"loader"}):(0,a.jsx)(o.Z,{className:"big gradient",btnText:"Yeah! that’s it",btnClick:()=>{let e=!1;u.forEach(t=>{t.selected&&(e=!0)}),e?N():x("*Please select at least one option")}})})]})}),4===i&&(0,a.jsx)(c,{})]})]})};let c=e=>{let{fetchAndDownloadPdf:t=()=>{}}=e;return(0,a.jsxs)("div",{className:"typeform-demo-booked",children:[(0,a.jsx)("img",{src:"/success-gif.gif",className:"typeform-thank-you-gif-demo"}),(0,a.jsx)("h1",{className:"typeform-thankyou-title",children:"Thank you! Download ready"}),(0,a.jsxs)("p",{className:"typeform-thankyou-description",children:["Your ebook is ready to download. If it does not automatically ",(0,a.jsx)("br",{})," ","start, click on the button below."]}),(0,a.jsx)(o.Z,{className:"big gradient full-btn",btnText:"Download Ebook",btnClick:t}),(0,a.jsxs)("p",{className:"typeform-thankyou-bye-bye-message",children:["Set up LLUMO only in 5 minutes."," ",(0,a.jsx)(l(),{href:"".concat("https://www.llumo.ai","/book-demo"),children:(0,a.jsxs)("span",{className:"typeform-thankyou-highlight",children:[" ","Book a Free Demo Call"]})}),(0,a.jsx)("br",{}),"with our experts!"]})]})}},2363:function(e,t,n){"use strict";n.r(t);var a=n(5893),s=n(7294),o=n(9008),i=n.n(o),l=n(7066),r=n(7089),c=n(954),d=n(4853);t.default=function(){let[e,t]=(0,s.useState)(!0),n=(0,s.useRef)(),o=(0,s.useRef)(),[m,p]=(0,s.useState)(!1),h=async()=>{let e=document.createElement("a");e.href="/pdf/prompting-ebook.pdf",e.download="Prompting_smartly-llumo.pdf",e.click()},u=()=>{setTimeout(()=>{if(n&&n.current){let e;let t=window.innerHeight/950;e=t<=.6?.6:t-1>0?1:(e=t+.1)-1>0?1:e,n.current.style.transform="scale(".concat(e,")")}},200)};return(0,s.useEffect)(()=>{let e;return(async()=>{try{let e=await l.Z.get("".concat("https://backend-api.llumo.ai","/api/v1/create-click/prompt"));console.log("Response:",e.data.click)}catch(e){console.error("Error:",e)}})(),u(),p(window.innerWidth<840),window.innerWidth<840&&(e=setInterval(()=>{(0,d.z)()},1500)),()=>{clearInterval(e)}},[]),(0,a.jsxs)("div",{className:"case-study-fintech-outer-container",children:[(0,a.jsx)(r.Z,{title:"Save $100k in LLM spend for free with LLUMO",btnText:"Learn how",isEligible:!0}),(0,a.jsxs)("div",{className:"case-study-fintech",ref:n,children:[(0,a.jsxs)(i(),{children:[(0,a.jsx)("title",{children:"Prompt Like a Pro in just a week | Download Guide Now"}),(0,a.jsx)("meta",{name:"keywords",content:"Prompt engineering tool"}),(0,a.jsx)("meta",{name:"description",content:"In this guide, we tell you every hack we discovered from highly paid prompt engineers at top MNCs."}),(0,a.jsx)("meta",{charset:"UTF-8"}),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, minimum-scale=1, maximum-scale=1"}),(0,a.jsx)("link",{rel:"shortcut icon",href:"img/homepage/llumo-favicon.svg"}),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,a.jsx)("meta",{name:"robots",content:"index, follow"}),(0,a.jsx)("link",{rel:"canonical",href:"".concat("https://www.llumo.ai")}),(0,a.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html"}),(0,a.jsx)("meta",{name:"description",content:"In this guide, we tell you every hack we discovered from highly paid prompt engineers at top MNCs."}),(0,a.jsx)("meta",{property:"og:title",content:"Prompt Like a Pro in just a week | Download Guide Now"}),(0,a.jsx)("meta",{property:"og:description",content:"In this guide, we tell you every hack we discovered from highly paid prompt engineers at top MNCs."}),(0,a.jsx)("meta",{name:"theme-color",content:"#0575E6"}),(0,a.jsx)("meta",{property:"og:url",content:"/"}),(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{property:"og:image",content:"/img/site_banner_80.png"}),(0,a.jsx)("meta",{property:"og:image:width",content:"300"}),(0,a.jsx)("meta",{property:"og:image:height",content:"388"}),(0,a.jsx)("meta",{property:"twitter:title",content:"Prompt Like a Pro in just a week | Download Guide Now"}),(0,a.jsx)("meta",{property:"twitter:description",content:"In this guide, we tell you every hack we discovered from highly paid prompt engineers at top MNCs."}),(0,a.jsx)("meta",{property:"twitter:type",content:"website"}),(0,a.jsx)("meta",{property:"twitter:image",content:"/public/img/site_banner_80.png"}),(0,a.jsx)("meta",{property:"twitter:image:width",content:"1200"}),(0,a.jsx)("meta",{property:"twitter:image:height",content:"630"})]}),(0,a.jsxs)("div",{className:"download-page-container",children:[(0,a.jsx)("img",{onClick:m?()=>{console.log("Inside form scroll",o.current),o.current&&o.current.scrollIntoView({behavior:"smooth"})}:()=>{},className:"guide-image",src:"/img/homepage/guide-thumbnail.webp"}),(0,a.jsx)("h5",{style:{fontSize:"16px"}})]}),(0,a.jsx)(c.Z,{fetchAndDownloadPdf:h,fileURL:"Prompting_smartly-llumo.pdf"})]})]})}},4853:function(e,t,n){"use strict";n.d(t,{T:function(){return s},z:function(){return a}});let a=()=>{try{void 0!==window.Tawk_API&&window.Tawk_API.hideWidget(),"undefined"!=typeof Tawk_API&&Tawk_API.hideWidget()}catch(e){}},s=()=>{try{void 0!==window.Tawk_API?window.Tawk_API.toggle():"undefined"!=typeof Tawk_API&&Tawk_API.toggle()}catch(e){}}},9008:function(e,t,n){e.exports=n(3709)}},function(e){e.O(0,[1664,9332,1642,7066,2888,9774,179],function(){return e(e.s=8336)}),_N_E=e.O()}]);