PageSourceSearch

https://bunzee.ai/_next/static/chunks/3683.e691fd8a62d3f3bd.js

js bunzee.ai collected 2026-10-05 11:56:56 UTC 7,947 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3683],{33683:function(e,t,n){n.r(t),n.d(t,{ApplyTextarea:function(){return b},AutoSizeTextarea:function(){return f},ChatModalTextarea:function(){return W},ResumeTextarea:function(){return g},TextAreaBox:function(){return v}});var a=n(85893),r=n(93463),i=n(90512),o=n(67294),s=n(92845),l=n(64893),c=n(37807),d=n.n(c),u=n(67962),h=n.n(u),x=n(631),m=n.n(x),p=n(67421);function f(e){let{id:t="",value:n="",onChange:c=null,placeholder:d="",disabled:u=!1,minLength:x=10,maxLength:m=512,minHeight:f=72,error:g=!1,widthSize:v="w1200",heightSize:b="h120",showCount:W=!1,counterPosition:w="outside",minRows:j=5,onClick:y=null,onCancel:N=null,onBlur:T=null,onFocus:S=null,...z}=e,{t:C}=(0,p.$G)(["common"]),R={w295:h().textareaW295,w431:h().textareaW431,w475:h().textareaW475,w830:h().textareaW830,w870:h().textareaW870,w980:h().textareaW980,w1005:h().textareaW1005,w1080:h().textareaW1080,w1116:h().textareaW1116,w1120:h().textareaW1120,w1200:h().textareaW1200},L={h72:h().textareaH72,h120:h().textareaH120,h124:h().textareaH124,hAUTO:h().textareaHauto,hAUTO:h().textareaHauto},E={w295:h().countWidthW295,w431:h().countWidthW431,w475:h().countWidthW475,w830:h().countWidthW830,w870:h().countWidthW870,w980:h().countWidthW980,w1005:h().countWidthW1005,w1080:h().countWidthW1080,w1116:h().countWidthW1116,w1120:h().countWidthW1120,w1200:h().countWidthW1200};return(0,a.jsxs)("div",{className:(0,i.Z)(h().textareaWrapper,"inside"===w&&W&&h().textareaWrapperInside),children:[(0,a.jsx)(r.Z,{id:t,className:(0,i.Z)(R[v],L[b],g?h().error:""),placeholder:d,value:n,onChange:c,maxLength:m,disabled:u,minRows:j}),W&&"inside"===w&&(0,a.jsxs)("div",{className:h().countInside,children:[(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start"},children:[(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"4px"},children:[(0,a.jsx)("span",{className:(0,i.Z)(n.length>=m?h().countMin:h().count),children:n.length}),(0,a.jsxs)("span",{className:h().countMax,children:["/ ",m]})]}),n&&n.trim().length>0&&n.trim().length<x&&(0,a.jsx)("span",{className:h().countNoticeTxt,children:"Please enter at least ".concat(x," characters")})]}),(0,a.jsxs)("div",{className:h().textareaInsideBtnWrap,children:[N&&(0,a.jsx)(l.default,{onClick:N,variant:"transparent",shape:"rect",size:"base",color:"neutral",paddingX:"",disabled:u,className:h().textareaInsideBtn,children:C("Cancel",{ns:"common"})}),(0,a.jsx)(l.default,{onClick:y,variant:"surface",shape:"rect",size:"base",color:"primary",paddingX:"",disabled:u||!n||n.trim().length<x,className:h().textareaInsideBtn,children:C("Submit",{ns:"common"})})]})]}),W&&"outside"===w&&(0,a.jsxs)(o.Fragment,{children:[(0,a.jsx)(s.Spacing,{type:"xs"}),(0,a.jsx)("div",{className:(0,i.Z)(E[v],h().countOutside),children:(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"4px"},children:[(0,a.jsx)("span",{className:(0,i.Z)(n.length>=m?h().countMin:h().count),children:n.length}),(0,a.jsxs)("span",{className:h().countMax,children:["/ ",m]})]})})]})]})}function g(e){let{value:t="",maxLength:n=512,onChange:r=null,title:i="",placeholder:o=""}=e;return(0,a.jsxs)("li",{className:d().resemeInputTextarea,children:[(0,a.jsx)("span",{className:d().resemeInputTextareaLabel,children:i}),(0,a.jsx)("textarea",{name:"",id:"",cols:"10",rows:"5",value:t,maxLength:n,placeholder:o,onChange:r})]})}function v(e){let{value:t="",onChange:n=null,disabled:i=!1,maxLength:o=512,placeholder:s=""}=e;return(0,a.jsx)(r.Z,{className:d().TextAreaWrap,value:t,onChange:n,maxLength:o,placeholder:s,minRows:5,disabled:i})}function b(e){let{placeholder:t,value:n,inputRef:r,onChange:i,maxLength:o,disabled:s,title:l}=e;return(0,a.jsxs)("div",{className:d().expoTextAreaWrap,children:[l?(0,a.jsx)("p",{className:d().expoTextAreaWrapTitle,children:l}):null,(0,a.jsx)(f,{ref:r,placeholder:t,value:n,onChange:i,maxLength:o,disabled:s})]})}function W(e){let{value:t,onChange:n,maxLength:r}=e,{t:i}=(0,p.$G)(["common"]);return(0,a.jsxs)("div",{className:m().modal,children:[(0,a.jsxs)("div",{className:m().modalTitleWrap,children:[(0,a.jsxs)("span",{className:m().modalTit,children:[i("content",{ns:"common"})," *"]}),(0,a.jsxs)("span",{className:m().modalTitSubTxt,children:[t?t.length:0,"/",r]})]}),(0,a.jsxs)("div",{className:m().modalTextarea,children:[(0,a.jsx)("textarea",{name:"",id:"",cols:"30",rows:"10",placeholder:i("chat_notice_max_placeholder",{number:r}),maxLength:r,value:t,onChange:n}),t.trim().length<10&&(0,a.jsx)("span",{className:m().modalTextareaRednotice,children:i("minimum_10character",{ns:"common"})})]})]})}},93463:function(e,t,n){n.d(t,{Z:function(){return y}});var a=n(87462),r=n(63366),i=n(67294),o=i.useLayoutEffect,s=function(e){var t=i.useRef(e);return o(function(){t.current=e}),t},l=function(e,t){if("function"==typeof e){e(t);return}e.current=t},c=function(e,t){var n=i.useRef();return i.useCallback(function(a){e.current=a,n.current&&l(n.current,null),n.current=t,t&&l(t,a)},[t])},d={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0",display:"block"}
1,u=function(e){Object.keys(d).forEach(function(t){e.style.setProperty(t,d[t],"important")})},h=null,x=function(e,t){var n=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?n+t.borderSize:n-t.paddingSize},m=function(){},p=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak","wordSpacing","scrollbarGutter"],f=!!document.documentElement.currentStyle,g=function(e){var t=window.getComputedStyle(e);if(null===t)return null;var n=p.reduce(function(e,n){return e[n]=t[n],e},{}),a=n.boxSizing;if(""===a)return null;f&&"border-box"===a&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px");var r=parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),i=parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth);return{sizingStyle:n,paddingSize:r,borderSize:i}};function v(e,t,n){var a=s(n);i.useLayoutEffect(function(){var n=function(e){return a.current(e)};if(e)return e.addEventListener(t,n),function(){return e.removeEventListener(t,n)}},[])}var b=function(e,t){v(document.body,"reset",function(n){e.current.form===n.target&&t(n)})},W=function(e){v(window,"resize",e)},w=function(e){v(document.fonts,"loadingdone",e)},j=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],y=i.forwardRef(function(e,t){var n=e.cacheMeasurements,o=e.maxRows,s=e.minRows,l=e.onChange,d=void 0===l?m:l,p=e.onHeightChange,f=void 0===p?m:p,v=(0,r.Z)(e,j),y=void 0!==v.value,N=i.useRef(null),T=c(N,t),S=i.useRef(0),z=i.useRef(),C=function(){var e,t,a,r,i,l,c,d,m,p,v,b=N.current,W=n&&z.current?z.current:g(b);if(W){z.current=W;var w=(e=b.value||b.placeholder||"x",void 0===(t=s)&&(t=1),void 0===(a=o)&&(a=1/0),h||((h=document.createElement("textarea")).setAttribute("tabindex","-1"),h.setAttribute("aria-hidden","true"),u(h)),null===h.parentNode&&document.body.appendChild(h),r=W.paddingSize,i=W.borderSize,c=(l=W.sizingStyle).boxSizing,Object.keys(l).forEach(function(e){h.style[e]=l[e]}),u(h),h.value=e,d=x(h,W),h.value=e,d=x(h,W),h.value="x",p=(m=h.scrollHeight-r)*t,"border-box"===c&&(p=p+r+i),d=Math.max(p,d),v=m*a,"border-box"===c&&(v=v+r+i),[d=Math.min(v,d),m]),j=w[0],y=w[1];S.current!==j&&(S.current=j,b.style.setProperty("height",j+"px","important"),f(j,{rowHeight:y}))}};return i.useLayoutEffect(C),b(N,function(){if(!y){var e=N.current.value;requestAnimationFrame(function(){var t=N.current;t&&e!==t.value&&C()})}}),W(C),w(C),i.createElement("textarea",(0,a.Z)({},v,{onChange:function(e){y||C(),d(e)},ref:T}))})}}]);

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.