PageSourceSearch

https://krav-pwa.vercel.app/_next/static/chunks/0zfbc4wp.ea85.js?dpl=dpl_Foxi942HSuDcQxoHpx8WT4Mqgxzy

js krav-pwa.vercel.app collected 2026-10-03 05:48:58 UTC 14,752 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="050c216d-7be1-a837-4bf5-09ee53d6f3e2")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return n}});let l=e.r(71645);function n(e,t){let r=(0,l.useRef)(null),n=(0,l.useRef)(null);return(0,l.useCallback)(l=>{if(null===l){let e=r.current;e&&(r.current=null,e());let t=n.current;t&&(n.current=null,t())}else e&&(r.current=o(e,l)),t&&(n.current=o(t,l))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return l}});let l=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var l={default:function(){return v},useLinkStatus:function(){return g}};for(var n in l)Object.defineProperty(r,n,{enumerable:!0,get:l[n]});let o=e.r(90809),a=e.r(43476),i=o._(e.r(71645)),s=e.r(95057),c=e.r(8372),u=e.r(18581),d=e.r(18967),f=e.r(5550);e.r(33525);let p=e.r(88540),m=e.r(91949),h=e.r(73668),b=e.r(9396);function v(t){var r,l;let n,o,v,[g,y]=(0,i.useOptimistic)(m.IDLE_LINK_STATUS),j=(0,i.useRef)(null),{href:w,as:C,children:S,prefetch:P=null,passHref:N,replace:k,shallow:R,scroll:_,onClick:E,onMouseEnter:F,onTouchStart:T,legacyBehavior:L=!1,onNavigate:O,transitionTypes:I,ref:M,unstable_dynamicOnHover:z,...A}=t;n=S,L&&("string"==typeof n||"number"==typeof n)&&(n=(0,a.jsx)("a",{children:n}));let D=i.default.useContext(c.AppRouterContext),U=!1!==P,B=!1!==P?null===(l=P)||"auto"===l?b.FetchStrategy.PPR:b.FetchStrategy.Full:b.FetchStrategy.PPR,$="string"==typeof(r=C||w)?r:(0,s.formatUrl)(r);if(L){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=i.default.Children.only(n)}let K=L?o&&"object"==typeof o&&o.ref:M,W=i.default.useCallback(e=>(null!==D&&(j.current=(0,m.mountLinkInstance)(e,$,D,B,U,y)),()=>{j.current&&((0,m.unmountLinkForCurrentNavigation)(j.current),j.current=null),(0,m.unmountPrefetchableInstance)(e)}),[U,$,D,B,y]),V={ref:(0,u.useMergedRef)(W,K),onClick(t){L||"function"!=typeof E||E(t),L&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!D||t.defaultPrevented||function(t,r,l,n,o,a,s){if
2("u">typeof window){let c,{nodeName:u}=t.currentTarget;if("A"===u.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){n&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(99781);i.default.startTransition(()=>{d(r,n?"replace":"push",!1===o?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,l.current,s)})}}(t,$,j,k,_,O,I)},onMouseEnter(e){L||"function"!=typeof F||F(e),L&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),D&&U&&(0,m.onNavigationIntent)(e.currentTarget,!0===z)},onTouchStart:function(e){L||"function"!=typeof T||T(e),L&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),D&&U&&(0,m.onNavigationIntent)(e.currentTarget,!0===z)}};return(0,d.isAbsoluteUrl)($)?V.href=$:L&&!N&&("a"!==o.type||"href"in o.props)||(V.href=(0,f.addBasePath)($)),v=L?i.default.cloneElement(o,V):(0,a.jsx)("a",{...A,...V,children:n}),(0,a.jsx)(x.Provider,{value:g,children:v})}e.r(84508);let x=(0,i.createContext)(m.IDLE_LINK_STATUS),g=()=>(0,i.useContext)(x);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},43957,e=>{"use strict";let t=(0,e.i(56420).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["default",0,t])},89664,e=>{"use strict";var t=e.i(43957);e.s(["Check",()=>t.default])},23750,e=>{"use strict";var t=e.i(43476),r=e.i(47163);e.s(["Input",0,function({className:e,type:l,...n}){return(0,t.jsx)("input",{type:l,"data-slot":"input",className:(0,r.cn)("h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",e),...n})}])},24071,e=>{"use strict";let t=(0,e.i(56420).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",0,t],24071)},86011,20783,91918,e=>{"use strict";var t=e.i(71645);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function l(...e){return t=>{let l=!1,n=e.map(e=>{let n=r(e,t);return l||"function"!=typeof n||(l=!0),n});if(l)return()=>{for(let t=0;t<n.length;t++){let l=n[t];"function"==typeof l?l():r(e[t],null)}}}}e.s(["composeRefs",0,l,"useComposedRefs",0,function(...e){return t.useCallback(l(...e),e)}],20783);var n=e.i(43476);function o(e){var r;let o,a=(r=e,(o=t.forwardRef((e,r)=>{let{children:n,...o}=e;if(t.isValidElement(n)){var a;let e,i,s=(a=n,(i=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(i=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),c=function(e,t){let r={...t};for(let l in t){let n=e[l],o=t[l];/^on[A-Z]/.test(l)?n&&o?r[l]=(...e)=>{let t=o(...e);return n(...e),t}:n&&(r[l]=n):"style"===l?r[l]={...n,...o}:"className"===l&&(r[l]=[n,o].filter(Boolean).join(" "))}return{...e,...r}}(o,n.props);return n.type!==t.Fragment&&(c.ref=r?l(r,s):s),t.cloneElement(n,c)}return t.Children.count(n)>1?t.Children.only(null):null})).displayName=`${r}.SlotClone`,o),i=t.forwardRef((e,r)=>{let{children:l,...o}=e,i=t.Children.toArray(l),s=i.find(u);if(s){let e=s.props.children,l=i.map(r=>r!==s?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,n.jsx)(a,{...o,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,l):null})}return(0,n.jsx)(a,{...o,ref:r,children:l})});return i.displayName=`${e}.Slot`,i}var a=o("Slot"),i=Symbol("radix.slottable");function s(e){let t=({children:e})=>(0,n.jsx)(n.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=i,t}var c=s("Slottable");function u(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===i}e.s(["Root",0,a,"Slot",0,a,"Slottable",0,c,"createSlot",0,o,"createSlottable",0,s],91918);var d=e.i(91918);e.s(["Slot",0,d],86011)},48425,e=>{"use strict";var t=e.i(71645),r=e.i(74080),l=e.i(91918),n=e.i(43476),o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let o=(0,l.createSlot)(`Primitive.${r}`),a=t.forwardRef((e,t)=>
2{let{asChild:l,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,n.jsx)(l?o:r,{...a,ref:t})});return a.displayName=`Primitive.${r}`,{...e,[r]:a}},{});e.s(["Primitive",0,o,"dispatchDiscreteCustomEvent",0,function(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}])},10708,e=>{"use strict";var t=e.i(43476),r=e.i(71645),l=e.i(48425),n=r.forwardRef((e,r)=>(0,t.jsx)(l.Primitive.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));n.displayName="Label",e.s(["Label",0,n,"Root",0,n],73741);var o=e.i(73741),o=o,a=e.i(47163);e.s(["Label",0,function({className:e,...r}){return(0,t.jsx)(o.Root,{"data-slot":"label",className:(0,a.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...r})}],10708)},58284,e=>{"use strict";var t=e.i(61745);function r(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let l=r(0,t.useTranslations);r(0,t.useFormatter),e.s(["useTranslations",0,l])},78030,e=>{"use strict";var t=e.i(81307);let r=t.z.object({email:t.z.string().trim().toLowerCase().email("Enter a valid email address.")}),l=t.z.object({code:t.z.string().trim().length(6,"Code must be 6 digits.").regex(/^\d{6}$/,"Code must be 6 digits.")}),n=t.z.object({email:t.z.string().trim().toLowerCase().email("Enter a valid email address."),password:t.z.string().min(1,"Required")}),o=t.z.object({email:t.z.string().trim().toLowerCase().email("Enter a valid email address."),password:t.z.string().min(8,"At least 8 characters.")});t.z.object({token:t.z.string().trim().length(6,"Code must be 6 digits.").regex(/^\d{6}$/,"Code must be 6 digits."),newPassword:t.z.string().min(8,"At least 8 characters.")}),e.s(["otpSchema",0,l,"signInEmailSchema",0,r,"signInPasswordSchema",0,n,"signUpPasswordSchema",0,o])},11366,e=>{"use strict";var t=e.i(43476),r=e.i(71645),l=e.i(22016),n=e.i(92989),o=e.i(24071),a=e.i(89664),i=e.i(53145),s=e.i(94814),c=e.i(58284),u=e.i(46696),d=e.i(74946),f=e.i(23750),p=e.i(78030),m=e.i(93061);let h="h-[52px] text-base rounded-[14px] px-4 bg-[color:var(--d-surface)] border-[color:var(--d-border-strong)] text-[color:var(--d-text)] placeholder:text-[color:var(--d-text-3)] focus-visible:border-[color:var(--color-primary)] focus-visible:ring-2 focus-visible:ring-[color:var(--color-primary)]";e.s(["default",0,function(){let e=(0,c.useTranslations)("signUp"),b=(0,n.useRouter)(),[v,x]=(0,r.useState)(!1),g=(0,i.useForm)({resolver:(0,s.zodResolver)(p.signUpPasswordSchema),defaultValues:{email:"",password:""},mode:"onChange"});async function y(t){try{await (0,m.signUpWithPassword)(t.email,t.password)}catch(r){let t=r instanceof Error&&r.message?r.message:"object"==typeof r&&null!==r&&"message"in r?String(r.message):e("errors.generic");console.error("signUpWithPassword failed",{message:t,raw:r}),u.toast.error(t);return}b.push("/onboarding")}let j=g.formState.isSubmitting,w=g.formState.isValid;return(0,t.jsxs)("main",{className:"flex flex-1 flex-col min-h-screen",style:{background:"var(--d-bg)",color:"var(--d-text)"},children:[(0,t.jsxs)("header",{className:"flex items-center h-[52px] px-4",style:{borderBottom:"1px solid var(--d-border)"},children:[(0,t.jsx)(l.default,{href:"/","aria-label":"Back",className:"inline-flex items-center justify-center w-11 h-11 -ml-3",style:{color:"var(--d-text-2)"},children:(0,t.jsx)(o.ChevronLeft,{className:"w-6 h-6",strokeWidth:2})}),(0,t.jsx)("h2",{className:"text-h4 ml-1",style:{color:"var(--d-text)"},children:e("title")})]}),(0,t.jsxs)("div",{className:"flex flex-1 flex-col px-6 pt-8",children:[(0,t.jsx)("h1",{className:"text-h1 mb-2",style:{color:"var(--d-text)"},children:e("heading")}),(0,t.jsx)("p",{className:"text-body mb-8",style:{color:"var(--d-text-2)"},children:e("helper")}),(0,t.jsx)(d.Form,{...g,children:(0,t.jsxs)("form",{onSubmit:g.handleSubmit(y),className:"flex flex-col flex-1 gap-4",noValidate:!0,children:[(0,t.jsx)(d.FormField,{control:g.control,name:"email",render:({field:r})=>(0,t.jsxs)(d.FormItem,{children:[(0,t.jsx)(d.FormLabel,{className:"sr-only",children:e("emailPlaceholder")}),(0,t.jsx)(d.FormControl,{children:(0,t.jsx)(f.Input,{type:"email",inputMode:"email",autoComplete:"email",autoCapitalize:"off",autoCorrect:"off",autoFocus:!0,placeholder:e("emailPlaceholder"),className:h,disabled:j,...r})}),(0,t.jsx)(d.FormMessage,{})]})}),(0,t.jsx)(d.FormField,{control:g.control,name:"password",render:({field:r})=>(0,t.jsxs)(d.FormItem,{children:[(0,t.jsx)(d.FormLabel,{className:"sr-only",children:e("passwordPlaceholder")}),(0,t.jsx)(d.FormControl,{children:(0,t.jsx)(f.Input,{type:"password",autoComplete:"new-password",placeholder:e("passwordPlaceholder"),className:h,disabled:j,...r})}),(0,t.jsx)(d.FormDescription,{style:{color:"var(--d-text-3)"},children:e("passwordHelper")}),(0,t.jsx)(d.FormMessage,{})]})}),(0,t.jsxs)("div",{className:"mt-auto pt-8 pb-2 flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"flex items-start gap-2.5",children:[(0,t.jsx)("button",{type:"button",role:"checkbox","aria-checked":v,"aria-label":"I agree to the Terms & Privacy Policy",onClick:()=>x(e=>!e),disabled:j,className:"mt-0.5 inline-flex items-center justify-center w-5 h-5 rounded-[6px] shrink-0 transition-colors",style:{background:v?"var(--color-primary)":"var(--d-surface)",border:`1px solid ${v?"var(--color-primary)":"var(--d-border-strong)"}`},children:v&&(0,t.jsx)(a.Check,{className:"w-3.5 h-3.5",strokeWidth:3,style:{color:"#fff"}})}),(0,t.jsx)("span",{className:"text-body-sm",style:{color:"var(--d-text-2)"},children:e.rich("consent",{link:e=>(0,t.jsx)("a",{href:"https://kravtofly.app/legal",target:"_blank",rel:"noopener noreferrer",className:"underline-offset-4 hover:underline",style:{color:"var(--d-text)"},children:e})})})]}),(0,t.jsx)("button",{type:"submit",disabled:!w||!v||j,className:"inline-flex w-full h-[52px] items-center justify-center rounded-[26px] text-base font-semibold transition-opacity",style:{background:"var(--color-primary)",color:"#fff",opacity:w&&v&&!j?1:.5},children:j?"…":e("cta")}),(0,t.jsx)("p",{className:"text-body-sm text-center",style:{color:"var(--d-text-2)"},children:e.rich("hasAccount",{link:e=>(0,t.jsx)(l.default,{href:"/sign-in",className:"underline-offset-4 hover:underline",style:{color:"var(--d-text)"},children:e})})})]})]})})]})]})}])}]);
3
4//# debugId=050c216d-7be1-a837-4bf5-09ee53d6f3e2

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.