PageSourceSearch

https://app.grof.co/_next/static/chunks/3479-0536ec6ca37461cf.js

js grof.co collected 2026-10-07 20:35:14 UTC 15,710 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3479],{93479:function(e,r,n){"use strict";n.d(r,{Z:function(){return B}});var t=n(85893),o=n(67294),a=n(82580),i=n(91749),u=n.n(i),l=n(84909);function c(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function s(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){c(e,r,n[r])}))}return e}function f(e,r){if(null==e)return{};var n,t,o=function(e,r){if(null==e)return{};var n,t,o={},a=Object.keys(e);for(t=0;t<a.length;t++)n=a[t],r.indexOf(n)>=0||(o[n]=e[n]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(t=0;t<a.length;t++)n=a[t],r.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function d(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var n=[],t=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(t=(i=u.next()).done)&&(n.push(i.value),!r||n.length!==r);t=!0);}catch(l){o=!0,a=l}finally{try{t||null==u.return||u.return()}finally{if(o)throw a}}return n}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var p={prefix:"",suffix:"",includeThousandsSeparator:!0,thousandsSeparatorSymbol:",",allowDecimal:!0,decimalSymbol
1:".",decimalLimit:2,integerLimit:99,allowNegative:!1,allowLeadingZeroes:!1},b=function(e){var r=e.maskOptions,n=e.onChange,o=f(e,["maskOptions","onChange"]),i=d((0,a.useField)(o.name),2),c=i[0],b=i[1],h=(0,l.createNumberMask)(s({},p,r));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"sprout-flex",children:(0,t.jsx)(u(),s({},o,c,{mask:h,className:"sprout-w-full sprout-leading-5 sprout-text-[#434343] sprout-outline-none sprout-border-b sprout-border-b-[#979797] sprout-h-full sprout-bg-white sprout-p-2 sprout-rounded focus:sprout-border-b-[#FB8110] disabled:!sprout-bg-[#f1f1f1] disabled:!sprout-text-[#999999] disabled:sprout-p-[11px] disabled:sprout-mt-[-5px] disabled:sprout-text-sm",onChange:function(e){c.onChange(e),"function"===typeof n&&n(e)}}))}),b.error&&(0,t.jsx)("div",{className:"sprout-text-red-500 sprout-text-xs",children:b.error})]})};b.defaultProps={inputMode:"numeric",maskOptions:{}};var h=b,v=n(35666),m=n.n(v),y=n(16125);function g(e,r,n,t,o,a,i){try{var u=e[a](i),l=u.value}catch(c){return void n(c)}u.done?r(l):Promise.resolve(l).then(t,o)}var x=function(e){var r=window.getComputedStyle(e);return"none"!==r.display&&"hidden"!==r.visibility&&"0"!==r.opacity},w=function(e){for(var r=0;r<e.length;r+=1){var n=e[r];if(x(n))return n}return null};var O=n(60493),j=n(27374),C=n(29656);function k(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function S(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){k(e,r,n[r])}))}return e}function P(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var n=[],t=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(t=(i=u.next()).done)&&(n.push(i.value),!r||n.length!==r);t=!0);}catch(l){o=!0,a=l}finally{try{t||null==u.return||u.return()}finally{if(o)throw a}}return n}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var F=function(e){return(0,t.jsxs)("div",{className:"sprout-flex sprout-align-bottom",children:[e.icon,(0,t.jsx)("div",{className:"sprout-truncate sprout-capitalize",title:e.label,children:e.label}),e.tag]})},N=function(e,r){var n,o=P((0,a.useField)(e.name),3),i=o[0],u=o[1],l=o[2],c={container:function(e){return S({},e,{flex:"4.4",border:"none"})},option:function(e,r){return S({},e,{backgroundColor:r.isSelected?"#FCA311":"white",color:r.isSelected?"white":"black","&:hover":{backgroundColor:r.isSelected?"#FCA311":"#FFF6E7"}})},singleValue:function(r,n){return S({},r,{color:n.isSelected?"white":e.colorText})},control:function(r,n){return S({},r,{borderRadius:"4px",borderColor:"transparent",borderBottom:n.isDisabled?"".concat(e.isReadOnly?"1px solid #979797":"none"):"1px solid #979797",borderBottomColor:n.isFocused?"#FB8110":"#979797",boxShadow:"none","&:hover":{borderBottomColor:"#FB8110"},backgroundColor:n.isDisabled?"".concat(e.isReadOnly?"transparent":"#f1f1f1"):"transparent"})},dropdownIndicator:function(r){return S({},r,{color:e.colorText?e.colorText:"#979797","&:hover":{color:e.colorText}})},indicatorSeparator:function(e){return S({},e,{display:"none"})},multiValue:function(e){return S({},e,{borderRadius:"40px",background:"#FEE6CF",border:"1px solid #FB8110",padding:"0px 10px"})},multiValueRemove:function(e){return S({},e,{display:"none"})},placeholder:function(e){return S({},e,{color:"#9ca3af"})},groupHeading:function(e){return S({},e,{color:"#00000",fontWeight:"600",textTransform:"Capitalize"})}};e.forcedValue?n=e.forcedValue:i.value&&(n=i.value);var s=e.menuPosition?e.menuPosition:"bottom";return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(C.default,{ref:r,name:e.name,onChange:function(r){e.customChangeHandler?e.customChangeHandler(r,l):function(e){l.setValue(e)}(r)},isSearchable:e.isSearchable,value:n||"",options:e.options,hideSelectedOptions:!1,styles:c,formatOptionLabel:F,isClearable:e.isClearable,placeholder:e.placeholder,className:e.className,isMulti:e.isMulti,required:e.isRequired,isDisabled:e.isDisabled||!1,menuPlacement:s,components:e.components&&{MenuList:e.components},openMenuOnFocus:e.openMenuOnFocus}),u.error&&(0,t.jsx)("div",{className:"sprout-text-red-500 sprout-text-xs","data-id":"error-for-".concat(e.name),children:u.error})]})},E=(0,o.forwardRef)(N);function A(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function D(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var n=[],t=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(t=(i=u.next()).done)&&(n.push(i.value),!r||n.length!==r);t=!0);}catch(l){o=!0,a=l}finally{try{t||null==u.return||u.return()}finally{if(o)throw a}}return n}
1(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var I=n(17672),B={input:O.I,textarea:I.K,select:function(e){var r=D((0,a.useField)(e.name),1)[0];return(0,t.jsx)("select",function(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){A(e,r,n[r])}))}return e}({},e,r,{onChange:function(n){r.onChange(n),e.onChange&&e.onChange(n)},children:e.children}))},form:function(e){var r;return(0,t.jsx)(a.Formik,{enableReinitialize:null===(r=e.enableReinitialize)||void 0===r||r,validate:e.validation,initialValues:e.initialValues||{},onSubmit:function(r,n){e.onSubmit&&e.onSubmit(r,n)},validateOnChange:e.validateOnChange,validateOnBlur:e.validateOnBlur,validateOnMount:e.validateOnMount,innerRef:e.innerRef,isInitialValid:e.isInitialValid,children:function(r){return(0,t.jsx)("form",{onSubmit:(n=m().mark((function n(t){var o,a,i,u,l,c,s,f,d,p,b,h,v;return m().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,r.validateForm();case 2:if(o=n.sent,!e.scrollOnError){n.next=24;break}if("object"!==typeof o||!Object.keys(o).length){n.next=24;break}a=y.Z.toDotNotation(o),i=Object.keys(a),u=0;case 8:if(!(u<i.length)){n.next=23;break}if(l=i[u],c=document.querySelectorAll('[data-id="error-for-'.concat(l,'"]')),s=document.querySelectorAll('[data-id="error-parent-for-'.concat(l,'"]')),f=w(s),d=w(c),!f||!x(f)){n.next=17;break}return f.scrollIntoView({behavior:"smooth",block:"center"}),n.abrupt("break",23);case 17:if(!d||!x(d)){n.next=20;break}return d.scrollIntoView({behavior:"smooth",block:"center"}),n.abrupt("break",23);case 20:u+=1,n.next=8;break;case 23:for(p=0;p<i.length;p+=1)b=i[p],h=document.querySelector('[data-id="error-for-'.concat(b,'"]')),(v=document.querySelector('[data-id="error-parent-for-'.concat(b,'"]')))&&v.animate([{backgroundColor:"#f9816c"},{backgroundColor:"white"}],{duration:1e3,iterations:2}),h&&h.animate([{backgroundColor:"#f9816c"},{backgroundColor:"white"}],{duration:1e3,iterations:2});case 24:r.handleSubmit(t);case 25:case"end":return n.stop()}}),n)})),function(){var e=this,r=arguments;return new Promise((function(t,o){var a=n.apply(e,r);function i(e){g(a,t,o,i,u,"next",e)}function u(e){g(a,t,o,i,u,"throw",e)}i(void 0)}))}),children:e.children});var n}})},select2:E,inputWithError:j.K,inputCurrencyWithError:h}},60493:function(e,r,n){"use strict";n.d(r,{I:function(){return f},i:function(){return d}});var t=n(85893),o=(n(67294),n(82580)),a=function(){return(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M14.6666 14.6667L11.676 11.6707L14.6666 14.6667ZM13.3333 7.66667C13.3333 9.16956 12.7363 10.6109 11.6736 11.6736C10.6109 12.7363 9.16953 13.3333 7.66664 13.3333C6.16374 13.3333 4.7224 12.7363 3.6597 11.6736C2.59699 10.6109 1.99997 9.16956 1.99997 7.66667C1.99997 6.16377 2.59699 4.72243 3.6597 3.65973C4.7224 2.59702 6.16374 2 7.66664 2C9.16953 2 10.6109 2.59702 11.6736 3.65973C12.7363 4.72243 13.3333 6.16377 13.3333 7.66667V7.66667Z",stroke:"#8E8E8E",strokeWidth:"1.33333",strokeLinecap:"round"})})},i=n(87559),u=n.n(i);function l(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function c(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){l(e,r,n[r])}))}return e}function s(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var n=[],t=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(t=(i=u.next()).done)&&(n.push(i.value),!r||n.length!==r);t=!0);}catch(l){o=!0,a=l}finally{try{t||null==u.return||u.return()}finally{if(o)throw a}}return n}
1(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var f=function(e){var r=s((0,o.useField)(e.name),1)[0];return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"sprout-flex",children:[e.searchIcon&&(0,t.jsx)("div",{className:"sprout-flex sprout-items-center",children:(0,t.jsx)(a,{})}),(0,t.jsx)("input",c({},e,r,{value:r.value||"",onChange:function(n){r.onChange(n),e.onChange&&e.onChange(n)},className:e.className?e.className:u().input}))]})})},d=function(e){var r=s((0,o.useField)(e.name),1)[0];return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"sprout-flex",children:[e.searchIcon&&(0,t.jsx)("div",{className:"sprout-flex sprout-items-center",children:(0,t.jsx)(a,{})}),(0,t.jsx)("input",c({},e,r,{value:r.value||e.defaultValue||"",onChange:function(n){r.onChange(n),e.onChange&&e.onChange(n)},className:u().input}))]})})}},27374:function(e,r,n){"use strict";n.d(r,{K:function(){return f}});var t=n(85893),o=(n(67294),n(93967)),a=n.n(o),i=n(82580),u=n(17672);function l(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function c(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){l(e,r,n[r])}))}return e}function s(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var n=[],t=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(t=(i=u.next()).done)&&(n.push(i.value),!r||n.length!==r);t=!0);}catch(l){o=!0,a=l}finally{try{t||null==u.return||u.return()}finally{if(o)throw a}}return n}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var f=function(e){var r=s((0,i.useField)(e.name),2),n=r[0],o=r[1],l=function(r){e.onChange&&e.onChange(r),n.onChange(r)},f=function(r){e.onBlur&&e.onBlur(r)};return(0,t.jsx)(t.Fragment,{children:"textArea"===e.inputType?(0,t.jsx)(u.K,c({},e,n,{onChange:l,onBlur:f,value:n.value||e.value||"",rows:4})):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:a()(e.containerClass,"sprout-flex"),children:[(0,t.jsx)("input",c({},e,n,{value:n.value||e.value||"",onChange:l,onBlur:f,onKeyDown:function(e){"Enter"===e.key&&e.preventDefault()},className:"sprout-w-full sprout-leading-5 sprout-text-[#434343] sprout-outline-none sprout-border-b sprout-border-b-[#979797] sprout-h-full sprout-bg-white sprout-p-2 sprout-rounded focus:sprout-border-b-[#FB8110] disabled:sprout-bg-[#f1f1f1] disabled:sprout-text-[#999999]"})),(null===e||void 0===e?void 0:e.rightIcon)&&(0,t.jsx)("div",{className:"sprout-absolute sprout-right-2 sprout-cursor-pointer",children:null===e||void 0===e?void 0:e.rIcon})]}),o.error&&(0,t.jsx)("div",{"data-id":"error-for-".concat(e.name),className:a()(e.errorClass,"sprout-text-red-500 sprout-text-xs"),children:o.error})]})})}},17672:function(e,r,n){"use strict";n.d(r,{K:function(){return s}});var t=n(85893),o=(n(67294),n(82580)),a=n(87559),i=n.n(a);function u(e,r,n){return r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function l(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{},t=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),t.forEach((function(r){u(e,r,n[r])}))}return e}function c(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var n=[],t=!0,o=!1,a=void 0;try{for(var i,u=e[Symbol.iterator]();!(t=(i=u.next()).done)&&(n.push(i.value),!r||n.length!==r);t=!0);}catch(l){o=!0,a=l}finally{try{t||null==u.return||u.return()}finally{if(o)throw a}}return n}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var s=function(e){var r=c((0,o.useField)(e.name),2),n=r[0],a=r[1];return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("textarea",l({},e,n,{onChange:function(r){n.onChange(r),e.onChange&&e.onChange(r)},className:i().input,style:{resize:"none"}})),a.error&&(0,t.jsx)("div",{className:"sprout-text-red-500 sprout-text-xs","data-id":"error-for-".concat(e.name),children:a.error})]})}},16125:function(e,r,n){"use strict";var t=n(30381),o=n.n(t),a=n(96486),i=n.n(a),u={group:function(e){var r={};return null===e||void 0===e||e.forEach((function(e){var n=o()(e.date).format("YYYY-MM-DD");r[n]?r[n].push(e):r[n]=[e]})),Object.keys(r).map((function(e){return{date:e,transactions:r[e]}}))},toDotNotation:function(e,r){var n=void 0===r?"":r;return i().reduce(e,(function(e,r,t){var o=n?"".concat(n,".").concat(t):t;return i().isArray(r)?r.forEach((function(r,n){var t="".concat(o,".").concat(n);i().isObject(r)&&!i().isArray(r)?i().assign(e,u.toDotNotation(r,t)):e[t]=r})):i().isObject(r)?i().assign(e,u.toDotNotation(r,o)):e[o]=r,e}),{})}};r.Z=u},87559:function(e){e.exports={input:"styles_input__T6LWC",errorMessage:"styles_errorMessage__nsjEk"}}}]);

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.