PageSourceSearch

https://blog.seedly.sg/_next/static/chunks/5831.caa17c07db24fac9.js

js seedly.sg collected 2026-09-25 09:51:14 UTC 8,809 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5831],{5831:function(n,e,r){r.r(e),r.d(e,{default:function(){return k}});var t=r(85893),o=(r(67294),r(14416)),i=r(86381),a=r(33850),u=r(82175),c=r(968),l=r(21457),d=r(23080),s=r(87379);function f(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function b(){var n=f(["\n  height: 36px;\n  width: 74px;\n  object-fit: contain;\n"]);return b=function(){return n},n}function p(){var n=f(["\n  margin-top: 36px;\n"]);return p=function(){return n},n}function h(){var n=f(["\n  display: flex;\n  justify-content: flex-end;\n  margin-top: 26px;\n  margin-bottom: 32px;\n"]);return h=function(){return n},n}function g(){var n=f(["\n  text-align: center;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n"]);return g=function(){return n},n}function v(){var n=f(["\n  font-size: 18px;\n  font-weight: bold;\n  margin-bottom: 16px;\n  padding-top: 30px;\n"]);return v=function(){return n},n}function m(){var n=f(["\n  margin-bottom: 10px;\n  color: ",";\n"]);return m=function(){return n},n}var x=s.ZP.img.withConfig({componentId:"sc-84e56175-0"})(b()),j=s.ZP.div.withConfig({componentId:"sc-84e56175-1"})(p()),w=s.ZP.div.withConfig({componentId:"sc-84e56175-2"})(h()),y=s.ZP.div.withConfig({componentId:"sc-84e56175-3"})(g()),Z=s.ZP.div.withConfig({componentId:"sc-84e56175-4"})(v()),O=s.ZP.div.withConfig({componentId:"sc-84e56175-5"})(m(),(function(n){return n.theme.colors.neutral5})),C=function(){var n=(0,o.I0)(),e=(0,o.v9)((function(n){return n.profile.user.description})),r=(0,o.v9)((function(n){return n.profile.user.links})),i=(0,u.TA)({initialValues:{name:""},validate:function(n){var e={};return n.name?n.name.length<3&&(e.name="Name must be at least 3 characters long"):e.name="Required",e},onSubmit:function(t,o){var i=o.setSubmitting;i(!0),n((0,c.Lj)({name:t.name,description:e,links:r},{onFailure:function(){return i(!1)},onSuccess:function(){return window.location.reload()}}))}}),a=i.handleSubmit,s=i.handleReset,f=i.values,b=i.errors,p=i.touched,h=i.isSubmitting,g=i.setFieldValue,v=i.setFieldTouched;return(0,t.jsxs)("div",{children:[(0,t.jsxs)(y,{children:[(0,t.jsx)(Z,{children:"Oops, we need your name!"}),(0,t.jsx)(O,{children:"To ensure that the community is a friendly place, please enter your display name."})]}),(0,t.jsxs)("form",{onSubmit:a,onReset:s,children:[(0,t.jsx)(j,{children:(0,t.jsx)(l.Z,{type:"text",name:"name",onChange:function(n){return g("name",n.target.value)},onBlur:v,value:f.name,error:b.name&&p.name&&b.name,label:"Name",placeholder:"Your name",disabled:h,info:"*Min 3 Characters",width:"100%"})}),(0,t.jsx)("div",{children:(0,t.jsx)(w,{children:(0,t.jsx)(d.Z,{type:"submit",isLoading:h,children:"Done"})})})]})]})},k=function(){var n=(0,o.v9)((function(n){return n.modal.isNameModalOpen}));return(0,t.jsx)(i.Z,{ariaHideApp:!1,isOpen:n,label:"name-auth",renderHeaderLeft:function(){return(0,t.jsx)(x,{src:a.sQ.seedlyLogo,alt:"Seedly logo"})},children:(0,t.jsx)(C,{})})}},21457:function(n,e,r){var t=r(85893),o=r(67294),i=r(28794),a=r(96620),u=r(1604);function c(n,e,r){return e in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function l(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},t=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(r).filter((function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})))),t.forEach((function(e){c(n,e,r[e])}))}return n}var d=o.forwardRef((function(n,e){var r=n.label,o=n.error,c=n.info,d=n.width,s=void 0===d?"auto":d;return(0,t.jsxs)(a.Z,{width:s,direction:"column",size:"xxs",align:"start",children:[r&&(0,t.jsx)(i.Z,{variant:"titlemd",intent:"secondary",children:r}),(0,t.jsx)(u.Z,l({ref:e},n,{error:!!o})),c&&(0,t.jsx)(i.Z,{variant:"caption",intent:"secondary",children:c}),o&&(0,t.jsx)(i.Z,{variant:"caption",intent:"error",children:o})]})}));e.Z=d},1604:function(n,e,r){r.d(e,{Z:function(){return w}});var t=r(85893),o=r(67294),i=r(35583),a={outline:{enabled:{backgroundColor:i.Z.neutral1,border:"1px solid ".concat(i.Z.neutral4)},hover:{backgroundColor:i.Z.neutral1,border:"1px solid ".concat(i.Z.seedlyBlue)}
1,active:{border:"2px solid ".concat(i.Z.seedlyBlue)},error:{backgroundColor:i.Z.neutral1,border:"1px solid ".concat(i.Z.red5)},disabled:{color:i.Z.neutral4,backgroundColor:i.Z.neutral3,border:"1px solid ".concat(i.Z.neutral4)}},solid:{enabled:{backgroundColor:i.Z.neutral2,border:"none"},hover:{backgroundColor:i.Z.neutral2,border:"none"},active:{backgroundColor:i.Z.neutral2,border:"none"},error:{backgroundColor:i.Z.red2,border:"none"},disabled:{color:i.Z.neutral4,backgroundColor:i.Z.neutral2,border:"none"}}},u={rounded:{borderRadius:"4px"},pill:{borderRadius:"24px"}},c={sm:{height:"32px",fontSize:"14px",fontWeight:"normal",lineHeight:"150%"},md:{height:"40px",fontSize:"14px",fontWeight:"normal",lineHeight:"150%"},lg:{height:"48px",fontSize:"14px",fontWeight:"normal",lineHeight:"150%"}},l=r(87379),d=r(63396),s=r(96620);function f(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function b(){var n=f(["\n  display: flex;\n  align-items: center;\n  padding: 0 12px;\n  box-sizing: border-box;\n  width: ",";\n  height: ",";\n  border-radius: ",";\n  border: ",";\n  background-color: ",";\n\n  ","\n"]);return b=function(){return n},n}function p(){var n=f(["\n    font-size: 14px;\n  "]);return p=function(){return n},n}function h(){var n=f(["\n  outline: none;\n  border: none;\n  background-color: transparent;\n  width: 100%;\n  color: ",";\n  font-size: ",";\n  font-weight: ",";\n  line-height: ",";\n\n  ::placeholder {\n    color: ",";\n  }\n\n  ","\n\n  [type='number'] {\n    -moz-appearance: textfield;\n  }\n\n  ::-webkit-outer-spin-button,\n  ::-webkit-inner-spin-button {\n    -webkit-appearance: none;\n  }\n"]);return h=function(){return n},n}var g=(0,l.ZP)(s.Z).withConfig({componentId:"sc-e4fd1820-0"})(b(),(function(n){return n.width}),(function(n){return n.height}),(function(n){return n.borderRadius}),(function(n){return n.disabled?n.variant.disabled.border:n.isError?n.variant.error.border:n.isFocus?n.variant.active.border:n.variant.enabled.border}),(function(n){return n.disabled?n.variant.disabled.backgroundColor:n.isError?n.variant.error.backgroundColor:n.isFocus?n.variant.active.backgroundColor:n.variant.enabled.backgroundColor}),(function(n){if(!n.isError&&!n.disabled&&!n.isFocus)return"\n          &:hover {\n            background-color: ".concat(n.variant.hover.backgroundColor,";\n            border: ").concat(n.variant.hover.border,";\n          }\n        ")})),v=l.ZP.input.withConfig({componentId:"sc-e4fd1820-1"})(h(),i.Z.neutral7,(function(n){return n.sizeTheme.fontSize}),(function(n){return n.sizeTheme.fontWeight}),(function(n){return n.sizeTheme.lineHeight}),(function(n){return n.disabled?n.disabledColor:i.Z.neutral5}),d.Z.largeAndDown(p()));function m(n,e,r){return e in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function x(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},t=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(r).filter((function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})))),t.forEach((function(e){m(n,e,r[e])}))}return n}function j(n,e){if(null==n)return{};var r,t,o=function(n,e){if(null==n)return{};var r,t,o={},i=Object.keys(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||(o[r]=n[r]);return o}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(n,r)&&(o[r]=n[r])}return o}var w=o.forwardRef((function(n,e){var r=n.error,i=void 0===r?"":r,l=n.variant,d=void 0===l?"outline":l,s=n.shape,f=void 0===s?"rounded":s,b=n.size,p=void 0===b?"md":b,h=n.width,m=void 0===h?"auto":h,w=n.disabled,y=void 0!==w&&w,Z=n.prefix,O=void 0===Z?null:Z,C=n.suffix,k=void 0===C?null:C,z=n.innerInputSpacing,P=void 0===z?"xs":z,S=n.onFocus,I=void 0===S?function(){}:S,F=n.onBlur,R=void 0===F?function(){}:F,E=n.onChange,T=j(n,["error","variant","shape","size","width","disabled","prefix","suffix","innerInputSpacing","onFocus","onBlur","onChange"]),B=(0,o.useState)(!1),H=B[0],N=B[1],D=a[d],L=u[f],W=c[p];return(0,t.jsxs)(g,{width:m,height:W.height,variant:D,borderRadius:L.borderRadius,disabled:y,isError:!!i,isFocus:H,size:P,children:[O,(0,t.jsx)(v,x({ref:e,sizeTheme:W,disabledColor:D.disabled.color,onF
1ocus:function(){N(!0),I()},onBlur:function(){N(!1),R()},disabled:y,onChange:E},T)),k]})}))}}]);
2//# sourceMappingURL=5831.caa17c07db24fac9.js.map

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.