PageSourceSearch

https://www.yeschat.ai/_next/static/chunks/pages/use-gpt4-for-free-fd489b2686a0ac50.js

js yeschat.ai collected 2026-09-25 02:31:34 UTC 11,031 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[555],{91478:function(e,t,r){"use strict";r.d(t,{S:function(){return l}});let n=[];for(let e=0;e<256;++e)n.push((e+256).toString(16).slice(1));function l(e,t=0){return n[e[t+0]]+n[e[t+1]]+n[e[t+2]]+n[e[t+3]]+"-"+n[e[t+4]]+n[e[t+5]]+"-"+n[e[t+6]]+n[e[t+7]]+"-"+n[e[t+8]]+n[e[t+9]]+"-"+n[e[t+10]]+n[e[t+11]]+n[e[t+12]]+n[e[t+13]]+n[e[t+14]]+n[e[t+15]]}},14177:function(e,t,r){"use strict";let n;r.d(t,{Z:function(){return i}});var l={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let s=new Uint8Array(16);var a=r(91478),i=function(e,t,r){if(l.randomUUID&&!t&&!e)return l.randomUUID();let i=(e=e||{}).random||(e.rng||function(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(s)})();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=i[e];return t}return(0,a.S)(i)}},41832:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/use-gpt4-for-free",function(){return r(59445)}])},34189:function(e,t,r){"use strict";var n=r(15311),l=r(33326),s=r.n(l),a=r(5762),i=r(55970);t.Z=e=>{let{title:t,description:r,children:l,supportedLanguages:c,asPath:o}=e,d=(0,a.useRouter)();return(0,n.jsxs)(s(),{children:[(0,n.jsx)("title",{children:"function"==typeof t?t():t}),(0,n.jsx)("meta",{name:"description",content:"function"==typeof r?r():r}),c?c.length>0?c.map(e=>{let t=`${i.h}`+("en"===e?"":`/${e}`)+o;return(0,n.jsx)("link",{rel:"alternate",hreflang:e,href:t},e)}):(0,n.jsx)(n.Fragment,{}):d.locales.map(e=>{let t=`${i.h}`+("en"===e?"":`/${e}`)+o;return(0,n.jsx)("link",{rel:"alternate",hreflang:e,href:t},e)}),l]})}},68153:function(e,t,r){"use strict";r.d(t,{n:function(){return a}});var n=r(15311),l=r(20132),s=r(8771);function a(e){let{siteKey:t="",verifyChatLoading:r=!0,success:a,error:i}=e,c=(0,l.useRef)(),[o,d]=(0,l.useState)("");return(0,l.useEffect)(()=>{if(r){if("solved"===o){let e=c.current?.getResponse();e?(a(e),d("expired")):c.current?.resetCaptcha()}else""!==o&&c.current?.resetCaptcha()}},[r,o]),(0,n.jsx)(s.Z,{sitekey:t||"af3cd674-b602-446e-b782-a4941f740554",onError:()=>d("error"),onExpire:()=>d("expired"),onVerify:()=>d("solved"),ref:c})}},6083:function(e,t,r){"use strict";r.d(t,{z:function(){return p}});var n=r(15311),l=r(20132),s=r(32359),a=r(33908),i=r(47201),c=r.n(i),o=r(92851);r(33343),r(86233),r(93065),r(54476),r(8750),r(83248),r(31150);var d=r(96367),u=r(80045),x=r(11569);r(72148);let f={singleDollarTextMath:!1},h=e=>{let{children:t}=e,r=t.replace(/�/g,"");return(0,n.jsx)("span",{children:r})};function p(e){let{children:t}=e,[r,i]=(0,l.useState)({}),[p,g]=(0,l.useState)("");(0,l.useEffect)(()=>{t?g(t.replace(/[\ue000-\uf8ff]/g,"").replace(/\\\[\s*([^[\]]*?(?:\^|\\log|_|\*|\/|\+|\-|=|\\frac|\\sqrt|\\sin|\\cos|\\tan)[^[\]]*?)\s*\\\]/gi,(e,t)=>`$$ ${t} $$`)):g("")},[t]);let m=e=>e.split("").reduce((e,t)=>(e<<5)-e+t.charCodeAt(0),0),j=e=>{let t=m(e);return()=>{navigator.clipboard.writeText(e).then(()=>{i({...r,[t]:"Copied!"}),setTimeout(()=>i({...r,[t]:"Copy code"}),2e3)},e=>{console.error("Async: Could not copy text: ",e)})}},y=e=>{let{value:t,language:l}=e,s=c().highlight(t,c().languages[l]||c().languages.javascript,l||"text"),a=m(t);return(0,n.jsx)("pre",{className:(0,o.Z)("my-1"),children:(0,n.jsxs)("div",{className:"rounded-md bg-black",children:[(0,n.jsxs)("div",{className:"relative flex items-center justify-between rounded-t-md bg-gray-800 px-4 py-2 font-sans text-xs text-gray-200",children:[(0,n.jsx)("span",{children:l}),(0,n.jsx)("button",{onClick:j(t),className:"ml-auto flex items-center gap-2",children:r[a]||"Copy code"})]}),(0,n.jsx)("div",{className:"overflow-x-auto p-4 text-white",children:(0,n.jsx)("code",{dangerouslySetInnerHTML:{__html:s},className:"overflow-x-auto !whitespace-pre"})})]})})};return Object.hasOwn||(Object.hasOwn=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)),(0,n.jsx)(s.U,{remarkPlugins:[a.Z,[u.Z,f]],rehypePlugins:[x.Z],components:{a:e=>{let{href:t,title:r,children:s}=e,[a,i]=(0,l.useState)({show:!1,x:0,y:0});return"【source】"===s?(0,n.jsxs)("a",{href:t,target:"_blank",onMouseEnter:e=>{let{clientX:t,clientY:r}=e;i({show:!0,x:t-15,y:r-30})},onMouseLeave:()=>{i({...a,show:!1})},rel:"noopener noreferrer",className:"relative ml-0.5 inline-block align-sub",children:[(0,n.jsx)(d.k,{icon:"source",className:"text-link-base hover:text-link-hover w-5"}),a.show&&(0,n.jsxs)("span",{style:{position:"fixed",left:`${a.x}px`,top:`${a.y}px`},className:"inline-flex w-[max-content] items-center rounded bg-black px-3 py-1 text-xs text-white",children:[r||t,(0,n.jsx)(d.k,{icon:"jumpLink",className:"ml-1 w-3 fill-gray-200"})]})]}):(0,n.jsx)("a",{href:t,title:t,target:"_blank",rel:"noopener noreferrer",className:"px-1",children:r||s||t})},text:h,code(e){let{node:t,inline:r,className:l,children:s,...a}=e,i=/language-(.+)/.exec(l||"");return!r&&i?(0,n.jsx)(y,{value:String(s||"").replace(/\n$/,""),language:i[1]}):(0,n.jsx)("code",{className:l,...a,children:s})}},children:p})}},59445:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return j},default:function(){return y}});var n=r(15311);r(20132);var l=r(5724),s=r(59386),a=r(60708),i=r(3605),c=r(91629);function o(){let{t:e}=(0,l.Z)("gpt4ForFree");return(0,n.jsx)("section",{id:"introduction",className:"relative pb-6 pt-10 md:pt-14",children:(0,n.jsx)(i.W,{children:(0,n.jsxs)("div",{className:"grid grid-cols-1 items-center gap-8",children:[(0,n.jsx)("h1",{className:"w-full text-3xl font-bold tracking-tight md:text-4xl",children:e("head.title")}),(0,n.jsx)(c.G,{answerName:"GPT4 ChatBot",helloTitle:"Hello,I am GPT-4. How may I assist you today ?",placeholderMessage:"message GPT-4"}),(0,n.jsx)("div",{className:"relative flex w-full flex-col items-start",children:(0,n.jsx)("div",{className:"relative w-full",children:(0,n.jsx)("p",{className:"w-full whitespace-pre-line text-sm text-gray-900 md:text-lg",children:e("introduction")})})})]})})})}function d(){let{t:e}=(0,l.Z)("gpt4ForFree");return(0,n.jsx)("section",{id:"free",className:"relative py-6",children:(0,n.jsx)(i.W,{children:(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsx)("h2",{className:"w-full text-xl font-bold tracking-tight text-gray-800 md:text-3xl",children:e("free.title")}),(0,n.jsx)("p",{className:"mt-2 w-full whitespace-pre-line text-sm text-gray-700 md:text-lg",children:e("free.content")})]})})})}function u(){let{t:e}=(0,l.Z)("gpt4ForFree");return(0,n.jsx)("section",{id:"beFree",className:"relative py-6",children:(0,n.jsx)(i.W,{children:(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsx)("h2",{className:"w-full text-xl font-bold tracking-tight text-gray-800 md:text-3xl",children:e("beFree.title")}),(0,n.jsx)("p",{className:"mt-2 w-full whitespace-pre-line text-sm text-gray-700 md:text-lg",children:e("beFree.content")})]})})})}function x(){let{t:e}=(0,l.Z)("gpt4ForFree"),t=e("forFree.list",{},{returnObjects:!0});return(0,n.jsx)("section",{id:"forFree",className:"relative py-6",children:(0,n.jsxs)(i.W,{children:[(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsx)("h2",{className:"w-full text-xl font-bold tracking-tight text-gray-800 md:text-3xl",children:e("forFree.title")}),(0,n.jsx)("p",{className:"mt-2 w-full whitespace-pre-line text-sm text-gray-700 md:text-lg",children:e("forFree.content")})]}),(0,n.jsx)("ul",{role:"list",className:"mt-4 grid w-full grid-cols-1 gap-4",children:t.map((e,t)=>(0,n.jsxs)("li",{className:"order-first flex flex-col gap-y-1 overflow-hidden rounded-lg border-l-4 border-gray-500 bg-gradient-to-r from-gray-500/5 to-gray-500/10 p-4 lg:
1order-none",children:[(0,n.jsx)("h3",{className:"font-display text-lg tracking-tight text-slate-900",children:e.title}),(0,n.jsx)("p",{className:"whitespace-pre-line text-xs text-slate-600 md:text-sm",children:e.content})]},t))})]})})}function f(){let{t:e}=(0,l.Z)("gpt4ForFree");return(0,n.jsx)("section",{id:"apiFree",className:"relative py-6",children:(0,n.jsx)(i.W,{children:(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsx)("h2",{className:"w-full text-xl font-bold tracking-tight text-gray-800 md:text-3xl",children:e("apiFree.title")}),(0,n.jsx)("p",{className:"mt-2 w-full whitespace-pre-line text-sm text-gray-700 md:text-lg",children:e("apiFree.content")})]})})})}function h(){let{t:e}=(0,l.Z)("gpt4ForFree");return(0,n.jsx)("section",{id:"conclusion",className:"relative py-6",children:(0,n.jsx)(i.W,{children:(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsx)("h2",{className:"w-full text-xl font-bold tracking-tight text-gray-800 md:text-3xl",children:e("conclusion.title")}),(0,n.jsx)("p",{className:"mt-2 w-full whitespace-pre-line text-sm text-gray-700 md:text-lg",children:e("conclusion.content")})]})})})}var p=r(34189),g=r(55970),m=r(5762),j=!0,y=e=>{let{secondaryPageFooterList:t,navigationData:r}=e,{t:i}=(0,l.Z)("gpt4ForFree"),c=(0,m.useRouter)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(p.Z,{title:i("head.title"),description:i("head.description"),asPath:"/use-gpt4-for-free",children:(0,n.jsx)("link",{rel:"canonical",href:`${g.h}/${"en"===c.locale?"":`${c.locale}/`}use-gpt4-for-free`})}),(0,n.jsx)(s.h,{navigationData:r}),(0,n.jsxs)("main",{className:"py-20",children:[(0,n.jsx)(o,{}),(0,n.jsx)(d,{}),(0,n.jsx)(u,{}),(0,n.jsx)(x,{}),(0,n.jsx)(f,{}),(0,n.jsx)(h,{})]}),(0,n.jsx)(a.$,{secondaryPageFooterList:t})]})}},55970:function(e,t,r){"use strict";r.d(t,{h:function(){return n}});let n="https://www.yeschat.ai"},36037:function(e,t,r){"use strict";r.d(t,{QO:function(){return l},YZ:function(){return n}});let n=()=>{var e=new Date,t=e.getFullYear(),r=e.getMonth(),n=e.getDate();e.getDay();var l=e.getHours(),s=e.getMinutes(),a=e.getSeconds();return(r+=1)<10&&(r="0"+r),n<10&&(n="0"+n),l<10&&(l="0"+l),s<10&&(s="0"+s),a<10&&(a="0"+a),t+"-"+r+"-"+n+" "+l+":"+s+":"+a};function l(e){let t=Math.floor((e=Math.round(e))/60),r=e%60,n=t.toFixed(0).padStart(2,"0"),l=r.toFixed(0).padStart(2,"0");return`${n}:${l}`}},92238:function(e,t,r){"use strict";r.d(t,{F:function(){return a}});var n=r(85655),l=r(81013),s=r(28994);async function a(e){let{url:t,body:r,headers:a,handleLine:i}=e,c=(0,n.cD)(),o=await (0,s.Ki)(),d=new TextDecoder;try{let e=(await fetch(t,{method:"POST",body:JSON.stringify(r),headers:{"Content-Type":"application/json",authorization:c,uniqueId:o,...a}})).body.getReader(),n="";for(;;){let l=[],{done:s,value:c}=await e.read();if(s)l.push(n);else{let e=d.decode(c);n=(l=(n+e).split("\n")).pop()}let o=!1;for(let e of l)if(e){let n=await i(e);n&&(n instanceof Function&&await n({url:t,body:r,headers:a,handleLine:i}),o=!0)}if(o||s)break}}catch(e){console.error(e),l.Am.error("Network error, please try again later")}}},39858:function(){},60687:function(){}},function(e){e.O(0,[2251,4407,6342,1265,1888,4225,8494,4549,7721,7621,8771,1481,4372,6819,1560,6367,4951,6840,2888,9774,179],function(){return e(e.s=41832)}),_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.