1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1f9d2a7c-994e-43cc-a126-92c8d239f3e4",e._sentryDebugIdIdentifier="sentry-dbid-1f9d2a7c-994e-43cc-a126-92c8d239f3e4")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[849],{20849:(e,n,s)=>{s.d(n,{U:()=>a});var d=s(1934),o=s(31692);let r=(0,d.v)()((0,o.Zr)((e,n)=>({seenProductIds:[],isModalOpen:!1,actions:{hasSeen:e=>n().seenProductIds.some(n=>n===e),markSeen:n=>e(e=>e.seenProductIds.some(e=>e===n)?e:{seenProductIds:[...e.seenProductIds,n]}),setModalOpen:n=>e({isModalOpen:n}),reset:n=>e(e=>({seenProductIds:void 0===n?[]:e.seenProductIds.filter(e=>e!==n),isModalOpen:!1}))}}),{name:"kdc-survey-prompt",storage:(0,o.KU)(()=>localStorage),partialize:e=>({seenProductIds:e.seenProductIds})}));var t=s(12115);function a(e){let{productId:n,isKdc:s,progress:d,surveyFormUrl:o}=e,a=r(e=>e.seenProductIds.some(e=>e===n)),c=r(e=>e.isModalOpen),{markSeen:l,setModalOpen:u}=r(e=>e.actions),i=(0,t.useMemo)(()=>!0===s&&(null!=d?d:0)>=50&&!!o,[s,d,o]);return(0,t.useEffect)(()=>{i&&!a&&(l(n),u(!0))},[a,l,n,u,i]),{shouldShowButton:i,isModalOpen:c,handleOpenChange:(0,t.useCallback)(e=>{u(e)},[u]),handleSendFeedback:(0,t.useCallback)(()=>{o&&window.open(o,"_blank","noopener,noreferrer")},[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.