PageSourceSearch

https://workparrots.com/static/js/7983.d33d1a7a.chunk.js

js workparrots.com collected 2026-10-07 17:51:43 UTC 14,648 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_minimal_kit_cra_js=self.webpackChunk_minimal_kit_cra_js||[]).push([[7983],{2771(e,l,t){t.d(l,{c:()=>p});var n=t(89379),a=t(80045),s=t(16491),r=t(19808),o=t(14857),i=t(21156),c=t(65594),d=t(44414);const u=["children","sx"];function p(e){let{children:l,sx:t}=e,p=(0,a.A)(e,u);const x=(0,o.A)();return(0,d.jsxs)(s.A,(0,n.A)((0,n.A)({sx:(0,n.A)({py:5,minHeight:240,display:"flex",position:"relative",alignItems:"center"},t)},p),{},{children:[(0,d.jsx)(r.A,{children:l}),(0,d.jsx)(s.A,{sx:(0,n.A)((0,n.A)({},(0,c.ab)({color:"0deg, ".concat((0,c.IG)(x.vars.palette.background.defaultChannel,.9),", ").concat((0,c.IG)(x.vars.palette.background.defaultChannel,.9)),imgUrl:"".concat(i.P.assetsDir,"/assets/background/background-3-blur.webp")})),{},{top:0,left:0,width:1,height:1,zIndex:-1,position:"absolute",transform:"scaleX(-1)"})})]}))}},25301(e,l,t){t.d(l,{u:()=>A});var n=t(89379),a=t(80045),s=t(9950),r=t(16491),o=t(30358),i=t(2683),c=t(93230),d=t(19808),u=t(45180),p=t(50704),x=t(87393),h=t(44414);const m=["sx","data","slotProps","offsetValue","queryClassName"];function A(e){let{sx:l,data:t,slotProps:A,offsetValue:f=.3,queryClassName:g="scroll__to__view"}=e,b=(0,a.A)(e,m);const[v,j]=(0,s.useState)(0),y=(0,s.useCallback)((()=>{const e=window.innerHeight*f,l=window.scrollY+e,t=document.querySelectorAll(".".concat(g));let n=null;t.forEach(((e,t)=>{const a=e.offsetTop,s=a+e.clientHeight;l>=a&&l<s&&(n=t)})),j(n)}),[f,g]);(0,x.M)("scroll",y);const w=(0,s.useCallback)((e=>{const l=document.querySelectorAll(".".concat(g));if(l&&l.length>e){const t=l[e].offsetTop-160;window.scrollTo({top:t,behavior:"smooth"})}}),[g]),C=(0,h.jsx)(c.A,{component:"nav",sx:(0,n.A)({top:80,width:240,flexShrink:0,position:"sticky",display:{xs:"none",md:"flex"}},null===A||void 0===A?void 0:A.nav),children:(0,h.jsx)(r.A,{component:"ul",sx:{gap:1.5,display:"flex",flexDirection:"column"},children:t.map(((e,l)=>(0,h.jsx)(r.A,{component:"li",sx:{display:"flex"},children:(0,h.jsxs)(o.A,{underline:"none",onClick:()=>w(l),sx:(0,n.A)({cursor:"pointer",typography:"body2",color:"text.disabled"},v===l&&{color:"text.primary",fontWeight:"fontWeightSemiBold"}),children:[l+1," - ",e.name]})},e.name)))})}),k=(0,h.jsx)(c.A,{component:"section",spacing:5,flex:"1 1 auto",sx:(0,n.A)({minWidth:0,borderRadius:2,p:{xs:3,md:5},bgcolor:"background.neutral"},null===A||void 0===A?void 0:A.section),children:t.map((e=>(0,h.jsxs)(i.A,{className:g,children:[(0,h.jsx)(u.A,{title:e.name}),(0,h.jsx)(p.A,{children:e.component})]},e.name)))});return(0,h.jsx)(d.A,(0,n.A)((0,n.A)({},null===A||void 0===A?void 0:A.container),{},{children:(0,h.jsxs)(c.A,(0,n.A)((0,n.A)({spacing:5,direction:"row",alignItems:"flex-start",sx:(0,n.A)({pt:10,pb:15},l)},b),{},{children:[C,k]}))}))}},37983(e,l,t){t.r(l),t.d(l,{default:()=>w});var n=t(32856),a=t(21156),s=t(90260),r=t(66438),o=t(89379),i=t(9950),c=t(93230),d=t(27987),u=t(14341),p=t(57073),x=t(2046),h=t(74631),m=t(95136),A=t(44414);const f=[{value:"USD",label:"$"},{value:"EUR",label:"\u20ac"},{value:"BTC",label:"\u0e3f"},{value:"JPY",label:"\xa5"}];function g(e){let{variant:l}=e;const[t,n]=(0,i.useState)("EUR"),[a,s]=(0,i.useState)({amount:"",password:"",weight:"",weightRange:"",showPassword:!1}),r=(0,i.useCallback)((e=>{n(e.target.value)}),[]),g=e=>l=>{s((0,o.A)((0,o.A)({},a),{},{[e]:l.target.value}))},b=(0,i.useCallback)((()=>{s((0,o.A)((0,o.A)({},a),{},{showPassword:!a.showPassword}))}),[a]),v=(0,i.useCallback)((e=>{e.preventDefault()}),[]),j={gap:3,flexDirection:"column"};return(0,A.jsxs)(c.A,{sx:{rowGap:5,columnGap:3,display:"grid",gridTemplateColumns:{xs:"repeat(1, 1fr)",md:"repeat(2, 1fr)"}},children:[(0,A.jsxs)(m.D,{title:"General",sx:j,children:[(0,A.jsx)(u.A,{variant:l,fullWidth:!0,label:"Inactive"}),(0,A.jsx)(u.A,{variant:l,required:!0,fullWidth:!0,label:"Activated",defaultValue:"Hello Minimal"}),(0,A.jsx)(u.A,{variant:l,fullWidth:!0,type:"password",label:"Password",autoComplete:"current-password"}),(0,A.jsx)(u.A,{variant:l,disabled:!0,fullWidth:!0,label:"Disabled",defaultValue:"Hello Minimal"})]}),(0,A.jsxs)(m.D,{title:"With icon & adornments",sx:j,children:[(0,A.jsx)(u.A,{variant:l,fullWidth:!0,label:"Filled",InputProps:{startAdornment:(0,A.jsx)(x.A,{position:"start",children:(0,A.jsx)(h.WL,{icon:"solar:user-rounded-bold",width:24})})}}),(0,A.jsx)(u.A,{variant:l,disabled:!0,fullWidth:!0,label:"Disabled",defaultValue:"Hello Minimal",InputProps:{startAdornment:(0,A.jsx)(x.A,{position:"start",children:(0,A.jsx)(h.WL,{icon:"solar:user-rounded-bold",width:24})})}}),(0,A.jsx)(u.A,{variant:l,fullWidth:!0,label:"With normal TextField",InputProps:{startAdornment:(0,A.jsx)(x.A,{position:"start",children:"Kg"})}}),(0,A.jsx)(u.A,{variant:l,fullWidth:!0,value:a.weight,onChange:g("weight"),helperText:"Weight",InputProps:{endAdornment:(0,A.jsx)(x.A,{position:"end",children:"Kg"})}}),(0,A.jsx)(u.A,{variant:l,fullWidth:!0,type:a.showPassword?"text":"password",value:a.password,onChange:g("password"),label:"Password",InputProps:{startAdornment:(0,A.jsx)(x.A,{position:"start",children:(0,A.jsx)(h.WL,{icon:"solar:user-rounded-bold",width:24})}),endAdornment:(0,A.jsx)(x.A,{position:"end",children:(0,A.jsx)(p.A,{onClick:b,onMouseDown:v,edge:"end",children:a.showPassword?(0,A.jsx)(h.WL,{icon:"solar:eye-bold",width:24}):(0,A.jsx)(h.WL,{icon:"solar:eye-closed-bold",width:24})})})}})]}),(0,A.jsxs)(m.D,{title:"With caption",sx:j,children:[(0,A.jsx)(u.A,{variant:l,fullWidth:!0,label:"Error",defaultValue:"Hello Minimal",helperText:"Incorrect entry."}),(0,A.jsx)(u.A,{variant:l,error:!0,fullWidth:!0,label:"Error",defaultValue:"Hello Minimal",helperText:"Incorrect entry."})]}),(0,A.jsxs)(m.D,{title:"Type",sx:j,children:[(0,A.jsx)(u.A,{variant:l,fullWidth:!0,type:"password",label:"Password",autoComplete:"current-password"}),(0,A.jsx)(u.A,{variant:l,fullWidth:!0,type:"number",label:"Number",defaultValue:0,InputLabelProps:{shrink:!0}}),(0,A.jsx)(u.A,{variant:l,fullWidth:!0,label:"Search",type:"search"})]}),(0,A.jsxs)(m.D,{title:"Sizes",sx:j,children:[(0,A.jsx)(u.A,{variant:l,fullWidth:!0,label:"Size",size:"small",defaultValue:"Small"}),(0,A.jsx)(u.A,{variant:l,fullWidth:!0,label:"Size",defaultValue:"Normal"})]}),(0,A.jsxs)(m.D,{title:"Select",sx:j,children:[(0,A.jsx)(u.A,{id:"select-currency-label-x",variant:l,select:!0,fullWidth:!0,label:"Select",value:t,onChange:r,helperText:"Please select your currency",InputLabelProps:{htmlFor:"".concat(l,"-select-currency-label")},inputProps:{id:"".concat(l,"-select-currency-label")},children:f.map((e=>(0,A.jsx)(d.A,{value:e.value,children:e.label},e.value)))}),(0,A.jsx)(u.A,{variant:l,select:!0,fullWidth:!0,size:"small",value:t,label:"Native select",SelectProps:{native:!0},onChange:r,helperText:"Please select your currency",InputLabelProps:{htmlFor:"".concat(l,"-native-select-currency-label")},inputProps:{id:"".concat(l,"-native-select-currency-label")},children:f.map((e=>(0,A.jsx)("option",{value:e.value,children:e.label},e.value)))})]}),(0,A.jsxs)(m.D,{title:"Multiline",sx:j,children:[(0,A.jsx)(u.A,{variant:l,fullWidth:!0,multiline:!0,maxRows:4,label:"Multiline",value:"Controlled"}),(0,A.jsx)(u.A,{variant:l,fullWidth:!0,multiline:!0,placeholder:"Placeholder",label:"Multiline Placeholder"}),(0,A.jsx)(u.A,{variant:l,rows:4,fullWidth:!0,multiline:!0,label:"Multiline",defaultValue:"Default Value"})]})]})}var b=t(2771),v=t(25301);function j(){const e=[{name:"Outlined",component:(0,A.jsx)(g,{variant:"outlined"})},{name:"Filled",component:(0,A.jsx)(g,{variant:"filled"})},{name:"Standard",component:(0,A.jsx)(g,{variant:"standard"})}];return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(b.c,{children:(0,A.jsx)(r.g,{heading:"Textfield",links:[{name:"Components",href:s.f.components},{name:"Textfield"}],moreLink:["https://mui.com/components/text-fields"]})}),(0,A.jsx)(v.u,{data:e})]})}const y={title:"Textfield | MUI - ".concat(a.P.appName)};function w(){return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(n.mg,{children:(0,A.jsxs)("title",{children:[" ",y.title]})}),(0,A.jsx)(j,{})]})}},52432(e,l,t){t.d(l,{A:()=>D});var n=t(58168),a=t(98587),s=t(9950),r=(t(75772),t(72004)),o=t(88465),i=t(59063),c=t(59254),d=t(18463),u=t(87233),p=t(99269),x=t(65471),h=t(44414);const m=(0,x.A)((0,h.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");var A=t(29715);const f=["slots","slotProps"],g=(0,c.Ay)(A.A)((e=>{let{theme:l}=e;
1return(0,n.A)({display:"flex",marginLeft:"calc(".concat(l.spacing(1)," * 0.5)"),marginRight:"calc(".concat(l.spacing(1)," * 0.5)")},"light"===l.palette.mode?{backgroundColor:l.palette.grey[100],color:l.palette.grey[700]}:{backgroundColor:l.palette.grey[700],color:l.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":(0,n.A)({},"light"===l.palette.mode?{backgroundColor:l.palette.grey[200]}:{backgroundColor:l.palette.grey[600]}),"&:active":(0,n.A)({boxShadow:l.shadows[0]},"light"===l.palette.mode?{backgroundColor:(0,p.tL)(l.palette.grey[200],.12)}:{backgroundColor:(0,p.tL)(l.palette.grey[600],.12)})})})),b=(0,c.Ay)(m)({width:24,height:16});const v=function(e){const{slots:l={},slotProps:t={}}=e,s=(0,a.A)(e,f),r=e;return(0,h.jsx)("li",{children:(0,h.jsx)(g,(0,n.A)({focusRipple:!0},s,{ownerState:r,children:(0,h.jsx)(b,(0,n.A)({as:l.CollapsedIcon,ownerState:r},t.collapsedIcon))}))})};var j=t(1763),y=t(423);function w(e){return(0,y.Ay)("MuiBreadcrumbs",e)}const C=(0,j.A)("MuiBreadcrumbs",["root","ol","li","separator"]),k=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],W=(0,c.Ay)(u.A,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,l)=>[{["& .".concat(C.li)]:l.li},l.root]})({}),P=(0,c.Ay)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,l)=>l.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),S=(0,c.Ay)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,l)=>l.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function I(e,l,t,n){return e.reduce(((a,s,r)=>(r<e.length-1?a=a.concat(s,(0,h.jsx)(S,{"aria-hidden":!0,className:l,ownerState:n,children:t},"separator-".concat(r))):a.push(s),a)),[])}const D=s.forwardRef((function(e,l){const t=(0,d.b)({props:e,name:"MuiBreadcrumbs"}),{children:c,className:u,component:p="nav",slots:x={},slotProps:m={},expandText:A="Show path",itemsAfterCollapse:f=1,itemsBeforeCollapse:g=1,maxItems:b=8,separator:j="/"}=t,y=(0,a.A)(t,k),[C,S]=s.useState(!1),D=(0,n.A)({},t,{component:p,expanded:C,expandText:A,itemsAfterCollapse:f,itemsBeforeCollapse:g,maxItems:b,separator:j}),L=(e=>{const{classes:l}=e;return(0,o.A)({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},w,l)})(D),M=(0,i.A)({elementType:x.CollapsedIcon,externalSlotProps:m.collapsedIcon,ownerState:D}),T=s.useRef(null),R=s.Children.toArray(c).filter((e=>s.isValidElement(e))).map(((e,l)=>(0,h.jsx)("li",{className:L.li,children:e},"child-".concat(l))));return(0,h.jsx)(W,(0,n.A)({ref:l,component:p,color:"text.secondary",className:(0,r.A)(L.root,u),ownerState:D},y,{children:(0,h.jsx)(P,{className:L.ol,ref:T,ownerState:D,children:I(C||b&&R.length<=b?R:(e=>g+f>=e.length?e:[...e.slice(0,g),(0,h.jsx)(v,{"aria-label":A,slots:{CollapsedIcon:x.CollapsedIcon},slotProps:{collapsedIcon:M},onClick:()=>{S(!0);const e=T.current.querySelector("a[href],button,[tabindex]");e&&e.focus()}},"ellipsis"),...e.slice(e.length-f,e.length)])(R),L.separator,j,D)})}))}))},66438(e,l,t){t.d(l,{g:()=>x});var n=t(89379),a=t(80045),s=t(16491),r=t(30358),o=t(87233),i=t(52432),c=t(95218),d=t(44414);function u(e){let{link:l,activeLast:t,disabled:a}=e;const o=(0,n.A)({typography:"body2",alignItems:"center",color:"text.primary",display:"inline-flex"},a&&!t&&{cursor:"default",pointerEvents:"none",color:"text.disabled"}),i=(0,d.jsxs)(d.Fragment,{children:[l.icon&&(0,d.jsx)(s.A,{component:"span",sx:{mr:1,display:"inherit","& svg, & img":{width:20,height:20}},children:l.icon}),l.name]});return l.href?(0,d.jsx)(r.A,{component:c.W,href:l.href,sx:o,children:i}):(0,d.jsxs)(s.A,{sx:o,children:[" ",i," "]})}const p=["links","action","heading","moreLink","activeLast","slotProps","sx"];function x(e){let{links:l,action:t,heading:c,moreLink:x,activeLast:m,slotProps:A,sx:f}=e,g=(0,a.A)(e,p);const b=l[l.length-1].name,v=(0,d.jsx)(o.A,{variant:"h4",sx:(0,n.A)({mb:2},null===A||void 0===A?void 0:A.heading),children:c}),j=(0,d.jsx)(i.A,(0,n.A)((0,n.A)({separator:(0,d.jsx)(h,{}),sx:null===A||void 0===A?void 0:A.breadcrumbs},g),{},{children:l.map(((e,l)=>{var t;return(0,d.jsx)(u,{link:e,activeLast:m,disabled:e.name===b},null!==(t=e.name)&&void 0!==t?t:l)}
1))})),y=(0,d.jsxs)(s.A,{sx:(0,n.A)({flexShrink:0},null===A||void 0===A?void 0:A.action),children:[" ",t," "]}),w=(0,d.jsx)(s.A,{component:"ul",children:null===x||void 0===x?void 0:x.map((e=>(0,d.jsx)(s.A,{component:"li",sx:{display:"flex"},children:(0,d.jsx)(r.A,{href:e,variant:"body2",target:"_blank",rel:"noopener",sx:null===A||void 0===A?void 0:A.moreLink,children:e})},e)))});return(0,d.jsxs)(s.A,(0,n.A)((0,n.A)({gap:2,display:"flex",flexDirection:"column",sx:f},g),{},{children:[(0,d.jsxs)(s.A,{display:"flex",alignItems:"center",children:[(0,d.jsxs)(s.A,{sx:{flexGrow:1},children:[c&&v,!!l.length&&j]}),t&&y]}),!!x&&w]}))}function h(){return(0,d.jsx)(s.A,{component:"span",sx:{width:4,height:4,borderRadius:"50%",bgcolor:"text.disabled"}})}},95136(e,l,t){t.d(l,{D:()=>p,h:()=>x});var n=t(89379),a=t(80045),s=t(16491),r=t(93230),o=t(19808),i=t(65594),c=t(44414);const d=["title","sx","children"],u=["children","sx"];function p(e){let{title:l,sx:t,children:o}=e,u=(0,a.A)(e,d);return(0,c.jsxs)(r.A,(0,n.A)((0,n.A)({sx:(0,n.A)({px:3,py:6,gap:2,width:1,flexWrap:"wrap",borderRadius:1.5,position:"relative",flexDirection:"row",alignItems:"center",justifyContent:"center",bgcolor:e=>(0,i.IG)(e.vars.palette.grey["500Channel"],.04),boxShadow:e=>"0 0 0 1px ".concat((0,i.IG)(e.vars.palette.grey["500Channel"],.16))},t)},u),{},{children:[l&&(0,c.jsx)(s.A,{component:"span",sx:{px:1,top:0,ml:2.5,left:0,py:.25,borderRadius:2,position:"absolute",color:"text.primary",bgcolor:"common.white",transform:"translateY(-50%)",fontSize:e=>e.typography.caption.fontSize,fontWeight:e=>e.typography.fontWeightSemiBold,border:e=>"solid 1px ".concat((0,i.IG)(e.vars.palette.grey["500Channel"],.24)),[i.Y5.dark]:{bgcolor:"background.neutral"}},children:l}),o]}))}function x(e){let{children:l,sx:t}=e,s=(0,a.A)(e,u);return(0,c.jsx)(o.A,(0,n.A)((0,n.A)({sx:(0,n.A)({mt:10,mb:15,gap:5,display:"flex",flexDirection:"column"},t)},s),{},{children:l}))}}}]);

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.