PageSourceSearch

https://refocus-awards.com/_next/static/chunks/5274-de4b32dfb6cf3310.js

js refocus-awards.com collected 2026-10-02 07:00:26 UTC 9,861 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5274],{75274:function(e,n,r){r.d(n,{Z:function(){return z}});var i=r(5447),t=r(99728),o=r(8014),a=r(34237),l=r(56168),s=r(42299),d=r(69194),c=r.n(d),u={light:{bg:"support1.4",text:"base.1",border:"base_2.4"},dark:{bg:"base.1",text:"base.6",border:"base.2"}},x=l.createContext({scheme:"light",colors:u.light,dispatch:function(){return null}});function p(e){var n,r=(0,l.useState)((0,i.Z)({},e.data,{scheme:n=e.data.scheme,colors:u[n]})),a=r[0],d=r[1],p=(0,l.useCallback)((function(e){d(c()(a,(0,s.Z)({},e.key,{$set:e.value})))}),[a]);return(0,l.useEffect)((function(){var e=u[a.scheme];d((function(n){return(0,t.Z)((0,i.Z)({},n),{colors:e})}))}),[a.scheme]),(0,o.jsx)(x.Provider,{value:(0,t.Z)((0,i.Z)({},a),{colors:a.colors,dispatch:p}),children:e.children})}var h=r(75657),b=r.n(h),f=r(98421),v=r(40137),m=r(59096),j=function(e){var n=e.expanded,r=function(){var e=l.useContext(x);if(void 0===e)throw new Error("useAdminPageLayoutContext must be used within a AdminPageLayoutContextProvider");return e}().colors;return(0,o.jsx)(b(),{href:f.ef.DASHBOARD,children:(0,o.jsx)("a",{children:(0,o.jsx)(m.Z,{label:"Dashboard",icon:(0,o.jsx)(v.Z,{icon:"sidebartrigger",size:20,fill:r.text}),expanded:n,borderBottomColor:r.border,borderBottomWidth:1,h:"59px",position:"relative",zIndex:1e3,bg:r.bg})})})},g=r(2746),w=r(47011),Z=r(80427),C=r(49430),k=r(75332),y=r(16672),S=r(12048),_=r(39266),E=r(48178),T=r.n(E),I=function(e){var n=e.sidebarExpanded,r=e.setSidebarExpanded,l=(0,w.L)().menu,s=(0,g.Z)((0,S.rd)(["base.1","base.4"]),2),d=s[0],c=s[1],u=(0,k.useRouter)().asPath,x=function(){return r(!1)};return(0,o.jsx)(a.kC,{direction:"column",flex:1,overflow:"hidden",css:{".ps__rail-y":{right:"auto",left:"0",width:"4px"},".ps__thumb-y":{backgroundColor:(0,S.tk)("support1.1")}},children:(0,o.jsx)(T(),{options:{wheelPropagation:!1},style:{position:"relative",flex:1},children:(0,o.jsx)(a.kC,{direction:"column",pt:"20px",maxW:{md:"250px"},minH:"100%",children:l.map((function(e,r){var l=e.url===u;if(e.renderer)return(0,o.jsx)(Z.M,{children:n&&(0,o.jsx)(a.kC,(0,t.Z)((0,i.Z)({as:C.E.div,overflow:"hidden"},y._),{flexGrow:1,display:{base:"none",md:"flex"},children:e.renderer()}))},"sidebar-item--".concat(r));var s="Voting"===e.label,p=(0,o.jsx)(m.Z,{icon:e.icon,label:e.label,expanded:n,onClick:x,css:{"*":{color:"".concat(c," !important"),fill:"".concat(l?d:c," !important"),transition:(0,_.eR)("color","fill","stroke"),stroke:s?"".concat(l?d:c," !important"):void 0}},_hover:{"*":{color:"".concat(d," !important"),fill:"".concat(d," !important"),stroke:s?"".concat(d," !important"):void 0}}});return e.external?(0,o.jsx)("a",{href:e.url,target:"_blank",rel:"noreferrer",children:p},"sidebar-item--".concat(r)):(0,o.jsx)(b(),{href:e.url,passHref:!0,children:(0,o.jsx)("a",{onClick:x,children:p})},"sidebar-item--".concat(r))}))})})})},P=r(35846),M=r(22319),R=r(71246),z=function(e){var n=e.header,r=e.sidebar,s=e.disableHover,d=void 0!==s&&s,c=e.footer,u=e.children,x=e.bg,h=void 0===x?"support1.4":x,b=e.hideSidebar,f=void 0!==b&&b,v=e.title,m=e.subtitle,g=e.rightSide,w=void 0===g?null:g,Z=e.noScroll,C=void 0!==Z&&Z,k=e.autoScroll,y=void 0!==k&&k,S=e.scheme,_=void 0===S?"light":S,E=e.sidebarLogo,T=e.footerPadding,z=e.scrollBlockProps,B=void 0===z?{}:z,W=(0,R.Z)().isMobile,H=(0,l.useState)(1),L=H[0],N=H[1],A=(0,l.useState)(!1),D=A[0],O=A[1],F=n||(0,o.jsx)(P.Z,{title:v,subtitle:m,rightSide:w}),V=C?(0,i.Z)({height:"100%",overflow:"hidden"},B):(0,i.Z)({flex:1},B),$=h,q="base_2.4",G="base.1";if(_){var K="light"===_;$=K?"support1.4":"base.1",q=K?"base_2.4":"base.2",G=K?"base.1":"base.6"}return(0,o.jsxs)(p,{data:{scheme:_},children:[v&&(0,o.jsx)(M.PB,{title:"string"===typeof v?v:""}),(0,o.jsx)(a.kC,(0,t.Z)((0,i.Z)({direction:"column",bg:$,w:"100%"},V),{h:C?"100vh":"auto",color:G,children:(0,o.jsxs)(a.kC,(0,t.Z)((0,i.Z)({flex:1,flexWrap:{base:"wrap",md:"nowrap"},direction:"row"},V),{children:[f?null:(0,o.jsxs)(a.kC,{className:"dashboard-sidebar",direction:"column",display:{base:"none",md:"flex"},borderRightColor:q,borderRightWidth:1,borderRightStyle:"solid",zIndex:10,backgroundColor:$,h:"100vh",onMouseEnter:d?function(){return null}:function(){return O(!0)},onMouseLeave:d?function(){return null}:function(){return O(!1)},position:"fixed",left:"0",top:"0",overflowY:"hidden",children:[E||(0,o.jsx)(j,{expanded:D}),r?r({sidebarExpanded:D,setSidebarExpanded:O}):(0,o.jsx)(I,{sidebarExpanded:D,setSidebarExpanded:O})]}),(0,o.jsxs)(a.kC,(0,t.Z)((0,i.Z)({direction:"column",flex:1,maxW:"100%",minH:"100vh",pos:"relative",zIndex:9,pl:{base:0,md:"60
1px"},pt:"59px",css:{"&:has(.sub-media-grid)":{height:"100%"}}},V),{children:[(0,o.jsx)(a.kC,{direction:"row",p:{base:"0px 20px",md:"13px 20px 13px 80px",lg:"13px 60px 13px ".concat(f?"60px":"120px")},minH:"59px",h:"59px",align:"center",borderBottomColor:W?"base_2.4":q,borderBottomWidth:1,borderBottomStyle:"solid",position:"fixed",top:"0",left:"0",w:"100%",zIndex:3,bg:$,children:F}),(0,o.jsx)(a.kC,(0,t.Z)((0,i.Z)({as:"main",pos:"relative",direction:"column",zIndex:1,flex:"1",pb:c&&null!==c?"".concat(L,"px"):"0px"},V),{children:(0,o.jsx)(a.kC,{id:"dashboard-scroller",pos:"relative",flex:1,overflow:y?"visible":"hidden",direction:"column",children:u})})),c&&null!==c?(0,o.jsx)(a.xu,{ref:function(e){setTimeout((function(){return e&&N(e.getBoundingClientRect().height)}),200)},position:"fixed",bottom:"0",right:"0",left:f?"0":{base:"0",md:"60px"},zIndex:2,bg:$,p:T||{base:"20px",md:"18px 60px"},borderTopColor:q,borderTopWidth:1,borderTopStyle:"solid",children:(0,o.jsx)(a.kC,{direction:"row",children:c})}):null]}))]}))}))]})}},59096:function(e,n,r){var i=r(5447),t=r(99728),o=r(27427),a=r(8014),l=r(34237),s=r(80427),d=r(49430),c=r(16672);n.Z=function(e){var n=e.icon,r=e.expanded,u=e.label,x=e.labelColor,p=void 0===x?"base.1":x,h=(0,o.Z)(e,["icon","expanded","label","labelColor"]);return(0,a.jsxs)(l.kC,(0,t.Z)((0,i.Z)({direction:"row",align:"center",height:"60px",p:r?"0 40px":"0 20px",transition:"padding .2s linear",cursor:"pointer"},h),{children:[(0,a.jsx)(l.kC,{w:"20px",h:"100%",align:"center",justify:"center",children:n}),(0,a.jsx)(s.M,{children:r&&(0,a.jsx)(l.xu,(0,t.Z)((0,i.Z)({as:d.E.span,overflow:"hidden"},c._),{children:(0,a.jsx)(l.xv,{ml:"20px",className:"menu-item-label",whiteSpace:"nowrap",variant:"subtitleS",color:p,transition:"color .2s linear",children:u})}))})]}))}},35846:function(e,n,r){var i=r(8014),t=r(34237),o=r(35838),a=r(85085),l=r(18623),s=r(71246),d=r(70773),c=r(960);n.Z=(0,a.Pi)((function(e){var n=e.title,r=e.subtitle,a=e.rightSide,u=(0,s.Z)(),x=u.isMobile,p=u.isTablet;return(0,i.jsxs)(t.kC,{align:"center",justify:"space-between",flex:1,direction:"row",children:[(0,i.jsx)(t.kC,{align:{base:"flex-start",lg:"center"},direction:{base:"column",lg:"row"},children:(0,i.jsxs)(t.kC,{direction:"row",alignItems:"center",children:[x&&(0,i.jsx)(c.ZP,{}),l.w.mobileMenuOpen&&x?(0,i.jsx)(t.xv,{variant:"subtitleS",children:"Menu"}):(0,i.jsxs)(t.xv,{as:"div",variant:"numeralsS",children:[p&&r?r:n,r?(0,i.jsxs)(t.xv,{display:{base:"none",lg:"inline-flex"},as:"span",variant:"description",color:"base.4",children:[(0,i.jsx)("span",{style:{margin:"0 10px"},children:"/"}),r]}):null]})]})}),a||(0,i.jsxs)(t.Kq,{spacing:{base:"20px",lg:"40px"},direction:"row",alignItems:"center",justifyContent:"flex-end",children:[(0,i.jsx)(d.Z,{}),(0,i.jsx)(t.kC,{align:"center",justify:"space-between",zIndex:1001,display:{base:"none",md:"initial"},children:(0,i.jsx)(o.Z,{triggerProps:{mt:"-13px",pt:"13px",mb:"-13px",pb:"13px"}})})]})]})}))},88592:function(e,n,r){var i=r(8014),t=r(34237),o=r(40137),a=r(82857),l=r(4822),s=r(47011),d=r(17325),c=r(53113);n.Z=function(e){var n,r=e.inModal,u=void 0!==r&&r,x=(0,s.L)(),p=x.user,h=x.cashback,b=p,f=(0,d.Wy)((null===b||void 0===b||null===(n=b.profile)||void 0===n?void 0:n.wallet)||0);return(0,i.jsxs)(t.kC,{direction:"row",gap:"10px",align:"center",children:[(0,i.jsx)(c.Z,{}),(0,i.jsx)(a.Z,{label:"Each time you submit an entry to any ".concat(l.tV," contest, you will receive ").concat(h,"% of your paid submission back as reward dollars. This will be automatically entered into your account. Reward dollars will be available for use towards the next ").concat(l.tV," contest you apply for."),children:(0,i.jsxs)(t.kC,{align:"center",cursor:"default",children:[(0,i.jsx)(o.Z,{icon:"dollaricon",mr:"4px"}),(0,i.jsxs)(t.xv,{display:u?"block":{base:"none",lg:"block"},variant:"numeralsTiny",mr:"3px",children:["Reward Dollars:"," "]}),(0,i.jsxs)(t.xv,{variant:"numeralsTiny",children:["$",f]})]})})]})}},70773:function(e,n,r){r.d(n,{Z:function(){return v}});var i=r(8014),t=r(88592),o=r(47011),a=r(75332),l=r(56168),s=r(8115),d=r(98421),c=r(75657),u=r.n(c),x=r(14131),p=r(40137),h=function(){return(0,i.jsx)(u(),{href:"".concat(d.yw.EDIT_CONTEST,"/new"),passHref:!0,children:(0,i.jsx)(x.Z,{as:"a",size:"md",leftIcon:(0,i.jsx)(p.Z,{icon:"plusboxedicon",fill:"base.1"}),variant:"flat",children:"Create Contest"})})},b=r(4327),f=r(34237),v=function(){var e=(0,a.useRouter)(),n=(0,o.L)().user,r=(0,l.useMemo)((function(){return function(e,n){switch(null===e||void 0===e?void 0:e.type){case s.F.ADMIN:return n===d.yw.CONTESTS?[(0,i.jsx)(h,{},"create-contest-button")]:[];case s.F.ARTIST:return[(0,i.jsx)(b.Z,{variant:"flat",leftIcon:(0,i.jsx)(p.Z,{icon:"plusboxedicon",fill:"base.1"})},"enter-now-contest"),(0,i.jsx)(f.xu,{display:{base:"none",md:"block"},children:(0,i.jsx)(t.Z,{})},"reward-dollars-counter")];default:return[]}}(n,e.asPath)}),[n,e.asPath]);return(0,i.jsx)(i.Fragment,{children:r.map((function(e){return e}))})}},16672:function(e,n,r){r.d(n,{_:function(){return i}});var i={variants:{visible:{width:"auto",opacity:1,transition:{ease:"anticipate"}},hidden:{width:0,opacity:0,transition:{ease:"anticipate"}}},initial:"hidden",animate:"visible",exit:"hidden"}}}]);

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.