1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5378],{69417:function(e,t,o){"use strict";o.d(t,{Z:function(){return k}});var a=o(63366),n=o(87462),r=o(67294),i=o(63961),l=o(35971),s=o(94780),d=o(2101),c=o(90948),p=o(14136),u=o(28628),v=o(49990),h=o(98216),x=o(1588),g=o(34867);function m(e){return(0,g.ZP)("MuiButton",e)}let b=(0,x.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),y=r.createContext({}),f=r.createContext(void 0);var S=o(85893);let z=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Z=e=>{let{color:t,disableElevation:o,fullWidth:a,size:r,variant:i,classes:l}=e,d={root:["root",i,`${i}${(0,h.Z)(t)}`,`size${(0,h.Z)(r)}`,`${i}Size${(0,h.Z)(r)}`,`color${(0,h.Z)(t)}`,o&&"disableElevation",a&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${(0,h.Z)(r)}`],endIcon:["icon","endIcon",`iconSize${(0,h.Z)(r)}`]},c=(0,s.Z)(d,m,l);return(0,n.Z)({},l,c)},w=e=>(0,n.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),C=(0,c.ZP)(v.Z,{shouldForwardProp:e=>(0,p.Z)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],t[`${o.variant}${(0,h.Z)(o.color)}`],t[`size${(0,h.Z)(o.size)}`],t[`${o.variant}Size${(0,h.Z)(o.size)}`],"inherit"===o.color&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var o,a;let r="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,n.Z)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,n.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,d.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,d.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,d.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,n.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}
1),[`&.${b.focusVisible}`]:(0,n.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${b.disabled}`]:(0,n.Z)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,d.Fq)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(o=(a=e.palette).getContrastText)?void 0:o.call(a,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:r,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${b.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${b.disabled}`]:{boxShadow:"none"}}),$=(0,c.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.startIcon,t[`iconSize${(0,h.Z)(o.size)}`]]}})(({ownerState:e})=>(0,n.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},w(e))),I=(0,c.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.endIcon,t[`iconSize${(0,h.Z)(o.size)}`]]}})(({ownerState:e})=>(0,n.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},w(e)));var k=r.forwardRef(function(e,t){let o=r.useContext(y),s=r.useContext(f),d=(0,l.Z)(o,e),c=(0,u.i)({props:d,name:"MuiButton"}),{children:p,color:v="primary",component:h="button",className:x,disabled:g=!1,disableElevation:m=!1,disableFocusRipple:b=!1,endIcon:w,focusVisibleClassName:k,fullWidth:R=!1,size:P="medium",startIcon:E,type:_,variant:N="text"}=c,j=(0,a.Z)(c,z),W=(0,n.Z)({},c,{color:v,component:h,disabled:g,disableElevation:m,disableFocusRipple:b,fullWidth:R,size:P,type:_,variant:N}),B=Z(W),M=E&&(0,S.jsx)($,{className:B.startIcon,ownerState:W,children:E}),T=w&&(0,S.jsx)(I,{className:B.endIcon,ownerState:W,children:w});return(0,S.jsxs)(C,(0,n.Z)({ownerState:W,className:(0,i.Z)(o.className,B.root,x,s||""),component:h,disabled:g,focusRipple:!b,focusVisibleClassName:(0,i.Z)(B.focusVisible,k),ref:t,type:_},j,{classes:B,children:[M,p,T]}))})},91185:function(e,t,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/test",function(){return o(57724)}])},57724:function(e,t,o){"use strict";o.r(t),o.d(t,{__N_SSP:function(){return l},default:function(){return s}});var a=o(85893),n=o(44759),r=o(69417),i=o(67294),l=!0;function s(e){var t;let{posts:o}=e,[l,s]=(0,i.useState)([]),d=async()=>{let e=[];for(let t of o)t.apply=!1,e.push(t);s(e)},c=e=>{s(null==l?void 0:l.map(t=>(null==t?void 0:t.id)===e?{...t,apply:!0}:t))};return(0,i.useEffect)(()=>{d()},[]),(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{style:{display:"flex",padding:"20px 50px",gap:"20px",flexWrap:"wrap",justifyContent:"center",margin:"0 auto"},className:"wrapper_section",children:null==l?void 0:null===(t=l.slice(0,10))||void 0===t?void 0:t.map((e,t)=>(0,a.jsxs)("div",{style:{border:"1px solid #000",width:"100%",maxWidth:"300px",padding:"10px"},className:"card_section",children:[(0,a.jsx)("h5",{style:{color:n.ZP.status.textdarkgray},children:null==e?void 0:e.title}),(0,a.jsx)("p",{style:{color:n.ZP.status.textdarkgray},children:null==e?void 0:e.body}),(null==e?void 0:e.apply)?(0,a.jsx)(r.Z,{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"5.64px",borderRadius:"6.47px",color:n.ZP.status.white,background:n.ZP.status.bggradient},children:"Applied"}):(0,a.jsx)(r.Z,{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"5.64px",borderRadius:"6.47px",background:n.ZP.status.bggradient,color:n.ZP.status.white},onClick:()=>c(null==e?void 0:e.id),children:"Apply"})]},t))})})}}},function(e){e.O(0,[400,2888,9774,179],function(){return e(e.s=91185)}),_N_E=e.O()}]);
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.