PageSourceSearch

https://userspoon.com/_next/static/chunks/1631-e3e003ef7d31082c.js

js userspoon.com collected 2026-10-05 08:04:19 UTC 16,001 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="50c594f4-9891-4f0b-87f5-22468ae1a387",e._sentryDebugIdIdentifier="sentry-dbid-50c594f4-9891-4f0b-87f5-22468ae1a387")}catch(e){}}();var _sentryModuleMetadataGlobal="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};"use strict";_sentryModuleMetadataGlobal._sentryModuleMetadata=_sentryModuleMetadataGlobal._sentryModuleMetadata||{},_sentryModuleMetadataGlobal._sentryModuleMetadata[new _sentryModuleMetadataGlobal.Error().stack]=Object.assign({},_sentryModuleMetadataGlobal._sentryModuleMetadata[new _sentryModuleMetadataGlobal.Error().stack],{"_sentryBundlerPluginAppKey:userspoon":!0}),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1631],{91631:function(e,n,t){t.d(n,{ZF:function(){return er},vb:function(){return p},nc:function(){return f},wA:function(){return F},hB:function(){return L},Pi:function(){return ea},OK:function(){return d},Kx:function(){return M},nv:function(){return O},FN:function(){return q}});var r,i,o=t(27160),a=t(12962),l=t(96382),c=t(3458),d=function(e){var n=e.selected,t=e.children,r=e.onClick;return(0,c.BX)("div",{css:s,onClick:r,children:[(0,c.tZ)(a.ZT,{variant:"caption1",bold:!0,color:n?l.O9.grey._48:l.O9.grey._99,children:t}),n&&(0,c.tZ)("div",{css:u})]})},s={name:"yyq2ub",styles:"position:relative;padding:8px 0;cursor:pointer"},u=(0,o.iv)("position:absolute;bottom:0px;width:100%;height:1px;background-color:",l.O9.grey._48,";",""),p=function(e){var n=e.value,t=e.children,r=e.width,i=e.scrollHeight,o=e.disabled,d=void 0!==o&&o;
1return(0,c.tZ)(a.GI,{activator:(0,c.BX)(a.hs,{padding:"0 16px",gap:8,align:"center",css:g({width:r,disabled:d}),children:[(0,c.tZ)(a.ZT,{variant:"body4",color:d?l.O9.grey._66:void 0,children:n}),(0,c.tZ)(a.JO,{name:"dropdownTriangle"})]}),offset:8,placement:"bottom-start",children:!d&&(0,c.tZ)(a.hs,{padding:"12px",column:!0,css:h(i),children:t})})},g=function(e){var n=e.width,t=e.disabled;return(0,o.iv)("width:",n?"".concat(n,"px"):"100%",";height:48px;border-radius:12px;border:1px solid ",l.O9.grey._dc,";background:",t?l.O9.grey._f3:l.O9.white,";cursor:pointer;&:hover{box-shadow:0px -1px 20px 0px rgba(0, 0, 0, 0.1);}&>p{flex-grow:1;}","")},h=function(e){return(0,o.iv)("max-height:",e&&"".concat(e,"px"),";overflow-y:scroll;border-radius:8px;border:1px solid ",l.O9.grey._dc,";background:",l.O9.white,";box-shadow:0px -1px 20px 0px rgba(0, 0, 0, 0.1);","")},f=function(e){var n=e.children,t=e.selected,r=e.onClick;return(0,c.tZ)(a.hs,{padding:"12px",justify:"center",align:"center",css:v(t),onClick:r,children:(0,c.tZ)(a.ZT,{variant:"body4",children:n})})},v=function(e){return(0,o.iv)("border-radius:4px;background-color:",e&&l.O9.grey._f3,";cursor:pointer;&:hover{background-color:",l.O9.grey._f3,";}","")},b=t(50097),y=t(8465),x=["width","invalid","errorMessage"];function m(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}var O=function(e){var n,t=e.width,r=e.invalid,i=void 0!==r&&r,d=e.errorMessage,s=(0,y.Z)(e,x),u=i&&d,p=(0,o.iv)("width:",t?"".concat(t,"px"):"100%",";","");return(0,c.BX)(a.hs,{column:!0,gap:8,css:p,children:[(0,c.tZ)("input",function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?m(Object(t),!0).forEach(function(n){(0,b.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):m(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}({css:w(i,null!==(n=s.disabled)&&void 0!==n&&n)},s)),u&&(0,c.tZ)(a.hs,{padding:"0 8px",children:(0,c.tZ)(a.ZT,{variant:"caption1",color:l.O9.negative._500,children:d})})]})},w=function(e,n){return(0,o.iv)("height:48px;padding:0px 16px;border-radius:8px;border:1px solid ",e?l.O9.negative._500:l.O9.grey._dc,";background:",n?l.O9.grey._f3:l.O9.white,";color:",n?l.O9.grey._66:e?l.O9.negative._500:l.O9.black._00,";outline:none;",l.Wl.body4," &::placeholder{color:",l.O9.grey._99,";}&:hover{box-shadow:0px -1px 20px 0px rgba(0, 0, 0, 0.1);}&:focus{box-shadow:0px -1px 20px 0px rgba(0, 0, 0, 0.1);}","")},Z=t(44194),_=t(80211),k=t(72888),C=["width","variant","align","maxHeight","invalid","errorMessage","disabled","disabledVisualMode","value","onChange","rows"];function j(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}var M=(0,Z.forwardRef)(function(e,n){var t=e.width,r=e.variant,i=e.align,o=e.maxHeight,a=e.invalid,l=void 0!==a&&a,d=e.errorMessage,s=e.disabled,u=void 0!==s&&s,p=e.disabledVisualMode,g=e.value,h=e.onChange,f=e.rows,v=(0,y.Z)(e,C),x=(0,Z.useRef)(null),m=l&&d,O=g.length>0,w=(0,Z.useCallback)(function(){var e=x.current;if(e){e.style.height="auto";var n=e.scrollHeight,t=o?Math.min(n,o):n;e.style.height="".concat(t,"px"),e.style.overflowY=o&&n>o?"auto":"hidden"}},[o]);return(0,Z.useLayoutEffect)(function(){w()},[w,g]),(0,c.BX)(_.hs,{column:!0,gap:4,css:P(t),children:[(0,c.tZ)("textarea",function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?j(Object(t),!0).forEach(function(n){(0,b.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):j(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}({ref:function(e){x.current=e,"function"==typeof n?n(e):n&&(n.current=e)},css:B({variant:void 0===r?"question":r,align:void 0===i?"left":i,invalid:l,disabled:u,hasValue:O,disabledVisualMode:void 0===p?"default":p}),disabled:u,value:g,rows:null!=f?f:1,onChange:function(e){null==h||h(e),w()}},v)),m&&(0,c.tZ)(_.hs,{padding:"0 8px",children:(0,c.tZ)(_.ZT,{variant:"caption1",color:k.O9.negative._500,children:d})})]})});M.displayName="TextArea";var P=function(e){return(0,o.iv)("width:",e?"".concat(e,"px"):"100%",";","")},B=function(e){var n=e.variant,t=e.align,r=e.invalid,i=e.disabled,a=e.hasValue,l=e.disabledVisualMode;return["question"===n?k.Wl.h4:k.Wl.body3,(0,o.iv)("min-height:","question"===n?"56px":"38px",";width:100%;padding:","question"===n?"16px 20px":"8px 20px",";border:none;border-radius:","question"===n&&a?"9px":"8px",";outline:none;resize:none;overflow:hidden;box-sizing:border-box;text-align:",t,";letter-spacing:-0.3px;color:",a?i&&"default"===l?k.O9.gray._500:k.O9.gray._800:k.O9.gray._400,";background-color:",r?k.O9.negative._100:i&&"default"===l?k.O9.gray._100:"transparent",";transition:background-color 0.1s ease,box-shadow 0.1s ease;::placeholder{color:",k.O9.gray._400,";}:enabled:hover{background-color:",k.O9.white,";",k.Wn._200,";}:enabled:focus{background-color:",r?k.O9.negative._100:k.O9.gray._100,";box-shadow:none;}","")]},T=t(56950);k.O9.white,k.O9.gray._100,k.O9.gray._300,k.O9.white,k.O9.gray._500;var E=t(56321),z=t(67797),L=(0,Z.forwardRef)(function(e,n){var t=e.activator,r=e.children,i=e.position,o=e.anchorRef,a=e.gap,l=void 0===a?8:a,d=(0,Z.useRef)(null),s=(0,Z.useState)(),u=s[0],p=s[1],g=(0,z.kt)(),h=g.value,f=g.setFalse,v=g.setTrue,b=(0,Z.useCallback)(function(){if(null!=o&&o.current){var e=o.current.getBoundingClientRect();p({top:e.bottom+l,right:window.innerWidth-e.right})}},[o,l]),y=(0,Z.useCallback)(function(){b(),v()},[b,v]);(0,Z.useImperativeHandle)(n,function(){return{close:f,open:y}},[f,y]),(0,Z.useEffect)(function(){if(h&&null!=o&&o.current){b();var e=function(){b()};return window.addEventListener("resize",e),window.addEventListener("scroll",e,!0),function(){window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0)}}},[h,o,b]);var x=null!=o&&o.current?u:i;return(0,c.BX)(c.HY,{children:[(0,c.tZ)("div",{onClick:y,children:t}),h&&(0,E.createPortal)((0,c.tZ)("div",{css:D,onClick:f,children:(0,c.tZ)("div",{css:x?R(x):X,ref:d,onClick:function(e){e.stopPropagation(),e.target===d.current&&f()},children:r})}),document.body)]})}),D={name:"13859ry",styles:"position:fixed;top:0;right:0;bottom:0;left:0;width:100vw;height:100vh;z-index:1"},X={name:"u6ww51",styles:"position:absolute;top:80px;left:50%;transform:translateX(-50%)"},R=function(e){return(0,o.iv)("position:absolute;top:",(null==e?void 0:e.top)!==void 0?"".concat(e.top,"px"):"auto",";left:",(null==e?void 0:e.left)!==void 0?"".concat(e.left,"px"):"auto",";right:",(null==e?void 0:e.right)!==void 0?"".concat(e.right,"px"):"auto",";bottom:",(null==e?void 0:e.bottom)!==void 0?"".concat(e.bottom,"px"):"auto",";","")},S=t(53749),U=t(63914),G=t(32585),q=function(){var e=(0,T.$G)("survey").t,n=(0,G.Z)(function(e){return e.toasts}),t=(0,G.Z)(function(e){return e.hideToast});return(0,c.tZ)(c.HY,{children:n.length>0&&(0,E.createPortal)((0,c.tZ)(a.hs,{direction:"column",children:n.map(function(n){var r=n.id,i=n.message,o=n.isWideView,d=n.persistent;return(0,c.BX)(a.hs,{align:"center",justify:"center",gap:8,css:V({duration:U.QE,isWideView:void 0===o||o,persistent:d}),children:[(0,c.tZ)(a.JO,{name:"selectBtn",customStyle:H}),(0,c.tZ)(a.ZT,{variant:"body5",bold:!0,color:l.O9.white,children:i}),d&&(0,c.tZ)("button",{type:"button","aria-label":e("common:action.close"),onClick:function(){r&&t(r)},css:I,children:(0,c.tZ)(a.JO,{name:"closeLarge",fill:l.O9.white})})]},r)})}),document.body)})},W=(0,o.F4)(r||(r=(0,S.Z)(["\n  0% {\n    opacity: 0;\n  }\n  \n  5%, 95% {\n    opacity: 1;\n  }\n\n  100% {\n    opacity: 0;\n  }\n\n"]))),A=(0,o.F4)(i||(i=(0,S.Z)(["\n  0% {\n    opacity: 0;\n  }\n\n  100% {\n    opacity: 1;\n  }\n"]))),V=function(e){var n=e.duration,t=e.isWideView,r=e.persistent;return(0,o.iv)("position:fixed;top:40px;left:50%;transform:translateX(-50%);width:",!t&&"300px",";padding:",t?"12px 64px":"12px 32px",";border-radius:8px;background-color:",l.O9.black._00,";",r?(0,o.iv)("animation:",A," 200ms ease forwards;",""):(0,o.iv)("animation:",W," ",n,"ms ease;","")," transition:top 0.1s ease;word-break:",!t&&"keep-all",";","")},H=(0,o.iv)("background-color:",l.O9.primary._500,";border-radius:50%;",""),I={name:"10mjlbm",styles:"display:flex;padding:0;border:none;background:none;cursor:pointer"},F=function(e){var n=e.file,t=e.previewSrc,r=e.onChange,i=e.onClose,o=e.showCloseButton,a=void 0!==o&&o,l=e.accept,d=e.maxSize,s=void 0===d?10485760:d,u=e.errorMessage,p=(0,T.$G)("survey").t,g=(0,Z.useRef)(null),h=(0,z.kt)(),f=h.value,v=h.setTrue,b=h.setFalse,y=(0,Z.useMemo)(function(){return n?URL.createObjectURL(n):null},[n]);(0,Z.useEffect)(function(){return function(){y&&URL.revokeObjectURL(y)}},[y]);var x=function(e){e.stopPropagation(),null==i||i()},m=!n&&(f||!!u),O=f?p("image.toast.maxSizeError"):u;return(0,c.BX)("div",{children:[n?(0,c.BX)(_.hs,{css:N({uploaded:!0}),align:"center",direction:"column",gap:12,children:[(0,c.tZ)(_.hU,{iconName:"outlinedReset",variant:"plain",size:"S","aria-label":p("image.uploader.replaceAriaLabel"),css:en({hasCloseButton:a}),onClick:function(e){var n;e.stopPropagation(),null===(n=g.current)||void 0===n||n.click()}}),a&&(0,c.tZ)(_.hU,{iconName:"outlinedCancel",variant:"plain",size:"S","aria-label":p("image.uploader.closeAriaLabel"),css:ee,onClick:x}),(0,c.tZ)(_.hs,{css:J,align:"center",justify:"center",children:(0,c.tZ)("img",{src:t||y||void 0,alt:p("image.uploader.previewAriaLabel"),css:K})}),(0,c.tZ)(_.ZT,{align:"center",variant:"body3",color:k.O9.gray._600,children:n.name})]}):(0,c.BX)(_.hs,{column:!0,gap:8,children:[(0,c.BX)(_.hs,{column:!0,gap:8,css:[N({uploaded:!1}),m&&Y,"",""],onClick:function(){var e;null===(e=g.current)||void 0===e||e.click()},onDragOver:function(e){e.preventDefault()},onDrop:function(e){e.preventDefault();var n,t=null===(n=e.dataTransfer.files)||void 0===n?void 0:n[0];if(t){if(t.size>s){v();return}b(),r(t)}},justify:"center",align:"center",children:[a&&(0,c.tZ)(_.hU,{iconName:"outlinedCancel",variant:"plain",size:"S","aria-label":p("image.uploader.closeAriaLabel"),css:ee,onClick:x}),(0,c.tZ)(_.JO,{name:"outlinedFileUpload",fill:k.O9.gray._600}),(0,c.tZ)(_.ZT,{align:"center",variant:"body3",color:k.O9.gray._600,css:$,children:p("image.uploader.dropzoneDescription")})]}),f&&(0,c.tZ)(_.ZT,{variant:"caption1",color:k.O9.negative._500,css:et,children:p("image.uploader.maxSizeError")}),!f&&O&&(0,c.tZ)(_.ZT,{variant:"caption1",color:k.O9.negative._500,css:et,children:O})]}),(0,c.tZ)("input",{ref:g,type:"file",accept:void 0===l?"image/*":l,onCh
1ange:function(e){var n,t=null===(n=e.target.files)||void 0===n?void 0:n[0];if(t){if(t.size>s){v();return}b(),r(t)}},css:Q})]})},N=function(e){var n=e.uploaded;return(0,o.iv)("position:relative;width:100%;margin:0 auto;min-height:",n?"274px":"116px",";padding:20px 12px;border-radius:8px;border:1px ",n?"solid":"dashed"," ",k.O9.gray._300,";background:",n?k.O9.white:k.O9.gray._100,";cursor:",n?"auto":"pointer",";","")},J={name:"1qc34bd",styles:"width:100%;min-height:212px"},K={name:"t1zjp1",styles:"width:200px;max-width:100%;max-height:200px;object-fit:contain"},$={name:"1l0p3iw",styles:"white-space:pre-line"},Y=(0,o.iv)("background-color:",k.O9.negative._100,";border-color:",k.O9.negative._500,";",""),Q={name:"eivff4",styles:"display:none"},ee=(0,o.iv)("position:absolute;top:12px;right:12px;width:32px;height:32px;border-radius:8px;background:",k.O9.white,";",""),en=function(e){var n=e.hasCloseButton;return(0,o.iv)("position:absolute;top:12px;right:",n?"48px":"12px",";width:32px;height:32px;border-radius:8px;background:",k.O9.white,";","")},et={name:"1qu8ll8",styles:"padding:0 8px"},er=function(e){var n,t=e.open,r=e.title,i=e.description,o=e.impacts,a=e.primaryLabel,l=e.cancelLabel,d=e.onPrimary,s=e.onCancel,u=(0,T.$G)("survey").t,p=(0,Z.useRef)(null),g=Array.isArray(r)?r.join("\n"):r,h=void 0!==i||(null!==(n=null==o?void 0:o.length)&&void 0!==n?n:0)>0;return(0,Z.useEffect)(function(){var e,n;t?null===(e=p.current)||void 0===e||e.open():null===(n=p.current)||void 0===n||n.close()},[t]),(0,c.tZ)(_.WK,{ref:p,placement:"top",width:480,hasCloseButton:!1,title:g,primaryButton:{text:a,onClick:d,variant:"secondary"},secondaryButton:{text:null!=l?l:u("common:action.cancel"),onClick:s},children:h&&(0,c.BX)(_.hs,{column:!0,gap:12,padding:"12px 0",children:[void 0!==i&&(0,c.tZ)(_.ZT,{variant:"body2",color:k.O9.gray._600,children:i}),void 0!==o&&o.length>0&&(0,c.tZ)(_.hs,{column:!0,gap:8,css:ei,children:o.map(function(e,n){return(0,c.tZ)(_.ZT,{variant:"caption1",color:k.O9.gray._600,children:e},n)})})]})})},ei=(0,o.iv)("max-height:180px;padding:12px 16px;overflow-y:auto;border-radius:8px;background:",k.O9.gray._100,";",""),eo=t(9234),ea=function(e){var n=e.modalHandler,t=e.requirePlan,r=e.teamId,i=e.onClose,o=(0,T.$G)("survey").t,a="Enterprise"===t?o("planUpgrade.modal.autoTranslationTitle"):o("planUpgrade.modal.planRequiredTitle",{plan:t});return(0,c.tZ)(_.u_,{ref:n,placement:"top",overlayOpacity:.4,closeOnOutsideClick:!0,childrenWrapperStyle:el,onClose:i,children:(0,c.BX)(_.hs,{direction:"column",css:ec,children:[(0,c.tZ)(_.hs,{css:ed,children:(0,c.tZ)(_.ZT,{variant:"h2",color:k.O9.gray._800,children:a})}),(0,c.tZ)(_.hs,{css:es,children:(0,c.tZ)(_.ZT,{variant:"body2",color:k.O9.gray._600,children:o("planUpgrade.modal.description")})}),(0,c.BX)(_.hs,{align:"center",justify:"center",gap:8,css:eu,children:[(0,c.tZ)(_.zx,{variant:"outlined",size:"L",onClick:i,children:o("planUpgrade.modal.backButton")}),(0,c.tZ)(_.zx,{variant:"primary",size:"L",onClick:function(){r&&(0,eo.U2)(r),i()},children:o("planUpgrade.modal.goToPlansButton")})]})]})})},el={name:"mbouap",styles:"width:480px"},ec=(0,o.iv)("width:480px;background-color:",k.O9.white,";border-radius:20px;",k.Wn._300,";",""),ed={name:"1yjhh4q",styles:"padding:28px 28px 0"},es={name:"1n0ubi8",styles:"padding:12px 28px"},eu={name:"1sd4r81",styles:"padding:28px 24px"}}}]);

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.