1"use strict";(globalThis.webpackChunkuppsale_admin=globalThis.webpackChunkuppsale_admin||[]).push([[6902],{6902(e,t,n){n.r(t),n.d(t,{default:()=>h});n(5043);var a=n(2538),i=n(8303),o=n(6499),l=n(8646),r=n(3765),s=n(7197),d=n(2464),u=n(579);const c={nightEnabled:!1,dayWindow:{start:"06:00",end:"15:00"},nightWindow:{start:"15:01",end:"23:59"},font:"",headingFont:"",nightHeadingFont:"",nightImagelessCards:!1,nightColors:{screenBackground:"#101010",navIcon:"#f5f5f5"}};function h(){const e=(0,r.L)(),t=(0,d.tU)(c),n=(0,d.FD)({categoryTitleMain:"#2b2b2b",sectionBannerFill:"#f7f3ec"}),{variants:h,renderImageField:g}=(0,s.ie)({}),v=(0,u.jsx)(o.A,{title:a.T.nightBackgroundsGroupTitle,fields:l.NIGHT_IMAGE_FIELDS,accent:"indigo",icon:"ri-moon-line",t:e,variants:h,languageNames:s.G2,renderImageField:g});return(0,u.jsx)(d.Ay,{children:(0,u.jsx)(i.A,{t:e,nightVideoField:null,nightPosterField:g(l.NIGHT_VIDEO_POSTER_FIELD),nightBackgroundsGroup:v,...t,...n})})}},3765(e,t,n){n.d(t,{A:()=>s,L:()=>r});var a=n(5043),i=n(6570),o=n(2337),l=n(579);function r(){const{clientlanguage:e}=(0,a.useContext)(i.Rs),t="he"===e?"he":"en";return e=>(0,o.tr)(e,t)}function s(e){let{children:t}=e;return(0,l.jsx)("div",{style:{width:560,maxWidth:"100%"},children:t})}},7197(e,t,n){n.d(t,{Ay:()=>m,G2:()=>p,ie:()=>f});var a,i,o,l,r=n(5043),s=n(6570),d=n(2834),u=n(7968),c=n(3120),h=n(8953),g=n(3765),v=n(579);const p={h:(null===s.DE||void 0===s.DE||null===(a=s.DE.language)||void 0===a||null===(i=a.h)||void 0===i?void 0:i.he)||"\u05e2\u05d1\u05e8\u05d9\u05ea",e:(null===s.DE||void 0===s.DE||null===(o=s.DE.language)||void 0===o||null===(l=o.e)||void 0===l?void 0:l.he)||"\u05d0\u05e0\u05d2\u05dc\u05d9\u05ea"};function f(e){var t,n,a;const i=(0,g.L)(),{rest:o,RestData:l}=(0,r.useContext)(s.Rs),[f,m]=(0,r.useState)(e),F=(null===l||void 0===l||null===(t=l.details)||void 0===t||null===(n=t.defaultLangs)||void 0===n?void 0:n[0])||"h",y=(null===l||void 0===l||null===(a=l.details)||void 0===a?void 0:a.langs)||["h"],D=(0,u.A)({rest:o,defaultLang:F,restLangs:y,images:f});return{variants:D,renderImageField:e=>{return e?(0,v.jsx)(d.A,{field:e,t:i,value:f[e.path],previewUrl:(t=f[e.path],(0,c.v)(o,t)),languageNames:p,variants:D,onUpload:(e,t)=>t&&(0,h.$)("POST","/api/upload",{path:e,file:t.name}),onValueChange:(e,t)=>
1m(n=>({...n,[e]:t})),onClear:e=>m(t=>({...t,[e]:""})),onRemoveVariantFile:(e,t)=>(0,h.$)("POST","/api/delete-image",{path:e,lang:t})},e.path):null;var t}}}function m(e){let{field:t,initialValue:n=""}=e;const{renderImageField:a}=f({[t.path]:n});return(0,v.jsx)("div",{style:{width:560,maxWidth:"100%"},children:a(t)})}},2464(e,t,n){n.d(t,{Ay:()=>s,FD:()=>l,ah:()=>r,tU:()=>o});var a=n(5043),i=n(579);function o(e){const[t,n]=(0,a.useState)(e),i={...t};for(const a of Object.keys(e))i[`set${a.charAt(0).toUpperCase()}${a.slice(1)}`]=e=>n(t=>({...t,[a]:"function"===typeof e?e(t[a]):e}));return i}function l(e){const[t,n]=(0,a.useState)(e);return{colors:t,setColor:(e,t)=>n(n=>({...n,[e]:t}))}}function r(e){const[t,n]=(0,a.useState)(e),i=(e,t)=>n(n=>n.map((n,a)=>a===e?t(n):n));return{colorGroups:t,setGroupColor:(e,t,n)=>i(e,e=>({...e,colors:{...e.colors,[t]:n}})),setGroupCats:e=>t=>i(e,e=>({...e,cats:"function"===typeof t?t(e.cats):t})),addGroup:()=>n(e=>[...e,{cats:[],colors:{}}]),removeGroup:e=>n(t=>{const n=t.filter((t,n)=>n!==e);return n.length?n:[{cats:[],colors:{}}]})}}function s(e){let{children:t}=e;return(0,i.jsx)("div",{className:"space-y-6",style:{width:720,maxWidth:"100%"},children:t})}},8953(e,t,n){n.d(t,{$:()=>i});var a=n(9611);function i(e,t,n){a.B.emitLater({method:e,url:t,status:200,body:n,at:Date.now()})}}}]); 2//# sourceMappingURL=6902.6726552a.chunk.js.map
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.