1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4348],{52183:(e,t,s)=>{s.d(t,{U:()=>r});var a=s(65364);let r={domain:a.env.NEXT_PUBLIC_API_URL||"https://prod-api.therealfeel.ai/v1/api",stripePublicKey:"pk_live_51PcpfR2NQ3PpcajiKjnIaBkl2qwctekNPTPLDbx0C68YJx9BSH5C2hubWN35nGoPw0VsWtYoik9SgKBMS5H9kWmQ00cBQ1uIYJ",host:a.env.NEXT_PUBLIC_LOCAL_HOST,domainUrl:a.env.NEXT_PUBLIC_LOCAL_DOMAIN_URL,Header:{"Content-Type":"application/json"},timeout:6e4,maxRetry:2}},54336:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(37876),r=s(14232);let l=e=>{let{duration:t=5,showTimer:s=!0}=e,[l,n]=(0,r.useState)(t),i=(t-l)/t*100;return(0,r.useEffect)(()=>{if(l>0){let e=setTimeout(()=>{n(l-1)},1e3);return()=>clearTimeout(e)}},[l]),(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center space-y-6 py-8",children:[(0,a.jsx)("div",{className:"w-16 h-16 border-4 border-green-200 border-t-green-600 rounded-full animate-spin"}),(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("p",{className:"text-green-700 font-semibold text-xl mb-2",children:"Processing your payment..."}),(0,a.jsx)("p",{className:"text-black text-sm",children:"Please wait while we complete your transaction"})]}),(0,a.jsx)("div",{className:"w-48 bg-green-100 rounded-full h-2",children:(0,a.jsx)("div",{className:"bg-green-600 h-2 rounded-full transition-all duration-1000 ease-out",style:{width:"".concat(i,"%")}})}),s&&(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("p",{className:"text-black text-sm mb-1",children:"Opening in"}),(0,a.jsxs)("p",{className:"font-bold text-sm text-green-700 ",children:[l,"s"]}
1)]}),(0,a.jsxs)("div",{className:"flex space-x-2",children:[(0,a.jsx)("div",{className:"w-2 h-2 bg-green-500 rounded-full animate-bounce",style:{animationDelay:"0ms"}}),(0,a.jsx)("div",{className:"w-2 h-2 bg-green-600 rounded-full animate-bounce",style:{animationDelay:"150ms"}}),(0,a.jsx)("div",{className:"w-2 h-2 bg-green-700 rounded-full animate-bounce",style:{animationDelay:"300ms"}})]})]})}},54958:(e,t,s)=>{s.d(t,{Q:()=>h});var a=s(37876),r=s(24006),l=s(41709),n=s(14232),i=s(54587),o=s.n(i),c=s(55142);let d={src:"/_next/static/media/crownKingIcon.aea99df5.svg",height:32,width:32,blurWidth:0,blurHeight:0};var x=s(69396),m=s(69241);s(38248);let h=e=>{let{isAccessAPIUser:t,tokenToCopy:s,isOpen:i,onClose:h,buttonText:u,title:f,message:p,isUpgrade:b,subscriptionMessage:g,isFirstTimeLogin:y,isPaymentProcessing:j,paymentType:v,activeTabName:w,additionalMessage:N,isGeneratingMessage:k="Your API Key is being generated. Please wait..."}=e,A=(0,n.useRef)(null),[P,C]=(0,n.useState)(30*!!j),[_,H]=(0,n.useState)(!1),I=_&&"Insight Reports"===w&&"card"!==v?(0,a.jsxs)("strong",{style:{fontSize:"14px"},children:["PLEASE NOTE - You may still see the âPurchaseâ button listed for your selected insights report. It may take up to FOUR business days before you can view the report. Please contact"," ",(0,a.jsx)("a",{style:{color:"blue"},href:"mailto:[email protected]",children:"[email protected]"})," ","if youâd like to view the Report & raw data file sooner."]}):p;(0,n.useEffect)(()=>{if(j){C(30),H(!1);let e=setInterval(()=>{C(t=>t<=1?(clearInterval(e),H(!0),0):t-1)},1e3);return()=>clearInterval(e)}},[j]);let F=(0,n.useRef)(),[T,U]=(0,n.useState)(!1);return(0,a.jsx)(r.e,{appear:!0,show:i,as:n.Fragment,children:(0,a.jsxs)(l.l,{as:"div",initialFocus:A,ref:A,className:"relative z-[9999]",onClose:()=>null,children:[(0,a.jsx)(r.e.Child,{as:n.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,a.jsx)("div",{className:"fixed inset-0 bg-black/25"})}),(0,a.jsx)("div",{className:"fixed inset-0 overflow-y-auto",children:(0,a.jsx)("div",{className:"flex min-h-full items-center justify-center p-4 text-center bg-black-900 bg-opacity-80",children:(0,a.jsx)(r.e.Child,{as:n.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,a.jsx)(l.l.Panel,{className:"md:w-[388px] flex relative flex-col text-left shrink-0 w-full h-auto gap-6 rounded-xl bg-black-0 p-8",children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"w-fit m-auto rounded-12 p-3 bg-green-100",children:(0,a.jsx)(o(),{src:y?d:c.A,width:32,height:32,alt:"right sign"})}),(0,a.jsx)("h2",{className:"font-bold text-Golos text-xl text-center leading-6 text-black-700",children:f}),!b&&(0,a.jsxs)("div",{className:"w-full flex flex-row gap-3 justify-between items-center",children:[(0,a.jsx)(o(),{className:"border border-black-50",src:x.A,width:92,height:92,alt:"thumbnailReport"}),(0,a.jsx)("p",{className:"font-normal text-Golos text-base leading-5 text-black-700",children:g})]}),(0,a.jsx)("p",{className:"font-normal text-Golos text-base leading-5 text-black-700 text-center",children:I}),N&&(0,a.jsx)("p",{className:"font-normal text-Golos text-base leading-5 text-black-700 text-center",children:N}),s&&(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-[#2B353F] text-sm mb-1 font-normal text-[16px]",children:"API Key"}),(0,a.jsxs)("div",{className:(0,m.A)("flex items-center justify-between max-h-10 overflow-y-hidden border px-3 py-2 rounded-md min-h-[48px] transition-colors duration-300",T?"bg-green-100 border-green-400":" border-[#A2ABB4]"),children:[(0,a.jsx)("span",{ref:F,className:(0,m.A)("text-sm truncate text-center flex items-center justify-center transition-all duration-300",T?"text-green-700 font-semibold":"text-gray-800"),children:T?"API Key Copied":"string"==typeof s?(0,a.jsx)("p",{className:"font-bold",children:s}):(0,a.jsx)("div",{className:"flex items-center justify-center w-full",children:s})}),(0,a.jsx)("button",{onClick:function(){s&&"string"==typeof s&&(navigator.clipboard.writeText(s),U(!0),setTimeout(()=>{U(!1)},3e3))},disabled:"string"!=typeof s,className:(0,m.A)("ml-3 transition-colors duration-200 flex items-center justify-center","string"!=typeof s?"text-gray-300 cursor-not-allowed":T?"text-green-700 hover:text-black":"text-gray-500 hover:text-black"),"aria-label":"API Key",children:(0,a.jsx)("span",{className:(0,m.A)("inline-block transition-transform duration-300","string"!=typeof s?"scale-100 opacity-50":T?"scale-125 rotate-12":"scale-100 rotate-0"),children:(0,a.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M18 0H8C6.897 0 6 0.897 6 2V6H2C0.897 6 0 6.897 0 8V18C0 19.103 0.897 20 2 20H12C13.103 20 14 19.103 14 18V14H18C19.103 14 20 13.103 20 12V2C20 0.897 19.103 0 18 0ZM2 18V8H12L12.002 18H2ZM18 12H14V8C14 6.897 13.103 6 12 6H8V2H18V12Z",fill:"string"!=typeof s?"#D1D5DB":"#5C6A76"})})})})]}),(0,a.jsxs)("div",{className:"flex bg-[#F6F7F8] w-full mt-4 text-[16px] text-red-500 font-semibold",children:[(0,a.jsx)("div",{className:"min-w-[2px] min-h-full bg-[#318811]"}),(0,a.jsx)("div",{className:"py-[10px] px-[8px] ",children:"string"==typeof s?"Note- Here is your same API key. Please copy and store it somewhere safe, this key will not be shown again.":"Note: ".concat(k)})]})]})}),u&&(0,a.jsx)("button",{disabled:P>0,onClick:h,className:"w-full h-[42px] px-4 py-3 flex flex-row justify-center items-center gap-[10px] rounded-[4px] font-Golos text-base font-medium text-white ".concat(P>0?"bg-gray-500":"bg-green-700"),children:P>0?"Processing... ".concat(P,"s"):u}),j&&P>0&&(0,a.jsxs)("p",{className:"font-normal text-Golos text-base leading-5 text-black-700 text-center",children:["Please wait while we process your payment... ",P,"s"]})]})})})})})]})})}},55142:(e,t,s)=>{s.d(t,{A:()=>a});let a={src:"/_next/static/media/right_sign.382b54ba.svg",height:24,width:24,blurWidth:0,blurHeight:0}},69241:(e,t,s)=>{function a(){for(var e,t,s=0,a="",r=arguments.length;s<r;s++)(e=arguments[s])&&(t=function e(t){var s,a,r="";if("string"==typeof t||"number"==typeof t)r+=t;else if("object"==typeof t)if(Array.isArray(t)){var l=t.length;for(s=0;s<l;s++)t[s]&&(a=e(t[s]))&&(r&&(r+=" "),r+=a)}else for(a in t)t[a]&&(r&&(r+=" "),r+=a);return r}(e))&&(a&&(a+=" "),a+=t);return a}s.d(t,{$:()=>a,A:()=>r});let r=a},69396:(e,t,s)=>{s.d(t,{A:()=>a});let a={src:"/_next/static/media/thumbnailReport.35d74b3b.svg",height:277,width:277,blurWidth:0,blurHeight:0}},99744:(e,t,s)=>{s.d(t,{FE:()=>n,dO:()=>i});
1var a=s(91040),r=s(52183),l=s(38248);let n=a.A.create({baseURL:r.U.domain,timeout:r.U.timeout,headers:r.U.Header}),i=a.A.create({baseURL:r.U.domain,timeout:r.U.timeout,headers:r.U.Header});n.interceptors.request.use(e=>{let t=(0,l.getCookie)("accessToken");return t&&(e.headers.Authorization="".concat(t)),e},e=>Promise.reject(e)),i.interceptors.response.use(e=>e,e=>Promise.reject(e&&e.response)),n.interceptors.response.use(e=>e,e=>Promise.reject(e&&e.response))}}]);
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.