1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="49f3c87a-7b4a-4f1f-9a8e-fb663cf1758b",e._sentryDebugIdIdentifier="sentry-dbid-49f3c87a-7b4a-4f1f-9a8e-fb663cf1758b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6694],{25273:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/projects",function(){return n(85991)}])},85991:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>ex});var i,r,o=n(26514),c=n(82046),a=n(53048),l=n(61420),s=n(75834),d=n(61303),p=n(75563),f=n(83496),h=n(70222),u=n(71156),g=n(26097),x=n(58245),m=n.n(x),b=n(48725),j=n(62030),w=n(362),v=n(92973);let y={src:"/_next/static/media/no-projects-image.6b9235c3.png",height:306,width:352,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAMAAAACh/xsAAAAWlBMVEX9/f7S3qr2+Pv89ebqtcPq7uXU5e7q3+vS0Onu9vv/9NT++fH/79D+9d64zOG0xdfp1L7y6dLU0siitsvGy8WIuvnQ1NOl0P/yya2Vp7XXrKhindamx6jC3eo9adFqAAAACnRSTlP++/r/+/v+/fv70yih1AAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAAD9JREFUeJwVyccRgDAQBLCFBQwXHMix/zYZ6yu0fRO6aQSGr3i+AwCWN58E1NJzraKgxWNbhFDbY5qlnps48QNNSQKFrSF4WQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:7};function A(e){let{onCreateButton:t}=e,{beacon:n}=(0,v.U)(),i=(0,o.jsx)(C,{forwardedAs:"button",color:"accent",onClick:()=>n.article(w.xj.projects.id),children:"Learn more about projects"});return(0,o.jsxs)(c.EC,{spacer:[0,0],padding:0,children:[(0,o.jsx)(m(),{src:y,width:176,height:153,alt:""}),(0,o.jsx)(j.H1,{mt:32,mb:8,children:"Create your first project"}),(0,o.jsxs)(_,{alignCenter:!0,mb:16,children:["Group your widgets into projects for streamlined access and efficient client management. ",i]}),(0,o.jsx)(j.$n,{variation:"accentPrimary",leftIcon:b.A,large:!0,onClick:t,children:"Create Project"})]})}let C=(0,g.default)(j.N_).withConfig({componentId:"sc-d695bc78-0"})(["padding:0;border:none;background-color:transparent;"]),_=(0,g.default)(j.P).withConfig({componentId:"sc-d695bc78-1"})(["max-width:500px;"]);var I=n(55971),P=n.n(I),E=n(72348),k=n(70359),S=n(21206);function D(e){let{state:{search:t},setSearch:n}=(0,l.DD)(),i=(0,S.iz)(),[r,c]=(0,k.z)(),[a,d]=(0,s.useState)(t);(0,s.useEffect)(()=>{d(t)},[t]);let p=(0,s.useMemo)(()=>P()(e=>{n(e)},300),[]);return(0,o.jsx)(R,{ref:i,value:a,onChange:e=>{let{target:{value:t}}=e;d(t),p(t)},onReset:()=>{d(""),n("")},placeholder:"Search projects",_focused:r,...c,...e})}let R=(0,g.default)(j.DO).withConfig({componentId:"sc-d87fdcbe-0"})(["","{background:#f8f8f8;border-color:transparent;cursor:text;max-width:220px;"," &:hover{border-color:",";}}","{background:#f8f8f8;}"],E.EQ,e=>{let{_focused:t}=e;return t&&(0,g.css)(["border-color:",";"],e=>{let{theme:t}=e;return t.colors.accent})},e=>{let{theme:t,_focused:n}=e;return n?t.colors.accent:t.colors.gray10},E.uJ);var N=n(93796);function O(){return(O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}let T=e=>s.createElement("svg",O({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none"},e),i||(i=s.createElement("g",{clipPath:"url(#request-feature-banner-backgound-icon_svg__a)",fill:"currentColor"},s.createElement("path",{d:"M11.008 9.185c.214.126.562.23.99.23.427 0 .775-.104.99-.23.143-.085.18-.146.187-.161a.113.113 0 0 0-.003.027h1.6c0 .72-.49 1.228-.972 1.512-.309.182-.67.311-1.059.384v5.274h-1.6v-5.297a3.214 3.214 0 0 1-.946-.361c-.482-.284-.972-.792-.972-1.512h1.6a.115.115 0 0 0-.002-.027c.007.015.043.076.187.16Z"}),s.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.815 8.727c0 2.173-1.292 4.07-2.533 5.425-.638.865-1.037 1.56-1.285 2.222-.278.741-.386 1.487-.386 2.453 0 2.756-1.963 5.187-4.612 5.187-2.65 0-4.613-2.431-4.613-5.187 0-.966-.108-1.712-.386-2.452-.254-.673-.662-1.38-1.32-2.263l-.012-.013c-1.208-1.345-2.483-3.223-2.483-5.372C3.185 4.088 7.181.414 12 .414c4.819 0 8.815 3.674 8.815 8.313Zm-16.03 0c0-3.66 3.18-6.713 7.215-6.713 4.034 0 7.215 3.054 7.215 6.713 0 1.463-.837 2.89-1.904 4.111l-.026-.02c-.847 1.097-1.426 2.033-1.786 2.994-.08.212-.148.422-.205.633H8.703a7.19 7.19 0 0 0-.206-.634c-.361-.96-.942-1.897-1.79-2.993l-.02
11.016c-1.06-1.227-1.901-2.65-1.901-4.107Zm4.177 9.318c.017.254.024.514.024.782 0 .164.009.324.026.48h5.974c.017-.156.026-.316.026-.48 0-.268.007-.528.023-.782H8.962Zm5.493 2.862H9.543c.564.933 1.489 1.507 2.456 1.507.968 0 1.892-.574 2.456-1.507Z"}))),r||(r=s.createElement("defs",null,s.createElement("clipPath",{id:"request-feature-banner-backgound-icon_svg__a"},s.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))),q=[{text:"Full Whitelabel Plan to manage apps with custom brand.",link:"https://community.elfsight.com/t/full-whitelabel-plan-to-manage-apps-with-custom-brand-white-label/6347"},{text:"Provide a client with access to specific widgets within his project.",link:"https://community.elfsight.com/t/provide-a-client-with-access-to-specific-widgets-within-his-project/40982"},{text:"Ability to transfer widget ownership to my client.",link:"https://community.elfsight.com/t/ability-to-transfer-widget-ownership-to-my-client/40984"}];function F(e){let{...t}=e,n=(0,g.useTheme)(),i=(0,f.al)();return(0,o.jsxs)(z,{...t,children:[(0,o.jsx)(U,{mb:16,children:"Request any feature you want for agencies, web-developers or enterprises!"}),(0,o.jsx)(j.P,{mb:8,children:"Vote and discuss the features that have already been requested:"}),(0,o.jsx)(H,{children:q.map(e=>{let{text:t,link:n}=e;return(0,o.jsxs)(B,{children:[t,"\xa0",(0,o.jsx)(j.N_,{href:(0,N.SS)(n),color:"accent",children:"Vote"})]},n)})}),(0,o.jsx)(j.$n,{variation:"accentSecondary",href:(0,N.SS)("https://community.elfsight.com/c/wishlist/elfsight-dashboard/25/l/latest?order=votes"),target:"_blank",rel:"noopener noreferrer",children:"Request any PRO feature you need"}),!i&&(0,o.jsx)(J,{component:T,size:202,fill:n.colors.accentTransparent})]})}let z=g.default.div.withConfig({componentId:"sc-cbdb30b6-0"})(["position:relative;padding:20px;border-radius:8px;overflow:hidden;border:1px solid ",";background:linear-gradient( 109deg,rgba(25,123,255,0.05) 25.52%,rgba(25,123,255,0.02) 74.48% ),",";"],e=>{let{theme:t}=e;return t.colors.accentTransparent},e=>{let{theme:t}=e;return t.colors.white}),U=(0,g.default)(j.H3).withConfig({componentId:"sc-cbdb30b6-1"})(["font-weight:600;"]),H=g.default.ul.withConfig({componentId:"sc-cbdb30b6-2"})(["margin:0 0 16px 14px;padding:0;"]),B=g.default.li.withConfig({componentId:"sc-cbdb30b6-3"})(["position:relative;padding:4px 0 4px 4px;list-style-type:'â¡';",";"],e=>{let{theme:t}=e;return t.font.title4Semibold}),J=(0,g.default)(j.In).withConfig({componentId:"sc-cbdb30b6-4"})(["position:absolute;right:-50px;bottom:-10px;"]);function V(e){let{onCreateButton:t}=e;return(0,o.jsx)(c.z$,{offset:12,withDivider:!0,actions:(0,o.jsxs)(W,{children:[(0,o.jsx)(D,{}),(0,o.jsx)(j.$n,{variation:"accentPrimary",leftIcon:b.A,onClick:t,disableShrink:!0,children:"Create Project"})]}),children:(0,o.jsx)(M,{children:"My Projects"})})}let W=g.default.div.withConfig({componentId:"sc-cc8d2e40-0"})(["display:flex;gap:16px;"]),M=g.default.span.withConfig({componentId:"sc-cc8d2e40-1"})(["margin-right:16px;"]);var Q=n(1515),$=n(46106),L=n(91550),X=n(84389);function G(e){let{project:t}=e,{pid:n,name:i,widgetsCount:r,projectThumbnailURL:a,active:l}=t,s=1===r?"widget":"widgets";return(0,o.jsxs)(Z,{_active:l,children:[(0,o.jsxs)(K,{children:[(0,o.jsxs)(ee,{children:[(0,o.jsx)(Y,{variant:"title3",color:l?"black":"gray30",children:i}),(0,o.jsx)(j.o5,{variant:"caption",color:l?"gray50":"gray10",children:`${r} ${s}`})]}),(0,o.jsx)(c.hV,{projectName:i,projectThumbnailURL:a,projectActive:l,size:"large"})]}),(0,o.jsx)(et,{_active:l,children:l?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(en,{href:`/projects/${n}`,color:"accent",children:(0,o.jsx)(ei,{children:"Manage"})}),(0,o.jsx)(X.W,{widgetsCount:r,location:"list"})]}):(0,o.jsx)(j.m_,{openDelay:0,width:300,alignCenter:!0,content:"Project deactivated due project limit on your current plan",children:(0,o.jsx)(j.In,{component:L.A,size:16,fill:"alert"})})})]})}let Z=g.default.div.withConfig({componentId:"sc-79288866-0"})(["position:relative;display:flex;padding:16px 16px 8px;flex-direction:column;gap:12px;text-decoration:none;border:1px solid ",";border-radius:8px;background-color:",";"],e=>{let{theme:t,_active:n}=e;return n?t.colors.gray10:t.colors.gray5},e=>{let{theme:t}=e;return t.colors.white}),K=g.default.div.withConfig({componentId:"sc-79288866-1"})(["width:100%;overflow:hidden;display:flex;justify-content:space-between;gap:12px;"]),Y=(0,g.default)(j.o5).withConfig({componentId:"sc-79288866-2"})(["margin-bottom:8px;text-overflow:ellipsis;overflow:hidden;"]),ee=g.default.div.withConfig({componentId:"sc-79288866-3"})(["display:flex;flex-direction:column;overflow:hidden;text-decoration:none;margin-bottom:8px;margin-right:12px;"]),et=g.default.div.withConfig({componentId:"sc-79288866-4"})(["display:flex;width:100%;gap:12px;align-items:center;margin-top:auto;height:32px;justify-content:",";"],e=>{let{_active:t}=e;return t?"start":"end"}),en=(0,g.default)(j.N_).withConfig({componentId:"sc-79288866-5"})(["&:focus,&:hover{text-decoration:none;}&:after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;}"]),ei=g.default.span.withConfig({componentId:"sc-79288866-6"})(["position:relative;z-index:1;&:hover{text-decoration:underline;text-underline-offset:2.5px;}"]);function er(e){let{projects:t}=e;return(0,o.jsx)(eo,{children:t.map(e=>(0,o.jsx)($.mm,{project:e,children:(0,o.jsx)(G,{project:e})},e.pid))})}let eo=g.default.div.withConfig({componentId:"sc-4ac65754-0"})(["display:grid;grid-template-columns:repeat(auto-fill,minmax(278px,1fr));gap:32px;"]);function ec(){return(0,o.jsx)(ea,{children:"No projects found"})}let ea=g.default.div.withConfig({componentId:"sc-857ab129-0"})(["color:",";display:flex;align-items:center;justify-content:center;height:100%;"],e=>{let{theme:t}=e;return t.colors.gray30});function el(e){let{projects:t,isLoading:n}=e,{state:{page:i,lastPage:r},setPage:c}=(0,l.DD)(),{isDismissed:a,isReady:s,dismiss:d}=(0,Q.RJ)(),p=s&&!a;return n?(0,o.jsx)(es,{children:(0,o.jsx)(j.aH,{})}):t.length?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(es,{children:[(0,o.jsx)(er,{projects:t}),r>1&&(0,o.jsx)(ed,{page:i,count:r,onPageChange:e=>{c(e)}})]}),(0,o.jsx)(ep,{}),s&&(p?(0,o.jsx)(Q.dV,{onDismiss:d}):(0,o.jsx)(F,{}))]}):(0,o.jsx)(es,{children:(0,o.jsx)(ec,{})})}let es=g.default.div.withConfig({componentId:"sc-16d98c6f-0"})(["position:relative;display:flex;flex-direction:column;"]),ed=(0,g.default)(j.dK).withConfig({componentId:"sc-16d98c6f-1"})(["margin-top:32px;"]),ep=g.default.div.withConfig({componentId:"sc-16d98c6f-2"})(["height:32px;margin-bottom:auto;"]);var ef=n(47848);function eh(){let{backToAppsPage:e}=(0,f.cN)(),t=(0,ef.qd)(),{data:n,isPending:i}=(0,p.UH)(),r=(0,ef.$U)(),{data:a,isPending:g,isFetched:x}=(0,p.Wt)(r,{enabled:!!n?.available}),{data:m,isPending:b}=(0,p.lZ)(),{dispatch:j}=(0,l.DD)(),w=(0,u.s)(),v=a?.payload||[];(0,s.useEffect)(()=>{a&&j({type:l.BE.LAST_PAGE,lastPage:a.meta.lastPage})},[a]);
1let[y,C]=(0,s.useState)(!1),[_,I]=(0,s.useState)(!1),P=()=>{if(Number(m?.projectsUsage)>=1){w({entityType:d.IE.PROJECT,trigger:d.bG.CREATE_PROJECT}),I(!0);return}C(!0)};if((0,s.useEffect)(()=>{n&&!n.available&&e({historyReplace:!0})},[n,e]),g||b||i||!a||!m||!n)return null;let E=!a?.payload.length&&!r.search;return(0,o.jsx)(c.ss,{_padding:60,children:(0,o.jsxs)(c.nv,{_width:900,_flexVertical:!0,children:[E?(0,o.jsx)(A,{onCreateButton:P}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(V,{onCreateButton:P}),(0,o.jsx)(el,{projects:v,isLoading:g||!x})]}),(0,o.jsx)(h.Dm,{isOpen:y,onSuccess:()=>{t()},onRequestClose:()=>C(!1)}),(0,o.jsx)(h.$z,{isOpen:_,onRequestClose:()=>I(!1)})]})})}function eu(){return(0,o.jsx)(l.SX,{children:(0,o.jsx)(c.Ad,{headerActivePage:"/projects",header:(0,o.jsx)(a.Y9,{}),children:(0,o.jsx)(eh,{})})})}let eg=()=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(c.pD,{title:"Projects"}),(0,o.jsx)(eu,{})]});eg.config={};let ex=eg}},e=>{e.O(0,[1515,4389,6593,636,8792],()=>e(e.s=25273)),_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.