PageSourceSearch

https://theright.fit/6707.280eba9236f8993d.js

js theright.fit collected 2026-09-24 11:54:06 UTC 22,299 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktrf_frontend=self.webpackChunktrf_frontend||[]).push([[6707],{65454(e,t,n){n.d(t,{Ay:()=>r});var i=n(96540),a=n(85902),s=n(36159),o=n(74848);function r(e){const t=e.title||s.yy,n=e.description||"theright.fit is a marketplace that connects brands to talent. Post a job and let over 17,000 top tier talent apply to you. Find models, actors, photographers, influencers, and more.",r=e.imageUrl||"https://content.theright.fit/platform/images/og-images/home.jpg",l=e.canonicalUrl,c=e.url||l||("undefined"!=typeof window?window.location.href:void 0),d=e.type||"website",h=e.siteName||s.yy,m=e.linkTags||[],p=e.metaTags||[];return(0,i.useEffect)(()=>(document.title=t,()=>{document.title=s.yy}),[t]),(0,o.jsxs)(a.mg,{children:[l&&(0,o.jsx)("link",{rel:"canonical",href:l}),m.map((e,t)=>(0,o.jsx)("link",Object.assign({},e),`${e.rel||"link"}-${e.href||t}-${t}`)),n&&(0,o.jsx)("meta",{name:"description",content:n}),(0,o.jsx)("meta",{property:"og:title",content:t}),n&&(0,o.jsx)("meta",{property:"og:description",content:n}),(0,o.jsx)("meta",{property:"og:image",content:r}),(0,o.jsx)("meta",{property:"og:type",content:d}),c&&(0,o.jsx)("meta",{property:"og:url",content:c}),(0,o.jsx)("meta",{property:"og:site_name",content:h}),(0,o.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,o.jsx)("meta",{name:"twitter:title",content:t}),n&&(0,o.jsx)("meta",{name:"twitter:description",content:n}),(0,o.jsx)("meta",{name:"twitter:image",content:r}),p.map((e,t)=>{const n=e.name||e.property||e.httpEquiv||`meta-${t}`;return(0,o.jsx)("meta",Object.assign({},e),`${n}-${e.content||t}-${t}`)})]})}},33422(e,t,n){n.d(t,{A:()=>o});n(96540);var i=n(27428);const a=n.p+"LoginSlideImage.b2dcfc46aaa5eabc.jpg";var s=n(74848);const o=({type:e,count:t})=>{const n={"--login-image-path":`url(${a})`};return(0,s.jsx)("div",{className:"container",children:(0,s.jsx)("div",{className:`login__gallery d-none d-md-block ${e}`,children:(0,s.jsx)(i.FN,Object.assign({},{showIndicators:!1,showStatus:!1,autoPlay:!0,infiniteLoop:!0,interval:4e3,showArrows:!1},{children:[...Array(t||1)].map((e,t)=>(0,s.jsx)("div",{className:"login__gallery__item",children:(0,s.jsx)("div",{style:n,className:`login__gallery__image login__gallery__image-${t+1}`,id:`login__gallery__image-${t+1}`})},t))}))})})}},90521(e,t,n){n.d(t,{A:()=>m});var i,a,s=n(96540),o=n(40364),r=n(51145);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},l.apply(null,arguments)}var c=function(e){return s.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:19,height:18,fill:"none",viewBox:"0 0 19 18"},e),i||(i=s.createElement("g",{clipPath:"url(#a)"},s.createElement("path",{fill:"#4285F4",d:"M18.325 9.208c0-.612-.05-1.227-.156-1.83H9.68v3.467h4.861a4.17 4.17 0 0 1-1.799 2.734v2.25h2.9c1.704-1.568 2.683-3.883 2.683-6.621"}),s.createElement("path",{fill:"#34A853",d:"M9.68 18.001c2.427 0 4.474-.797 5.966-2.173l-2.9-2.248c-.807.549-1.85.86-3.063.86-2.348 0-4.339-1.585-5.053-3.714H1.637v2.318A9 9 0 0 0 9.68 18"}),s.createElement("path",{fill:"#FBBC04",d:"M4.627 10.725a5.4 5.4 0 0 1 0-3.446V4.961h-2.99a9 9 0 0 0 0 8.082z"}),s.createElement("path",{fill:"#EA4335",d:"M9.68 3.562a4.9 4.9 0 0 1 3.453 1.35l2.569-2.57A8.65 8.65 0 0 0 9.68.001a9 9 0 0 0-8.043 4.96l2.99 2.318c.71-2.133 2.705-3.717 5.053-3.717"}))),a||(a=s.createElement("defs",null,s.createElement("clipPath",{id:"a"},s.createElement("path",{fill:"#fff",d:"M.5 0h18v18H.5z"})))))};n.p;var d=n(13838),h=n(74848);const m=e=>{const[t,n]=(0,s.useState)(!1),[i,a]=(0,s.useState)(!1),[l,m]=(0,s.useState)(""),p=new r.A,u=async t=>{try{var n;a(!0);const i=await fetch(`${o.c.API}auth/${t}/get-redirect-url/?user_type=${null!=(n=null==e?void 0:e.profileType)?n:""}`),s=await i.json();a(!1),p.set("provider",t,{path:"/"});let r=decodeURIComponent(s.data.url);null!=o.c&&o.c.isLocal&&(r=r.replace(o.c.SITE_URL,"http://localhost:4200/")),window.location.href=r}catch(i){a(!1)}},g=t=>{"talent"===(null==e?void 0:e.profileType)?m(t):u(t)};return(0,h.jsxs)("div",{className:"trf-social-connect",children:[(0,h.jsxs)("div",{className:"trf-social-connect-inner",children:["register"===e.type&&(0,h.jsx)("div",{className:"trf-social-connect__item is-facebook mb-2 pb-1 "+(t?"d-none":""),children:(0,h.jsxs)("button",{type:"button",className:"trf-social-connect__button btn text-center",onClick:()=>g("facebook"),disabled:i,children:[(0,h.jsx)("span",{className:"trf-social-connect__icon d-inline-block fb-button"}),(0,h.jsxs)("span",{className:"d-inline-block",children:[e.type," with Facebook"]})]})}),(0,h.jsx)("div",{className:"trf-social-connect__item is-google",children:(0,h.jsx)(d.$n,{type:"button",theme:"grey-outlined",size:"large",isLoading:i,disabled:i,label:t?`${e.type}with Google`:`${e.type} with Google`,leftNode:(0,h.jsx)(c,{width:18,height:18,className:"logo"}),onClick:()=>g("google")})})]}),(0,h.jsx)(d.mM,{show:!!l,type:"alert",description:"Before continuing please confirm that you are at least 18 years old.",primaryActionTheme:"outline-black",secondaryActionTheme:"dark",primaryActionText:"Yes I am 18+",isLoading:i,className:"age-confirmation-modal",contentClassName:"age-confirmation-modal-content",footerClassName:"age-confirmation-modal-footer",onClickPrimary:()=>u(l),onClickSecondary:()=>m(""),onClose:()=>m("")})]})}},8600(e,t,n){n.d(t,{A:()=>a});n(96540);var i=n(74848);const a=({message:e,color:t})=>(0,i.jsx)("div",{className:`alert alert-${t}`,role:"alert",children:e})},80888(e,t,n){n.d(t,{A:()=>
1o});var i=n(40644),a=(n(96540),n(74848));const s=["level","children"],o=e=>{let{level:t,children:n}=e,o=(0,i.A)(e,s);const r=`h${t}`;return(0,a.jsx)(r,Object.assign({},o,{children:n}))}},10355(e,t,n){n.d(t,{A:()=>r});var i=n(40644),a=(n(96540),n(3433)),s=n(74848);const o=["url","target","children"],r=e=>{let{url:t,target:n="",children:r}=e,l=(0,i.A)(e,o);return(0,s.jsx)(a.N_,Object.assign({to:t,target:n},l,{children:r}))}},36159(e,t,n){n.d(t,{A:()=>c,GP:()=>l,W6:()=>s,e2:()=>r,yy:()=>a});const i=n(40364).c.SITE_URL.replace(/\/$/,""),a="The Right Fit",s=/^https?:\/\//i.test(i)?i:"https://theright.fit",o=`${s}/#organization`,r=`${s}/#website`,l={"@type":"Organization","@id":o,name:a,url:s,logo:"https://cdn.prod.website-files.com/5a1030a2808a3a000115faec/6913d2586210485bf7e45cdc_681b3152c4411e6735aaf057_TRF_Logo_Main_Light.svg",description:"The Right Fit is an AI-powered influencer marketing platform that connects brands with 350M+ creators across Instagram, TikTok & YouTube. 0% commission on all influencer bookings.",foundingLocation:{"@type":"Place",name:"Australia"},sameAs:["https://www.instagram.com/theright.fit/","https://www.linkedin.com/company/theright-fit/","https://www.facebook.com/wearetheright.fit/","https://www.tiktok.com/@theright.fit"],contactPoint:{"@type":"ContactPoint",url:`${s}/contact`,contactType:"customer support"}},c={"@type":"WebSite","@id":r,name:a,url:s,inLanguage:"en",publisher:{"@id":o}}},48307(e,t,n){n.r(t),n.d(t,{default:()=>$});var i=n(96540),a=n(65454),s=n(49785),o=n(28454),r=n(58755),l=n(10355),c=n(8204),d=n(3433),h=n(71468),m=n(49376),p=n(61784),u=n(9553),g=n(94580),f=n(53684),v=n(2543),y=n(74848);const b=()=>{const e=(0,c.A)(),t=(0,h.wA)(),n=(0,d.Zp)(),a=(0,d.zy)(),r=new URLSearchParams(a.search),l=r.get("type"),[b,w]=(0,i.useState)(1),[x,j]=(0,i.useState)(!1),[S,_]=(0,i.useState)(!1),{register:k,handleSubmit:N,setValue:O,formState:{errors:A}}=(0,s.mN)({defaultValues:{otp:["","","",""]}}),{mutate:E,isPending:C}=(0,o.n)({mutationFn:t=>(t=>"client"===e.getUserType()?(0,u.RY)(t):(0,g.FP)(t))(t),onError:e=>{j(!0)},onSuccess:n=>{var i;(t((0,m.Lx)({token:e.getAuthToken(),session:e.getSession()})),"talent"===e.getUserType())?e.updateTalentToken():e.storeTokens(null==n||null==(i=n.data)?void 0:i.data);e.clearUnverifiedSession(),w(2)}}),{mutate:T,isPending:$}=(0,o.n)({mutationFn:()=>"talent"===e.getUserType()?(0,g.TP)():(0,u.j_)(),onError:e=>{console.log(e)},onSuccess:e=>{_(!0)}});return(0,y.jsx)(p.A,{show:!0,className:"login-email-varification-modal",children:(0,y.jsxs)(p.A.Body,{children:[1===b&&(0,y.jsxs)("div",{children:[(0,y.jsx)("h5",{className:"modal-title",children:"Please verify your email"}),(0,y.jsx)("p",{className:"message-sent my-2",children:"We have sent code to your email."}),(0,y.jsxs)("form",{onSubmit:N(e=>{E(e.otp.join(""))}),children:[(0,y.jsx)("label",{children:"Verification Code"}),(0,y.jsx)("div",{className:"d-flex opt-input-fields",children:Array.from({length:4},(e,t)=>{var n;return(0,y.jsx)("div",{children:(0,y.jsx)("input",Object.assign({id:`otp_${t}`,className:""+(null!=A&&null!=(n=A.otp)&&n[t]||x?"invalid":""),type:"text",maxLength:1,onInput:e=>((e,t)=>{const n=e.target.value;if(j(!1),n&&t<3){const e=document.getElementById(`otp_${t+1}`);e&&e.focus()}})(e,t),onPaste:e=>((e,t)=>{e.preventDefault();const n=e.clipboardData.getData("text").split("").slice(0,4);for(let i=0;i<n.length;i++)O(`otp.${t+i}`,n[i])})(e,t)},k(`otp.${t}`,{required:"This field is required"})))},t)})}),x&&(0,y.jsx)("p",{className:"invalid-feedback mt-2 mb-0",children:"Verification Code is invalid"}),(0,y.jsx)("div",{className:"d-block text-center",children:(0,y.jsx)("button",{disabled:C,type:"submit",className:"btn btn-trf-yellow btn-rounded submit-btn font-weight-bold d-block text-uppercase",children:"VERIFY"})})]}),S&&(0,y.jsx)("p",{className:"text-center text-success",children:"OTP has been resent to your email."}),(0,y.jsxs)("p",{className:"text-center otp-not-received",children:["Haven\u2019t received the email?"," ",(0,y.jsx)("span",{className:"resend",onClick:()=>{$||T()},children:"Resend"})]})]}),2===b&&(0,y.jsxs)("div",{className:"text-center",children:[(0,y.jsx)(f.h,{}),(0,y.jsx)("h5",{className:"thanks-verify-heading",children:"Thanks for verifying your email!"}),(0,y.jsx)("p",{className:"enjoy-text",children:"You can now fully enjoy theright.fit."}),(0,y.jsx)("button",{type:"button",onClick:()=>
1{if("talent"===e.getUserType()){const e=localStorage.getItem("campaign-id"),t=JSON.parse(localStorage.getItem("brand-insights")||"{}");if(e)n(`/campaign/${e}`);else if((0,v.isEmpty)(t))n("/talent/dashboard");else{localStorage.removeItem("brand-insights");const{action:e,brandId:i=""}=t,a=new URLSearchParams({action:e||"send-pitch"});n(`/brand-insights/${i}?${a.toString()}`)}}else{const e=JSON.parse(localStorage.getItem("direct-collab")||"{}");if(l&&"team-invite"===l)n("/dashboard?"+r.toString());else if((0,v.isEmpty)(e))n("/dashboard");else{localStorage.removeItem("direct-collab");const{action:t,profileSlug:i="",packageId:a="",mediaKitId:s=""}=e;if(a){const e=new URLSearchParams({package:a});n(`/creator/${i}/${s}?${e.toString()}`)}else{const e=new URLSearchParams({directCollabAction:t||"start"});n(`/creator/${i}/${s}?${e.toString()}`)}}}},className:"btn btn-trf-yellow btn-rounded submit-btn font-weight-bold d-block text-uppercase",children:"Continue to theright.fit"})]})]})})};var w=n(13838),x=n(51990);const j="__rOycoW",S={value:new RegExp("^[^@]+@[^\\s@]+\\.[^\\s@]{2,}$","ig"),message:""},_=({handleError:e})=>{const t=(0,c.A)(),n=(0,d.zy)(),a=new URLSearchParams(n.search),p=a.get("type"),u=a.get("redirect"),g=(0,h.wA)(),f=(0,d.Zp)(),[_,k]=(0,i.useState)(!1),[N,O]=(0,i.useState)(!1),{register:A,handleSubmit:E,formState:{isValid:C}}=(0,s.mN)(),{mutate:T}=(0,o.n)({mutationFn:(0,r.LS)("auth/login"),onError:t=>{k(!1),e(t.response.data)},onSuccess:e=>{var n,i;k(!1);const s=null!=e&&null!=(n=e.data)&&null!=(n=n.data)&&n.user_id?"talent":"client";t.storeUserType(s);if(!1===(null==e||null==(i=e.data)||null==(i=i.data)?void 0:i.user_verified)){var o;t.storeUnverifiedTokens(null==e||null==(o=e.data)?void 0:o.data),O(!0)}else{var r;t.storeTokens(null==e||null==(r=e.data)?void 0:r.data),g((0,m.Lx)({token:t.getAuthToken(),session:t.getSession()}));const n=(0,x.Z2)(u);if(n)return f(n);if("talent"===s){const e=localStorage.getItem("campaign-id"),t=JSON.parse(localStorage.getItem("brand-insights")||"{}");if(e)f(`/campaign/${e}`);else if((0,v.isEmpty)(t))f("/talent/dashboard");else{localStorage.removeItem("brand-insights");const{action:e,brandId:n=""}=t,i=new URLSearchParams({action:e||"send-pitch"});f(`/brand-insights/${n}?${i.toString()}`)}}else{var l;const t=JSON.parse(localStorage.getItem("direct-collab")||"{}");if(null==e||null==(l=e.data)||null==(l=l.data)||!l.is_onboarding_complete)return f("/onboarding");if(p&&"team-invite"===p&&f("/dashboard?"+a.toString()),(0,v.isEmpty)(t)){const e=localStorage.getItem("redirectUrl");e?(f(e),localStorage.removeItem("redirectUrl")):f("/dashboard")}else{localStorage.removeItem("direct-collab");const{action:e,profileSlug:n="",packageId:i="",mediaKitId:a=""}=t;if(i)f(`/creator/${n}/${a}?package=${i}`);else{const t=new URLSearchParams({directCollabAction:e||"start"});f(`/creator/${n}/${a}?${t.toString()}`)}}}}}});return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)("div",{className:"form-inputs__body",children:(0,y.jsxs)("form",{className:"w-100",onSubmit:E(e=>{k(!0),T(e)}),children:[(0,y.jsx)("label",{className:"form-control-label",children:"Email"}),(0,y.jsxs)("div",{className:"mb-5",children:[(0,y.jsx)("div",{className:"form-group",children:(0,y.jsx)("input",Object.assign({},A("email",{required:!0,pattern:S}),{placeholder:"Your email address",className:"form-control border-0"}))}),(0,y.jsxs)("div",{className:"form-group",children:[(0,y.jsx)("label",{className:"form-control-label",children:"Password"}),(0,y.jsx)("input",Object.assign({type:"password"},A("password",{required:!0}),{placeholder:"Your password",className:"form-control border-0"}))]}),(0,y.jsx)("p",{children:(0,y.jsx)(l.A,{url:"/forgot-password",children:"Forgot your Password?"})})]}),(0,y.jsx)("div",{className:j,children:(0,y.jsx)(w.$n,{theme:"primary",disabled:!C||_,type:"submit",isLoading:_,children:"Login"})})]})}),N&&(0,y.jsx)(b,{})]})};var k=n(80888),N=n(8600),O=n(27254),A=n(90521),E=n(51145),C=n(63545),T=n(33422);const $=()=>{const e=(0,h.d4)(e=>e.userDetail.data),t=(0,c.A)(),n=(0,d.zy)(),s=new URLSearchParams(n.search),p=s.get("type"),[u,g]=(0,i.useState)({}),f=new E.A,v=(0,d.Zp)(),b=(0,h.wA)(),w=(0,o.n)({mutationFn:(0,r.LS)(`auth/${f.get("provider")}/login`),onSuccess:e=>{var n,i;x();const a=null!=e&&null!=(n=e.data)&&null!=(n=n.data)&&n.user_id?"talent":"client";t.storeTokens(null==e||null==(i=e.data)?void 0:i.data),t.storeUserType(a),b((0,m.Lx)({token:t.getAuthToken(),session:t.getSession()})),f.remove("provider"),v("talent"===a?"/talent/dashboard":"/dashboard")},onError:e=>{g(e.response.data),v("/login"),f.remove("provider")}}),x=()=>{e&&(0,C.s)("system","user.login",e,e.id)};return(0,i.useEffect)(()=>{var e;const t=new URLSearchParams(window.location.search),n=null!=(e=t.get("code"))?e:"",i=t.get("state");let a={code:decodeURI(n)};
1i&&(a={code:decodeURI(n),user_type:i}),n&&w.mutate(a)},[]),(0,y.jsxs)("div",{className:"login",children:[(0,y.jsx)(a.Ay,{type:"profile"}),(0,y.jsx)("section",{children:(0,y.jsx)(T.A,{type:"login"})}),(0,y.jsx)("section",{className:"login__content",children:(0,y.jsxs)("div",{className:"login__content__inner p-5 mx-auto",children:[(0,y.jsx)("div",{className:"login__content__header mw-100",children:(0,y.jsx)("div",{className:"logo",children:(0,y.jsx)(O.h,{width:60,height:60})})}),(0,y.jsx)("div",{className:"login__content__body mt-4 mb-5",children:(0,y.jsx)("div",{className:"form-inputs",children:(0,y.jsxs)("div",{className:"form-inputs__inner",children:[u.message&&(0,y.jsx)(N.A,{message:u.message,color:"danger"}),(0,y.jsxs)("div",{className:"form-inputs__header",children:[(0,y.jsx)(k.A,{level:2,children:"Login to theright.fit",className:"form-inputs__header__title mb-4"}),(0,y.jsxs)("p",{children:["Need an account?",(0,y.jsx)(l.A,{url:p&&"team-invite"===p?"/register?"+s:"/register",children:" Sign up here"})]})]}),(0,y.jsx)(A.A,{type:"Sign in"}),(0,y.jsx)(_,{handleError:e=>{g(e)}})]})})})]})})]})}},53684(e,t,n){n.d(t,{h:()=>c});var i,a,s,o,r=n(96540);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},l.apply(null,arguments)}var c=function(e){return r.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:150,height:152,fill:"none",viewBox:"0 0 150 152"},e),i||(i=r.createElement("circle",{cx:75,cy:76,r:75,fill:"#0D1962",fillOpacity:.08})),a||(a=r.createElement("path",{fill:"#fff",stroke:"#000",strokeMiterlimit:10,strokeWidth:2,d:"M74.848 150C11.78 123.241 10.066 60.047 10.066 60.047s-2.399-29.64 0-41.1c1.92-9.056 10.763-6.175 10.763-6.175C48.592 18.948 74.916 2 74.916 2s26.187 16.948 53.95 10.772c0 0 7.747-2.607 10.763 6.176 3.085 8.92 0 41.1 0 41.1S138.464 123.24 74.848 150Z"})),s||(s=r.createElement("path",{fill:"#FDD943",d:"M76.343 12.65 76 142.385c0 .478.48.751.891.546 7.404-3.552 57.518-29.923 56.079-94.073V23.513c0-.342-.343-.684-.686-.615-4.388.341-28.999 1.776-55.119-10.863-.342-.136-.822.137-.822.615"})),o||(o=r.createElement("path",{stroke:"#222",strokeLinecap:"round",strokeWidth:6,d:"M55 77.661 67.541 90 96 62"})))};n.p},51145(e,t,n){n.d(t,{A:()=>Cookies});var i,a={};var s=function(){if(i)return a;i=1,a.parse=function(e,n){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},a=e.length;if(a<2)return i;var s=n&&n.decode||d,o=0,r=0,m=0;do{if(-1===(r=e.indexOf("=",o)))break;if(-1===(m=e.indexOf(";",o)))m=a;else if(r>m){o=e.lastIndexOf(";",r-1)+1;continue}var p=l(e,o,r),u=c(e,r,p),g=e.slice(p,u);if(!t.call(i,g)){var f=l(e,r+1,m),v=c(e,m,f);34===e.charCodeAt(f)&&34===e.charCodeAt(v-1)&&(f++,v--);var y=e.slice(f,v);i[g]=h(y,s)}o=m+1}while(o<a);return i},a.serialize=function(t,i,a){var l=a&&a.encode||encodeURIComponent;if("function"!=typeof l)throw new TypeError("option encode is invalid");if(!n.test(t))throw new TypeError("argument name is invalid");var c=l(i);if(!s.test(c))throw new TypeError("argument val is invalid");var d=t+"="+c;if(!a)return d;if(null!=a.maxAge){var h=Math.floor(a.maxAge);if(!isFinite(h))throw new TypeError("option maxAge is invalid");d+="; Max-Age="+h}if(a.domain){if(!o.test(a.domain))throw new TypeError("option domain is invalid");d+="; Domain="+a.domain}if(a.path){if(!r.test(a.path))throw new TypeError("option path is invalid");d+="; Path="+a.path}if(a.expires){var m=a.expires;if(!function(t){return"[object Date]"===e.call(t)}(m)||isNaN(m.valueOf()))throw new TypeError("option expires is invali
1d");d+="; Expires="+m.toUTCString()}a.httpOnly&&(d+="; HttpOnly");a.secure&&(d+="; Secure");a.partitioned&&(d+="; Partitioned");if(a.priority){switch("string"==typeof a.priority?a.priority.toLowerCase():a.priority){case"low":d+="; Priority=Low";break;case"medium":d+="; Priority=Medium";break;case"high":d+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(a.sameSite){switch("string"==typeof a.sameSite?a.sameSite.toLowerCase():a.sameSite){case!0:d+="; SameSite=Strict";break;case"lax":d+="; SameSite=Lax";break;case"strict":d+="; SameSite=Strict";break;case"none":d+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return d};var e=Object.prototype.toString,t=Object.prototype.hasOwnProperty,n=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,s=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,o=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,r=/^[\u0020-\u003A\u003D-\u007E]*$/;function l(e,t,n){do{var i=e.charCodeAt(t);if(32!==i&&9!==i)return t}while(++t<n);return n}function c(e,t,n){for(;t>n;){var i=e.charCodeAt(--t);if(32!==i&&9!==i)return t+1}return n}
1function d(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function h(e,t){try{return t(e)}catch(n){return e}}return a}();function o(e,t={}){const n=function(e){if(e&&"j"===e[0]&&":"===e[1])return e.substr(2);return e}(e);if(!t.doNotParse)try{return JSON.parse(n)}catch(i){}return e}class Cookies{constructor(e,t={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const e=this.cookies;this.cookies=s.parse(document.cookie),this._checkChanges(e)};const i="undefined"==typeof document?"":document.cookie;this.cookies=function(e){return"string"==typeof e?s.parse(e):"object"==typeof e&&null!==e?e:{}}(e||i),this.defaultSetOptions=t,this.HAS_DOCUMENT_COOKIE=function(){const e=void 0===n.g?void 0:n.g.TEST_HAS_DOCUMENT_COOKIE;return"boolean"==typeof e?e:"object"==typeof document&&"string"==typeof document.cookie}()}_emitChange(e){for(let t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)}_checkChanges(e){new Set(Object.keys(e).concat(Object.keys(this.cookies))).forEach(t=>{e[t]!==this.cookies[t]&&this._emitChange({name:t,value:o(this.cookies[t])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(e,t={}){return t.doNotUpdate||this.update(),o(this.cookies[e],t)}getAll(e={}){e.doNotUpdate||this.update();const t={};for(let n in this.cookies)t[n]=o(this.cookies[n],e);return t}set(e,t,n){n=n?Object.assign(Object.assign({},this.defaultSetOptions),n):this.defaultSetOptions;const i="string"==typeof t?t:JSON.stringify(t);this.cookies=Object.assign(Object.assign({},this.cookies),{[e]:i}
vendor: 967 bytes, line 1
1),this.HAS_DOCUMENT_COOKIE&&(document.cookie=s.serialize(e,i,n)),this._emitChange({name:e,value:t,options:n})}remove(e,t){const n=t=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),t),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=s.serialize(e,"",n)),this._emitChange({name:e,value:void 0,options:t})}addChangeListener(e){this.changeListeners.push(e),this.HAS_DOCUMENT_COOKIE&&1===this.changeListeners.length&&("object"==typeof window&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(e){const t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1),this.HAS_DOCUMENT_COOKIE&&0===this.changeListeners.length&&("object"==typeof window&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}}}]);

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.