PageSourceSearch

https://www.shahiin.com/_next/static/chunks/pages/vendor-portal/settings/store-design-7a7e6a708c70d4b4.js

js shahiin.com collected 2026-09-24 14:19:49 UTC 18,494 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8464],{498:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(11713).A)("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},6973:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(11713).A)("Wallet",[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]])},10345:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(11713).A)("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]])},10797:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(11713).A)("Store",[["path",{d:"m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7",key:"ztvudi"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["path",{d:"M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4",key:"2ebpfo"}],["path",{d:"M2 7h20",key:"1fcdvo"}],["path",{d:"M22 7v3a2 2 0 0 1-2 2a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12a2 2 0 0 1-2-2V7",key:"6c3vgh"}]])},11340:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(11713).A)("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]])},12089:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(11713).A)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},12849:(e,t,o)=>{"use strict";o.d(t,{SUPABASE_PUBLISHABLE_KEY:()=>l,SUPABASE_URL:()=>a,supabase:()=>h});var r=o(23595);let a="https://ltlvngbcwvhelnvgmpnx.supabase.co",l="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imx0bHZuZ2Jjd3ZoZWxudmdtcG54Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTI2Nzc5MDYsImV4cCI6MjA2ODI1MzkwNn0.c474MyTtCioxhcR1GI0wOG8_vypl6C5DIUFvWkzFeyU",h=(0,r.UU)(a,l,{auth:{storage:localStorage,persistSession:!0,autoRefreshToken:!0}})},20588:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(11713).A)("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]])},22885:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(11713).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},24823:(e,t,o)=>{"use strict";o.d(t,{UE:()=>a,Kf:()=>l});let r={fashion:{id:"fashion",labelAr:"أتيليه لمار",descriptionAr:"يناسب متاجر الأزياء والموضة النسائية",tags:["أزياء نسائية","موضة","ملابس","إكسسوارات"],accent:"oklch(0.42 0.13 15)",accentContrast:"white",pageBg:"oklch(0.98 0.008 75)",headerBg:"oklch(0.98 0.008 75)",headerBorder:"oklch(0.9 0.01 75)",headerText:"oklch(0.16 0.01 30)",headerSubText:"oklch(0.45 0.02 30)",headerIconBg:"oklch(0.93 0.01 75)",stripBg:"oklch(0.42 0.13 15)",stripText:"white",cardBg:"white",textColor:"oklch(0.16 0.01 30)",mutedText:"oklch(0.5 0.02 30)",footerBg:"oklch(0.16 0.01 30)",badgeBg:"oklch(0.93 0.01 75)",badgeColor:"oklch(0.42 0.13 15)",displayFont:"'Playfair Display', serif",heroTitleStyle:"italic",heroTitleWeight:"600",heroTitleSize:"clamp(2.4rem, 5vw, 4.2rem)",cardRadius:"4px",logoRadius:"9999px",ctaRadius:"2px",logoShape:"circle",heroHeight:"640px",heroImage:"/themes/fashion-hero.jpg",heroGradient:"linear-gradient(135deg, oklch(0.42 0.13 15 / 0.8) 0%, oklch(0.3 0.1 20 / 0.9) 50%, oklch(0.2 0.08 25) 100%)",heroOverlay:"oklch(0.15 0.05 20 / 0.45)",heroAlign:"flex-end",heroPadding:"0 56px 72px",heroBadge:"أزياء نسائية • موضة",heroBadgeBg:"oklch(1 0 0 / 0.15)",heroBadgeColor:"white",heroTextColor:"white",heroSubColor:"oklch(1 0 0 / 0.8)",heroCtaBg:"oklch(0.42 0.13 15)",heroCtaColor:"white",heroCta2Border:"oklch(1 0 0 / 0.6)",heroCta2Color:"white",heroPlaceholderColor:"oklch(0.55 0.06 15)",productAspect:"3/4",productPlaceholderOverlay:"oklch(0.92 0.01 75)",productPlaceholderText:"oklch(0.65 0.04 30)",storyImageBg:"linear-gradient(135deg, oklch(0.88 0.03 75) 0%, oklch(0.78 0.05 30) 100%)"},tech:{id:"tech",labelAr:"نوفا تك",descriptionAr:"يناسب متاجر الإلكترونيات والأجهزة",tags:["إلكترونيات","جوالات","أجهزة","تقنية"],accent:"oklch(0.62 0.19 255)",accentContrast:"white",pageBg:"oklch(0.99 0.002 250)",headerBg:"oklch(0.12 0.02 260)",headerBorder:"oklch(0.2 0.03 260)",headerText:"white",headerSubText:"oklch(0.7 0.05 260)",headerIconBg:"oklch(0.2 0.03 260)",stripBg:"oklch(0.62 0.19 255)",stripText:"white",cardBg:"white",textColor:"oklch(0.15 0.01 260)",mutedText:"oklch(0.45 0.03 260)",footerBg:"oklch(0.1 0.02 260)",badgeBg:"oklch(0.92 0.05 255)",badgeColor:"oklch(0.45 0.15 255)",displayFont:"'Space Grotesk', sans-serif",heroTitleStyle:"normal",heroTitleWeight:"700",heroTitleSize:"clamp(2rem, 4.5vw, 3.8rem)",cardRadius:"16px",logoRadius:"10px",ctaRadius:"10px",logoShape:"rounded",heroHeight:"580px",heroImage:"/themes/tech-hero.jpg",heroGradient:"linear-gradient(135deg, oklch(0.12 0.02 260) 0%, oklch(0.25 0.12 255) 50%, oklch(0.18 
10.08 260) 100%)",heroOverlay:"oklch(0.1 0.03 260 / 0.5)",heroAlign:"center",heroPadding:"0 56px",heroBadge:"إلكترونيات • تقنية",heroBadgeBg:"oklch(0.62 0.19 255 / 0.2)",heroBadgeColor:"oklch(0.8 0.12 255)",heroTextColor:"white",heroSubColor:"oklch(1 0 0 / 0.7)",heroCtaBg:"oklch(0.62 0.19 255)",heroCtaColor:"white",heroCta2Border:"oklch(1 0 0 / 0.5)",heroCta2Color:"white",heroPlaceholderColor:"oklch(0.4 0.1 255)",productAspect:"1/1",productPlaceholderOverlay:"oklch(0.94 0.02 250)",productPlaceholderText:"oklch(0.55 0.05 260)",storyImageBg:"linear-gradient(135deg, oklch(0.2 0.05 260) 0%, oklch(0.35 0.1 255) 100%)"},men_shoes:{id:"men_shoes",labelAr:"أوركين",descriptionAr:"يناسب متاجر الأحذية والملابس الرجالية",tags:["أحذية","ملابس رجالية","جلد","إكسسوارات"],accent:"oklch(0.5 0.1 55)",accentContrast:"white",pageBg:"oklch(0.96 0.006 70)",headerBg:"oklch(0.96 0.006 70)",headerBorder:"oklch(0.88 0.01 70)",headerText:"oklch(0.18 0.01 50)",headerSubText:"oklch(0.45 0.03 55)",headerIconBg:"oklch(0.9 0.01 70)",stripBg:"oklch(0.5 0.1 55)",stripText:"white",cardBg:"white",textColor:"oklch(0.18 0.01 50)",mutedText:"oklch(0.5 0.03 55)",footerBg:"oklch(0.15 0.01 50)",badgeBg:"oklch(0.92 0.03 70)",badgeColor:"oklch(0.5 0.1 55)",displayFont:"'Space Grotesk', sans-serif",heroTitleStyle:"normal",heroTitleWeight:"700",heroTitleSize:"clamp(2.2rem, 4.5vw, 4rem)",cardRadius:"8px",logoRadius:"8px",ctaRadius:"6px",logoShape:"rounded",heroHeight:"600px",heroImage:"/themes/men-shoes-hero.jpg",heroGradient:"linear-gradient(135deg, oklch(0.22 0.05 50) 0%, oklch(0.35 0.08 55) 50%, oklch(0.28 0.06 60) 100%)",heroOverlay:"oklch(0.15 0.03 50 / 0.4)",heroAlign:"flex-end",heroPadding:"0 56px 72px",heroBadge:"أحذية • ملابس رجالية",heroBadgeBg:"oklch(1 0 0 / 0.12)",heroBadgeColor:"white",heroTextColor:"white",heroSubColor:"oklch(1 0 0 / 0.75)",heroCtaBg:"oklch(0.5 0.1 55)",heroCtaColor:"white",heroCta2Border:"oklch(1 0 0 / 0.55)",heroCta2Color:"white",heroPlaceholderColor:"oklch(0.45 0.07 55)",productAspect:"4/5",productPlaceholderOverlay:"oklch(0.9 0.02 70)",productPlaceholderText:"oklch(0.55 0.04 55)",storyImageBg:"linear-gradient(135deg, oklch(0.85 0.04 70) 0%, oklch(0.75 0.06 55) 100%)"},perfume:{id:"perfume",labelAr:"عنبر",descriptionAr:"يناسب متاجر العطور والبخور والعود",tags:["عطور","بخور","عود","مستحضرات"],accent:"oklch(0.58 0.1 60)",accentContrast:"white",pageBg:"oklch(0.97 0.012 80)",headerBg:"oklch(0.97 0.012 80)",headerBorder:"oklch(0.9 0.015 75)",headerText:"oklch(0.18 0.02 55)",headerSubText:"oklch(0.48 0.04 60)",headerIconBg:"oklch(0.91 0.02 75)",stripBg:"oklch(0.58 0.1 60)",stripText:"white",cardBg:"oklch(0.99 0.005 80)",textColor:"oklch(0.18 0.02 55)",mutedText:"oklch(0.5 0.04 60)",footerBg:"oklch(0.13 0.02 50)",badgeBg:"oklch(0.93 0.03 75)",badgeColor:"oklch(0.5 0.1 60)",displayFont:"'Noto Serif Arabic', serif",heroTitleStyle:"normal",heroTitleWeight:"700",heroTitleSize:"clamp(2.2rem, 4.5vw, 4rem)",cardRadius:"12px",logoRadius:"9999px",ctaRadius:"6px",logoShape:"circle",heroHeight:"620px",heroImage:"/themes/perfume-hero.jpg",heroGradient:"linear-gradient(135deg, oklch(0.12 0.04 50 / 0.75) 0%, oklch(0.25 0.06 55 / 0.6) 60%, oklch(0.18 0.05 50 / 0.8) 100%)",heroOverlay:"oklch(0.1 0.04 50 / 0.38)",heroAlign:"flex-end",heroPadding:"0 56px 72px",heroBadge:"عطور • بخور • عود",heroBadgeBg:"oklch(0.58 0.1 60 / 0.25)",heroBadgeColor:"oklch(0.92 0.06 70)",heroTextColor:"white",heroSubColor:"oklch(1 0 0 / 0.78)",heroCtaBg:"oklch(0.58 0.1 60)",heroCtaColor:"white",heroCta2Border:"oklch(1 0 0 / 0.55)",heroCta2Color:"white",heroPlaceholderColor:"oklch(0.48 0.07 60)",productAspect:"3/4",productPlaceholderOverlay:"oklch(0.92 0.02 75)",productPlaceholderText:"oklch(0.55 0.05 60)",storyImageBg:"linear-gradient(135deg, oklch(0.88 0.04 75) 0%, oklch(0.78 0.07 60) 100%)"},home:{id:"home",labelAr:"بيتي",descriptionAr:"يناسب متاجر المنزل والمطبخ والديكور",tags:["منزل","مطبخ","ديكور","أدوات منزلية","هدايا"],accent:"oklch(0.52 0.07 80)",accentContrast:"white",pageBg:"oklch(0.97 0.008 85)",headerBg:"oklch(0.98 0.006 85)",headerBorder:"oklch(0.91 0.01 80)",headerText:"oklch(0.2 0.015 70)",headerSubText:"oklch(0.5 0.03 75)",headerIconBg:"oklch(0.92 0.01 80)",stripBg:"oklch(0.52 0.07 80)",stripText:"white",cardBg:"white",textColor:"oklch(0.2 0.015 70)",mutedText:"oklch(0.52 0.03 75)",footerBg:"oklch(0.18 
10.015 65)",badgeBg:"oklch(0.93 0.02 80)",badgeColor:"oklch(0.48 0.07 80)",displayFont:"'Noto Serif Arabic', serif",heroTitleStyle:"normal",heroTitleWeight:"600",heroTitleSize:"clamp(2.2rem, 4.5vw, 4rem)",cardRadius:"10px",logoRadius:"10px",ctaRadius:"8px",logoShape:"rounded",heroHeight:"600px",heroImage:"/themes/home-hero.jpg",heroGradient:"linear-gradient(135deg, oklch(0.2 0.04 70 / 0.65) 0%, oklch(0.35 0.05 75 / 0.45) 60%, oklch(0.25 0.04 70 / 0.6) 100%)",heroOverlay:"oklch(0.15 0.03 70 / 0.32)",heroAlign:"flex-end",heroPadding:"0 56px 72px",heroBadge:"منزل • مطبخ • ديكور",heroBadgeBg:"oklch(1 0 0 / 0.18)",heroBadgeColor:"white",heroTextColor:"white",heroSubColor:"oklch(1 0 0 / 0.82)",heroCtaBg:"oklch(0.52 0.07 80)",heroCtaColor:"white",heroCta2Border:"oklch(1 0 0 / 0.55)",heroCta2Color:"white",heroPlaceholderColor:"oklch(0.48 0.05 80)",productAspect:"1/1",productPlaceholderOverlay:"oklch(0.93 0.015 80)",productPlaceholderText:"oklch(0.55 0.04 75)",storyImageBg:"linear-gradient(135deg, oklch(0.9 0.02 80) 0%, oklch(0.82 0.04 75) 100%)"}},a=Object.values(r);function l(e){return e&&e in r?r[e]:null}},25037:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(11713).A)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},43313:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>f});var r=o(37876),a=o(14232),l=o(77328),h=o.n(l),c=o(89099),s=o(89042),d=o(77041),i=o(22885),n=o(7446),g=o(10345),p=o(89142),k=o(12089),x=o(96575),u=o(74725),m=o(12849),y=o(24823);function f(){let e=(0,c.useRouter)(),{toast:t}=(0,u.dj)(),[o,l]=(0,a.useState)(!0),[f,v]=(0,a.useState)(!1),[b,w]=(0,a.useState)(null),[C,B]=(0,a.useState)(null),A=(0,a.useCallback)(async()=>{try{l(!0);let t=await x.AuthService.getCurrentUserId();if(!t)return;w(t);let{data:o,error:r}=await m.supabase.from("vendors").select("store_theme_id").eq("id",t).single();if(!r&&o){var e;B(null!=(e=o.store_theme_id)?e:null)}}catch(e){t({title:"خطأ",description:e instanceof Error?e.message:"فشل تحميل إعدادات التصميم",variant:"destructive"})}finally{l(!1)}},[t]);(0,a.useEffect)(()=>{A()},[A]);let j=async()=>{if(b)try{v(!0);let{error:e}=await m.supabase.from("vendors").update({store_theme_id:C}).eq("id",b);if(e)throw e;t({title:"تم الحفظ",description:"سيظهر التصميم الجديد على صفحة متجرك"})}catch(e){t({title:"خطأ",description:e instanceof Error?e.message:"فشل الحفظ",variant:"destructive"})}finally{v(!1)}},T=async()=>{if(b)try{v(!0);let{error:e}=await m.supabase.from("vendors").update({store_theme_id:null}).eq("id",b);if(e)throw e;B(null),t({title:"تم إزالة التصميم",description:"سيعود متجرك للمظهر الافتراضي"})}catch(e){t({title:"خطأ",description:e instanceof Error?e.message:"فشل الحذف",variant:"destructive"})}finally{v(!1)}};return(0,r.jsxs)(s.T,{title:"تصميم المتجر",children:[(0,r.jsx)(h(),{children:(0,r.jsx)("title",{children:"تصميم المتجر | بوابة التاجر"})}),(0,r.jsxs)("div",{className:"space-y-6 max-w-3xl",dir:"rtl",children:[(0,r.jsxs)(d.$,{type:"button",variant:"ghost",className:"gap-2 -ms-2",onClick:()=>e.push("/vendor-portal/settings"),children:[(0,r.jsx)(i.A,{className:"h-4 w-4"}),"العودة للإعدادات"]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h1",{className:"text-xl font-semibold text-gray-900",children:"تصميم المتجر"}),(0,r.jsx)("p",{className:"text-sm text-gray-600 mt-1",children:"اختر هوية بصرية لصفحة متجرك — الثيمات المتاحة جاهزة للتطبيق فورًا."})]}),o?(0,r.jsx)("div",{className:"flex justify-center py-16",children:(0,r.jsx)(n.A,{className:"h-8 w-8 animate-spin text-primary"})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"grid gap-4 sm:grid-cols-1",children:y.UE.map(e=>{let t=C===e.id;return(0,r.jsxs)("button",{type:"button",onClick:()=>B(e.id),className:"w-full text-start rounded-2xl border-2 overflow-hidden shadow-sm transition-all bg-white ".concat(t?"border-primary ring-2 ring-primary/20 shadow-md":"border-gray-200 hover:border-gray-300"),children:[e.heroImage&&(0,r.jsxs)("div",{className:"relative w-full h-36 overflow-hidden",children:[(0,r.jsx)("img",{src:e.heroImage,alt:e.labelAr,className:"w-full h-full object-cover object-center"}),(0,r.jsx)("div",{className:"absolute inset-0",style:{background:e.heroOverlay}}),(0,r.jsx)("div",{className:"absolute inset-0 flex items-end p-4",children:(0,r.jsx)("span",{className:"text-white text-lg font-semibold drop-shadow-md",style:{fontFamily:e.displayFont,fontStyle:e.heroTitleStyle},children:e.labelAr})}),t&&(0,r.jsx)("div",{className:"absolute top-3 left-3",children:(0,r.jsx)("span",{className:"text-xs px-2 py-1 rounded-full bg-white/90 text-primary font-semibold shadow",children:"✓ محدد"})})]}),(0,r.jsxs)("div",{className:"p-4",children:[!e.heroImage&&(0,r.jsxs)("div",{className:"flex items-center justify-between gap-3 mb-2",children:[(0,r.jsx)("div",{className:"font-semibold text-gray-900 text-base",children:e.labelAr}),t&&(0,r.jsx)("span",{className:"text-xs px-2 py-0.5 rounded-full bg-primary/10 text-primary font-medium",children:"محدد"})]}),(0,r.jsx)("p",{className:"text-sm text-gray-600 mb-3",children:e.descriptionAr}),(0,r.jsx)("div",{className:"flex flex-wrap gap-1.5 mb-3",children:e.tags.map(e=>(0,r.jsx)("span",{className:"text-xs px-2.5 py-0.5 rounded-full bg-gray-100 text-gray-600 border border-gray-200",children:e},e))}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[[e.accent,e.pageBg,e.footerBg].map((e,t)=>(0,r.jsx)("div",{className:"w-5 h-5 rounded-full border border-black/10 flex-shrink-0",style:{background:e}},t)),(0,r.jsx)("span",{className:"text-xs text-gray-400 mr-1",children:"ألوان الثيم"})]})]})]},e.id)})}),(0,r.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3 pt-2",children:[(0,r.jsxs)(d.$,{type:"button",className:"flex-1 gap-2",onClick:j,disabled:f,children:[f?(0,r.jsx)(n.A,{className:"h-4 w-4 animate-spin"}):(0,r.jsx)(g.A,{className:"h-4 w-4"}),"حفظ التصميم"]}),(0,r.jsxs)(d.$,{type:"button",variant:"outline",className:"flex-1 gap-2",disabled:!C||!b,onClick:()=>{b&&C&&window.open("/vendor/".concat(b,"?store_theme=").concat(C),"_blank")},children:[(0,r.jsx)(p.A,{className:"h-4 w-4"}),"معاينة المتجر"]})]}),C&&(0,r.jsx)("div",{className:"pt-1",children:(0,r.jsxs)("button",{type:"button",onClick:T,disabled:f,className:"flex items-center gap-1.5 text-sm text-gray-400 hover:text-red-500 transition-colors",children:[(0,r.jsx)(k.A,{className:"h-3.5 w-3.5"}),"إزالة التصميم والعودة للمظهر الافتراضي"]})})]})]})]})}},45450:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(11713).A)("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]])},59773:(e,t,o)=>{"use strict";o.d(t,{b:()=>c});var r=o(14232),a=o(66326),l=o(37876),h=r.forwardRef((e,t)=>
1(0,l.jsx)(a.sG.label,{...e,ref:t,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));h.displayName="Label";var c=h},78703:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(11713).A)("ClipboardCheck",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]])},89142:(e,t,o)=>{"use strict";o.d(t,{A:()=>r});let r=(0,o(11713).A)("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},89884:(e,t,o)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/vendor-portal/settings/store-design",function(){return o(43313)}])}},e=>{e.O(0,[1987,8524,3740,633,3595,9334,9042,636,6593,8792],()=>e(e.s=89884)),_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.