Added an example created by the current chatgpt.

This commit is contained in:
2023-11-18 02:49:30 +01:00
parent c445f6fd29
commit f9e79cac68
23 changed files with 179 additions and 0 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1165],{60388:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/share/[[...shareParams]]",function(){return r(66309)}])},66309:function(e,n,r){"use strict";r.r(n),r.d(n,{__N_SSP:function(){return j},config:function(){return N},default:function(){return D}});var i=r(39324),t=r(71209),s=r(10064),a=r(35250),o=r(65484),u=r(76768),l=r(25687),d=r(98800);function c(e){var n=e.sharedConversationId,r=e.initiallyHighlightedMessageId,i=e.continueConversationUrl;return(0,a.jsx)(l.gB.Provider,{value:{serverSharedThreadId:n},children:(0,a.jsx)(d.Z,{clientThreadId:n,setClientThreadId:function(){},initiallyHighlightedMessageId:r,continueConversationUrl:i})})}var h=r(66638),v=r(82473),m=r(73040),_=r.n(m),f=r(70079),g=r(1454),x=r(94968),p=r(32004),j=!0,N={runtime:"nodejs"},C=(0,x.vU)({home:{id:"sharedConversation.home",defaultMessage:"Home",description:"Home link text in error message"}});function D(e){if("error"===e.serverResponse.type)return(0,a.jsx)(w,{error:e.serverResponse.error});var n=(0,t._)((0,i._)({},e),{conversationData:e.serverResponse.data,isGizmoLive:e.isGizmoLive});return e.continueMode?(0,a.jsx)(I,(0,i._)({},n)):e.moderationMode?(0,a.jsx)(u.Z,{children:(0,a.jsx)(P,(0,i._)({},n))}):(0,a.jsx)(P,(0,i._)({},n))}function I(e){var n=(0,s._)((0,f.useState)(function(){return(0,h.OX)()}),1)[0];h.tQ.initThreadFromServerData(n,e.conversationData,!0,e.sharedConversationId);var r=(0,v.NL)();return(null!=e.plugins&&r.setQueryData(e.plugins.map(function(e){return e.id}),e.plugins),null!=e.chatPageProps)?(0,a.jsx)(o.ZP,(0,t._)((0,i._)({},e.chatPageProps),{clientThreadId:n})):null}function P(e){h.tQ.initThreadFromServerData(e.sharedConversationId,e.conversationData,!0);var n=(0,v.NL)();return null!=e.plugins&&n.setQueryData(e.plugins.map(function(e){return e.id}),e.plugins),(0,a.jsx)(c,(0,t._)((0,i._)({},e),{initiallyHighlightedMessageId:e.conversationData.highlighted_message_id,continueConversationUrl:e.conversationData.continue_conversation_url}))}function w(e){var n=e.error;return(0,a.jsx)("div",{className:"mx-8 mt-8 flex flex-col items-center sm:mt-16",children:(0,a.jsxs)("div",{className:"max-w-xl rounded-lg bg-red-500 px-8 py-4 text-white",role:"alert",children:[(0,a.jsx)("div",{children:n}),(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsxs)(_(),{href:"/",className:"flex items-center gap-2",children:[(0,a.jsx)(g.m6D,{className:"icon-sm"}),(0,a.jsx)(p.Z,(0,i._)({},C.home))]})})]})})}}},function(e){e.O(0,[1e3,746,2218,816,4865,7039,3140,1771,1522,5484,9774,2888,179],function(){return e(e.s=60388)}),_N_E=e.O()}]);
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
self.__BUILD_MANIFEST=function(a,s,t,c,e,i,n,u,d,h,g,r,p,l,f){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/_error":["static/chunks/pages/_error-d490a08110414324.js"],"/account/cancel":["static/chunks/pages/account/cancel-1af06e975d5bc5e1.js"],"/account/manage":["static/chunks/pages/account/manage-a0fbda666e9b0343.js"],"/admin":[a,t,s,c,d,"static/chunks/pages/admin-dcf4343a04e4fc7d.js"],"/admin/analytics":["static/chunks/3a34cc27-fd0458d5c342aa61.js",a,"static/chunks/7549-d2a333e769651485.js",s,d,"static/chunks/pages/admin/analytics-05f297468b40854d.js"],"/admin/billing":[a,s,d,"static/chunks/pages/admin/billing-35ec7c4bed34e662.js"],"/admin/identity":[a,s,d,"static/chunks/pages/admin/identity-f88c1752d58087ae.js"],"/admin/settings":[a,s,d,"static/chunks/pages/admin/settings-074015e8cb658878.js"],"/aip/[pluginId]/oauth/callback":["static/chunks/pages/aip/[pluginId]/oauth/callback-85e205475ec10adb.js"],"/auth/enable/internal":["static/chunks/pages/auth/enable/internal-8ba4ac8742fe3d36.js"],"/auth/error":["static/chunks/pages/auth/error-12a1a5880d954ff3.js"],"/auth/ext_callback":["static/chunks/pages/auth/ext_callback-36fadce863509d6e.js"],"/auth/ext_callback_refresh":["static/chunks/pages/auth/ext_callback_refresh-263fe33e91da4138.js"],"/auth/login":[r,p,"static/chunks/pages/auth/login-d5cbe75e0941177f.js"],"/auth/logout":["static/chunks/pages/auth/logout-bb2308302fb2a5fc.js"],"/auth/mocked_login":["static/chunks/pages/auth/mocked_login-97791f0ef4d86c6e.js"],"/bypass":["static/chunks/pages/bypass-202fafcff9483568.js"],"/g/[gizmoId]":[a,t,e,h,s,c,i,n,u,g,"static/chunks/pages/g/[gizmoId]-ebfa5195f9e27f15.js"],"/g/[gizmoId]/c/[convId]":[a,t,e,h,s,c,i,n,u,g,"static/chunks/pages/g/[gizmoId]/c/[convId]-1bc6711ae56b016a.js"],"/gpts/discovery":[a,t,e,s,c,i,u,l,"static/chunks/pages/gpts/discovery-1280a51a863006ef.js"],"/gpts/editor":[a,e,i,n,f,"static/chunks/pages/gpts/editor-e667c3013843fb8e.js"],"/gpts/editor/[slug]":[a,e,i,n,f,"static/chunks/pages/gpts/editor/[slug]-36bcab9800e06547.js"],"/gpts/mine":[a,t,e,s,c,i,u,l,"static/chunks/pages/gpts/mine-952a7cf2b8ae5af7.js"],"/invite/accepted":["static/chunks/pages/invite/accepted-057f83fff31ca583.js"],"/invite/[[...referralCodeParam]]":[r,p,"static/chunks/pages/invite/[[...referralCodeParam]]-991577b58917aff1.js"],"/payments/success":[t,c,"static/chunks/pages/payments/success-d4674757d9f77cb1.js"],"/payments/success-team":[t,c,"static/chunks/pages/payments/success-team-c2e286b0cec5c1e0.js"],"/payments/success-trial":[t,c,"static/chunks/pages/payments/success-trial-3f7410fca5c2c16a.js"],"/share/e/[[...shareParams]]":[a,t,e,h,s,c,i,n,u,g,"static/chunks/pages/share/e/[[...shareParams]]-fab7f6a0fb00625d.js"],"/share/[[...shareParams]]":[a,t,e,h,s,c,i,n,u,g,"static/chunks/pages/share/[[...shareParams]]-e7060ec51c7d913a.js"],"/status":[r,"static/chunks/pages/status-03bb84512fd5abd5.js"],"/templates":[a,t,e,s,c,i,u,"static/chunks/pages/templates-de1d99263b4e2bac.js"],"/templates/editor":[a,e,i,n,"static/chunks/pages/templates/editor-63b849500c822a0b.js"],"/workspace/deactivated":["static/chunks/pages/workspace/deactivated-04e6741bdb90906e.js"],"/[[...default]]":[a,t,e,h,s,c,i,n,u,g,"static/chunks/pages/[[...default]]-f868c934c5c60035.js"],sortedPages:["/_app","/_error","/account/cancel","/account/manage","/admin","/admin/analytics","/admin/billing","/admin/identity","/admin/settings","/aip/[pluginId]/oauth/callback","/auth/enable/internal","/auth/error","/auth/ext_callback","/auth/ext_callback_refresh","/auth/login","/auth/logout","/auth/mocked_login","/bypass","/g/[gizmoId]","/g/[gizmoId]/c/[convId]","/gpts/discovery","/gpts/editor","/gpts/editor/[slug]","/gpts/mine","/invite/accepted","/invite/[[...referralCodeParam]]","/payments/success","/payments/success-team","/payments/success-trial","/share/e/[[...shareParams]]","/share/[[...shareParams]]","/status","/templates","/templates/editor","/workspace/deactivated","/[[...default]]"]}}("static/chunks/1000-24eb62b6e8155941.js","static/chunks/4865-3aa2d272a1d0ff2d.js","static/chunks/746-eab25b542a9f034f.js","static/chunks/7039-444584ffa4058090.js","static/chunks/2218-09b494c53ed259e0.js","static/chunks/3140-a1f94b13ff8410eb.js","static/chunks/1771-586e6d98fcf9fdf6.js","static/chunks/1522-315edae02f2bbfb3.js","static/chunks/3085-7dfe31d0fece616f.js","static/chunks/816-8c024f2a4f17bee4.js","static/chunks/5484-59ca1593cb8cedf0.js","static/chunks/8504-99e757dd206d32ab.js","static/chunks/6848-1c2f8f115bcccc86.js","static/chunks/6673-1b0a6aa13a38e623.js","static/chunks/2778-08d73ffc0780f184.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
@@ -0,0 +1 @@
self.__SSG_MANIFEST=new Set,self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB();
@@ -0,0 +1,2 @@
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><script>window['__CF$cv$params']={r:'827c84d2fe8fcb09',t:'MTcwMDI3MTc2OC4wMzQwMDA='};_cpo=document.createElement('script');_cpo.nonce='',_cpo.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js',document.getElementsByTagName('head')[0].appendChild(_cpo);</script><script src="a_data/main.js"></script></head><body></body></html>
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+18
View File
@@ -0,0 +1,18 @@
@book{knuth,
author = {Knuth, Donald E.},
title = {The Art of Computer Programming},
subtitle = {Fundamental Algorithms},
volume = {1},
publisher = {Addison-Wesley},
location = {Reading, Massachusetts},
edition = {3},
year = {1997}
}
@online{scheme,
author = {Shinn, Alex and Cowan, John and Gleckler, Arthur A.},
title = {Scheme Reports Process},
year = {2013},
urldate = {2020-07-13},
url = {http://www.scheme-reports.org/}
}