1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2770],{32770:(e,a,r)=>{r.r(a),r.d(a,{default:()=>p});var t=r(95155),l=r(12115),c=r(83937),s=r(28932),n=r(87177),o=r(75828);let i=(0,o.createServerReference)("40b3b53081a7b5f4ca841b38d82ceb641f3f54ecbe",o.callServer,void 0,o.findSourceMapURL,"fetchPartners"),{domain:d}=(0,s.QE)(),p=e=>{let{value:a,onChange:r,labelClassName:s="",searchIconClassName:o="",searchInputClassName:p="",dropdownClassName:u="",dropdownDirection:h="bottom",customPlaceholder:f="",customSearchInputPlaceholder:b="",className:m="",multiple:v=!1,disabled:w=!1,translations:P}=e,[S,k]=(0,l.useState)(!1),[C,N]=(0,l.useState)([]),[y,E]=(0,l.useState)(""),[_,g]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{(async()=>{k(!1);try{let e=await i({domain:d});e&&e?.length>0?(E(""),N(e)):E("Failed to fetch partners")}catch(e){console.log(e)}k(!0)})()},[_]),(0,t.jsx)(c.default,{translations:P,disabled:w,dropdownDirection:h,additionalUniqueProperty:v?"type":"",value:a,multiple:v,label:P?.["review.partnerPickerLabel"],labelClassName:(0,n.c)("normal-case",s),placeholder:f||P?.["review.partnerPickerPlaceholder"],searchInputPlaceholder:b||P?.["review.partnerPickerSearchPlaceholder"],searchIconClassName:o,searchInputClassName:p,dropdownClassName:u,onChange:r,options:C,optionsLoaded:S,error:y,refetch:()=>{g(!_)},className:(0,n.c)("mt-2",{"pointer-events-none":!S},m)})}}}]);
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.