PageSourceSearch

https://codetribe.ai/_next/static/chunks/2678-dce985fe031e9fea.js

js codetribe.ai collected 2026-10-05 15:32:10 UTC 12,288 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2678],{31812:function(t,n,e){"use strict";e.d(n,{Z:function(){return S}});var i=e(63366),o=e(87462),a=e(67294),r=e(66643),l=e(42783),s=e(94780),c=e(77527),d=e(44001),u=e(4336),g=e(1058),p=e(97182),v=e(35971),h=e(34867);function m(t){return(0,h.ZP)("MuiLoadingButton",t)}let f=(0,e(1588).Z)("MuiLoadingButton",["root","loading","loadingIndicator","loadingIndicatorCenter","loadingIndicatorStart","loadingIndicatorEnd","endIconLoadingEnd","startIconLoadingStart"]);var y=e(85893);let Z=["children","disabled","id","loading","loadingIndicator","loadingPosition","variant"],x=t=>{let{loading:n,loadingPosition:e,classes:i}=t,a={root:["root",n&&"loading"],startIcon:[n&&`startIconLoading${(0,r.Z)(e)}`],endIcon:[n&&`endIconLoading${(0,r.Z)(e)}`],loadingIndicator:["loadingIndicator",n&&`loadingIndicator${(0,r.Z)(e)}`]},l=(0,s.Z)(a,m,i);return(0,o.Z)({},i,l)},b=t=>"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t&&"classes"!==t,L=(0,c.ZP)(u.Z,{shouldForwardProp:t=>b(t)||"classes"===t,name:"MuiLoadingButton",slot:"Root",overridesResolver:(t,n)=>[n.root,n.startIconLoadingStart&&{[`& .${f.startIconLoadingStart}`]:n.startIconLoadingStart},n.endIconLoadingEnd&&{[`& .${f.endIconLoadingEnd}`]:n.endIconLoadingEnd}]})(({ownerState:t,theme:n})=>(0,o.Z)({[`& .${f.startIconLoadingStart}, & .${f.endIconLoadingEnd}`]:{transition:n.transitions.create(["opacity"],{duration:n.transitions.duration.short}),opacity:0}},"center"===t.loadingPosition&&{transition:n.transitions.create(["background-color","box-shadow","border-color"],{duration:n.transitions.duration.short}),[`&.${f.loading}`]:{color:"transparent"}},"start"===t.loadingPosition&&t.fullWidth&&{[`& .${f.startIconLoadingStart}, & .${f.endIconLoadingEnd}`]:{transition:n.transitions.create(["opacity"],{duration:n.transitions.duration.short}),opacity:0,marginRight:-8}},"end"===t.loadingPosition&&t.fullWidth&&{[`& .${f.startIconLoadingStart}, & .${f.endIconLoadingEnd}`]:{transition:n.transitions.create(["opacity"],{duration:n.transitions.duration.short}),opacity:0,marginLeft:-8}})),I=(0,c.ZP)("span",{name:"MuiLoadingButton",slot:"LoadingIndicator",overridesResolver:(t,n)=>{let{ownerState:e}=t;return[n.loadingIndicator,n[`loadingIndicator${(0,r.Z)(e.loadingPosition)}`]]}})(({theme:t,ownerState:n})=>(0,o.Z)({position:"absolute",visibility:"visible",display:"flex"},"start"===n.loadingPosition&&("outlined"===n.variant||"contained"===n.variant)&&{left:"small"===n.size?10:14},"start"===n.loadingPosition&&"text"===n.variant&&{left:6},"center"===n.loadingPosition&&{left:"50%",transform:"translate(-50%)",color:(t.vars||t).palette.action.disabled},"end"===n.loadingPosition&&("outlined"===n.variant||"contained"===n.variant)&&{right:"small"===n.size?10:14},"end"===n.loadingPosition&&"text"===n.variant&&{right:6},"start"===n.loadingPosition&&n.fullWidth&&{position:"relative",left:-10},"end"===n.loadingPosition&&n.fullWidth&&{position:"relative",right:-10}));var S=a.forwardRef(function(t,n){let e=a.useContext(g.Z),r=(0,v.Z)(e,t),s=(0,d.i)({props:r,name:"MuiLoadingButton"}),{children:c,disabled:u=!1,id:h,loading:m=!1,loadingIndicator:f,loadingPosition:b="center",variant:S="text"}=s,F=(0,i.Z)(s,Z),w=(0,l.Z)(h),E=null!=f?f:(0,y.jsx)(p.Z,{"aria-labelledby":w,color:"inherit",size:16}),M=(0,o.Z)({},s,{disabled:u,loading:m,loadingIndicator:E,loadingPosition:b,variant:S}),R=x(M),P=m?(0,y.jsx)(I,{className:R.loadingIndicator,ownerState:M,children:E}):null;return(0,y.jsxs)(L,(0,o.Z)({disabled:u||m,id:w,ref:n},F,{variant:S,classes:R,ownerState:M,children:["end"===M.loadingPosition?c:P,"end"===M.loadingPosition?P:c]}))})},40375:function(t,n){"use strict";n.Z={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"}},5272:function(t,n,e){var i=e(15787).w_;
1t.exports.u=function(t){return i({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M8.2 275.4c0-8.6 3.4-17.401 10-24.001 13.2-13.2 34.8-13.2 48 0l451.8 451.8 445.2-445.2c13.2-13.2 34.8-13.2 48 0s13.2 34.8 0 48L542 775.399c-13.2 13.2-34.8 13.2-48 0l-475.8-475.8c-6.8-6.8-10-15.4-10-24.199z"}}]})(t)}},24805:function(t,n,e){var i=e(15787).w_;t.exports.z=function(t){return i({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M8.2 751.4c0 8.6 3.4 17.401 10 24.001 13.2 13.2 34.8 13.2 48 0l451.8-451.8 445.2 445.2c13.2 13.2 34.8 13.2 48 0s13.2-34.8 0-48L542 251.401c-13.2-13.2-34.8-13.2-48 0l-475.8 475.8c-6.8 6.8-10 15.4-10 24.2z"}}]})(t)}},41290:function(t,n,e){"use strict";e.d(n,{Z:function(){return k}});var i=e(63366),o=e(87462),a=e(67294),r=e(90512),l=e(7610),s=e(40375),c=e(94780),d=e(82056),u=e(66643),g=e(42783),p=e(85206),v=e(46482),h=e(7491),m=e(30139),f=e(85893),y=(0,m.Z)((0,f.jsx)("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"}),"Star"),Z=(0,m.Z)((0,f.jsx)("path",{d:"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"}),"StarBorder"),x=e(44001),b=e(77527),L=e(43094),I=e(1588),S=e(34867);function F(t){return(0,S.ZP)("MuiRating",t)}let w=(0,I.Z)("MuiRating",["root","sizeSmall","sizeMedium","sizeLarge","readOnly","disabled","focusVisible","visuallyHidden","pristine","label","labelEmptyValueActive","icon","iconEmpty","iconFilled","iconHover","iconFocus","iconActive","decimal"]),E=["value"],M=["className","defaultValue","disabled","emptyIcon","emptyLabelText","getLabelText","highlightSelectedOnly","icon","IconContainerComponent","max","name","onChange","onChangeActive","onMouseLeave","onMouseMove","precision","readOnly","size","value"];function R(t,n){return null==t?t:Number((Math.round(t/n)*n).toFixed(function(t){let n=t.toString().split(".")[1];return n?n.length:0}(n)))}let P=t=>{let{classes:n,size:e,readOnly:i,disabled:o,emptyValueFocused:a,focusVisible:r}=t,l={root:["root","size".concat((0,u.Z)(e)),o&&"disabled",r&&"focusVisible",i&&"readOnly"],label:["label","pristine"],labelEmptyValue:[a&&"labelEmptyValueActive"],icon:["icon"],iconEmpty:["iconEmpty"],iconFilled:["iconFilled"],iconHover:["iconHover"],iconFocus:["iconFocus"],iconActive:["iconActive"],decimal:["decimal"],visuallyHidden:["visuallyHidden"]};return(0,c.Z)(l,F,n)},A=(0,b.ZP)("span",{name:"MuiRating",slot:"Root",overridesResolver:(t,n)=>{let{ownerState:e}=t;return[{["& .".concat(w.visuallyHidden)]:n.visuallyHidden},n.root,n["size".concat((0,u.Z)(e.size))],e.readOnly&&n.readOnly]}})(t=>{let{theme:n,ownerState:e}=t;return(0,o.Z)({display:"inline-flex",position:"relative",fontSize:n.typography.pxToRem(24),color:"#faaf00",cursor:"pointer",textAlign:"left",width:"min-content",WebkitTapHighlightColor:"transparent",["&.".concat(w.disabled)]:{opacity:(n.vars||n).palette.action.disabledOpacity,pointerEvents:"none"},["&.".concat(w.focusVisible," .").concat(w.iconActive)]:{outline:"1px solid #999"},["& .".concat(w.visuallyHidden)]:s.Z},"small"===e.size&&{fontSize:n.typography.pxToRem(18)},"large"===e.size&&{fontSize:n.typography.pxToRem(30)},e.readOnly&&{pointerEvents:"none"})}),z=(0,b.ZP)("label",{name:"MuiRating",slot:"Label",overridesResolver:(t,n)=>{let{ownerState:e}=t;return[n.label,e.emptyValueFocused&&n.labelEmptyValueActive]}})(t=>{let{ownerState:n}=t;return(0,o.Z)({cursor:"inherit"},n.emptyValueFocused&&{top:0,bottom:0,position:"absolute",outline:"1px solid #999",width:"100%"})}),j=(0,b.ZP)("span",{name:"MuiRating",slot:"Icon",overridesResolver:(t,n)=>{let{ownerState:e}=t;return[n.icon,e.iconEmpty&&n.iconEmpty,e.iconFilled&&n.iconFilled,e.iconHover&&n.iconHover,e.iconFocus&&n.iconFocus,e.iconActive&&n.iconActive]}})(t=>{let{theme:n,ownerState:e}=t;return(0,o.Z)({display:"flex",transition:n.transitions.create("transform",{duration:n.transitions.duration.shortest}),pointerEvents:"none"},e.iconActive&&{transform:"scale(1.2)"},e.iconEmpty&&{color:(n.vars||n).palette.action.disabled})}),H=(0,b.ZP)("span",{name:"MuiRating",slot:"Decimal",shouldForwardProp:t=>(0,L.Z)(t)&&"iconActive"!==t,overridesResolver:(t,n)=>{let{iconActive:e}=t;return[n.decimal,e&&n.iconActive]}})(t=>{let{iconActive:n}=t;return(0,o.Z)({position:"relative"},n&&{transform:"scale(1.2)"})});function V(t){let n=(0,i.Z)(t,E);return(0,f.jsx)("span",(0,o.Z)({},n))}function C(t){let{classes:n,disabled:e,emptyIcon:i,focus:l,getLabelText:s,highlightSelectedOnly:c,hover:d,icon:u,IconContainerComponent:p,isActive:v,itemValue:h,labelProps:m,name:y,onBlur:Z,onChange:x,onClick:b,onFocus:L,readOnly:I,ownerState:S,ratingV
1alue:F,ratingValueRounded:w}=t,E=c?h===F:h<=F,M=h<=d,R=h<=l,P=h===w,A=(0,g.Z)(),H=(0,f.jsx)(j,{as:p,value:h,className:(0,r.Z)(n.icon,E?n.iconFilled:n.iconEmpty,M&&n.iconHover,R&&n.iconFocus,v&&n.iconActive),ownerState:(0,o.Z)({},S,{iconEmpty:!E,iconFilled:E,iconHover:M,iconFocus:R,iconActive:v}),children:i&&!E?i:u});return I?(0,f.jsx)("span",(0,o.Z)({},m,{children:H})):(0,f.jsxs)(a.Fragment,{children:[(0,f.jsxs)(z,(0,o.Z)({ownerState:(0,o.Z)({},S,{emptyValueFocused:void 0}),htmlFor:A},m,{children:[H,(0,f.jsx)("span",{className:n.visuallyHidden,children:s(h)})]})),(0,f.jsx)("input",{className:n.visuallyHidden,onFocus:L,onBlur:Z,onChange:x,onClick:b,disabled:e,value:h,id:A,type:"radio",name:y,checked:P})]})}let B=(0,f.jsx)(y,{fontSize:"inherit"}),N=(0,f.jsx)(Z,{fontSize:"inherit"});function $(t){return"".concat(t," Star").concat(1!==t?"s":"")}var k=a.forwardRef(function(t,n){let e=(0,x.i)({name:"MuiRating",props:t}),{className:s,defaultValue:c=null,disabled:u=!1,emptyIcon:m=N,emptyLabelText:y="Empty",getLabelText:Z=$,highlightSelectedOnly:b=!1,icon:L=B,IconContainerComponent:I=V,max:S=5,name:F,onChange:w,onChangeActive:E,onMouseLeave:j,onMouseMove:k,precision:O=1,readOnly:T=!1,size:_="medium",value:W}=e,X=(0,i.Z)(e,M),D=(0,g.Z)(F),[Y,q]=(0,p.Z)({controlled:W,default:c,name:"Rating"}),G=R(Y,O),J=(0,d.V)(),[{hover:K,focus:Q},U]=a.useState({hover:-1,focus:-1}),tt=G;-1!==K&&(tt=K),-1!==Q&&(tt=Q);let{isFocusVisibleRef:tn,onBlur:te,onFocus:ti,ref:to}=(0,v.Z)(),[ta,tr]=a.useState(!1),tl=a.useRef(),ts=(0,h.Z)(to,tl,n),tc=t=>{let n=""===t.target.value?null:parseFloat(t.target.value);-1!==K&&(n=K),q(n),w&&w(t,n)},td=t=>{(0!==t.clientX||0!==t.clientY)&&(U({hover:-1,focus:-1}),q(null),w&&parseFloat(t.target.value)===G&&w(t,null))},tu=t=>{ti(t),!0===tn.current&&tr(!0);let n=parseFloat(t.target.value);U(t=>({hover:t.hover,focus:n}))},tg=t=>{-1===K&&(te(t),!1===tn.current&&tr(!1),U(t=>({hover:t.hover,focus:-1})))},[tp,tv]=a.useState(!1),th=(0,o.Z)({},e,{defaultValue:c,disabled:u,emptyIcon:m,emptyLabelText:y,emptyValueFocused:tp,focusVisible:ta,getLabelText:Z,icon:L,IconContainerComponent:I,max:S,precision:O,readOnly:T,size:_}),tm=P(th);return(0,f.jsxs)(A,(0,o.Z)({ref:ts,onMouseMove:t=>{k&&k(t);let{right:n,left:e,width:i}=tl.current.getBoundingClientRect(),o=R(S*(J?(n-t.clientX)/i:(t.clientX-e)/i)+O/2,O);o=(0,l.Z)(o,O,S),U(t=>t.hover===o&&t.focus===o?t:{hover:o,focus:o}),tr(!1),E&&K!==o&&E(t,o)},onMouseLeave:t=>{j&&j(t),U({hover:-1,focus:-1}),E&&-1!==K&&E(t,-1)},className:(0,r.Z)(tm.root,s,T&&"MuiRating-readOnly"),ownerState:th,role:T?"img":null,"aria-label":T?Z(tt):null},X,{children:[Array.from(Array(S)).map((t,n)=>{let e=n+1,i={classes:tm,disabled:u,emptyIcon:m,focus:Q,getLabelText:Z,highlightSelectedOnly:b,hover:K,icon:L,IconContainerComponent:I,name:D,onBlur:tg,onChange:tc,onClick:td,onFocus:tu,ratingValue:tt,ratingValueRounded:G,readOnly:T,ownerState:th},a=e===Math.ceil(tt)&&(-1!==K||-1!==Q);if(O<1){let t=Array.from(Array(1/O));return(0,f.jsx)(H,{className:(0,r.Z)(tm.decimal,a&&tm.iconActive),ownerState:th,iconActive:a,children:t.map((n,a)=>{let r=R(e-1+(a+1)*O,O);return(0,f.jsx)(C,(0,o.Z)({},i,{isActive:!1,itemValue:r,labelProps:{style:t.length-1===a?{}:{width:r===tt?"".concat((a+1)*O*100,"%"):"0%",overflow:"hidden",position:"absolute"}}}),r)})},e)}return(0,f.jsx)(C,(0,o.Z)({},i,{isActive:a,itemValue:e}),e)}),!T&&!u&&(0,f.jsxs)(z,{className:(0,r.Z)(tm.label,tm.labelEmptyValue),ownerState:th,children:[(0,f.jsx)("input",{className:tm.visuallyHidden,value:"",id:"".concat(D,"-empty"),type:"radio",name:D,checked:null==G,onFocus:()=>tv(!0),onBlur:()=>tv(!1),onChange:tc}),(0,f.jsx)("span",{className:tm.visuallyHidden,children:y})]})]}))})}}]);

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.