PageSourceSearch

https://web.cdn.greenlight.com/2.1765.0/_next/static/chunks/5434.4b076baebaee6bae.js

js greenlight.com collected 2026-10-01 10:12:10 UTC 12,045 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5434],{25434:(e,t,l)=>{l.r(t),l.d(t,{MobilePhoneNumberWidget:()=>b});var r=l(37876),s=l(14232),i=l(95534),a=l(58103),n=l.n(a),o=l(66316),d=l(76592),u=l(68483),c=l(36479),p=l(33928),x=l(47744),m=l(63126),f=l(40997);let h={[m.nA.PARAGRAPH]:(e,t)=>(0,r.jsx)("p",{className:"w-fit items-center justify-center text-[10px] leading-4",children:t}),[x.XD.HYPERLINK]:e=>(0,r.jsx)("a",{href:e.data.uri,target:e.data.target,rel:"_blank"===e.data.target?"noopener noreferrer":void 0,className:"text-blue-600 focus:ring-blue-500 underline focus:outline-none focus:ring-2",children:e.content[0].value})};function b({autocompleteAttribute:e,buttonColor:t="ginger",buttonHoverColor:l="green",borderColor:a="#3BBFAD",buttonText:x=i.TE,returningUserButtonText:m,buttonContent:g,label:w=e?.includes("email")?i.mo:void 0,privacyDisclaimerDropdown:v,errorMessage:j,errorPosition:C,isReturning:F,showErrorBanner:k,inputProps:y,segmentEventName:N,submitted:B,successMessage:L="Thank You!",useDropshadow:D=!1,responsive:_}
1){let[E,R]=(0,s.useState)(!1),[P,M]=(0,s.useState)(!1),[I,A]=(0,s.useState)(!1),$=(0,s.useId)(),T=(0,s.useId)(),S=(0,s.useId)(),Z=y?.id?`${y.id}-${$}`:$,z=(0,s.useRef)(null),H=(0,s.useRef)(null),V=(0,s.useRef)(null);(0,s.useEffect)(()=>{j&&setTimeout(()=>{z.current?.focus()},200)},[j]);let{cookies:{userCTAInteraction:Y}={}}=(0,u.Yu)(),W=Y&&Y?.includes(N||""),{value:K}=y??{};return(0,s.useEffect)(()=>{P&&I&&V.current&&setTimeout(()=>{V.current?.focus(),A(!1)},100)},[P,I]),(0,s.useEffect)(()=>{let e=e=>{e.target.closest('[data-testid="mobile-phone-widget"]')||(R(!1),M(!1))};return P&&document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[P]),(0,r.jsxs)("div",{"data-testid":"mobile-phone-widget",className:n()("relative z-[3] flex h-full max-h-16 flex-row items-center justify-center",{"w-fit":!_}),onMouseDownCapture:e=>{let t=e.target;"INPUT"!==t.tagName&&"BUTTON"!==t.tagName&&"LABEL"!==t.tagName&&"A"!==t.tagName&&(e.preventDefault(),z.current?.focus(),R(!0),v&&M(!0))},children:[(0,r.jsxs)("div",{className:"z-[1] flex h-full w-full items-center",children:[(0,r.jsx)(f.V,{htmlFor:Z,id:`${Z}-label`,floatLabel:!!K||E,submitted:B&&!!N,"data-testid":"mobile-phone-number-label",onClick:()=>{z.current?.focus(),R(!0)},onMouseDown:e=>{e.preventDefault(),e.stopPropagation(),z.current?.focus(),R(!0)},children:B?"":w}),(0,r.jsx)(o.g,{...y,ref:z,type:e??"tel",onFocus:()=>{R(!0),v&&M(!0)},onBlur:e=>{let t=e.relatedTarget;t?.closest('[data-testid="mobile-phone-widget"]')||(R(!1),M(!1))},onKeyDown:e=>{"Tab"===e.key&&v&&!P&&(M(!0),A(!0)),"Escape"===e.key&&P&&(M(!1),R(!1),z.current?.focus())},className:"font-medium",id:Z,placeholder:"",autoComplete:e??"tel",borderColor:k&&j?"#D31400":a,floatLabel:!!K||E,submitted:B&&!!N,value:B&&N?L:K,"data-e2e":"phone-number","data-testid":"mobile-phone-number-input","aria-invalid":!!j,"aria-describedby":j?T:void 0,useDropshadow:D,isReturning:F,responsive:_}),!B&&(0,r.jsx)(d.W,{type:"submit",cfButtonColor:t,cfButtonHoverColor:l,useDropshadow:D,"data-e2e":"btn-getting-started","data-testid":"btn-getting-started",children:!N&&F||W?m??(g||x):g||x})]}),!!v&&(0,r.jsx)("div",{"data-testid":"privacy-disclaimer",ref:V,id:S,tabIndex:-1,role:"region","aria-labelledby":`${Z}-label`,"aria-describedby":Z,className:n()("absolute left-0 top-full -mt-1 h-8 w-full overflow-hidden rounded-b-lg bg-[#F8F7F3] transition-all duration-300",{"max-h-14 opacity-100":P,"max-h-0 opacity-0":!P}),children:(0,r.jsx)("div",{className:"flex h-full items-center justify-center",children:(0,r.jsx)(p.A,{data:v,overrideOptions:h})})}),k&&j&&(0,r.jsx)(c.u,{ref:H,id:T,message:j,position:C,isDisclaimerPresent:!!v,variant:"error",role:"alert","aria-live":"polite",tabIndex:-1}),B&&(0,r.jsx)(c.u,{message:L,isDisclaimerPresent:!!v,position:"bottom",variant:"success"})]})}},36479:(e,t,l)=>{l.d(t,{u:()=>u});var r=l(37876),s=l(14232),i=l(58103),a=l.n(i);function n({className:e}){let t=(0,s.useId)();return(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,role:"img","aria-labelledby":t,children:[(0,r.jsx)("title",{id:t,children:"Error"}),(0,r.jsx)("g",{clipPath:"url(#clip0_9061_296)",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.666626 8.00001C0.666626 3.94992 3.94987 0.666672 7.99996 0.666672C12.05 0.666672 15.3333 3.94992 15.3333 8.00001C15.3333 12.0501 12.05 15.3333 7.99996 15.3333C3.94987 15.3333 0.666626 12.0501 0.666626 8.00001ZM7.99996 4.50001C8.36815 4.50001 8.66663 4.79848 8.66663 5.16667V8.50001C8.66663 8.86819 8.36815 9.16667 7.99996 9.16667C7.63177 9.16667 7.33329 8.86819 7.33329 8.50001V5.16667C7.33329 4.79848 7.63177 4.50001 7.99996 4.50001ZM8.83329 10.6667C8.83329 11.1269 8.4602 11.5 7.99996 11.5C7.53972 11.5 7.16663 11.1269 7.16663 10.6667C7.16663 10.2064 7.53972 9.83334 7.99996 9.83334C8.4602 9.83334 8.83329 10.2064 8.83329 10.6667Z",fill:"#D31400"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_9061_296",children:(0,r.jsx)("rect",{width:"16",height:"16",fill:"white"})})})]})}function o({className:e}){let t=(0,s.useId)();return(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,role:"img","aria-labelledby":t,children:[(0,r.jsx)("title",{id:t,children:"Success"}),(0,r.jsx)("g",{clipPath:"url(#clip0_9112_265)",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.99996 0.666672C3.94987 0.666672 0.666626 3.94992 0.666626 8.00001C0.666626 12.0501 3.94987 15.3333 7.99996 15.3333C12.05 15.3333 15.3333 12.0501 15.3333 8.00001C15.3333 3.94992 12.05 0.666672 7.99996 0.666672ZM11.138 5.5286C11.3984 5.78895 11.3984 6.21106 11.138 6.47141L7.47136 10.1381C7.21101 10.3984 6.7889 10.3984 6.52855 10.
11381L4.86189 8.47141C4.60154 8.21106 4.60154 7.78895 4.86189 7.5286C5.12224 7.26825 5.54435 7.26825 5.8047 7.5286L6.99996 8.72386L10.1952 5.5286C10.4556 5.26825 10.8777 5.26825 11.138 5.5286Z",fill:"#2CB87F"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_9112_265",children:(0,r.jsx)("rect",{width:"16",height:"16",fill:"white"})})})]})}function d({className:e}){let t=(0,s.useId)();return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",className:e,role:"img","aria-labelledby":t,children:[(0,r.jsx)("title",{id:t,children:"Error"}),(0,r.jsx)("g",{clipPath:"url(#clip0_1593_31451)",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.22183 4.21818C-0.0667774 8.50678 -0.0667771 15.4859 4.22183 19.7745C8.51043 24.0631 15.4896 24.0631 19.7782 19.7745C24.0668 15.4859 24.0668 8.50678 19.7782 4.21818C15.4896 -0.0704257 8.51043 -0.0704257 4.22183 4.21818ZM14.3335 11.9964L17.0558 9.27399L14.7224 6.94054L12 9.6629L9.27764 6.94054L6.94419 9.27399L9.66655 11.9964L6.94419 14.7187L9.27764 17.0522L12 14.3298L14.7224 17.0522L17.0558 14.7187L14.3335 11.9964Z",fill:"#FF867F"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_1593_31451",children:(0,r.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]})}let u=s.forwardRef(({message:e,position:t,variant:l,isDisclaimerPresent:s,id:i,role:u,"aria-live":c,tabIndex:p},x)=>(0,r.jsx)(r.Fragment,{children:s?(0,r.jsxs)("div",{"data-testid":"banner-message",ref:x,id:i,role:u,"aria-live":c,tabIndex:p,className:a()("z-1 absolute top-full -mt-1 flex h-8 w-full items-center rounded-b-md pb-[5px] pl-4 pt-[6px] text-[10px]","top"===t?"bottom-full":"top-full","error"===l&&"bg-[#FFE2DE]","success"===l&&"bg-[#CCF6E5]"),children:["error"===l&&(0,r.jsx)(d,{className:"mr-2"}),"success"===l&&(0,r.jsx)(o,{className:"mr-2"}),e]}):(0,r.jsxs)("div",{"data-testid":"banner-message",ref:x,id:i,role:u,"aria-live":c,tabIndex:p,className:a()("font-size-xs absolute z-10 mt-2 flex w-full items-center rounded-lg p-2 text-left text-xs font-normal","top"===t?"bottom-full":"top-full","error"===l&&"bg-[#fcefee] text-[#D31400]","success"===l&&"bg-[#ebfdf5] text-[#2CB87F]"),children:["error"===l&&(0,r.jsx)(n,{className:"mr-2"}),"success"===l&&(0,r.jsx)(o,{className:"mr-2"}),e]})}));u.displayName="BannerMessage"},40997:(e,t,l)=>{l.d(t,{V:()=>s});var r=l(37876);function s({floatLabel:e,submitted:t,className:l,children:i,...a}){let n=["absolute",t?"left-auto":"left-0","font-medium","text-black","rounded-[16px]","transition-all","duration-300","cursor-text",...e?["top-0","translate-y-0","py-[2px]","px-0","text-[12px]","mt-2","ml-3","bg-white","small:py-[2px]","small:px-1","small:text-[12px]","tablet:text-[12px]","desktop:text-[0.8em]","desktop:py-0","desktop:px-1"]:["top-1/2","-translate-y-1/2","px-4","text-[14px]","small:px-4","small:text-[14px]","tablet:text-[14px]","desktop:text-[16px]","desktop:pl-4","desktop:pr-0"],l||""].join(" ");return(0,r.jsx)("label",{className:n,...a,children:i})}l(14232)},52947:(e,t,l)=>{l.d(t,{$:()=>r});let r=e=>{if(""===e)return e;let t=e.replace(/\D/g,"").substring(0,10),l=t.substring(0,3),r=t.substring(3,6),s=t.substring(6,10);return t.length>6?`(${l}) ${r}-${s}`:t.length>3?`(${l}) ${r}`:t.length>0?l:void 0}},66316:(e,t,l)=>{l.d(t,{g:()=>a});var r=l(37876),s=l(14232),i=l(52947);let a=(0,s.forwardRef)(function({floatLabel:e,submitted:t,useDropshadow:l,isReturning:s,borderColor:a="#80d6b0",responsive:n,className:o,style:d,type:u="text",value:c,onChange:p,handleOnChange:x,...m},f){let h=n?"desktop:w-full":l?s?"desktop:[width:calc(25.625rem+3.5rem)]":"desktop:w-[25.625rem]":s?"desktop:[width:calc(19.5rem+3.5rem)]":"desktop:w-[19.5rem]",b=["box-border","h-14",...n?["w-full",h]:["w-[19.5rem]","min-[321px]:max-[350px]:w-[280px]",l?"tablet:w-[410px]":"tablet:w-[280px]",h],"flex-1","text-left","bg-no-repeat","appearance-none","outline-0","focus-visible:outline-2","focus-visible:outline-[#BBF174]","focus-visible:outline-offset-4","rounded-[8px]","placeholder:text-[#1D252C]","placeholder:text-[14px]",e?"pt-[28px] pb-[18px] pl-4 pr-[130px]":"p-4 pr-[130px]"];
1return l?b.push("shadow-[6px_6px_0_0_#1D252C]","border","border-[#1D252C]","rounded-[8px]"):b.push("border"),n||b.push(l?"desktop:w-[410px]":"desktop:w-[312px]"),b.push(t?"disabled:bg-[#EEFBF5]":"disabled:bg-white"),(0,r.jsx)("input",{ref:f,...m,type:u,value:c,onChange:e=>{let t=e.target.value,l=t;l="tel"===u?(0,i.$)(t)||"":t,x?.(l),p?.(e)},maxLength:"tel"===u?14:320,className:[...b,o||""].join(" "),style:{backgroundImage:t?"url(/images/green-checkmark-circle.svg)":void 0,backgroundPositionX:"4%",backgroundPositionY:t?"50%":"65%",lineHeight:t?"56px":void 0,borderColor:l?void 0:a,paddingLeft:t?"65px":void 0,paddingTop:t?0:void 0,paddingBottom:t?0:void 0,paddingRight:t?0:void 0,fontSize:"16px",...d||{}}})})},76592:(e,t,l)=>{l.d(t,{W:()=>o});var r=l(37876),s=l(14232);let i={spearmint:"#80D6B0",green:"#3BBFAD",ginger:"#F4BA42",blackberry:"#1D252C",cinnamint:"#D66755",sweetmint:"#035C67",white:"#FFFFFF",mutedNavy:"#9AB5B8",transparent:"transparent",limegreen:"#BBF174",callout:"#CDE012"};function a(e){if(e){if("string"==typeof e)return e;if("object"==typeof e)return e["0"]??e.min??e.mobile??e.tablet??e.desktop??e.max}}function n(e,t){let l=a(e);return l?i[l]??t:t}function o({cfButtonColor:e="ginger",cfButtonHoverColor:t="green",useDropshadow:l,className:d,style:u,onMouseEnter:c,onMouseLeave:p,onFocus:x,onBlur:m,children:f,...h}){var b;let g,w,[v,j]=(0,s.useState)(!1),C=(0,s.useMemo)(()=>n(e,i.ginger),[e]),F=(0,s.useMemo)(()=>n(t,C),[t,C]),k=v?F:C,y=(b=v?t:e,g=new Set(["blackberry","sweetmint"]),(w=a(b))&&g.has(w)?"#FFFFFF":"#1D252C");return(0,r.jsx)("button",{...h,className:["absolute box-border right-1.5 h-10 small:h-10 tablet:h-10 text-[12px] px-3 rounded-[8px] font-medium transition-colors duration-200 small:right-1.5 small:text-[14px] small:min-w-[112px] mobile:min-w-[112px] tablet:min-w-[112px] tablet:text-[14px]",d||""].join(" "),style:{backgroundColor:k,color:y,borderRadius:"8px",...u},onMouseEnter:e=>{j(!0),c?.(e)},onMouseLeave:e=>{j(!1),p?.(e)},onFocus:e=>{j(!0),x?.(e)},onBlur:e=>{j(!1),m?.(e)},children:f})}}}]);

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.