PageSourceSearch

https://refold.la/_next/static/chunks/93708-a519c5f06cf929c9.js?dpl=dpl_G5Go47Y3149rUkmLWghsXdUf8AjW

js refold.la collected 2026-09-25 18:53:10 UTC 26,611 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8cdc9baf-d4ba-4757-a95e-f9f0b638dfdd",e._sentryDebugIdIdentifier="sentry-dbid-8cdc9baf-d4ba-4757-a95e-f9f0b638dfdd")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[93708],{2254:(e,t,r)=>{r.d(t,{E:()=>c});var n=r(54568);r(7620);var a=r(46118),s=r(54616),o=r(85755);let i=(0,s.F)("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary/60 text-secondary-foreground dark:bg-secondary dark:text-secondary-foreground [a&]:hover:bg-secondary/80 dark:[a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",success:"border-transparent bg-rf-dynamic-success text-rf-dynamic-onSuccess [a&]:hover:bg-rf-dynamic-successDark",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",purple:"border-transparent bg-rf-light-primary100 text-foreground dark:bg-rf-dark-primary200 dark:text-foreground [a&]:hover:bg-rf-light-primary200 dark:[a&]:hover:bg-rf-dark-primary300",muted:"border-transparent bg-muted text-foreground [a&]:hover:bg-muted/80"}},defaultVariants:{variant:"default"}});function c(e){let{className:t,variant:r,asChild:s=!1,...c}=e,l=s?a.DX:"span";return(0,n.jsx)(l,{"data-slot":"badge",className:(0,o.cn)(i({variant:r}),t),...c})}},3493:(e,t,r)=>{r.d(t,{S:()=>s});var n=r(16148),a=r(36288);function s(e){let{redirectPath:t,shouldUseSignupFlow:r=!1,skipButton:s="true"}="string"==typeof e||void 0===e?{redirectPath:e}:e,o=(0,n.fV)(t);if(!o)return"/login";let i=r?(0,a.n)("/checkout/plans/all-access",{redirectPath:o,skipButton:s}):o;return(0,a.n)("/login",{redirectPath:i})}},5416:(e,t,r)=>{r.d(t,{NavDropdown:()=>u});var n=r(54568),a=r(7620),s=r(19664),o=r.n(s),i=r(27541),c=r(84712),l=r(85755),d=r(50174);function u(e){let{label:t,iconName:r,links:s}=e,[u,m]=(0,a.useState)(!1),f=(0,a.useRef)(null),h=(0,i.usePathname)(),g=s.some(e=>!e.isExternal&&h.startsWith(e.path)),p=d.p[r],x=(0,a.useCallback)(()=>{f.current&&(clearTimeout(f.current),f.current=null),m(!0)},[]),v=(0,a.useCallback)(()=>{f.current=setTimeout(()=>{m(!1)},150)},[]);return((0,a.useEffect)(()=>()=>{f.current&&(clearTimeout(f.current),f.current=null)},[]),p)?(0,n.jsx)(c.rI,{open:u,onOpenChange:m,modal:!1,children:(0,n.jsxs)("div",{onMouseEnter:x,onMouseLeave:v,children:[(0,n.jsx)(c.ty,{variant:"ghost",asChild:!0,children:(0,n.jsxs)("button",{className:(0,l.cn)("flex items-center space-x-2 hover:text-primary transition-colors cursor-pointer",g?"text-primary":"text-foreground"),children:[(0,n.jsx)(p,{size:20,className:g?"text-primary":""}),(0,n.jsx)("span",{className:(0,l.cn)("text-sm",g?"text-primary font-bold":""),children:t})]})}),(0,n.jsx)(c.SQ,{align:"start",className:"w-48",children:s.map(e=>{let t=d.p[e.iconName];if(!t)return console.warn('Icon "'.concat(e.iconName,'" not found in NAV_ICON_MAP')),null;let r=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t,{size:e.iconSize||20}),(0,n.jsx)("span",{children:e.label})]});return(0,n.jsx)(c._2,{asChild:!0,children:e.isExternal?(0,n.jsx)("a",{href:e.path,...!e.sameTab&&{target:"_blank",rel:"noopener noreferrer"},className:"flex items-center gap-2 cursor-pointer hover:bg-accent hover:text-accent-foreground",onClick:()=>m(!1),children:r}):(0,n.jsx)(o(),{href:e.path,className:"flex items-center gap-2 cursor-pointer hover:bg-accent hover:text-accent-foreground",onClick:()=>m(!1),children:r})},e.path)})})]})}):(console.warn('Icon "'.concat(r,'" not found in NAV_ICON_MAP')),null)}},8895:(e,t,r)=>{r.d(t,{CoachingNavLinkWithUnreadCount:()=>o});var n=r(54568),a=r(18278),s=r(47932);function o(e){let{navProps:t,userId:r,clientParams:o}=e,i=(0,s.P)(r,o),c=i>99?"99+":String(i);return(0,n.jsx)(a.CoachingNavLinkBasic,{...t,badge:{show:i>0,text:c}})}},10527:(e,t,r)=>{r.d(t,{E:()=>n.E});var n=r(2254)},16148:(e,t,r)=>{r.d(t,{fV:()=>s});var n=r(63524);let a=e=>{let t=e.trim();return!(!t.startsWith("/")||t.startsWith("//")||t.includes(":"))};n.string().optional().refine(e=>!e||a(e),{message:"Redirect path must be a local path starting with '/' and cannot be an external URL"}).transform(e=>e?e.trim():null);let s=e=>e&&a(e)?e.trim():null}
1,18278:(e,t,r)=>{r.d(t,{CoachingNavLinkBasic:()=>d});var n=r(54568),a=r(19664),s=r.n(a),o=r(46447),i=r(10527),c=r(85755),l=r(27541);function d(e){let{path:t,label:r,iconSize:a=20,badge:d}=e,u=(0,l.usePathname)(),m="/"===t?"/"===u:u.startsWith(t);return(0,n.jsxs)(s(),{href:t,className:(0,c.cn)("flex items-center","space-x-2","hover:text-primary transition-colors",m?"text-primary":"text-foreground"),children:[(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)(o.oy,{size:a,className:m?"text-primary":""}),(null==d?void 0:d.show)&&(0,n.jsx)(i.E,{variant:"destructive",className:(0,c.cn)("absolute -top-2 -right-2","min-w-[20px] h-5","flex items-center justify-center","px-1.5 py-0","rounded-full","text-[10px] font-bold leading-none","dark:bg-destructive"),children:null==d?void 0:d.text})]}),(0,n.jsx)("span",{className:(0,c.cn)("text-sm",m&&"text-primary font-bold"),children:r})]})}},22485:(e,t,r)=>{r.d(t,{LanguageSelectorClient:()=>h});var n=r(54568),a=r(7620),s=r(19664),o=r.n(s),i=r(18255),c=r(41692),l=r(84712),d=r(24720),u=r(52623),m=r(44813),f=r(85755);function h(e){let{userLanguages:t,selectedLanguage:r,showAllLanguagesOption:s=!1,showEditLanguagesOption:h=!1,displayOrNewActionLanguage:g="display",showLanguageLabel:p=!0,onLanguageSelect:x,className:v,useHighZIndex:b=!1,onOpenChange:j,align:y="end",error:N,disabled:w=!1}=e,[k,C]=(0,a.useState)(!1);if((0,a.useEffect)(()=>{w&&k&&(C(!1),null==j||j(!1))},[w,k,j]),0===t.length)return(0,n.jsx)(o(),{href:"/settings#languageprofiles",children:(0,n.jsxs)(c.$,{variant:"secondary",size:"sm",className:"gap-2",children:[(0,n.jsx)(i.A,{className:"h-4 w-4"}),"Set Up Languages"]})});let _=e=>{if(!w){if(x){x(e),C(!1);return}"display"===g?(0,m.Oe)(e):"All"!==e&&(0,m.Gb)(e),C(!1)}},I=(()=>{if(null===r)return{name:"Select Language",flag:void 0};if("All"===r)return{name:"All Languages",flag:"All"};let e=(0,u.fJ)(r),t=(0,u.gI)(r);return{name:(null==e?void 0:e.name)||r,flag:t||void 0}})();return(0,n.jsxs)(l.rI,{open:k,onOpenChange:e=>{if(w){k&&(C(!1),null==j||j(!1));return}C(e),null==j||j(e)},modal:!0,children:[(0,n.jsxs)(l.ty,{className:(0,f.cn)("flex items-center px-3 py-2 h-9 shadow-none rounded-sm border-1 transition-colors",N?"border-destructive focus-visible:border-destructive focus-visible:ring-destructive focus-visible:ring-1":"border-input focus-visible:border-primary",w&&"opacity-50 cursor-not-allowed",v),disabled:w,children:[(0,n.jsx)(d.l,{countryCode:I.flag,size:20}),p&&(0,n.jsx)("span",{className:"text-sm font-medium ml-2",children:I.name})]}),(0,n.jsxs)(l.SQ,{align:y,className:"w-48",useHighZIndex:b,children:[h&&(0,n.jsx)("div",{className:"p-2 border-b border-border",children:(0,n.jsx)(o(),{href:"/settings#languageprofiles",children:(0,n.jsxs)(c.$,{variant:"secondary",size:"sm",className:"w-full justify-start gap-2 cursor-pointer",children:[(0,n.jsx)(i.A,{className:"h-4 w-4"}),(0,n.jsx)("span",{children:"Edit Languages"})]})})}),s&&"display"===g&&(0,n.jsxs)(l._2,{onClick:()=>{_("All")},className:"flex items-center cursor-pointer hover:bg-accent hover:text-accent-foreground",children:[(0,n.jsx)(d.l,{countryCode:"All",size:20}),(0,n.jsx)("span",{className:"ml-1",children:"All Languages"})]}),t.map(e=>{let t=(0,u.fJ)(e.languageCode),r=(0,u.gI)(e.languageCode);return(0,n.jsxs)(l._2,{onClick:()=>{_(e.languageCode)},className:"flex items-center cursor-pointer hover:bg-accent hover:text-accent-foreground",children:[r&&(0,n.jsx)(d.l,{countryCode:r,size:20}),(0,n.jsx)("span",{className:"ml-1",children:(null==t?void 0:t.name)||e.languageCode})]},e.languageCode)})]})]})}},23942:(e,t,r)=>{r.d(t,{AM:()=>c,Wv:()=>l,dT:()=>u,hl:()=>d,qM:()=>m});var n=r(54568),a=r(7620),s=r(44492),o=r(85755),i=r(52128);function c(e){let{...t}=e;return(0,n.jsx)(s.bL,{"data-slot":"popover",...t})}function l(e){let{...t}=e;return(0,n.jsx)(s.l9,{"data-slot":"popover-trigger",...t})}function d(e){let{className:t,align:r="center",sideOffset:a=4,...c}=e;return(0,n.jsx)(s.ZL,{children:(0,n.jsx)(s.UC,{"data-slot":"popover-content",align:r,sideOffset:a,className:(0,o.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",t),style:{zIndex:i.M.POPOVER},...c})})}function u(e){let{...t}=e;return(0,n.jsx)(s.Mz,{"data-slot":"popover-anchor",...t})}function m(e){let{children:t,content:r,align:s="center",side:i="bottom",sideOffset:u=4,triggerClassName:m,contentClassName:f,delayDuration:h=0}=e,[g,p]=a.useState(!1),x=a.useRef(void 0),v=()=>{x.current&&clearTimeout(x.current),p(!0)},b=()=>{h>0?x.current=setTimeout(()=>{p(!1)},h):p(!1)};return a.useEffect(()=>()=>{x.current&&clearTimeout(x.current)},[]),(0,n.jsxs)(c,{open:g,onOpenChange:p,children:[(0,n.jsx)(l,{asChild:!0,children:(0,n.jsx)("div",{className:(0,o.cn)("cursor-help",m),onMouseEnter:v,onMouseLeave:b,children:t})}),(0,n.jsx)(d,{className:(0,o.cn)(f),align:s,side:i,sideOffset:u,onMouseEnter:v,onMouseLeave:b,children:r})]})}},24417:(e,t,r)=>{function n(e){return"coach-".concat(e)}function a(e){if(!e||!e.startsWith("coach-"))return null;let t=Number.parseInt(e.replace(/^coach-/,""),10);return!Number.isInteger(t)||t<=0?null:t}r.d(t,{D:()=>n,s:()=>a})},24720:(e,t,r)=>{r.d(t,{l:()=>n.l});var n=r(54188)},41628:(e,t,r)=>{r.d(t,{useTheme:()=>a});var n=r(74354);function a(){let e=(0,n.useThemeStore)(e=>e.theme),t=(0,n.useThemeStore)(e=>e.setTheme),r=(0,n.useThemeStore)(e=>e.getResolvedTheme)(),a="dark"===r;return{theme:e,setTheme:t,isDark:a,isLight:"light"===r,resolvedTheme:r,toggleTheme:()=>{t(a?"light":"dark")}}}},44813:(e,t,r)=>{r.d(t,{Tv:()=>i,Oe:()=>s,fF:()=>c,Gb:()=>o});var n=r(52623);let a="refold_webapp_last-used-language";function s(e){document.cookie="".concat("refold_webapp_display-language","=").concat(e,"; path=/; max-age=").concat(31536e3),window.location.reload()}function o(e){document.cookie="".concat("refold_webapp_new-action-language","=").concat(e,"; path=/; max-age=").concat(31536e3)}function i(){if("undefined"==typeof document)return null;try{let e=document.cookie.split(";").find(e=>e.trim().startsWith("".concat(a,"=")));if(!e)return null;let t=e.indexOf("=");if(-1===t)return null;let r=e.substring(t+1).trim();if(!r||!(0,n.qt)(r))return null;return r}catch(e){return null}}function c(e){"undefined"!=typeof document&&(document.cookie="".concat(a,"=").concat(e,"; path=/; max-age=").concat(31536e3))}},44904:(e,t,r)=>{r.r(t),r.d(t,{DevModeGrantAccess:()=>l});var n=r(54568),a=r(7620),s=r(74614),o=r(48755),i=r(12247);let c=(0,i.createServerReference)("403d3ef156b541e965947571fa21339c3e9130d002",i.callServer,void 0,i.findSourceMapURL,"grantDevModeAdminAccess");function l(e){let{userId:t}=e,[r,i]=(0,a.useState)(!1),[l,d]=(0,a.useState)(null),u=async()=>{i(!0),d(null);try{let e=await c(t);e.success?window.location.reload():d(e.error||"Failed to grant admin access")}catch(e){d("An error occurred while granting admin access")}finally{i(!1)}};return(0,n.jsxs)("div",{className:"mt-6 p-4 border-2 border-dashed border-amber-400 bg-amber-50 dark:bg-amber-950 rounded-lg",children:[(0,n.jsx)(o.o,{variant:"bodyMedium",className:"font-semibold mb-2",children:"\uD83D\uDD27 Development Mode"}),(0,n.jsx)(o.o,{variant:"bodySmall",className:"text-muted-foreground mb-3",children:"Grant yourself admin privileges to access this page."}),(0,n.jsx)(s.$,{onClick:u,disabled:r,variant:"secondary",size:"sm",children:r?"Granting...":"Grant Admin Access"}),l&&(0,n.jsx)(o.o,{variant:"bodySmall",className:"text-destructive mt-2",children:l})]})}},47932:(e,t,r)=>{r.d(t,{P:()=>o});var n=r(23067),a=r(7620),s=r(24417);function o(e,t){let[r,o]=(0,a.useState)(0),i=(0,n.f)(t),c=(0,a.useMemo)(()=>{if(!i||!e)return null;let t=(0,s.D)(e);return i.channel("messaging",t,{refoldChatType:"coach"})},[i,e]);return(0,a.useEffect)(()=>{if(!i||!c||!e)return void o(0);let t=!0,r=()=>{t&&o(c.countUnread()||0)};return(async()=>{try{if(await c.watch(),!t)return;let e=c.countUnread()||0;t&&o(e),c.on("message.new",r),c.on("message.read",r),c.on("channel.updated",r)}catch(e){console.error("Error watching channel for unread count:",e)}})(),()=>{t=!1,c.off("message.new",r),c.off("message.read",r),c.off("channel.updated",r)}},[i,c,e]),r}},50174:(e,t,r)=>{r.d(t,{p:()=>a});var n=r(46447);let a={HomeIcon:n.fA,TrackerIcon:n.sc,ReportsIcon:n.Bi,LearnIcon:n.ot,CommunityIcon:n.zm,ElectricIcon:n.H4,BookTextIcon:n.Aq,ChatIcon:n.oy,FileStackIcon:n.mM,CalendarIcon:n.CT,EllipsisIcon:n.z_,LayersIcon:n.mL,CompassIcon:n.QG,AppsIcon:n.k9,PricingIcon:n.mk,ForumIcon:n.bS,Get
1StartedIcon:n.LV,ExternalHomeIcon:n.IL}},51307:(e,t,r)=>{r.d(t,{MobileMenu:()=>p});var n=r(54568),a=r(7620),s=r(19664),o=r.n(s),i=r(80229),c=r(18255),l=r(1755),d=r(61830),u=r(15777),m=r(66119),f=r(84712),h=r(94277),g=r(50174);function p(e){let{mainLinks:t,overflowLinks:r,user:s}=e,[g,p]=(0,a.useState)(!1),{isDark:v,theme:b,toggleTheme:j}=(0,h.DP)();return(0,n.jsxs)(f.rI,{open:g,onOpenChange:p,children:[(0,n.jsx)(f.ty,{variant:"ghost",asChild:!0,children:(0,n.jsx)(u.K,{icon:(0,n.jsx)(i.A,{className:"h-5 w-5"}),variant:"ghost",size:"sm"})}),(0,n.jsxs)(f.SQ,{align:"end",className:"w-48",children:[s&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f._2,{asChild:!0,children:(0,n.jsxs)(o(),{href:"/settings",className:"flex items-center gap-2 cursor-pointer hover:bg-accent hover:text-accent-foreground",onClick:()=>p(!1),children:[(0,n.jsx)(c.A,{className:"h-4 w-4"}),(0,n.jsx)("span",{children:"Account Settings"})]})}),(0,n.jsxs)(f._2,{className:"flex items-center gap-2 cursor-pointer hover:bg-accent hover:text-accent-foreground",onClick:()=>{j(),p(!1)},children:[(0,n.jsx)(l.Icon,{path:v?d.Uxc:d.nx1,size:.7,className:"text-foreground h-3.5 w-3.5"}),(0,n.jsx)("span",{children:"dark"===b?"Light Mode":"Dark Mode"})]}),(0,n.jsx)(f.mB,{})]}),(0,n.jsxs)(f._2,{className:"flex items-center gap-2 cursor-pointer hover:bg-accent hover:text-accent-foreground",onClick:e=>{e.preventDefault(),p(!1),(0,m.l)()},children:[(0,n.jsx)(l.Icon,{path:d.V$D,size:.7,className:"text-foreground h-3.5 w-3.5"}),(0,n.jsx)("span",{children:"Leave Feedback"})]}),s&&(0,n.jsx)(f.mB,{}),t.map(e=>(0,n.jsx)(x,{link:e,onClose:()=>p(!1)},e.path)),r.length>0&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f.mB,{}),(0,n.jsx)(f.lp,{className:"text-xs text-muted-foreground uppercase tracking-wider",children:"More"}),r.map(e=>(0,n.jsx)(x,{link:e,onClose:()=>p(!1)},e.path))]})]})]})}function x(e){let{link:t,onClose:r}=e,a=g.p[t.iconName];if(!a)return null;let s=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a,{size:t.iconSize||20}),(0,n.jsx)("span",{children:t.label})]});return(0,n.jsx)(f._2,{asChild:!0,children:t.isExternal?(0,n.jsx)("a",{href:t.path,...!t.sameTab&&{target:"_blank",rel:"noopener noreferrer"},className:"flex items-center gap-2 cursor-pointer hover:bg-accent hover:text-accent-foreground",onClick:r,children:s}):(0,n.jsx)(o(),{href:t.path,className:"flex items-center gap-2 cursor-pointer hover:bg-accent hover:text-accent-foreground",onClick:r,children:s})})}},52128:(e,t,r)=>{r.d(t,{M:()=>n});let n={BASE:0,CONTENT:1,HEADER:5,MODAL_LOW_OVERLAY:11,MODAL_LOW_CONTENT:12,DROPDOWN:20,DROPDOWN_SUBMENU:22,POPOVER:30,MODAL_HIGH_OVERLAY:41,MODAL_HIGH_CONTENT:42,TOOLTIP:60}},54188:(e,t,r)=>{r.d(t,{l:()=>l});var n=r(54568),a=r(32536),s=r(85755);let o={centered:"center center",slightlyLeft:"25% center"},i={cover:"cover",fill:"fill"},c={default:{position:o.centered,fit:i.cover},us:{position:o.slightlyLeft,fit:i.cover},fr:{position:o.centered,fit:i.fill}},l=e=>{let{type:t="Circle",countryCode:r,size:i=25,className:l}=e,d="/images/countryFlags/placeholderFlag.png";return r&&(d="All"===r?"/images/countryFlags/displayAllLanguagesFlag.png":"".concat("/images/countryFlags/").concat(r.toLowerCase()).concat(".png")),(0,n.jsx)("div",{className:(0,s.cn)("flex items-center justify-center overflow-hidden","border-1 border-border",l),style:{width:i,height:i,borderRadius:"Circle"===t?i/2:6},children:(0,n.jsx)(a.default,{src:d,alt:"Flag of ".concat(r||"unknown"),width:2*i,height:i,style:{objectFit:(e=>e&&c[e]||c.default)(r).fit,objectPosition:"Rounded"===t?"center center":"us"===r?o.slightlyLeft:o.centered,width:"100%",height:"100%"}})})};l.displayName="Flag"},54877:(e,t,r)=>{r.r(t),r.d(t,{EmbeddedLoginForm:()=>s});var n=r(54568),a=r(84384);function s(e){let{redirectPath:t,className:r,initialMode:s}=e;return(0,n.jsx)("div",{className:r,children:(0,n.jsx)(a.LoginOrCreateForm,{redirectPath:t,initialMode:s})})}},63860:(e,t,r)=>{r.d(t,{Hr:()=>g,Ht:()=>p,SQ:()=>m,_2:()=>f,hO:()=>h,lp:()=>x,mB:()=>v,rI:()=>d,ty:()=>u});var n=r(54568);r(7620);var a=r(8098),s=r(72116),o=r(6438),i=r(66970),c=r(85755),l=r(52128);function d(e){let{modal:t=!0,...r}=e;return(0,n.jsx)(a.bL,{"data-slot":"dropdown-menu",modal:t,...r})}function u(e){let{className:t,children:r,variant:o="default",...i}=e;return"ghost"===o?(0,n.jsx)(a.l9,{"data-slot":"dropdown-menu-trigger",className:(0,
1c.cn)("cursor-pointer",t),...i,children:r}):(0,n.jsx)(a.l9,{"data-slot":"dropdown-menu-trigger",className:(0,c.cn)("flex items-center justify-between cursor-pointer h-10 px-3 py-2 rounded-sm border-1 border-input bg-card text-foreground",t),...i,children:(0,n.jsxs)("div",{className:"flex items-center justify-between w-full",children:[r,(0,n.jsx)(s.A,{className:"h-4 w-4 text-muted-foreground ml-2"})]})})}function m(e){let{className:t,sideOffset:r=4,useHighZIndex:s=!1,...o}=e,i=s?l.M.MODAL_HIGH_CONTENT+10:l.M.DROPDOWN;return(0,n.jsx)(a.ZL,{children:(0,n.jsx)(a.UC,{"data-slot":"dropdown-menu-content",sideOffset:r,className:(0,c.cn)("bg-card text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-sm border-2 border-input p-1 shadow-md",t),style:{zIndex:i},...o})})}function f(e){let{className:t,inset:r,variant:s="default",...o}=e;return(0,n.jsx)(a.q7,{"data-slot":"dropdown-menu-item","data-inset":r,"data-variant":s,className:(0,c.cn)("focus:bg-rf-dynamic-tertiary200 focus:text-accent-foreground hover:bg-rf-dynamic-tertiary200 hover:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...o})}function h(e){let{className:t,children:r,checked:s,...i}=e;return(0,n.jsxs)(a.H_,{"data-slot":"dropdown-menu-checkbox-item",className:(0,c.cn)("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),checked:s,...i,children:[(0,n.jsx)("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:(0,n.jsx)(a.VF,{children:(0,n.jsx)(o.A,{className:"size-4"})})}),r]})}function g(e){let{...t}=e;return(0,n.jsx)(a.z6,{"data-slot":"dropdown-menu-radio-group",...t})}function p(e){let{className:t,children:r,...s}=e;return(0,n.jsxs)(a.hN,{"data-slot":"dropdown-menu-radio-item",className:(0,c.cn)("focus:bg-rf-dynamic-tertiary200 focus:text-accent-foreground hover:bg-rf-dynamic-tertiary200 hover:text-accent-foreground relative flex cursor-pointer items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...s,children:[(0,n.jsx)("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:(0,n.jsx)(a.VF,{children:(0,n.jsx)(i.A,{className:"size-2 fill-current"})})}),r]})}function x(e){let{className:t,inset:r,...s}=e;return(0,n.jsx)(a.JU,{"data-slot":"dropdown-menu-label","data-inset":r,className:(0,c.cn)("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",t),...s})}function v(e){let{className:t,...r}=e;return(0,n.jsx)(a.wv,{"data-slot":"dropdown-menu-separator",className:(0,c.cn)("bg-border -mx-1 my-1 h-px",t),...r})}},66119:(e,t,r)=>{r.d(t,{l:()=>o});let n="https://refold-tracker.nolt.io",a="_blank",s="noopener,noreferrer";async function o(){try{let e=await fetch("/api/nolt/generate-token");if(e.ok){let t=(await e.json()).token,r="".concat(n,"/sso/").concat(t);window.open(r,a,s)}else window.open(n,a,s)}catch(e){console.error("Failed to open Nolt:",e),window.open(n,a,s)}}},66519:(e,t,r)=>{r.d(t,{FeedbackButton:()=>l});var n=r(54568),a=r(41692),s=r(1755),o=r(61830),i=r(76857),c=r(66119);function l(){return(0,n.jsx)(i.qM,{content:"Give feedback or report a bug",children:(0,n.jsx)(a.$,{variant:"ghost",size:"sm",onClick:e=>{e.preventDefault(),(0,c.l)()},className:"p-2 h-auto","aria-label":"Give feedback or report a bug",children:(0,n.jsx)(s.Icon,{path:o.V$D,size:1,className:"text-foreground"})})})}},74354:(e,t,r)=>{function n(e){return"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
1k":"light":e}function a(e){let t=n(e),r=document.documentElement;"dark"===t?r.classList.add("dark"):r.classList.remove("dark");try{window.localStorage.setItem("theme",e)}catch(e){console.error("Error saving theme to localStorage:",e)}}r.d(t,{useThemeStore:()=>s});let s=(0,r(71620).v)((e,t)=>({theme:function(){try{let e=window.localStorage.getItem("theme");if("light"===e||"dark"===e||"system"===e)return e}catch(e){console.error("Error reading theme from localStorage:",e)}return"system"}(),setTheme:t=>{e({theme:t}),a(t)},getResolvedTheme:()=>n(t().theme)}));a(s.getState().theme),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",()=>{"system"===s.getState().theme&&a("system")})},76857:(e,t,r)=>{r.d(t,{AM:()=>n.AM,Wv:()=>n.Wv,hl:()=>n.hl,qM:()=>n.qM});var n=r(23942)},80674:(e,t,r)=>{r.d(t,{RedirectToLogin:()=>i});var n=r(54568),a=r(27541),s=r(7620),o=r(3493);function i(){let e=(0,a.usePathname)(),t=(0,a.useRouter)();return(0,s.useEffect)(()=>{let r=(0,o.S)(e);t.replace(r)},[e,t]),(0,n.jsx)("div",{className:"flex items-center justify-center min-h-screen",children:(0,n.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,n.jsx)("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary"}),(0,n.jsx)("p",{className:"text-muted-foreground text-sm",children:"Redirecting to login..."})]})})}},81305:(e,t,r)=>{r.d(t,{ThemeToggle:()=>l});var n=r(54568),a=r(7620),s=r(41692),o=r(1755),i=r(61830),c=r(41628);function l(){let{isDark:e,toggleTheme:t}=(0,c.useTheme)(),[r,l]=(0,a.useState)(!1);return((0,a.useEffect)(()=>
1{l(!0)},[]),r)?(0,n.jsx)(s.$,{variant:"ghost",size:"sm",onClick:t,className:"p-2 h-auto","aria-label":"Switch to ".concat(e?"light":"dark"," mode"),children:(0,n.jsx)(o.Icon,{path:e?i.Uxc:i.nx1,size:1,className:"text-foreground"})}):(0,n.jsx)(s.$,{variant:"ghost",size:"sm",className:"p-2 h-auto","aria-label":"Toggle theme",children:(0,n.jsx)(o.Icon,{path:i.nx1,size:1,className:"text-foreground"})})}},81609:(e,t,r)=>{r.d(t,{NavLink:()=>c});var n=r(54568),a=r(19664),s=r.n(a),o=r(27541),i=r(50174);function c(e){let{path:t,label:r,iconName:a,iconSize:c=20,isExternal:l,sameTab:d}=e,u=(0,o.usePathname)(),m=!l&&("/"===t?"/"===u:u===t||u.startsWith("".concat(t,"/"))),f=i.p[a];if(!f)return console.warn('Icon "'.concat(a,'" not found in NAV_ICON_MAP')),null;let h="flex items-center space-x-2 hover:text-primary transition-colors ".concat(m?"text-primary":"text-foreground"),g=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f,{size:c,className:m?"text-primary":""}),(0,n.jsx)("span",{className:"text-sm ".concat(m?"text-primary font-bold":""),children:r})]});return l?(0,n.jsx)("a",{href:t,...!d&&{target:"_blank",rel:"noopener noreferrer"},className:h,children:g}):(0,n.jsx)(s(),{href:t,prefetch:!0,className:h,children:g})}},84712:(e,t,r)=>{r.d(t,{Hr:()=>n.Hr,Ht:()=>n.Ht,SQ:()=>n.SQ,_2:()=>n._2,hO:()=>n.hO,lp:()=>n.lp,mB:()=>n.mB,rI:()=>n.rI,ty:()=>n.ty});var n=r(63860)},91896:(e,t,r)=>{r.d(t,{useIsDarkMode:()=>a});var n=r(7620);function a(){let[e,t]=(0,n.useState)(()=>"undefined"!=typeof document&&document.documentElement.classList.contains("dark"));return(0,n.useEffect)(()=>{if("undefined"==typeof document||"undefined"==typeof MutationObserver)return;let e=document.documentElement;t(e.classList.contains("dark"));let r=new MutationObserver(r=>{for(let n of r)"class"===n.attributeName&&t(e.classList.contains("dark"))});return r.observe(e,{attributes:!0,attributeFilter:["class"]}),()=>r.disconnect()},[]),e}},94277:(e,t,r)=>{r.d(t,{hJ:()=>a.useIsDarkMode,DP:()=>n.useTheme}),r(81305);var n=r(41628),a=r(91896);r(74354)}}]);

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.