PageSourceSearch

https://www.oncemade.com/_next/static/chunks/4d35cabd984df7f8.js?dpl=dpl_EwHdnzCdcdq48qawDUkWfKdvZyrW

js oncemade.com collected 2026-10-04 15:06:45 UTC 32,206 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,448899,t=>{"use strict";var e=t.i(441317),r=t.i(696140);let n=t=>t;function o(t,r=n){let i=e.default.useSyncExternalStore(t.subscribe,e.default.useCallback(()=>r(t.getState()),[t,r]),e.default.useCallback(()=>r(t.getInitialState()),[t,r]));return e.default.useDebugValue(i),i}let i=t=>{let e=(0,r.createStore)(t),n=t=>o(e,t);return Object.assign(n,e),n},a=t=>t?i(t):i;t.s(["create",()=>a,"useStore",()=>o])},154626,t=>{"use strict";function e(t){let e=t?.split(",")[0]?.trim().toLowerCase()||"";if(!e)return!1;let r=e.replace(/^[a-z]+:\/\//,"");return(r.split("/")[0]?.split(":")[0]||"").includes("oncemade")}t.s(["DEFAULT_LOGO_URL",0,"https://s3.amazonaws.com/cdn23.5/logo.svg","ONCEMADE_LOGO_URL",0,"https://s3.us-east-1.amazonaws.com/cdn23.5/oncemade-logo-stripe.svg","isOncemadeHost",()=>e])},993054,15259,675445,825806,t=>{"use strict";t.i(394566);var e=t.i(154626);let r=["source","medium","campaign","term","content"],n=[...r,"gclid","fbclid"],o=["source","medium","campaign"];function i(t){if(!t||"object"!=typeof t)return;let e={};return n.forEach(r=>{let n=t[r];"string"==typeof n&&n.trim()&&(e[r]=n.trim().slice(0,120))}),"number"==typeof t.ts&&Number.isFinite(t.ts)&&(e.ts=t.ts),"string"==typeof t.lp&&t.lp&&(e.lp=t.lp.slice(0,200)),Object.keys(e).length>0?e:void 0}function a(){return{...window.__studio26_analytics_context__||{}}}function s(t){let e,r={...window.__studio26_analytics_context__||{}},n=(e={},Object.entries(t).forEach(([t,r])=>{null==r||("string"!=typeof r||0!==r.trim().length)&&(e[t]=r)}),e),o={...r};Object.keys(t).forEach(t=>{t in n||delete o[t]}),window.__studio26_analytics_context__={...o,...n}}t.s(["getAnalyticsContextSnapshot",()=>a,"setAnalyticsContext",()=>s],15259);let c="studio26_",u=null;function l(t){return t?.trim()||void 0}function d(t){let e=t?.trim().toLowerCase()||"";return e&&(e.replace(/^[a-z]+:\/\//,"").split("/")[0]||"").split(":")[0]||""}function f(t){return t?t.split(",").map(t=>d(t)).filter((t,e,r)=>!!t&&r.indexOf(t)===e):[]}function p(t){return t.startsWith("www.")?t.slice(4):t}function y(t,e){if(!t||0===e.length)return!1;let r=p(t);return e.some(t=>p(t)===r)}function m(t,e=""){let r=l(t)||"/",n=l(e);return n?`${r}${n.startsWith("?")?n:`?${n}`}`:r}function h(t){return t.startsWith("/editor")?"editor":"site"}function _(t){var e;let r=(e=t.user,l(e?.legacyUserId)||l(e?.id));return r?{customId:r,customSessionId:l(t.sessionId),customPageId:l(t.pageId)}:null}async function w(){try{return(await t.A(686959)).default}catch(t){return null}}async function b(){if(!function(t={}){let e=t.nodeEnv??"production",r=l(t.projectId??"xm7hzsqpyz"),n=d(t.hostname??window.location.hostname),o=f(t.allowedHosts??"www.oncemade.com,oncemade.com");return"production"===e&&!!r&&!!n&&0!==o.length&&y(n,o)}())return null;if(!u){let t=l("xm7hzsqpyz");u=w().then(e=>e&&t?(e.init(t),e):null).catch(t=>(u=null,null))}return u}async function v(){return!!await b()}async function g(t){if(!t)return!1;let e=await b();return!!e&&(e.identify(t.customId,t.customSessionId,t.customPageId),!0)}async function O(t){let e,r,n,o,i,a=await b();return!!a&&(Object.entries((e={is_authenticated:String(t.isAuthenticated)},r=l(t.route),n=l(t.productId),o=l(t.styleId),i=l(t.surface),r&&(e.route=r),n&&(e.product_id=n),o&&(e.style_id=o),i&&(e.surface=i),e)).forEach(([t,e])=>{a.setTag(t,e)}),!0)}function S(t){if("string"==typeof t)return t.trim()||void 0}function I(t){if("number"==typeof t)return Number.isFinite(t)?t:void 0;if("string"==typeof t&&t.trim()){let e=Number(t);return Number.isFinite(e)?e:void 0}}function P(t){return Math.round(t)/100}function j(t){return S(t)?.toUpperCase()}function C(t){let e=S(t);return e?[e]:void 0}function E(t){let e=S(t);if(!e)return;let r=e.split(",").map(t=>t.trim()).filter(Boolean);return r.length?r:void 0}function x(t){let e={};return Object.entries(t).forEach(([t,r])=>{void 0!==r&&(e[t]=r)}),Object.keys(e).length>0?e:void 0}function k(t){let e=I(t.unit_amount),r=I(t.quantity),n=I(t.shipping_cost_cents)??0,o=I(t.items_subtotal_cents),i=void 0!==o?o+n:void 0!==e&&void 0!==r?e*r+n:void 0;return x({content_type:"product",content_ids:E(t.product_ids)??C(t.product_id),value:void 0!==i?P(i):void 0,currency:j(t.currency),num_items:I(t.num_items)??r})}function A(t){let e=I(t.amount_total);return x({content_type:"product",content_ids:E(t.product_ids)??C(t.product_id),value:void 0!==e?P(e):void 0,currency:j(t.currency),num_items:I(t.num_items)})}t.s(["buildClarityIdentifyPayload",()=>_,"buildClarityPageId",()=>m,"identifyClarity",()=>g,"initClarity",()=>
1v,"isHostAllowed",()=>y,"parseAllowedHosts",()=>f,"resolveClaritySurface",()=>h,"setClarityTags",()=>O],675445);let D=new Set(["editor_header","mobile_checkout","my_designs_card"]),U={studio26_page_view:{eventName:"PageView",channels:"both"},studio26_landing_cta_clicked:{eventName:"GenerateFirstDesignClick",isCustom:!0,channels:"both",filter:t=>"generate_first_design"===S(t.cta_id),buildCustomData:t=>x({cta_id:S(t.cta_id),destination:S(t.href)})},studio26_style_selected_for_editor:{eventName:"ViewContent",channels:"both",buildCustomData:t=>x({content_type:"product",content_ids:C(t.style_id),content_name:S(t.style_title),content_category:S(t.style_category)})},studio26_design_created:{eventName:"CustomizeProduct",channels:"capi",eventIdProp:"product_id",buildCustomData:t=>x({content_type:"product",content_ids:C(t.product_id),content_name:S(t.style_name)})},studio26_checkout_started:{eventName:"AddToCart",channels:"both",filter:t=>D.has(S(t.source)||""),buildCustomData:t=>x({content_type:"product",content_ids:C(t.product_id)})},studio26_added_to_cart:{eventName:"AddToCart",channels:"both",buildCustomData:t=>x({content_type:"product",content_ids:C(t.product_id)})},studio26_stripe_redirect_initiated:{eventName:"InitiateCheckout",channels:"both",eventIdProp:"session_id",buildCustomData:k},studio26_stripe_session_created:{eventName:"InitiateCheckout",channels:"capi",eventIdProp:"session_id",buildCustomData:k},studio26_payment_confirmed_webhook:{eventName:"Purchase",channels:"capi",eventIdProp:"session_id",buildCustomData:A},studio26_checkout_reconciled:{eventName:"Purchase",channels:"capi",eventIdProp:"session_id",buildCustomData:A},studio26_purchase_completed_client:{eventName:"Purchase",channels:"pixel",eventIdProp:"session_id",buildCustomData:A},studio26_signup_succeeded:{eventName:"CompleteRegistration",channels:"capi",eventIdProp:"artist_id",filter:t=>!1===t.auth0_user_existed,buildCustomData:()=>x({content_name:"email_signup",status:"completed"})},studio26_signup_legacy_artist_provisioned:{eventName:"CompleteRegistration",channels:"capi",eventIdProp:"artist_id",filter:t=>!1===t.already_existed,buildCustomData:()=>x({content_name:"auth0_signup",status:"completed"})}};function N(t,e,r){let n=U[t];if(!n||n.filter&&!n.filter(e))return null;let o=(n.eventIdProp?S(e[n.eventIdProp]):void 0)||r;return{eventName:n.eventName,...n.isCustom?{isCustom:!0}:{},channels:n.channels,eventId:o,customData:n.buildCustomData?.(e)}}let T="https://connect.facebook.net/en_US/fbevents.js",$=!1,R={};function L(t){let e={},r=t?.external_id?.trim();r&&(e.external_id=r);let n=t?.em?.trim().toLowerCase();return n&&(e.em=n),e}function q(t){if(R={...R,...L(t)},$)return!0;if(!function(t={}){var e,r;let n,o=t.nodeEnv??"production",i=(e=t.pixelId??"967239106322248",e?.trim()||void 0),a=(r=t.hostname??window.location.hostname,(n=r?.trim().toLowerCase()||"")&&(n.replace(/^[a-z]+:\/\//,"").split("/")[0]||"").split(":")[0]||""),s=f(t.allowedHosts??"www.oncemade.com,oncemade.com"),c=t.analyticsEnabled??"true";return"false"!==c&&"0"!==c&&"production"===o&&!!i&&!!a&&0!==s.length&&y(a,s)}())return!1;let e="967239106322248".trim();if(!e)return!1;try{let t=function(){if(window.fbq)return window.fbq.disablePushState=!0,window.fbq;let t=function(...e){t.callMethod?t.callMethod(...e):t.queue?.push(e)};return t.push=t,t.loaded=!0,t.version="2.0",t.queue=[],t.disablePushState=!0,window.fbq=t,window._fbq||(window._fbq=t),t}();return!function(){if(document.querySelector(`script[src="${T}"]`))return;let t=document.createElement("script");t.async=!0,t.src=T,document.head.appendChild(t)}(),Object.keys(R).length>0?t("init",e,{...R}):t("init",e),$=!0,!0}catch(t){return!1}}function z(t){let e={...R,...L(t)},r=e.em!==R.em||e.external_id!==R.external_id;if(R=e,!$||!r)return;let n="967239106322248".trim(),o=window.fbq;if(n&&"function"==typeof o)try{o("init",n,{...R})}catch(t){}}function F(t,e,r){if(!$)return;let n=window.fbq;if("function"==typeof n)try{let o=N(t,e,r);if(!o||"capi"===o.channels)return;n(o.isCustom?"trackCustom":"track",o.eventName,o.customData??{},{eventID:o.eventId})}catch(t){}}t.s(["fireMetaPixelForStudioEvent",()=>F,"initMetaPixel",()=>q,"setMetaPixelAdvancedMatching",()=>z],825806);let M="/api/analytics/collect",W=!1,J=!1,H=[],B=null,G=null,V=null,X=null;function K(){return"undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():`${Date.now().toString(36)}-${Math.random().toString(36).slice(2,10)}`}function Y(t,e,r){let n=t.getItem(e)?.trim();if(n)return n;
1let o=r();return t.setItem(e,o),o}function Z(){try{return Y(window.sessionStorage,"studio26_analytics_session_id",K)}catch{return X||(X=K()),X}}function Q(){try{return Y(window.localStorage,"studio26_analytics_anonymous_id",K)}catch{return V||(V=K()),V}}function tt(t=750){B&&clearTimeout(B),B=setTimeout(()=>{B=null,function(){if(null!==G&&("cancelIdleCallback"in window&&window.cancelIdleCallback(G),G=null),"requestIdleCallback"in window){G=window.requestIdleCallback(()=>{G=null,tr()},{timeout:1500});return}B=setTimeout(()=>{B=null,tr()},750)}()},t)}async function te(t,e){let r=JSON.stringify({events:t,sent_at:new Date().toISOString()});if("beacon"===e&&"undefined"!=typeof navigator&&"function"==typeof navigator.sendBeacon)try{let t=new Blob([r],{type:"application/json"});if(navigator.sendBeacon(M,t))return!0}catch{}try{return(await fetch(M,{method:"POST",headers:{"Content-Type":"application/json"},body:r,keepalive:!0,cache:"no-store"})).ok}catch{return!1}}async function tr(t){let e=t?.transport||"fetch";if("beacon"===e){for(;H.length>0;){let t=H.slice(0,25);if(H=H.slice(t.length),!await te(t,"beacon")){H=[...t,...H].slice(0,500),tt(3e3);break}}return}if(!J&&0!==H.length){J=!0;try{let t=H.slice(0,25);H=H.slice(t.length),await te(t,e)?H.length>0&&tt(0):(H=[...t,...H].slice(0,500),tt(3e3))}finally{J=!1}}}function tn(){W||(W=!0,document.addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&tr({transport:"beacon"})}),window.addEventListener("pagehide",()=>{tr({transport:"beacon"})}))}function to(){tn()}function ti(){return Z()}function ta(){return Q()}function ts(t,n={}){var s;let u,l,d,f,p,y,m,h,_,w,b,v,g,O;tn();let S=(u=t.trim().toLowerCase().replace(/[^a-z0-9_]+/g,"_").replace(/_+/g,"_").replace(/^_+|_+$/g,"")||"unknown_event").startsWith(c)?u:`${c}${u}`,I=(s={...(m=a(),h=Q(),_=Z(),w=window.location.pathname,b=window.location.search,v=window.location.hostname.toLowerCase(),g=`${w}${b}`||w,O="string"==typeof m.user_id&&m.user_id||"string"==typeof m.artist_id&&m.artist_id||void 0,{event_version:1,source:"client",route:w,route_with_query:g,domain:v||void 0,site:v?(0,e.isOncemadeHost)(v)?"oncemade":"23point5":void 0,language:"undefined"!=typeof navigator&&navigator.language||void 0,timezone:function(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone||void 0}catch{return}}(),screen_width:window.screen?window.screen.width:void 0,screen_height:window.screen?window.screen.height:void 0,anonymous_id:h,session_id:_,distinct_id:O||h,...(d=function(t){if(!t)return{v:1};let e=t;for(let t=0;t<3;t+=1){try{let t=JSON.parse(e);if(t&&"object"==typeof t)return{v:1,ft:i(t.ft),lt:i(t.lt)};break}catch{}try{let t=decodeURIComponent(e);if(t===e)break;e=t}catch{break}}return{v:1}}(function(t){if("undefined"!=typeof document)try{let e=`${t}=`,r=document.cookie.split("; ").find(t=>t.startsWith(e));return r?r.slice(e.length):void 0}catch{return}}("s26_attribution")),f={},(p=d.lt)&&(r.forEach(t=>{let e=p[t];e&&(f[`utm_${t}`]=e)}),p.gclid&&(f.gclid=p.gclid)),(y=d.ft)&&o.forEach(t=>{let e=y[t];e&&(f[`first_utm_${t}`]=e)}),f),...m}),...n},l={},Object.entries(s).forEach(([t,e])=>{if(!t)return;let r=function t(e){if(void 0!==e){if(null===e)return null;if("string"==typeof e)return e;if("number"==typeof e)return Number.isFinite(e)?e:void 0;if("boolean"==typeof e)return e;if("bigint"==typeof e)return Number(e);if(Array.isArray(e))return e.map(e=>t(e)).filter(t=>void 0!==t).slice(0,100);if("object"==typeof e)try{return JSON.parse(JSON.stringify(e))}catch{}return String(e)}}(e);void 0!==r&&(l[t]=r)}),l),P={name:S,props:I,timestamp:Date.now(),insert_id:K()};F(S,I,P.insert_id),H.push(P),H.length>500&&(H=H.slice(H.length-500)),N(S,I,P.insert_id)?tr({transport:"beacon"}):tt()}t.s(["getAnalyticsAnonymousId",()=>ta,"getAnalyticsSessionId",()=>ti,"initializeAnalyticsRuntime",()=>to,"trackStudioEvent",()=>ts],993054)},696140,t=>{"use strict";let e=t=>{let e,r=new Set,n=(t,n)=>{let o="function"==typeof t?t(e):t;if(!Object.is(o,e)){let t=e;e=(null!=n?n:"object"!=typeof o||null===o)?o:Object.assign({},e,o),r.forEach(r=>r(e,t))}},o=()=>e,i={setState:n,getState:o,getInitialState:()=>a,subscribe:t=>(r.add(t),()=>r.delete(t))},a=e=t(n,o,i);return i},r=t=>t?e(t):e;t.s(["createStore",()=>r])},31702,t=>{"use strict";let e="ai-designer:job:";function r(t){return`${e}${t}`}function n(t){if(!t)return null;try{let e=JSON.parse(t);if(!e?.jobId||!e?.productId)return null;if(Date.now()-(e.createdAt??0)>6048e5)return s(e.productId),null;return e}catch{return null}}function o(t){if(window.localStorage)try{let e=n(window.localStorage.getItem(r(t.productId))),o=t.styleId||e?.styleId,i=t.name||e?.name,a=t.styleName||e?.styleName,s={jobId:t.jobId,productId:t.productId,createdAt:Date.now(),...o?{styleId:o}:{},...i?{name:i}:{},...a?{styleName:a}:{}};window.localStorage.setItem(r(t.productId),JSON.stringify(s))}catch{}}function i(t){if(!window.localStorage)return null;try{return n(window.localStorage.getItem(r(t)))}catch{return null}}function a(){if(!window.localStorage)return[];let t=[];try{let r=[];for(let t=0;t<window.localStorage.length;t+=1){let n=window.localStorage.key(t);n&&n.startsWith(e)&&r.push(n)}for(let e of r){let r=n(window.localStorage.getItem(e));r&&t.push(r)}}catch{}return t}function s(t){if(window.localStorage)try{window.localStorage.removeItem(r(t))}catch{}}function c(t){if(t)try{fetch("/api/ai/generation-consumed",{method:"POST",keepalive:!0,credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({jobId:t})}).catch(()=>{})}catch{}}t.s(["AI_JOB_HANDLE_PREFIX",0,e,"beaconJobConsumed",()=>c,"clearJobHandle",()=>s,"listJobHandles",()=>a,"readJobHandle",()=>i,"saveJobHandle",()=>o])},377397,t=>{"use strict";
1let e="ai-designer:pending-snapshot:";function r(t){return`${e}${t}`}function n(t){if(window.localStorage)try{let e={productId:t,createdAt:Date.now()};window.localStorage.setItem(r(t),JSON.stringify(e))}catch{}}function o(t){if(!window.localStorage)return!1;try{let e=window.localStorage.getItem(r(t));if(!e)return!1;let n=JSON.parse(e);if(Date.now()-(n?.createdAt??0)>6048e5)return i(t),!1;return!0}catch{return!1}}function i(t){if(window.localStorage)try{window.localStorage.removeItem(r(t))}catch{}}t.s(["PENDING_SNAPSHOT_PREFIX",0,e,"clearPendingSnapshot",()=>i,"hasPendingSnapshot",()=>o,"markSnapshotPending",()=>n])},185480,t=>{"use strict";var e=t.i(448899),r=t.i(993054);let n=(0,e.create)(t=>({prompt:"",uploadedAssets:[],schemaId:null,modalOpen:!1,setPrompt:e=>t({prompt:e}),setUploadedAssets:e=>t(t=>({uploadedAssets:"function"==typeof e?e(t.uploadedAssets):e})),setSchemaId:e=>t({schemaId:e}),openModal:()=>t(t=>t.modalOpen?t:((0,r.trackStudioEvent)("studio26_ai_modal_opened"),{modalOpen:!0})),closeModal:()=>t({modalOpen:!1})}));t.s(["useAiDraftStore",0,n])},713366,t=>{"use strict";var e=t.i(394566);let r="product-history23.5";function n(t){if(-1===t.indexOf(r))return!1;try{let e=new URL(t),n=e.hostname.toLowerCase(),o=e.pathname.toLowerCase();if(n.startsWith(`${r}.s3.`)||n===`${r}.s3.amazonaws.com`||/^s3(\.[a-z0-9-]+)?\.amazonaws\.com$/.test(n)&&o.startsWith(`/${r}/`))return!0;return!1}catch{return!1}}function o(t,e){if(!t||!t.startsWith("https://")||!n(t))return t;let r=`/api/ai/asset-proxy?url=${encodeURIComponent(t)}`,o=e?function(t){if(!Number.isFinite(t)||t<=0)return null;let e=1.5*t,r=i.find(t=>t>=e);if(r)return r;let n=i[i.length-1];return n>=t?n:null}(e):null;return o?`${r}&w=${o}`:r}let i=[512,1024,1536,2048];function a(t){let r;if(null==t||"string"!=typeof t)return t;let o=t.trim();if(!o)return t;if(o.startsWith("http://")||o.startsWith("https://")||o.startsWith("data:")||o.startsWith("blob:")){if(!o||!o.startsWith("https://")||!n(o))return o;try{let t=new URL(o),e=!1;if(t.searchParams.forEach((t,r)=>{r.toLowerCase().startsWith("x-amz-")&&(e=!0)}),!e)return o;return`${t.origin}${t.pathname}`}catch{return o}}let i=o.startsWith("/")?o:`/${o}`;return i.startsWith("/api/")?i:i.startsWith("/texture-image/")?`${(("string"==typeof(r=void 0!==e.default?"https://texture.23point5.com":void 0)?r.trim():"")||"https://texture.23point5.com").replace(/\/+$/,"")}${i}`:`https://files.23point5.com/file?path=${i}`}t.s(["proxyAiAssetUrl",()=>o,"resolveTextureUrl",()=>a])},824627,t=>{"use strict";var e=function(t,r){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,r)};function r(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}var n=function(){return(n=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function o(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)0>e.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r}function i(t,e,r,n){var o,i=arguments.length,a=i<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,r,a):o(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a}function a(t,e){return function(r,n){e(r,n,t)}}function s(t,e,r,n,o,i){function a(t){if(void 0!==t&&"function"!=typeof t)throw TypeError("Function expected");return t}for(var s,c=n.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!e&&t?n.static?t:t.prototype:null,d=e||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),f=!1,p=r.length-1;p>=0;p--){var y={};for(var m in n)y[m]="access"===m?{}:n[m];for(var m in n.access)y.access[m]=n.access[m];y.addInitializer=function(t){if(f)throw TypeError("Cannot add initializer
1s after decoration has completed");i.push(a(t||null))};var h=(0,r[p])("accessor"===c?{get:d.get,set:d.set}:d[u],y);if("accessor"===c){if(void 0===h)continue;if(null===h||"object"!=typeof h)throw TypeError("Object expected");(s=a(h.get))&&(d.get=s),(s=a(h.set))&&(d.set=s),(s=a(h.init))&&o.unshift(s)}else(s=a(h))&&("field"===c?o.unshift(s):d[u]=s)}l&&Object.defineProperty(l,n.name,d),f=!0}function c(t,e,r){for(var n=arguments.length>2,o=0;o<e.length;o++)r=n?e[o].call(t,r):e[o].call(t);return n?r:void 0}function u(t){return"symbol"==typeof t?t:"".concat(t)}function l(t,e,r){return"symbol"==typeof e&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:r?"".concat(r," ",e):e})}function d(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function f(t,e,r,n){return new(r||(r=Promise))(function(o,i){function a(t){try{c(n.next(t))}catch(t){i(t)}}function s(t){try{c(n.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):((e=t.value)instanceof r?e:new r(function(t){t(e)})).then(a,s)}c((n=n.apply(t,e||[])).next())})}function p(t,e){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){var u=[s,c];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,n=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=e.call(t,i)}catch(t){u=[6,t],n=0}
vendor: 4,442 bytes, line 1
1finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}var y=Object.create?function(t,e,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,o)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]};function m(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||y(e,t,r)}function h(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function w(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(_(arguments[e]));return t}function b(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var n=Array(t),o=0,e=0;e<r;e++)for(var i=arguments[e],a=0,s=i.length;a<s;a++,o++)n[o]=i[a];return n}function v(t,e,r){if(r||2==arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}function g(t){return this instanceof g?(this.v=t,this):new g(t)}function O(t,e,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(t,e||[]),i=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(t){return function(e){return Promise.resolve(e).then(t,u)}}),n[Symbol.asyncIterator]=function(){return this},n;function a(t,e){o[t]&&(n[t]=function(e){return new Promise(function(r,n){i.push([t,e,r,n])>1||s(t,e)})},e&&(n[t]=e(n[t])))}function s(t,e){try{var r;(r=o[t](e)).value instanceof g?Promise.resolve(r.value.v).then(c,u):l(i[0][2],r)}catch(t){l(i[0][3],t)}}function c(t){s("next",t)}function u(t){s("throw",t)}function l(t,e){t(e),i.shift(),i.length&&s(i[0][0],i[0][1])}}function S(t){var e,r;return e={},n("next"),n("throw",function(t){throw t}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(n,o){e[n]=t[n]?function(e){return(r=!r)?{value:g(t[n](e)),done:!1}:o?o(e):e}:o}}function I(t){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t=h(t),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(r){e[r]=t[r]&&function(e){return new Promise(function(n,o){var i,a,s;i=n,a=o,s=(e=t[r](e)).done,Promise.resolve(e.value).then(function(t){i({value:t,done:s})},a)})}}}function P(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var j=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},C=function(t){return(C=Object.getOwnPropertyNames||function(t){var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[e.length]=r);return e})(t)};function E(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r=C(t),n=0;n<r.length;n++)"default"!==r[n]&&y(e,t,r[n]);return j(e,t),e}function x(t){return t&&t.__esModule?t:{default:t}}function k(t,e,r,n){if("a"===r&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!n:!e.has(t))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(t):n?n.value:e.get(t)}function A(t,e,r,n,o){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!o)throw TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!o:!e.has(t))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(t,r):o?o.value=r:e.set(t,r),r}function D(t,e){if(null===e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?e===t:t.has(e)}function U(t,e,r){if(null!=e){var n,o;if("object"!=typeof e&&"function"!=typeof e)throw TypeError("Object expected.");
1if(r){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");n=e[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");n=e[Symbol.dispose],r&&(o=n)}if("function"!=typeof n)throw TypeError("Object not disposable.");o&&(n=function(){try{o.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:n,async:r})}else r&&t.stack.push({async:!0});return e}var N="function"==typeof SuppressedError?SuppressedError:function(t,e,r){var n=Error(r);return n.name="SuppressedError",n.error=t,n.suppressed=e,n};function T(t){function e(e){t.error=t.hasError?new N(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var r,n=0;return function o(){for(;r=t.stack.pop();)try{if(!r.async&&1===n)return n=0,t.stack.push(r),Promise.resolve().then(o);if(r.dispose){var i=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(i).then(o,function(t){return e(t),o()})}else n|=1}catch(t){e(t)}if(1===n)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}function $(t,e){return"string"==typeof t&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(t,r,n,o,i){return r?e?".jsx":".js":!n||o&&i?n+o+"."+i.toLowerCase()+"js":t}):t}let R={__extends:r,__assign:n,__rest:o,__decorate:i,__param:a,__esDecorate:s,__runInitializers:c,__propKey:u,__setFunctionName:l,__metadata:d,__awaiter:f,__generator:p,__createBinding:y,__exportStar:m,__values:h,__read:_,__spread:w,__spreadArrays:b,__spreadArray:v,__await:g,__asyncGenerator:O,__asyncDelegator:S,__asyncValues:I,__makeTemplateOb
1ject:P,__importStar:E,__importDefault:x,__classPrivateFieldGet:k,__classPrivateFieldSet:A,__classPrivateFieldIn:D,__addDisposableResource:U,__disposeResources:T,__rewriteRelativeImportExtension:$};t.s(["__addDisposableResource",()=>U,"__assign",()=>n,"__asyncDelegator",()=>S,"__asyncGenerator",()=>O,"__asyncValues",()=>I,"__await",()=>g,"__awaiter",()=>f,"__classPrivateFieldGet",()=>k,"__classPrivateFieldIn",()=>D,"__classPrivateFieldSet",()=>A,"__createBinding",()=>y,"__decorate",()=>i,"__disposeResources",()=>T,"__esDecorate",()=>s,"__exportStar",()=>m,"__extends",()=>r,"__generator",()=>p,"__importDefault",()=>x,"__importStar",()=>E,"__makeTemplateObject",()=>P,"__metadata",()=>d,"__param",()=>a,"__propKey",()=>u,"__read",()=>_,"__rest",()=>o,"__rewriteRelativeImportExtension",()=>$,"__runInitializers",()=>c,"__setFunctionName",()=>l,"__spread",()=>w,"__spreadArray",()=>v,"__spreadArrays",()=>b,"__values",()=>h,"default",0,R])},645962,(t,e,r)=>{"use strict";var n=t.i(394566);Object.defineProperty(r,"__esModule",{value:!0}),r.useConfig=void 0;let o=t.r(824627).__importStar(t.r(441317)),i=(0,o.createContext)({});r.useConfig=()=>(0,o.useContext)(i),r.default=({children:t,loginUrl:e=n.default.env.NEXT_PUBLIC_AUTH0_LOGIN||"/api/auth/login"})=>o.default.createElement(i.Provider,{value:{loginUrl:e}},t)},714623,(t,e,r)=>{"use strict";var n=t.i(394566);Object.defineProperty(r,"__esModule",{value:!0}),r.useUser=r.UserContext=r.RequestError=void 0;let o=t.r(824627),i=o.__importStar(t.r(441317)),a=o.__importDefault(t.r(645962));class s extends Error{constructor(t){super(),this.status=t,Object.setPrototypeOf(this,s.prototype)}}r.RequestError=s;let c="You forgot to wrap your app in <UserProvider>";r.UserContext=(0,i.createContext)({get user(){throw Error(c)},get error(){throw Error(c)},get isLoading(){throw Error(c)},checkSession:()=>{throw Error(c)}}),r.useUser=()=>(0,i.useContext)(r.UserContext);let u=async t=>{let e;try{e=await fetch(t)}catch(t){throw new s(0)}if(204!=e.status){if(e.ok)return e.json();throw new s(e.status)}};r.default=({children:t,user:e,profileUrl:o=n.default.env.NEXT_PUBLIC_AUTH0_PROFILE||"/api/auth/me",loginUrl:s,fetcher:c=u})=>{let[l,d]=(0,i.useState)({user:e,isLoading:!e}),f=(0,i.useCallback)(async()=>{try{let t=await c(o);d(e=>Object.assign(Object.assign({},e),{user:t,error:void 0}))}catch(t){d(e=>Object.assign(Object.assign({},e),{error:t}))}},[o]);(0,i.useEffect)(()=>{l.user||(async()=>{await f(),d(t=>Object.assign(Object.assign({},t),{isLoading:!1}))})()},[l.user]);let{user:p,error:y,isLoading:m}=l,h=(0,i.useMemo)(()=>({user:p,error:y,isLoading:m,checkSession:f}),[p,y,m,f]);return i.default.createElement(a.default,{loginUrl:s},i.default.createElement(r.UserContext.Provider,{value:h},t))}},796979,(t,e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});let n=t.r(824627).__importStar(t.r(441317)),o=t.r(645962),i=t.r(714623),a=()=>n.default.createElement(n.default.Fragment,null),s=()=>n.default.createElement(n.default.Fragment,null);r.default=(t,e={})=>function(r){let{returnTo:c,onRedirecting:u=a,onError:l=s}=e,{loginUrl:d}=(0,o.useConfig)(),{user:f,error:p,isLoading:y}=(0,i.useUser)();return((0,n.useEffect)(()=>{let t;if((!f||p)&&!y){if(c)t=c;else{let e=window.location.toString();t=e.replace(new URL(e).origin,"")||"/"}window.location.assign(`${d}?returnTo=${encodeURIComponent(t)}`)}},[f,p,y]),p)?l(p):f?n.default.createElement(t,Object.assign({user:f},r)):u()}},382486,(t,e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.withPageAuthRequired=r.useUser=r.RequestError=r.UserContext=r.UserProvider=void 0;let n=t.r(824627),o=n.__importStar(t.r(714623));Object.defineProperty(r,"UserProvider",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(r,"UserContext",{enumerable:!0,get:function(){return o.UserContext}}),Object.defineProperty(r,"RequestError",{enumerable:!0,get:function(){return o.RequestError}}),Object.defineProperty(r,"useUser",{enumerable:!0,get:function(){return o.useUser}});let i=n.__importDefault(t.r(796979));Object.defineProperty(r,"withPageAuthRequired",{enumerable:!0,get:function(){return i.default}})},252013,t=>{"use strict";var e=t.i(382486);let r="https://23point5.com/claims";function n(){let{user:t,error:n,isLoading:o}=(0,e.useUser)();return{user:t?{id:t.sub||"",email:t.email||"",name:t.name||"",picture:t.picture,roles:t[`${r}/roles`]||[],permissions:t[`${r}/permissions`]||[],organizationId:t[`${r}/organization_id`],legacyUserId:t[`${r}/legacy_user_id`],emailVerified:"boolean"==typeof t.email_verified?t.email_verified:void 0}:null,isLoading:o,error:n,isAuthenticated:!!t}}t.s(["useUser",()=>n])}]);

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.