PageSourceSearch

https://synthopic.ai/_next/static/chunks/6940-2b4d92ae60c7f9ab.js

js synthopic.ai collected 2026-10-05 14:00:03 UTC 12,480 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6940],{6940:function(e,t,r){var o,i=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(l,{createBrowserSupabaseClient:()=>O,createClientComponentClient:()=>c,createMiddlewareClient:()=>k,createMiddlewareSupabaseClient:()=>B,createPagesBrowserClient:()=>p,createPagesServerClient:()=>g,createRouteHandlerClient:()=>x,createServerActionClient:()=>A,createServerComponentClient:()=>S,createServerSupabaseClient:()=>E}),e.exports=((e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let r of a(t))s.call(e,r)||void 0===r||i(e,r,{get:()=>t[r],enumerable:!(o=n(t,r))||o.enumerable});return e})(i({},"__esModule",{value:!0}),l);var u=r(50373);function c({supabaseUrl:e="https://fgqcirnrowwmjlvdpqio.supabase.co",supabaseKey:t="sb_publishable_2Bcdq9vrbcgQlpY7cofXcg_modQkCBZ",options:r,cookieOptions:i,isSingleton:n=!0}={}){if(!e||!t)throw Error("either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!");let a=()=>{var o;return(0,u.createSupabaseClient)(e,t,{...r,global:{...null==r?void 0:r.global,headers:{...null==(o=null==r?void 0:r.global)?void 0:o.headers,"X-Client-Info":"@supabase/[email protected]"}},auth:{storage:new u.BrowserCookieAuthStorageAdapter(i)}})};if(n){let e=o??a();return"undefined"==typeof window?e:(o||(o=e),o)}return a()}var p=c,d=r(50373),h=r(40885),f=class extends d.CookieAuthStorageAdapter{constructor(e,t){super(t),this.context=e}getCookie(e){var t,r,o;return(0,h.splitCookiesString)((null==(r=null==(t=this.context.res)?void 0:t.getHeader("set-cookie"))?void 0:r.toString())??"").map(t=>(0,d.parseCookies)(t)[e]).find(e=>!!e)??(null==(o=this.context.req)?void 0:o.cookies[e])}setCookie(e,t){this._setCookie(e,t)}deleteCookie(e){this._setCookie(e,"",{maxAge:0})}_setCookie(e,t,r){var o;let i=(0,h.splitCookiesString)((null==(o=this.context.res.getHeader("set-cookie"))?void 0:o.toString())??"").filter(t=>!(e in(0,d.parseCookies)(t))),n=(0,d.serializeCookie)(e,t,{...this.cookieOptions,...r,httpOnly:!1});this.context.res.setHeader("set-cookie",[...i,n])}};function g(e,{supabaseUrl:t="https://fgqcirnrowwmjlvdpqio.supabase.co",supabaseKey:r="sb_publishable_2Bcdq9vrbcgQlpY7cofXcg_modQkCBZ",options:o,cookieOptions:i}={}){var n;if(!t||!r)throw Error("either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!");return(0,d.createSupabaseClient)(t,r,{...o,global:{...null==o?void 0:o.global,headers:{...null==(n=null==o?void 0:o.global)?void 0:n.headers,"X-Client-Info":"@supabase/[email protected]"}},auth:{storage:new f(e,i)}})}var b=r(50373),v=r(40885),C=class extends b.CookieAuthStorageAdapter{constructor(e,t){super(t),this.context=e}getCookie(e){var t;return(0,v.splitCookiesString)((null==(t=this.context.res.headers.get("set-cookie"))?void 0:t.toString())??"").map(t=>(0,b.parseCookies)(t)[e]).find(e=>!!e)||(0,b.parseCookies)(this.context.req.headers.get("cookie")??"")[e]}setCookie(e,t){this._setCookie(e,t)}deleteCookie(e){this._setCookie(e,"",{maxAge:0})}_setCookie(e,t,r){let o=(0,b.serializeCookie)(e,t,{...this.cookieOptions,...r,httpOnly:!1});this.context.res.headers&&this.context.res.headers.append("set-cookie",o)}};function k(e,{supabaseUrl:t="https://fgqcirnrowwmjlvdpqio.supabase.co",supabaseKey:r="sb_publishable_2Bcdq9vrbcgQlpY7cofXcg_modQkCBZ",options:o,cookieOptions:i}={}){var n;if(!t||!r)throw Error("either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!");return(0,b.createSupabaseClient)(t,r,{...o,global:{...null==o?void 0:o.global,headers:{...null==(n=null==o?void 0:o.global)?void 0:n.headers,"X-Client-Info":"@supabase/[email protected]"}},auth:{storage:new C(e,i)}})}var _=r(50373),m=class extends _.CookieAuthStorageAdapter{constructor(e,t){super(t),this.context=e,this.isServer=!0}getCookie(e){var t;return null==(t=this.context.cookies().get(e))?void 0:t.value}setCookie(e,t){}deleteCookie(e){}};function S(e,{supabaseUrl:t="https://fgqcirnrowwmjlvdpqio.supabase.co",supabaseKey:r="sb_publishable_2Bcdq9vrbcgQlpY7cofXcg_modQkCBZ",options:o,cookieOptions:i}={}){var n;if(!t||!r)throw Error("either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!");return(0,_.createSupabaseClient)(t,r,{...o,global:{...null==o?void 0:o.global,headers:{...null==(n=null==o?void 0:o.global)?void 0:n.headers,"X-Client-Info":"@supabase/[email protected]"}},auth:{storage:new m(e,i)}})}var w=r(50373),y=class extends w.CookieAuthStorageAdapter{constructor(e,t){super(t),this.context=e}getCookie(e){var t;return null==(t=this.context.cookies().get(e))?void 0:t.value}setCookie(e,t){this.context.cookies().set(e,t,this.cookieOptions)}deleteCookie(e){this.context.cookies().set(e,"",{...this.cookieOptions,maxAge:0}
1)}};function x(e,{supabaseUrl:t="https://fgqcirnrowwmjlvdpqio.supabase.co",supabaseKey:r="sb_publishable_2Bcdq9vrbcgQlpY7cofXcg_modQkCBZ",options:o,cookieOptions:i}={}){var n;if(!t||!r)throw Error("either NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY env variables or supabaseUrl and supabaseKey are required!");return(0,w.createSupabaseClient)(t,r,{...o,global:{...null==o?void 0:o.global,headers:{...null==(n=null==o?void 0:o.global)?void 0:n.headers,"X-Client-Info":"@supabase/[email protected]"}},auth:{storage:new y(e,i)}})}var A=x;function O({supabaseUrl:e="https://fgqcirnrowwmjlvdpqio.supabase.co",supabaseKey:t="sb_publishable_2Bcdq9vrbcgQlpY7cofXcg_modQkCBZ",options:r,cookieOptions:o}={}){return console.warn("Please utilize the `createPagesBrowserClient` function instead of the deprecated `createBrowserSupabaseClient` function. Learn more: https://supabase.com/docs/guides/auth/auth-helpers/nextjs-pages"),p({supabaseUrl:e,supabaseKey:t,options:r,cookieOptions:o})}function E(e,{supabaseUrl:t="https://fgqcirnrowwmjlvdpqio.supabase.co",supabaseKey:r="sb_publishable_2Bcdq9vrbcgQlpY7cofXcg_modQkCBZ",options:o,cookieOptions:i}={}){return console.warn("Please utilize the `createPagesServerClient` function instead of the deprecated `createServerSupabaseClient` function. Learn more: https://supabase.com/docs/guides/auth/auth-helpers/nextjs-pages"),g(e,{supabaseUrl:t,supabaseKey:r,options:o,cookieOptions:i})}function B(e,{supabaseUrl:t="https://fgqcirnrowwmjlvdpqio.supabase.co",supabaseKey:r="sb_publishable_2Bcdq9vrbcgQlpY7cofXcg_modQkCBZ",options:o,cookieOptions:i}={}){return console.warn("Please utilize the `createMiddlewareClient` function instead of the deprecated `createMiddlewareSupabaseClient` function. Learn more: https://supabase.com/docs/guides/auth/auth-helpers/nextjs#middleware"),k(e,{supabaseUrl:t,supabaseKey:r,options:o,cookieOptions:i})}},50373:function(e,t,r){let o,i;r.r(t),r.d(t,{BrowserCookieAuthStorageAdapter:function(){return y},CookieAuthStorageAdapter:function(){return w},DEFAULT_COOKIE_OPTIONS:function(){return m},createSupabaseClient:function(){return x},isBrowser:function(){return _},parseCookies:function(){return A},parseSupabaseCookie:function(){return C},serializeCookie:function(){return O},stringifySupabaseSession:function(){return k}});var n=r(60601),a=r(51721),s=Object.create,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,p=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,h=(e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of c(t))d.call(e,i)||i===r||l(e,i,{get:()=>t[i],enumerable:!(o=u(t,i))||o.enumerable});return e},f=(e,t,r)=>(r=null!=e?s(p(e)):{},h(!t&&e&&e.__esModule?r:l(r,"default",{value:e,enumerable:!0}),e)),g=(o={"../../node_modules/.pnpm/[email protected]/node_modules/cookie/index.js"(e){e.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var r={},i=(t||{}).decode||o,n=0;n<e.length;){var a=e.indexOf("=",n);if(-1===a)break;var s=e.indexOf(";",n);if(-1===s)s=e.length;else if(s<a){n=e.lastIndexOf(";",a-1)+1;continue}var l=e.slice(n,a).trim();if(void 0===r[l]){var u=e.slice(a+1,s).trim();34===u.charCodeAt(0)&&(u=u.slice(1,-1)),r[l]=function(e,t){try{return t(e)}catch(t){return e}}(u,i)}n=s+1}return r},e.serialize=function(e,o,n){var a=n||{},s=a.encode||i;if("function"!=typeof s)throw TypeError("option encode is invalid");if(!r.test(e))throw TypeError("argument name is invalid");var l=s(o);if(l&&!r.test(l))throw TypeError("argument val is invalid");var u=e+"="+l;if(null!=a.maxAge){var c=a.maxAge-0;if(isNaN(c)||!isFinite(c))throw TypeError("option maxAge is invalid");u+="; Max-Age="+Math.floor(c)}if(a.domain){if(!r.test(a.domain))throw TypeError("option domain is invalid");u+="; Domain="+a.domain}if(a.path){if(!r.test(a.path))throw TypeError("option path is invalid");u+="; Path="+a.path}if(a.expires){var p=a.expires;if("[object Date]"!==t.call(p)&&!(p instanceof Date)||isNaN(p.valueOf()))throw TypeError("option expires is invali
1d");u+="; Expires="+p.toUTCString()}if(a.httpOnly&&(u+="; HttpOnly"),a.secure&&(u+="; Secure"),a.priority)switch("string"==typeof a.priority?a.priority.toLowerCase():a.priority){case"low":u+="; Priority=Low";break;case"medium":u+="; Priority=Medium";break;case"high":u+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(a.sameSite)switch("string"==typeof a.sameSite?a.sameSite.toLowerCase():a.sameSite){case!0:case"strict":u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"none":u+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return u};var t=Object.prototype.toString,r=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function o(e){return -1!==e.indexOf("%")?decodeURIComponent(e):e}function i(e){return encodeURIComponent(e)}}},function(){return i||(0,o[c(o)[0]])((i={exports:{}}).exports,i),i.exports}),b=f(g()),v=f(g());function C(e){if(!e)return null;try{let t=JSON.parse(e);if(!t)return null;if("Object"===t.constructor.name)return t;if("Array"!==t.constructor.name)throw Error(`Unexpected format: ${t.constructor.name}`);let[r,o,i]=t[0].split("."),a=n.tH.decode(o),s=new TextDecoder,{exp:l,sub:u,...c}=JSON.parse(s.decode(a));return{expires_at:l,expires_in:l-Math.round(Date.now()/1e3),token_type:"bearer",access_token:t[0],refresh_token:t[1],provider_token:t[2],provider_refresh_token:t[3],user:{id:u,factors:t[4],...c}}}catch(e){return console.warn("Failed to parse cookie string:",e),null}}function k(e){var t;return JSON.stringify([e.access_token,e.refresh_token,e.provider_token,e.provider_refresh_token,(null==(t=e.user)?void 0:t.factors)??null])}function _(){return"undefined"!=typeof window&&void 0!==window.document}var m={path:"/",sameSite:"lax",maxAge:31536e6},S=RegExp(".{1,3180}","g"),w=class{constructor(e){this.cookieOptions={...m,...e,maxAge:m.maxAge}}getItem(e){let t=this.getCookie(e);if(e.endsWith("-code-verifier")&&t)return t;if(t)return JSON.stringify(C(t));let r=function(e,t=()=>null){let r=[];for(let o=0;;o++){let i=t(`${e}.${o}`);if(!i)break;r.push(i)}return r.length?r.join(""):null}(e,e=>this.getCookie(e));return null!==r?JSON.stringify(C(r)):null}setItem(e,t){if(e.endsWith("-code-verifier")){this.setCookie(e,t);return}(function(e,t,r){if(1===Math.ceil(t.length/((void 0)??3180)))return[{name:e,value:t}];let o=[],i=t.match(S);return null==i||i.forEach((t,r)=>{let i=`${e}.${r}`;o.push({name:i,value:t})}),o})(e,k(JSON.parse(t))).forEach(e=>{this.setCookie(e.name,e.value)})}removeItem(e){this._deleteSingleCookie(e),this._deleteChunkedCookies(e)}_deleteSingleCookie(e){this.getCookie(e)&&this.deleteCookie(e)}_deleteChunkedCookies(e,t=0){for(let r=t;;r++){let t=`${e}.${r}`;if(void 0===this.getCookie(t))break;this.deleteCookie(t)}}},y=class extends w{constructor(e){super(e)}getCookie(e){return _()?(0,b.parse)(document.cookie)[e]:null}setCookie(e,t){if(!_())return null;document.cookie=(0,b.serialize)(e,t,{...this.cookieOptions,httpOnly:!1})}deleteCookie(e){if(!_())return null;document.cookie=(0,b.serialize)(e,"",{...this.cookieOptions,maxAge:0,httpOnly:!1})}};function x(e,t,r){var o;let i=_();return(0,a.eI)(e,t,{...r,auth:{flowType:"pkce",autoRefreshToken:i,detectSessionInUrl:i,persistSession:!0,storage:r.auth.storage,...(null==(o=r.auth)?void 0:o.storageKey)?{storageKey:r.auth.storageKey}:{}}})}var A=v.parse,O=v.serialize}}]);

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.