PageSourceSearch

https://candor.co/_next/static/chunks/2391-0b44256732057183.js

js candor.co collected 2026-09-24 21:47:51 UTC 7,867 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2391],{14767:(e,t,n)=>{"use strict";n.d(t,{u:()=>f});var r=n(53707),o=n(2012),i=n(54657),a=n(74361),u=n(4887),d=n(20785),c=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=String(e).toLowerCase(),o=String(n.getOptionValue(t)).toLowerCase(),i=String(n.getOptionLabel(t)).toLowerCase();return o===r||i===r},l={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,n,r){return!(!e||t.some(function(t){return s(e,t,r)})||n.some(function(t){return s(e,t,r)}))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}};function f(e){var t=e.allowCreateWhileLoading,n=void 0!==t&&t,s=e.createOptionPosition,f=void 0===s?"last":s,p=e.formatCreateLabel,v=void 0===p?l.formatCreateLabel:p,g=e.isValidNewOption,h=void 0===g?l.isValidNewOption:g,b=e.getNewOptionData,m=void 0===b?l.getNewOptionData:b,A=e.onCreateOption,w=e.options,S=void 0===w?[]:w,C=e.onChange,y=(0,i.A)(e,c),O=y.getOptionValue,L=void 0===O?d.g:O,x=y.getOptionLabel,R=void 0===x?d.b:x,z=y.inputValue,E=y.isLoading,k=y.isMulti,N=y.value,F=y.name,W=(0,a.useMemo)(function(){return h(z,(0,u.H)(N),S,{getOptionValue:L,getOptionLabel:R})?m(z,v(z)):void 0},[v,m,R,L,z,h,S,N]),V=(0,a.useMemo)(function(){return(n||!E)&&W?"first"===f?[W].concat((0,o.A)(S)):[].concat((0,o.A)(S),[W]):S},[n,f,E,W,S]),H=(0,a.useCallback)(function(e,t){if("select-option"!==t.action)return C(e,t);var n=Array.isArray(e)?e:[e];if(n[n.length-1]===W){if(A)A(z);else{var r=m(z,z);C((0,u.D)(k,[].concat((0,o.A)((0,u.H)(N)),[r]),r),{action:"create-option",name:F,option:r})}return}C(e,t)},[m,z,k,F,W,A,C,N]);return(0,r.A)((0,r.A)({},y),{},{options:V,onChange:H})}},21314:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(16880),o=n(74361),i=n(20785),a=n(52804),u=n(14825),d=n(14767);n(80806),n(71648);var c=(0,o.forwardRef)(function(e,t){var n=(0,a.u)(e),c=(0,u.u)(n),s=(0,d.u)(c);return o.createElement(i.S,(0,r.A)({ref:t},s))})},29892:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u});var r=n(14825),o=n(16880),i=n(74361),a=n(20785);n(61077),n(80806),n(71648);var u=(0,i.forwardRef)(function(e,t){var n=(0,r.u)(e);return i.createElement(a.S,(0,o.A)({ref:t},n))})},35377:(e,t,n)=>{e.exports=n(71618)},52804:(e,t,n)=>{"use strict";n.d(t,{u:()=>s});var r=n(12569),o=n(53707),i=n(45314),a=n(54657),u=n(74361),d=n(4887),c=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function s(e){var t=e.defaultOptions,n=void 0!==t&&t,s=e.cacheOptions,l=void 0!==s&&s,f=e.loadOptions;e.options;var p=e.isLoading,v=e.onInputChange,g=e.filterOption,h=(0,a.A)(e,c),b=h.inputValue,m=(0,u.useRef)(void 0),A=(0,u.useRef)(!1),w=(0,u.useState)(Array.isArray(n)?n:void 0),S=(0,i.A)(w,2),C=S[0],y=S[1],O=(0,u.useState)(void 0!==b?b:""),L=(0,i.A)(O,2),x=L[0],R=L[1],z=(0,u.useState)(!0===n),E=(0,i.A)(z,2),k=E[0],N=E[1],F=(0,u.useState)(void 0),W=(0,i.A)(F,2),V=W[0],H=W[1],_=(0,u.useState)([]),M=(0,i.A)(_,2),B=M[0],D=M[1],T=(0,u.useState)(!1),I=(0,i.A)(T,2),P=I[0],j=I[1],q=(0,u.useState)({}),G=(0,i.A)(q,2),J=G[0],K=G[1],Q=(0,u.useState)(void 0),U=(0,i.A)(Q,2),X=U[0],Y=U[1],Z=(0,u.useState)(void 0),$=(0,i.A)(Z,2),ee=$[0],et=$[1];l!==ee&&(K({}),et(l)),n!==X&&(y(Array.isArray(n)?n:void 0),Y(n)),(0,u.useEffect)(function(){return A.current=!0,function(){A.current=!1}},[]);var en=(0,u.useCallback)(function(e,t){if(!f)return t();var n=f(e,t);n&&"function"==typeof n.then&&n.then(t,function(){return t()})},[f]);(0,u.useEffect)(function(){!0===n&&en(x,function(e){A.current&&(y(e||[]),N(!!m.current))})},[]);var er=(0,u.useCallback)(function(e,t){var n=(0,d.L)(e,t,v);if(!n){m.current=void 0,R(""),H(""),D([]),N(!1),j(!1);return}if(l&&J[n])R(n),H(n),D(J[n]),N(!1),j(!1);else{var i=m.current={};R(n),N(!0),j(!V),en(n,function(e){A&&i===m.current&&(m.current=void 0,N(!1),H(n),D(e||[]),j(!1),K(e?(0,o.A)((0,o.A)({},J),{},(0,r.A)({},n,e)):J))})}},[l,en,V,J,v]),eo=P?[]:x&&V?B:C||[];return(0,o.A)((0,o.A)({},h),{},{options:eo,isLoading:k||void 0!==p&&p,onInputChange:er,filterOption:void 0===g?null:g})}},56775:()=>{},69696:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(16880),o=n(30549),i=n(74361),a=n(71648),u=function(e){var t=i.useRef(e);return(0,a.A)(function(){t.current=e}),t},d=function(e,t){if("function"==typeof e)return void e(t);e.current=t},c=function(e,t){var n=i.useRef();return i.useCallback(function(r){e.current=r,n.current&&d(n.current,null),n.current=t,t&&d(t,r)},[t])},s={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0",display:"block"}
1,l=function(e){Object.keys(s).forEach(function(t){e.style.setProperty(t,s[t],"important")})},f=null,p=function(e,t){var n=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?n+t.borderSize:n-t.paddingSize},v=function(){},g=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak","wordSpacing","scrollbarGutter"],h=!!document.documentElement.currentStyle,b=function(e){var t=window.getComputedStyle(e);if(null===t)return null;var n=g.reduce(function(e,n){return e[n]=t[n],e},{}),r=n.boxSizing;if(""===r)return null;h&&"border-box"===r&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px");var o=parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),i=parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth);return{sizingStyle:n,paddingSize:o,borderSize:i}};function m(e,t,n){var r=u(n);i.useLayoutEffect(function(){var n=function(e){return r.current(e)};if(e)return e.addEventListener(t,n),function(){return e.removeEventListener(t,n)}},[])}var A=function(e,t){m(document.body,"reset",function(n){e.current.form===n.target&&t(n)})},w=function(e){m(window,"resize",e)},S=function(e){m(document.fonts,"loadingdone",e)},C=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],y=i.forwardRef(function(e,t){var n=e.cacheMeasurements,a=e.maxRows,u=e.minRows,d=e.onChange,s=void 0===d?v:d,g=e.onHeightChange,h=void 0===g?v:g,m=(0,o.A)(e,C),y=void 0!==m.value,O=i.useRef(null),L=c(O,t),x=i.useRef(0),R=i.useRef(),z=function(){var e=O.current,t=n&&R.current?R.current:b(e);if(t){R.current=t;var r,o,i,d,c,s,v,g,m,A,w,S=(r=e.value||e.placeholder||"x",void 0===(o=u)&&(o=1),void 0===(i=a)&&(i=1/0),f||((f=document.createElement("textarea")).setAttribute("tabindex","-1"),f.setAttribute("aria-hidden","true"),l(f)),null===f.parentNode&&document.body.appendChild(f),d=t.paddingSize,c=t.borderSize,v=(s=t.sizingStyle).boxSizing,Object.keys(s).forEach(function(e){f.style[e]=s[e]}),l(f),f.value=r,g=p(f,t),f.value=r,g=p(f,t),f.value="x",A=(m=f.scrollHeight-d)*o,"border-box"===v&&(A=A+d+c),g=Math.max(A,g),w=m*i,"border-box"===v&&(w=w+d+c),[g=Math.min(w,g),m]),C=S[0],y=S[1];x.current!==C&&(x.current=C,e.style.setProperty("height",C+"px","important"),h(C,{rowHeight:y}))}};return i.useLayoutEffect(z),A(O,function(){if(!y){var e=O.current.value;requestAnimationFrame(function(){var t=O.current;t&&e!==t.value&&z()})}}),w(z),S(z),i.createElement("textarea",(0,r.A)({},m,{onChange:function(e){y||z(),s(e)},ref:L}))})},81318:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(16880),o=n(74361),i=n(20785),a=n(14825),u=n(14767);n(80806),n(71648);var d=(0,o.forwardRef)(function(e,t){var n=(0,a.u)(e),d=(0,u.u)(n);return o.createElement(i.S,(0,r.A)({ref:t},d))})}}]);

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.