1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6a7471b6-9795-41f5-b49f-838e1085ae13",e._sentryDebugIdIdentifier="sentry-dbid-6a7471b6-9795-41f5-b49f-838e1085ae13")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9395],{57169:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/deal-proposal/[dealUuid]",function(){return n(62844)}])},32661:function(e,t,n){"use strict";n.d(t,{L:function(){return d},i:function(){return s}});var i=n(68998),o=n(67118),r=n.n(o),a=n(12946);let l="deal/retrieveDeals",s=l,d=async e=>{var t;let n=await a.v_(l,r()({...e,productType:(null===(t=e.productType)||void 0===t?void 0:t.length)?e.productType:void 0,dealName:e.dealName?e.dealName:void 0},{deep:!0,exclude:["productType","dealDirection","dealName","archiveStatus"]}));return(0,i.Z)(n.data,{deep:!0})}},72016:function(e,t,n){"use strict";n.d(t,{C:function(){return l},H:function(){return a}});var i=n(68998),o=n(12946);let r="deal/retrieveDealsWithDealCount",a=r,l=async e=>{let t=await o.v_(r,{...e}),n=(0,i.Z)(t.data.deals,{deep:!0});return{dealCount:t.data.dealCount,deals:n}}},13850:function(e,t,n){"use strict";n.d(t,{C:function(){return a},h:function(){return r}});var i=n(12946);let o="user/vetting-questionnaire/vettingRequired",r=o,a=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(await i.v_(o,e)).data}},8057:function(e,t,n){"use strict";n.d(t,{E7:function(){return r},a2:function(){return o}});var i=n(52143);let o=e=>!!e&&!!i.gy&&e===i.gy,r=e=>"what brand do you want to work with?"===e.trim().toLowerCase()},27688:function(e,t,n){"use strict";var i=n(67294),o=n(91335),r=n(92635);t.Z=e=>{let t=(0,o.Z)(e=>e.siteId),n=(0,i.useRef)(!1);(0,i.useEffect)(()=>{if(n.current||!(null==e?void 0:e.siteId)||!t||e.siteId===t||(0,r._K)(window.location.search)===e.siteId)return;let i=(0,r.aE)("".concat(window.location.pathname).concat(window.location.search),e,t);i&&(n.current=!0,window.location.replace(i))},[null==e?void 0:e.siteId,null==e?void 0:e.siteHostname,t])}},94927:function(e,t,n){"use strict";n.d(t,{Us:function(){return d},k4:function(){return s}});var i=n(17e3),o=n(13850),r=n(4431),a=n(6040),l=n(33702);let s=e=>e.dealInfo.dealProgressCurrent.stage===a.Jz.NEGOSH_REVIEW&&!(0,l.$Z)(e),d=function(e,t){var n,i;let o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=(null!==(i=null===(n=(0,l.so)(e))||void 0===n?void 0:n.recommendationsAvailable)&&void 0!==i?i:0)>0,a=t&&("no_response_found"===e.vettingStatus||"in_progress"===e.vettingStatus),s=o&&"due_diligence_questionnaire_not_submitted"===e.licenseeVerificationStatus,d=o&&"due_diligence_questionnaire_submitted"===e.licenseeVerificationStatus,u=[];return a&&u.push({type:"vetting",status:"in_progress"===e.vettingStatus?"in_progress":"not_started",actionable:!0}),(s||d)&&u.push({type:"verification",status:d?"in_review":"not_verified",actionable:s}),r&&u.push({type:"profile",status:"not_added",actionable:!0}),{licenseeVettingNeeded:a,licenseeVerificationNeeded:s,licenseeProfileEnrichmentNeeded:r,cards:u}};t.ZP=function(e){var t;let{enabled:n=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null==e?void 0:null===(t=e.item)||void 0===t?void 0:t.userUuid,{showLicenseeVerificationCapabilities:l}=(0,r.ND)(),{data:s,isInitialLoading:u}=(0,i.a)({queryKey:[o.h,a],queryFn:()=>(0,o.C)({licensorUserUuid:a}),enabled:n&&!!a});return e?{...d(e,(null==s?void 0:s.required)===!0,l),isLoading:u}:{licenseeVettingNeeded:!1,licenseeVerificationNeeded:!1,licenseeProfileEnrichmentNeeded:!1,cards:[],isLoading:!1}}},40462:function(e,t,n){"use strict";var i=n(85893);let o=(0,n(57680).Z)((0,i.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{d:"M13.75 6.75L19.25 12L13.75 17.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M19 12H4.75",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"ArrowRightIcon");t.Z=o},62844:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return H},default:function(){return O}});var i=n(85893),o=n(17e3),r=n(11163),a=n(67294),l=n(32661),s=n(72016),d=n(40567),u=n(303),c=n(10498),p=n(27688),f=n(57551),v=n(6040),h=n(56274),g=n(14440),m=n(34087),x=n(94246),w=n(77574),y=n(67421),b=n(98924),Z=n(68520),_=n(32195),j=n(6577),k=n(8057),C=n(84118),S=n(4431),I=n(3419),N=n(94927),D=n(91245),E=n(32542),L=n(36590),P=n(5601),R=n(6609),T=n(4198),A=(0,n(57680).Z)((0,i.jsx)("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zM6 4h7l5 5v8.58l-1.84-1.84c1.28-1.94 1.07-4.57-.64-6.28C14.55 8.49 13.28 8 12 8s-2.55.49-3.53 1.46c-1.95 1.95-1.95 5.11 0 7.05.97.97 2.25 1.46 3.53 1.46.96 0 1.92-.28 2.75-.83L17.6 20H6zm8.11 11.1c-.56.56-1.31.88-2.11.88s-1.55-.31-2.11-.88c-.56-.56-.88-1.31-.88-2.11s.31-1.55.88-2.11c.56-.57 1.31-.88 2.11-.88s1.55.31 2.11.88c.56.56.88 1.31.88 2.11s-.31 1.55-.88 2.11"}),"FindInPageOutlined"),q=n(37871),M=n(40462),z={color:"neutralSubdued"},F={color:"neutralSubdued"},U=e=>
1{let{companyName:t,inProgress:n=!1,onStart:o}=e,{t:r}=(0,q.$G)();return(0,i.jsx)(_.Z,{variant:"primary",icon:(0,i.jsx)(A,{sx:z}),title:r("licensee-vetting.callout-title",{companyName:t}),button:(0,i.jsx)(Z.Z,{size:"large",onClick:o,endIcon:(0,i.jsx)(M.Z,{}),"data-testid":"start-vetting-button",children:r(n?"licensee-vetting.callout-continue":"licensee-vetting.callout-start")}),children:(0,i.jsx)(g.Z,{component:"span",sx:F,children:r("licensee-vetting.callout-body",{companyName:t})})})},W={wrapper:{position:"relative",display:"flex",flex:1,flexDirection:"column",alignItems:"center",justifyContent:"flex-start",padding:"16px",overflow:"hidden"},whiteContainer:{border:"2px solid",borderColor:"neutralSoftBorder",position:"relative",zIndex:1,mt:{xs:0,md:"40px"},width:{xs:"100%",md:"648px"},maxWidth:"100%",p:{xs:"24px 36px 36px 36px",md:"36px 48px 48px 48x"},mx:{xs:0,md:"auto"}},headerStack:{direction:"column",alignItems:"center",gap:.5,textAlign:"center",mb:4},icon:{color:"successStrong",mx:"auto",width:"96px",height:"96px",mb:1},description:{color:"neutralSubdued"},buttonStack:{direction:{xs:"column",md:"row"},width:"100%",gap:2},link:{color:"primaryStrong",textDecoration:"underline",whiteSpace:"nowrap",cursor:"pointer"},clickable:{cursor:"pointer"}},V=e=>{var t,n,o;let{deal:l}=e,s=(0,P.M)().includes(L.uX.FACILITATOR),{t:d}=(0,f.Z)(),{showMarketplaceElements:u,showNegoshElements:c}=(0,S.ND)(),p=(0,r.useRouter)(),[h,A]=(0,a.useState)(!1),{query:q}=p,M="message"===q.type,z=null==l?void 0:null===(t=l.item)||void 0===t?void 0:t.userUuid,F=null==l?void 0:null===(n=l.counterparty)||void 0===n?void 0:n.companyName,{isLicensee:V}=(0,I.Z)(),{licenseeVettingNeeded:H,licenseeVerificationNeeded:O,licenseeProfileEnrichmentNeeded:B,isLoading:K}=(0,N.ZP)(l,{enabled:V}),X=!!l&&V&&!M&&l.status!==v.sB.DRAFT&&l.underAdministrativeReview&&B,G=!!l&&V&&H&&!X,$=l?V&&O&&!X:"true"===q.pendingVerification,J=!!l&&V&&!X&&K&&(0,N.Us)(l,!0).licenseeVettingNeeded,Q=(null==l?void 0:l.status)===v.sB.DRAFT,Y="true"===q.offMarket||(0,k.a2)(null==l?void 0:null===(o=l.item)||void 0===o?void 0:o.uuid),ee=(null==l?void 0:l.underAdministrativeReview)?"1":"2",et=X?"deal-proposal.enrichment-description":$?"brand-owner-prefers-verified-description":M?(null==l?void 0:l.underAdministrativeReview)?"send-message-success.pending-negosh-review-description":"send-message-success.sent-to-licensor-description":Q?"deal-draft-confirmation-description":Y?null:"deal-proposal-confirmation-description-".concat(ee);return(0,i.jsx)(g.Z,{sx:W.wrapper,children:(0,i.jsxs)(j.Z,{sx:W.whiteContainer,children:[h&&l&&(0,i.jsx)(T.Z,{closeModal:()=>A(!1),deal:l}),(0,i.jsxs)(m.Z,{sx:W.headerStack,children:[(0,i.jsx)(D.Z,{sx:W.icon}),(0,i.jsx)(x.Z,{variant:"bodyM",weight:"medium",children:d(M?"send-message-success.title":Q?"deal-draft-confirmation-title":"deal-proposal-confirmation-title")}),et&&!G&&!J&&(0,i.jsx)(x.Z,{variant:"bodyS",sx:W.description,children:d(et)})]}),J?null:G?(0,i.jsx)(U,{companyName:F||d("licensee-vetting.callout-default-company"),inProgress:(null==l?void 0:l.vettingStatus)==="in_progress",onStart:()=>{l&&p.push("".concat(C.Z.vetting,"/").concat(z,"?dealUuid=").concat(l.uuid))}}):(0,i.jsxs)(m.Z,{direction:{xs:"column",md:"row"},sx:W.buttonStack,children:[!Y&&l&&(0,i.jsx)(Z.Z,{fullWidth:!0,variant:"outlined",size:"large","data-testid":"go-to-deal-room-button",onClick:()=>p.push("".concat(C.Z.deals,"/").concat(l.uuid)),children:d("deal-confirmation-button-deal-room")}),(Y||!$)&&!X&&(0,i.jsx)(Z.Z,{fullWidth:!0,variant:$?"outlined":void 0,size:"large","data-testid":"go-to-marketplace-button",onClick:()=>p.push(u?C.Z.marketplace:C.Z.home),children:d("deal-confirmation-button-explore")}),X&&l&&(0,i.jsx)(Z.Z,{fullWidth:!0,size:"large","data-testid":"complete-profile-button",onClick:()=>p.push("".concat(C.Z.completeProfile,"?dealUuid=").concat(l.uuid,"&entry=deal-confirmation")),children:d("deal-proposal.enrichment-complete-profile")}),$&&(0,i.jsx)(Z.Z,{fullWidth:!0,size:"large","data-testid":"go-to-due-diligence-button",onClick:()=>p.push(C.Z.dueDiligence),children:d("deal-proposal.get-verified")})]}),c&&!s&&l&&(0,i.jsx)(g.Z,{mt:3,children:(0,i.jsxs)(_.Z,{icon:(0,i.jsx)(E.Z,{}),title:d("get-negotiation-help"),variant:"neutral",children:[(0,i.jsx)(y.cC,{i18nKey:"get-negotiation-help-text"})," ",(0,i.jsx)(w.Z,{sx:W.link,onClick:()=>{l&&((0,b.g)({event:"Deal Facilitation Accessed",additionalProperties:(0,R.Zk)(l)}),A(!0))},style:W.clickable,children:d("learn-more")})]})})]})})},H=!0,O=()=>{let{t:e}=(0,f.Z)(),{isLogged:t}=(0,c.ZP)(),n=(0,h.Z)(),a=(0,r.useRouter)(),{dealUuid:g}=a.query,m="true"===a.query.offMarket,{data:x}=(0,o.a)({queryKey:[l.i,g,n,"deal-confirmation"],queryFn:async()=>{let e={user_uuid:n,uuid:g,status:v.sB.DRAFT},t=await (0,s.C)(e);return t.deals&&t.deals.length>0?t.deals[0]:(await (0,s.C)({user_uuid:n,uuid:g,latest_revision_only:!0})).deals[0]},enabled:t&&!!g&&"string"==typeof g&&!!n&&!m,cacheTime:0,staleTime:0,refetchOnMount:!0});return(0,p.Z)(null==x?void 0:x.item),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(u.Z,{title:e("page-title.deal-proposal-confirmation")}),(0,i.jsx)(d.Z,{bgColor:"transparent",children:x||m?(0,i.jsx)(V,{deal:x}):null})]})}}},function(e){e.O(0,[7e3,2902,7775,8159,761,358,567,7895,6141,2888,9774,179],function(){return e(e.s=57169)}),_N_E=e.O()}]);
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.