PageSourceSearch

https://2wasl.com/assets/RemedialPlanForm-CLbCcDnA.js

js 2wasl.com collected 2026-10-02 01:22:29 UTC 197,057 bytes, 168 lines download raw bytes

1import{f as U,r as s,j as e}from"./index-DCbgR7WS.js";import{M as C}from"./logo-D21WkFuw.js";import{E as t,C as A}from"./SharedFormElements-CIJYiC6v.js";import{H as q}from"./house-Q9jTbbif.js";import{P as V}from"./printer-CWKlaQDG.js";import{T as R,C as D}from"./triangle-alert-CiBUlmBt.js";import{T as F}from"./target-3ntlP9oW.js";import{F as $}from"./file-text-3zQ6O_5X.js";const j=["قلة المشاركة الصفية","ضعف المستوى التحصيلي","إهمال الواجبات المنزلية","كثرة الغياب","ظروف أسرية","عدم متابعة الأسرة","ضعف حاسة البصر","ضعف حاسة السمع","عوامل نفسية وبيولوجية"],N=["أوراق عمل إضافية","التشجيع على المشاركة","إسناد دور للطالب/ة في مجموعة","تغيير مجموعة الطالب/ة","تدريس الأقران","الابتكار والتجديد في طرق التدريس","تنويع الأسئلة وأساليب التقويم","تقديم حوافز متنوعة","الإشراك في مجاميع التقوية","استخدام التعزيز"],w=["لقاء فردي","لقاء مع الموجه/ة الطلابي/ة","لقاء أو تواصل مع ولي الأمر"],k=["سريع","جيد جداً","جيد","بطيء"];function Qe(){const d=U(),r=s.useRef(null),[i,c]=s.useState("individual"),[a,h]=s.useState("classic"),[m,f]=s.useState("#103e48"),[b,u]=s.useState("#3eb086"),[x,o]=s.useState("solid"),[n,g]=s.useState(2),[p,v]=s.useState(12),[S,L]=s.useState("Cairo"),[W,G]=s.useState(!1),[B,P]=s.useState(!1);return s.useEffect(()=>{var z;const y=()=>{if(r.current&&r.current.parentElement){const O=r.current.parentElement.clientWidth||window.innerWidth,M=Math.min(1,(O-40)/794);r.current.style.transform=`scale(${M})`,r.current.style.transformOrigin="top center";const H=r.current.offsetHeight||1123;r.current.style.marginBottom=`-${(1-M)*H}px`}};window.addEventListener("resize",y);const T=setTimeout(y,100),E=new ResizeObserver(()=>{window.requestAnimationFrame(y)});return(z=r.current)!=null&&z.parentElement&&E.observe(r.current.parentElement),()=>{window.removeEventListener("resize",y),E.disconnect(),clearTimeout(T)}},[a,i,W,B]),e.jsxs("div",{className:"min-h-screen bg-slate-100 flex flex-col items-center py-6 px-4 print:p-0 print:block print:bg-white",dir:"rtl",style:{fontFamily:"Cairo, system-ui, sans-serif"},children:[e.jsx("div",{className:"sticky top-4 w-full max-w-4xl z-50 print:hidden mb-8",children:e.jsxs("div",{className:"bg-white/80 backdrop-blur-md shadow-lg rounded-2xl p-4 flex flex-wrap items-center justify-between border border-white/50",children:[e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 w-full",children:[e.jsxs("div",{className:"flex gap-3 shrink-0",children:[e.jsxs("button",{onClick:()=>d("/"),className:"px-4 py-2 bg-slate-100 hover:bg-slate-200 text-slate-700 rounded-xl font-bold transition-all flex items-center gap-2 border border-slate-200 shadow-sm",children:[e.jsx(q,{size:18}),e.jsx("span",{className:"hidden sm:inline",children:"الرئيسية"})]}),e.jsxs("button",{onClick:()=>window.print(),className:"px-4 py-2 bg-indigo-600 hover:bg-indigo-700 text-white rounded-xl font-bold transition-all flex items-center gap-2 shadow-sm",children:[e.jsx(V,{size:18}),e.jsx("span",{className:"hidden sm:inline",children:"طباعة"})]})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row items-center gap-4 sm:border-r border-t sm:border-t-0 border-slate-200 sm:pr-4 pt-4 sm:pt-0 w-full",children:[e.jsxs("div",{className:"flex items-center gap-2 w-full sm:w-auto",children:[e.jsx("label",{className:"text-sm font-bold text-slate-500 whitespace-nowrap",children:"نوع الخطة:"}),e.jsxs("select",{value:i,onChange:y=>{const T=y.target.value;c(T),h(T==="executionReport"?"expert":"classic")},className:"bg-slate-50 border border-slate-200 text-slate-800 text-sm rounded-lg focus:ring-indigo-500 focus:border-indigo-500 block w-full p-2.5 outline-none font-bold shadow-sm",children:[e.jsx("option",{value:"individual",children:"خطة للطالب (فردية)"}),e.jsx("option",{value:"group",children:"خطة للطلاب (جماعية)"}),e.jsx("option",{value:"executionReport",children:"تقرير تنفيذ خطة علاجية"})]})]}),e.jsxs("div",{className:"flex items-center gap-2 w-full sm:w-auto",children:[e.jsx("label",{className:"text-sm font-bold text-slate-500 
1whitespace-nowrap",children:"التصميم:"}),e.jsxs("select",{value:a,onChange:y=>h(y.target.value),className:"bg-slate-50 border border-slate-200 text-slate-800 text-sm rounded-lg focus:ring-indigo-500 focus:border-indigo-500 block w-full p-2.5 outline-none font-bold shadow-sm",children:[e.jsx("option",{value:"classic",children:"قالب 1 (كلاسيكي)"}),e.jsx("option",{value:"modern",children:"قالب 2 (عصري)"}),e.jsx("option",{value:"minimal",children:"قالب 3 (مبسط)"}),e.jsx("option",{value:"cards",children:"قالب 4 (بطاقات)"}),e.jsx("option",{value:"grid",children:"قالب 5 (شبكي)"}),e.jsx("option",{value:"creative",children:"قالب 6 (إبداعي)"}),e.jsx("option",{value:"timeline",children:"قالب 7 (مسار زمني)"}),e.jsx("option",{value:"dashboard",children:"قالب 8 (لوحة تحكم)"}),e.jsx("option",{value:"infographic",children:"قالب 9 (إنفوجرافيك)"}),e.jsx("option",{value:"elegant",children:"قالب 10 (أنيق)"}),e.jsx("option",{value:"focus",children:"قالب 11 (تركيز)"}),e.jsx("option",{value:"playful",children:"قالب 12 (مرح)"}),e.jsx("option",{value:"academic",children:"قالب 13 (أكاديمي)"}),e.jsx("option",{value:"geometric",children:"قالب 14 (هندسي)"}),e.jsx("option",{value:"nature",children:"قالب 15 (طبيعة)"}),e.jsx("option",{value:"tech",children:"قالب 16 (تقني)"}),i==="executionReport"&&e.jsx("option",{value:"expert",children:"قالب 17 (النموذج المرفق)"})]})]})]})]}),e.jsx("div",{className:"mt-4 flex justify-center",children:e.jsx("button",{onClick:()=>G(!W),className:`text-xs font-bold px-4 py-2 rounded-full transition-all border ${W?"bg-indigo-600 text-white border-indigo-700 shadow-inner":"bg-white text-indigo-600 border-indigo-200 hover:bg-indigo-50 shadow-sm"}`,children:W?"إخفاء أدوات التخصيص":"تخصيص الألوان والحدود"})}),W&&e.jsxs("div",{className:"mt-4 p-4 bg-slate-50 rounded-2xl border border-slate-200 animate-in fade-in slide-in-from-top-2 duration-300",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4 pb-4 border-b border-slate-200",children:[e.jsx("span",{className:"text-sm font-bold text-slate-700",children:"تطبيق التخصيص على جميع النماذج"}),e.jsxs("label",{className:"relative inline-flex items-center cursor-pointer",children:[e.jsx("input",{type:"checkbox",className:"sr-only peer",checked:B,onChange:()=>P(!B)}),e.jsx("div",{className:"w-11 h-6 bg-gray-200 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-indigo-600"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-4",children:[e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("label",{className:"text-[10px] font-black text-slate-400 uppercase tracking-wider",children:"اللون الأساسي"}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx("input",{type:"color",value:m,onChange:y=>f(y.target.value),className:"w-10 h-10 p-0.5 rounded border border-slate-200 bg-white cursor-pointer"}),e.jsx("input",{type:"text",value:m,onChange:y=>f(y.target.value),className:"flex-1 text-xs font-mono p-2 border border-slate-200 rounded bg-white text-center"})]})]}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("label",{className:"text-[10px] font-black text-slate-400 uppercase tracking-wider",children:"اللون الثانوي"}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx("input",{type:"color",value:b,onChange:y=>u(y.target.value),className:"w-10 h-10 p-0.5 rounded border border-slate-200 bg-white cursor-pointer"}),e.jsx("input",{type:"text",value:b,onChange:y=>u(y.target.value),className:"flex-1 text-xs font-mono p-2 border border-slate-200 rounded bg-white text-center"})]})]}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("label",{className:"text-[10px] font-black text-slate-400 uppercase tracking-wider",children:"نمط الحدود"}),e.jsxs("select",{value:x,onChange:y=>o(y.target.value),className:"text-xs p-2 border border-slate-200 rounded bg-white font-bold",children:[e.jsx("option",{value:"solid",children:"مستمر (Solid)"}),e.jsx("option",{value:"dashed",children:"مقطع (Dashed)"}),e.jsx("option",{value:"dotted",children:"منقط (Dotted)"}),e.jsx("option",{value:"double",children:"مزدوج (Double)"})]})]}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsx("label",{className:"text-[10px] font-black text-slate-400 uppercase tracking-wider",children:"سمك الحدود"}),e.jsxs("span",{className:"text-[10px] font-bold text-indigo-600",children:[n,"px"]})]}),e.jsx("input",{type:"range",min:"1",max:"10",value:n,onChange:y=>g(parseInt(y.target.value)),className:"accent-indigo-600"}),e.jsxs("div",{className:"flex justify-between items-center mt-1",children:[e.jsx("label",{className:"text-[10px] font-black text-slate-400 uppercase tracking-wider",children:"انحناء الحواف"}),e.jsxs("span",{className:"text-[10px] font-bold text-indigo-600",children:[p,"px"]})]}),e.jsx("input",{type:"range",min:"0",max:"40",value:p,onChange:y=>v(parseInt(y.target.value)),className:"accent-indigo-600"}),e.jsxs("div",{className:"flex flex-col gap-1 mt-2",children:[e.jsx("label",{className:"text-[10px] font-black text-slate-400 uppercase tracking-wider",children:"نوع الخط"}),e.jsxs("select",{value:S,onChange:y=>L(y.target.value),className:"text-xs p-2 border border-slate-200 rounded bg-white font-bold",children:[e.jsx("option",{value:"Cairo",children:"Cairo (تجوال)"}),e.jsx("option",{value:"Almarai",children:"Almarai (المراعي)"}),e.jsx("option",{value:"Tajawal",children:"Tajawal (تجوال)"}),e.jsx("option",{value:"Amiri",children:"Amiri (أميري - كلاسيكي)"}),e.jsx("option",{value:"IBM Plex Sans Arabic",children:"IBM Plex Arabic"})]})]})]})]})]})]})}),e.jsx("div",{className:"w-full bg-slate-100 md:bg-transparent overflow-x-hidden flex flex-col items-center",children:e.jsx("div",{className:"print-area flex flex-col items-center sm:gap-8 print:block print:w-full print:gap-0 pb-12 w-full md:min-w-0",children:e.jsx("div",{ref:r,className:"origin-top flex flex-col items-center w-[794px] print:!transform-none print:!m-0 print:!w-[210mm] print:!max-w-[210mm] print:!h-auto print:block",children:e.jsxs("div",{className:`a4-canvas relative bg-white border border-slate-200 shadow-sm print:border-none print:shadow-none flex flex-col w-[794px] print:w-[210mm] print:max-w-[210mm] min-h-[1123px] print:min-h-0 print:h-[285mm] print:max-h-[285mm] shrink-0 print:m
1-0 overflow-hidden box-border ${B?"custom-theme-active":""}`,style:{fontFamily:B?`'${S}', sans-serif`:void 0},children:[B&&e.jsx("style",{dangerouslySetInnerHTML:{__html:`
2              /* Custom Theme Overrides */
3              .custom-theme-active * {
4                border-style: ${x} !important;
5              }
6              .custom-theme-active .border-none, .custom-theme-active .border-none * {
7                border-style: none !important;
8              }
9              
10              /* Primary Backgrounds */
11              .custom-theme-active .bg-indigo-600, .custom-theme-active .bg-indigo-700, .custom-theme-active .bg-slate-900, .custom-theme-active .bg-rose-500, .custom-theme-active .bg-emerald-500, .custom-theme-active .bg-blue-500, .custom-theme-active .bg-teal-500, .custom-theme-active .bg-indigo-500, .custom-theme-active .bg-amber-500, .custom-theme-active .bg-slate-800, .custom-theme-active .bg-purple-500, .custom-theme-active .bg-fuchsia-600, .custom-theme-active .bg-fuchsia-500, .custom-theme-active .bg-sky-600, .custom-theme-active .bg-teal-600, .custom-theme-active .bg-stone-800, .custom-theme-active .bg-red-600, .custom-theme-active .bg-blue-600, .custom-theme-active .bg-green-500, .custom-theme-active .bg-emerald-600, .custom-theme-active .bg-lime-500, .custom-theme-active .bg-emerald-800, .custom-theme-active .bg-lime-600, .custom-theme-active .bg-green-600, .custom-theme-active .bg-\\[\\#103e48\\] {
12                background-color: ${m} !important;
13                color: #ffffff !important;
14              }
15
16              /* Secondary Backgrounds */
17              .custom-theme-active .bg-slate-100, .custom-theme-active .bg-slate-200, .custom-theme-active .bg-slate-50, .custom-theme-active .bg-indigo-50, .custom-theme-active .bg-teal-50, .custom-theme-active .bg-rose-50, .custom-theme-active .bg-emerald-50, .custom-theme-active .bg-blue-50, .custom-theme-active .bg-rose-200, .custom-theme-active .bg-teal-200, .custom-theme-active .bg-rose-100, .custom-theme-active .bg-teal-100, .custom-theme-active .bg-indigo-100, .custom-theme-active .bg-amber-100, .custom-theme-active .bg-emerald-100, .custom-theme-active .bg-fuchsia-50, .custom-theme-active .bg-sky-50, .custom-theme-active .bg-stone-50, .custom-theme-active .bg-yellow-50, .custom-theme-active .bg-blue-100, .custom-theme-active .bg-purple-100, .custom-theme-active .bg-pink-100, .custom-theme-active .bg-\\[\\#3eb086\\] {
18                background-color: ${b} !important;
19              }
20
21              /* Primary Text */
22              .custom-theme-active .text-slate-800, .custom-theme-active .text-indigo-600, .custom-theme-active .text-slate-950, .custom-theme-active .text-teal-700, .custom-theme-active .text-slate-900, .custom-theme-active .text-rose-600, .custom-theme-active .text-blue-600, .custom-theme-active .text-emerald-800, .custom-theme-active .text-emerald-700, .custom-theme-active .text-purple-900, .custom-theme-active .text-purple-700, .custom-theme-active .text-fuchsia-800, .custom-theme-active .text-fuchsia-900, .custom-theme-active .text-indigo-800, .custom-theme-active .text-indigo-900, .custom-theme-active .text-sky-800, .custom-theme-active .text-sky-900, .custom-theme-active .text-teal-800, .custom-theme-active .text-teal-900, .custom-theme-active .text-purple-800, .custom-theme-active .text-purple-600, .custom-theme-active .text-stone-800, .custom-theme-active .text-stone-900, .custom-theme-active .text-red-700, .custom-theme-active .text-blue-700, .custom-theme-active .text-pink-600, .custom-theme-active .text-green-700, .custom-theme-active .text-emerald-950, .custom-theme-active .text-lime-800, .custom-theme-active .text-green-800, .custom-theme-active .text-\\[\\#103e48\\] {
23                color: ${m} !important;
24              }
25
26              /* Secondary Text */
27              .custom-theme-active .text-slate-700, .custom-theme-active .text-slate-600, .custom-theme-active .text-teal-600, .custom-theme-active .text-emerald-600, .custom-theme-active .text-amber-600, .custom-theme-active .text-stone-700, .custom-theme-active .text-stone-600, .custom-theme-active .text-red-600, .custom-theme-active .text-lime-700, .custom-theme-active .text-\\[\\#3eb086\\] {
28                color: ${b} !important;
29              }
30
31              /* Borders */
32              .custom-theme-active .border-indigo-500, .custom-theme-active .border-indigo-700, .custom-theme-active .border-teal-600, .custom-theme-active .border-teal-400, .custom-theme-active .border-teal-500, .custom-theme-active .border-slate-900, .custom-theme-active .border-indigo-400, .custom-theme-active .border-slate-400, .custom-theme-active .border-emerald-500, .custom-theme-active .border-slate-700, .custom-theme-active .border-stone-800, .custom-theme-active .border-stone-400, .custom-theme-active .border-rose-400, .custom-theme-active .border-slate-800, .custom-theme-active .border-blue-600, .custom-theme-active .border-yellow-400, .custom-theme-active .border-blue-500, .custom-theme-active .border-green-500, .custom-theme-active .border-emerald-800, .custom-theme-active .border-teal-800, .custom-theme-active .border-slate-300, .custom-theme-active .border-slate-200, .custom-theme-active .border-slate-100, .custom-theme-active .border-\\[\\#103e48\\], .custom-theme-active .border-\\[\\#3eb086\\] {
33                border-color: ${m} !important;
34              }
35
36              /* Radii */
37              .custom-theme-active .rounded-3xl, .custom-theme-active .rounded-2xl, .custom-theme-active .rounded-xl, .custom-theme-active .rounded-lg, .custom-theme-active .rounded-md {
38                border-radius: ${p}px !important;
39              }
40
41              /* Border width */
42              .custom-theme-active [class*="border-2"] {
43                border-width: ${n}px !important;
44              }
45              .custom-theme-active [class*="border-4"] {
46                border-width: ${Math.max(2,n*2)}px !important;
47              }
48              
49              /* Exception for checkboxes/inputs so they don't break */
50              .custom-theme-active input[type="checkbox"], .custom-theme-active input[type="radio"] {
51                border-width: 1px !important;
52                border-style: solid !important;
53              }
54            `}}),i==="individual"?e.jsxs(e.Fragment,{children:[a==="classic"&&e.jsx(K,{}),a==="modern"&&e.jsx(J,{}),a==="minimal"&&e.jsx(Q,{}
54),a==="cards"&&e.jsx(X,{}),a==="grid"&&e.jsx(Y,{}),a==="creative"&&e.jsx(Z,{}),a==="timeline"&&e.jsx(de,{}),a==="dashboard"&&e.jsx(ce,{}),a==="infographic"&&e.jsx(ne,{}),a==="elegant"&&e.jsx(me,{}),a==="focus"&&e.jsx(he,{}),a==="playful"&&e.jsx(ue,{}),a==="academic"&&e.jsx(ge,{}),a==="geometric"&&e.jsx(je,{}),a==="nature"&&e.jsx(we,{}),a==="tech"&&e.jsx(Ce,{})]}):i==="group"?e.jsxs(e.Fragment,{children:[a==="classic"&&e.jsx(ee,{}),a==="modern"&&e.jsx(te,{}),a==="minimal"&&e.jsx(se,{}),a==="cards"&&e.jsx(le,{}),a==="grid"&&e.jsx(ae,{}),a==="creative"&&e.jsx(re,{}),a==="timeline"&&e.jsx(ie,{}),a==="dashboard"&&e.jsx(oe,{}),a==="infographic"&&e.jsx(xe,{}),a==="elegant"&&e.jsx(be,{}),a==="focus"&&e.jsx(fe,{}),a==="playful"&&e.jsx(pe,{}),a==="academic"&&e.jsx(ve,{}),a==="geometric"&&e.jsx(Ne,{}),a==="nature"&&e.jsx(ke,{}),a==="tech"&&e.jsx(ye,{})]}):e.jsxs(e.Fragment,{children:[a==="classic"&&e.jsx(_,{}),a==="modern"&&e.jsx(I,{}),a==="minimal"&&e.jsx(Ae,{}),a==="cards"&&e.jsx(_e,{}),a==="grid"&&e.jsx(Ie,{}),a==="creative"&&e.jsx(Be,{}),a==="timeline"&&e.jsx(We,{}),a==="dashboard"&&e.jsx(Te,{}),a==="infographic"&&e.jsx(Ee,{}),a==="elegant"&&e.jsx(ze,{}),a==="focus"&&e.jsx(Me,{}),a==="playful"&&e.jsx(Re,{}),a==="academic"&&e.jsx(De,{}),a==="geometric"&&e.jsx(Fe,{}),a==="nature"&&e.jsx($e,{}),a==="tech"&&e.jsx(Le,{}),a==="expert"&&e.jsx(Se,{primaryColor:m,secondaryColor:b,borderStyle:x,borderWidth:n,borderRadius:p,fontFamily:S})]})]})})})}),e.jsx("style",{children:`
55        @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Almarai:wght@300;400;700;800&family=Tajawal:wght@300;400;500;700;800;900&family=Amiri:ital,wght@0,400;0,700;1,400;1,700&family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');
56        
57        @media print {
58          @page {
59            size: A4 portrait;
60            margin: 0;
61          }
62          html, body {
63            margin: 0 !important;
64            padding: 0 !important;
65            width: 100% !important;
66            height: 100% !important;
67            overflow: visible !important;
68            background: white !important;
69          }
70          .print\\:hidden { display: none !important; }
71          .print\\:block { display: block !important; }
72          .print\\:p-0 { padding: 0 !important; }
73          .print\\:m-0 { margin: 0 !important; }
74          .print\\:bg-white { background-color: white !important; }
75          .print\\:border-none { border: none !important; }
76          .print\\:shadow-none { box-shadow: none !important; }
77          .print\\:overflow-visible { overflow: visible !important; }
78          .print\\:pb-0 { padding-bottom: 0 !important; }
79          
80          #root {
81            display: block !important;
82          }
83          body > #root > div {
84            display: block !important;
85          }
86          
87          .break-inside-avoid {
88            page-break-inside: avoid !important;
89            break-inside: avoid !important;
90          }
91        }
92
93        /* Mobile Responsiveness for the A4 Canvas */
94        @media screen and (max-width: 768px) {
95          .a4-canvas {
96            width: 100% !important;
97            height: auto !important;
98            min-height: auto !important;
99            transform: none !important;
100            margin-bottom: 0 !important;
101          }
102          /* Allow tables & headers to flex vertically instead of squishing */
103          .a4-canvas .flex {
104             flex-wrap: wrap;
105          }
106          /* Protect small icon + text flex containers and specific tight wrappers */
107          .a4-canvas .items-center.gap-2, 
108          .a4-canvas .items-center.gap-1 {
109             flex-wrap: nowrap;
110          }
111          /* Make width percentages full on small screens for main columns */
112          .a4-canvas .w-1\\/3, 
113          .a4-canvas .w-1\\/4, 
114          .a4-canvas .w-1\\/2, 
115          .a4-canvas .w-2\\/3,
116          .a4-canvas .w-48,
117          .a4-canvas .w-32 {
118            width: 100% !important;
119            min-width: unset !important;
120          }
121          /* Ensure text wraps nicely */
122          .a4-canvas .whitespace-nowrap {
123            white-space: normal !important;
124          }
125          .a4-canvas .truncate {
126            text-overflow: clip;
127            white-space: normal;
128          }
129          /* Fix absolute positioning that assumes 793px width */
130          .a4-canvas .absolute.left-1\\/2 {
131            position: relative !important;
132            left: 0 !important;
133            transform: none !important;
134            bottom: auto !important;
135            margin-top: 10px;
136          }
137          /* Make borders scale appropriately */
138          .a4-canvas .border-l, .a4-canvas .border-r {
139            border-left: none !important;
140            border-right: none !important;
141            border-bottom: 1px solid #cbd5e1;
142          }
143        }
144      `})]})}function K(){return e.jsxs("div",{className:"w-full min-h-[1122px] flex-1 text-slate-800 p-8 pt-6 flex flex-col gap-3 relative pb-10 overflow-hidden",children:[e.jsxs("div",{className:"flex justify-between items-start mb-1 px-2",children:[e.jsxs("div",{className:"text-right text-[11px] font-bold text-slate-950 leading-relaxed flex-none w-1/3",children:[e.jsx(t,{value:"المملكة العربية السعودية",className:"font-bold text-slate-950 block"}),e.jsx(t,{value:"وزارة التعليم",className:"font-black block"}),e.jsxs("div",{className:"flex gap-1 items-baseline whitespace-nowrap w-full",children:[e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field shrink-0",id:"rp_hdr_edu_region",children:"الإدارة العامة للتعليم بمنطقة"})," ",e.jsx(t,{value:"..........",className:"bg-transparent text-right outline-none flex-1 border-b border-dashed border-slate-300"})]})]}),e.jsx("div",{className:"flex flex-col items-center justify-center flex-1 pt-1",children:e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"65px",width:"auto",objectFit:"contain",filter:"brightness(0)"}})}),e.jsx("div",{className:"flex-none w-1/3 flex justify-end"})]}),e.jsx("div",{className:"w-full relative px-20 mt-6 mb-4",children:e.jsxs("div",{className:"bg-white rounded-xl border border-[#0f968c] relative h-12 flex justify-center items-end pb-1 shadow-sm",children:[e.jsx("div",{className:"absolute top-0 right-0 left-0 h-[45%] bg-[#0f968c] rounded-t-[10px]"}),e.jsx("div",{className:"relative bg-white px-12 pt-1 pb-1 rounded-t-xl font-black text-xl text-[#0f968c] min-w-48 text-center border-t-2 border-[#0f968c]",style:{marginTop:"-18px"},children:e.jsx(t,{value:"اسم المدرسة",className:"w-full text-center"})})]})}),e.jsxs("div",{className:"text-center font-bold text-slate-700 text-lg",children:["( ",e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field inline-block",id:"rp_hdr_title3",children:"خطة علاجية"})," - ",e.jsx(t,{value:"اسم المادة",className:"inline-block text-teal-700 px-2 min-w-24 border-b border-dashed border-slate-300"})," )"]}),e.jsxs("div",{className:"flex justify-between items-start mt-2 gap-4",children:[e.jsxs("div",{className:"flex flex-col flex-1 border border-teal-600 rounded-lg p-2 pt-4 relative min-h-16",children:[e.jsx("span",{className:"absolute -top-3 right-4 bg-white px-2 text-teal-700 font-bold text-sm flex gap-1",children:"اسم الطالب/ة:"}),e.jsx(t,{value:"اسم الطالب",className:"text-center font-bold w-full h-full text-lg"})]}),e.jsxs("div",{className:"flex flex-col flex-1 border border-teal-600 rounded-lg p-2 pt-4 relative min-h-16",children:[e.jsx("span",{className:"absolute -top-3 right-4 bg-white px-2 text-teal-700 font-bold text-sm flex gap-1",children:"نتيجة التحسن:"}),e.jsx("div",{className:"flex justify-between px-2 pt-1 gap-2 flex-wrap",children:k.map((d,r)=>e.jsx("div",{children:e.jsx(A,{label:d})},r))})]})]}),e.jsxs("div",{className:"flex justify-between items-start mt-1 gap-4",children:[e.jsxs("div",{className:"flex flex-col flex-1 border border-teal-600 rounded-lg p-2 pt-4 relative min-h-16",children:[e.jsx("span",{className:"absolute -top-3 right-4 bg-white px-2 text-teal-700 font-bold text-sm flex gap-1",children:"الصف/الفصل:"}),e.jsx(t,{value:"أول متوسط / أ",className:"text-center font-bold w-full h-full text-lg"})]}),e.jsxs("div",{className:"flex flex-col flex-1 border border-teal-600 rounded-lg p-2 pt-4 relative min-h-16",children:[e.jsx("span",{className:"absolute -top-3 right-4 bg-white px-2 text-teal-700 font-bold text-sm flex gap-1",children:"الفصل الدراسي:"}),e.jsx(t,{value:"الأول",className:"text-center font-bold w-full h-full text-lg"})]}),e.jsxs("div",{className:"flex flex-col flex-1 border border-teal-600 rounded-lg p-2 pt-4 relative min-h-16",children:[e.jsx("span",{className:"absolute -top-3 right-4 bg-white px-2 text-teal-700 font-bold text-sm flex gap-1",children:"تاريخ المتابعة:"}),e.jsx(t,{value:new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date)+" هـ",className:"text-center font-bold w-full h-full text-lg"})]})]}),e.jsx("div",{className:"w-full border-t border-slate-300 border-dashed my-1"}),e.jsxs("div",{className:"border border-teal-600 rounded-lg p-3 pt-4 relative bg-teal-50/20 break-inside-avoid",children:[e.jsx("span",{className:"absolute -top-3 right-4 bg-white px-2 text-teal-700 font-bold text-base",children:"نقاط الضعف:"}),e.jsx("div",{className:"grid grid-cols-3 gap-y-3 gap-x-2 mt-2",children:j.map((d,r)=>e.jsx("div",{children:e.jsx(A,{label:e.jsx(t,{value:d,className:"inline-block"})})},r))}),e.jsxs("div",{className:"mt-2 flex gap-2 w-full",children:[e.jsx(A,{})," ",e.jsx(t,{value:"",className:"flex-1 border-b border-dashed border-teal-400 outline-none"})]}),e.jsxs("div",{className:"mt-1 flex gap-2 w-full",children:[e.jsx(A,{})," ",e.jsx(t,{value:"",className:"flex-1 border-b border-dashed border-teal-400 outline-none"})]})]}),e.jsxs("div",{className:"border border-teal-600 rounded-lg p-3 pt-4 relative bg-teal-50/20 break-inside-avoid",children:[e.jsx("span",{className:"absolute -top-3 right-4 bg-white px-2 text-teal-700 font-bold text-base",children:"الطرق العلاجية:"}),e.jsx("div",{className:"grid grid-cols-3 gap-y-3 gap-x-2 mt-2",children:N.map((d,r)=>e.jsx("div",{children:e.jsx(A,{label:e.jsx(t,{value:d,className:"inline-block"})})},r))}),e.jsxs("div",{className:"mt-2 flex gap-2 w-full",children:[e.jsx(A,{})," ",e.jsx(t,{value:"",className:"flex-1 border-b border-dashed border-teal-400 outline-none"})]})]}),e.jsxs("div",{className:"border border-teal-600 rounded-lg p-3 pt-4 relative bg-teal-50/20 break-inside-avoid",children:[e.jsx("span",{className:"absolute -top-3 right-4 bg-white px-2 text-teal-700 font-bold text-base",children:"الإجراءات المتخذة:"}),e.jsx("div",{className:"grid grid-cols-3 gap-y-3 gap-x-2 mt-2",children:w.map((d,r)=>e.jsx("div",{children:e.jsx(A,{label:e.jsx(t,{value:d,className:"inline-block"})})},r))}),e.jsxs("div",{className:"mt-2 flex gap-2 w-full",children:[e.jsx(A,{})," ",e.jsx(t,{value:"",className:"flex-1 border-b border-dashed border-teal-400 outline-none"})]})]}),e.jsx("div",{className:"w-full border-t border-slate-300 my-2 flex-1"}),e.jsxs("div",{className:"flex justify-between items-end px-16 text-center text-slate-800 font-bold text-base h-16",children:[e.jsxs("div",{children:[e.jsx(t,{value:"اسم المعلم",className:"mb-2 block w-32"}),e.jsx(t,{value:"الاسم",className:"block text-slate-500 font-normal w-32"})]}),e.jsxs("div",{children:[e.jsx(t,{value:"مدير المدرسة",className:"mb-2 block w-32"}),e.jsx(t,{value:"الاسم",className:"block text-slate-500 font-normal w-32"})]})]}),e.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-5 bg-[#1a4a5e] border-b-[4px] border-[#3eb086] print-bg-exact"})]})}function l({items:d,setItems:r,checked:i,setChecked:c,activeColor:a,activeBgColor:h}){const m=x=>{const o=[...i];o[x]=!o[x],c(o)},f=(x,o)=>{const n=[...d];n[x]=o,r(n)},b=x=>{r(d.filter((o,n)=>n!==x)),c(i.filter((o,n)=>n!==x))},u=()=>{r([...d,""]),c([...i,!1])};return e.jsxs("ul",{className:"space-y-3 mr-4",children:[d.map((x,o)=>e.jsxs("li",{className:"flex flex-row-reverse justify-end gap-2 items-center group",children:[e.jsx("button",{onClick:()=>m(o),className:"shrink-0 flex items-center justify-center pt-0.5",children:e.jsx("div",{className:`w-[18px] h-[18px] rounded-md border-[1.5px] shadow-sm flex items-center justify-center transition-all ${i[o]?`${h} border-transparent`:"border-slate-300 bg-white"}
144`,children:i[o]&&e.jsx("svg",{className:"w-3 h-3 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})})})}),e.jsx(t,{value:x,onChange:n=>f(o,n),className:`flex-1 text-right transition-all ${i[o]?"text-slate-900 font-bold":"text-slate-600 font-medium"}`}),e.jsx("button",{onClick:()=>b(o),className:"opacity-0 group-hover:opacity-100 text-rose-500 hover:bg-rose-50 px-2 py-1 rounded transition-all print:hidden shrink-0 text-xs",children:"حذف"})]},o)),e.jsx("li",{className:"print:hidden mt-3 mb-1",children:e.jsx("button",{onClick:u,className:`text-sm flex items-center gap-1 ${a} hover:opacity-80 font-bold bg-white/50 px-2 py-1 rounded-md transition-all`,children:"+ إضافة عنصر"})})]})}function J(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w,"متابعة يومية للواجبات"]),[m,f]=s.useState([...k,"لا يوجد تحسن"]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(4).fill(!1)),[p,v]=s.useState(new Array(5).fill(!1)),S=new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date);return e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex-1 text-slate-800 flex flex-col relative print-bg-exact bg-[#e2ecea] overflow-hidden",children:[e.jsxs("div",{className:"absolute top-0 left-0 right-0 w-full -z-0 flex flex-col h-32",children:[e.jsx("div",{className:"h-3 w-full bg-gradient-to-l from-[#36c098] to-[#1a74ae] print-bg-exact"}),e.jsx("div",{className:"bg-[#103e48] rounded-b-[2rem] flex-1 w-full print-bg-exact"})]}),e.jsx("div",{className:"flex justify-center items-center pt-4 relative z-10 w-full mb-4",children:e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsxs("div",{className:"text-left flex flex-col items-end",children:[e.jsx(t,{value:"وزارة التعليم",className:"text-white text-2xl font-black block"}),e.jsx(t,{value:"اسم المدرسة",className:"text-[#36c098] font-bold text-sm mt-1"})]}),e.jsx("div",{className:"h-[75px] w-0.5 bg-gradient-to-b from-[#36c098] to-[#103e48] print-bg-exact"}),e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"75px",width:"auto",objectFit:"contain",filter:"brightness(0) invert(1)"}})]})}),e.jsx("div",{className:"w-full flex justify-center z-10 mb-4 mt-1",children:e.jsx("div",{className:"bg-[#003c4a] border border-teal-500/30 text-white rounded-lg shadow-sm px-16 py-2 font-black text-xl",children:"تقرير الخطة العلاجية"})}),e.jsx("div",{className:"z-10 px-12 w-full flex flex-col items-center text-slate-700 font-bold mb-4",children:e.jsxs("div",{className:"flex flex-col gap-2 items-center",children:[e.jsxs("div",{className:"flex gap-2 text-xl mb-1",children:["المستهدف: ",e.jsx(t,{value:"اسم الطالب / المجموعة",className:"text-teal-600 font-black min-w-32 border-b-2 border-teal-500/30 text-center mx-1"})]}),e.jsxs("div",{className:"flex gap-2",children:["المادة: ",e.jsx(t,{value:"رياضيات",className:"text-teal-600 min-w-32"})]}),e.jsxs("div",{className:"flex gap-2",children:["الصف: ",e.jsx(t,{value:"2",className:"text-teal-600 min-w-32"})]}),e.jsxs("div",{className:"flex gap-2 text-sm text-slate-500",children:["التاريخ: ",e.jsx(t,{value:S+" هـ",className:"min-w-32"})]})]})}),e.jsxs("div",{className:"px-10 z-10 w-full grid grid-cols-2 gap-4 flex-1 pb-4",children:[e.jsxs("div",{className:"bg-white rounded-xl shadow-sm border border-slate-200 overflow-hidden break-inside-avoid flex flex-col",children:[e.jsxs("div",{className:"bg-[#2ba07f] text-white p-2 px-4 font-bold flex items-center justify-end gap-2 text-lg print-bg-exact",children:[e.jsx(t,{value:"نقاط الضعف",className:"text-right"}),e.jsx(R,{className:"w-5 h-5 text-white/90"})]}),e.jsx("div",{className:"p-3 px-4 text-slate-700",children:e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-[#2ba07f]",activeBgColor:"bg-[#2ba07f]"})})]}),e.jsxs("div",{className:"bg-white rounded-xl shadow-sm border border-slate-200 overflow-hidden break-inside-avoid flex flex-col",children:[e.jsxs("div",{className:"bg-[#00607a] text-white p-2 px-4 font-bold flex items-center justify-end gap-2 text-lg print-bg-exact",children:[e.jsx(t,{value:"طرق وأساليب العلاج",className:"text-right"}),e.jsx(F,{className:"w-5 h-5 text-white/90"})]}),e.jsx("div",{className:"p-3 px-4 text-slate-700",children:e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-[#00607a]",activeBgColor:"bg-[#00607a]"})})]}),e.jsxs("div",{className:"bg-white rounded-xl shadow-sm border border-slate-200 overflow-hidden break-inside-avoid flex flex-col",children:[e.jsxs("div",{className:"bg-[#2a7bde] text-white p-2 px-4 font-bold flex items-center justify-end gap-2 text-lg print-bg-exact",children:[e.jsx(t,{value:"الإجراءات العلاجية",className:"text-right"}),e.jsx($,{className:"w-5 h-5 text-white/90"})]}),e.jsx("div",{className:"p-3 px-4 text-slate-700",children:e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-[#2a7bde]",activeBgColor:"bg-[#2a7bde]"})})]}),e.jsxs("div",{className:"bg-white rounded-xl shadow-sm border border-slate-200 overflow-hidden break-inside-avoid flex flex-col",children:[e.jsxs("div",{className:"bg-[#565964] text-white p-2 px-4 font-bold flex items-center justify-end gap-2 text-lg print-bg-exact",children:[e.jsx(t,{value:"نتيجة التحسن (تابع)",className:"text-right"}),e.jsx(D,{className:"w-5 h-5 text-white/90"})]}),e.jsx("div",{className:"p-3 px-4 text-slate-700",children:e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-[#565964]",activeBgColor:"bg-[#565964]"})})]})]}),e.jsx("div",{className:"px-12 w-full mt-auto pb-24 z-10 break-inside-avoid bg-transparent",children:e.jsxs("div",{className:"flex justify-between items-center bg-white rounded-xl shadow-sm p-4 px-16",children:[e.jsxs("div",{className:"text-center font-bold text-slate-700 w-48",children:[e.jsx("div",{className:"mb-4 text-sm text-[#00607a]",children:"معد الخطة"}),e.jsx("div",{className:"border-t border-slate-300 pt-3",children:e.jsx(t,{value:"محمد"})})]}),e.jsxs("div",{className:"text-center font-bold text-slate-700 w-48",children:[e.jsx("div",{className:"mb-4 text-sm text-[#00607a]",children:"مدير/ة المدرسة"}),e.jsx("div",{className:"border-t border-slate-300 pt-3",children:e.jsx(t,{value:"اسم المدير"})})]})]})}),e.jsxs("div",{className:"absolute bottom-0 left-0 right-0 w-full flex flex-col h-[50px]",children:[e.jsx("div",{className:"bg-[#103e48] rounded-t-[2rem] flex-1 w-full print-bg-exact"}),e.jsx("div",{className:"h-3 w-full bg-gradient-to-l from-[#36c098] to-[#1a74ae] print-bg-exact"})]}),e.jsx("style",{children:`
145         .print-bg-exact {
146             -webkit-print-color-adjust: exact !important;
147             print-color-adjust: exact !important;
148             color-adjust: exact !important;
149         }
150      `})]})}function Q(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1)),S=new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date);return e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex-1 text-slate-900 bg-white p-8 flex flex-col relative overflow-hidden",children:[e.jsxs("div",{className:"flex justify-between items-center border-b-2 border-slate-900 pb-4 mb-8",children:[e.jsxs("div",{className:"flex items-center gap-4 border-l-2 pl-4 border-slate-900",children:[e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"60px",width:"auto",objectFit:"contain",filter:"brightness(0)"}}),e.jsxs("div",{children:[e.jsx(t,{value:"وزارة التعليم",className:"font-bold block text-lg"}),e.jsx(t,{value:"اسم المدرسة",className:"text-slate-600 font-medium block"})]})]}),e.jsxs("div",{className:"text-left font-black tracking-tighter",children:[e.jsx("div",{className:"text-3xl text-slate-900 mb-1",children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field inline-block",i
150d:"rp_hdr_title2",children:"خطة علاجية"})}),e.jsxs("div",{className:"flex gap-2 justify-end",children:["مادة ",e.jsx(t,{value:"الرياضيات",className:"text-slate-500 border-b border-dashed border-slate-300 min-w-24 inline-block text-center"})]})]})]}),e.jsxs("div",{className:"grid grid-cols-4 gap-6 mb-8 border border-slate-200 bg-slate-50 p-4 rounded-xl",children:[e.jsxs("div",{className:"col-span-2",children:[e.jsx("div",{className:"text-xs text-slate-400 font-bold mb-1",children:"اسم الطالب/ة"}),e.jsx(t,{value:"اسم الطالب",className:"text-lg font-bold w-full border-b border-slate-200 bg-transparent"})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-xs text-slate-400 font-bold mb-1",children:"الصف / الفصل"}),e.jsx(t,{value:"أول متوسط / أ",className:"text-lg font-bold w-full border-b border-slate-200 bg-transparent"})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-xs text-slate-400 font-bold mb-1",children:"التاريخ"}),e.jsx(t,{value:S+" هـ",className:"text-lg font-bold w-full border-b border-slate-200 bg-transparent text-left"})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-x-8 gap-y-6 flex-1 mb-8",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"font-bold text-lg border-b border-slate-300 pb-2 mb-4 flex gap-2",children:[e.jsx("div",{className:"w-2 h-2 rounded-full bg-slate-900 mt-2"}),"نقاط الضعف"]}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-slate-900",activeBgColor:"bg-slate-900"})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"font-bold text-lg border-b border-slate-300 pb-2 mb-4 flex gap-2",children:[e.jsx("div",{className:"w-2 h-2 rounded-full bg-slate-900 mt-2"}),"طرق وأساليب العلاج"]}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-slate-900",activeBgColor:"bg-slate-900"})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"font-bold text-lg border-b border-slate-300 pb-2 mb-4 flex gap-2",children:[e.jsx("div",{className:"w-2 h-2 rounded-full bg-slate-900 mt-2"}),"الإجراءات العلاجية"]}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-slate-900",activeBgColor:"bg-slate-900"})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"font-bold text-lg border-b border-slate-300 pb-2 mb-4 flex gap-2",children:[e.jsx("div",{className:"w-2 h-2 rounded-full bg-slate-900 mt-2"}),"نتيجة التحسن"]}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-slate-900",activeBgColor:"bg-slate-900"})]})]}),e.jsxs("div",{className:"mt-auto border-t border-slate-200 pt-8 flex justify-between px-16",children:[e.jsxs("div",{className:"text-center font-bold",children:["معد الخطة",e.jsx(t,{value:"..........",className:"mt-4 border-b border-slate-300 w-32 mx-auto block"})]}),e.jsxs("div",{className:"text-center font-bold",children:["مدير/ة المدرسة",e.jsx(t,{value:"..........",className:"mt-4 border-b border-slate-300 w-32 mx-auto block"})]})]})]})}function X(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex-1 bg-indigo-50/50 p-8 flex flex-col relative overflow-hidden text-slate-800",children:[e.jsxs("div",{className:"bg-indigo-600 rounded-[2rem] p-6 shadow-md text-white flex justify-between mb-8",children:[e.jsxs("div",{children:[e.jsx(t,{value:"المملكة العربية السعودية - وزارة التعليم",className:"text-indigo-200 text-xs font-bold block"}),e.jsx(t,{value:"اسم المدرسة",className:"font-black text-xl"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"font-black text-2xl tracking-tighter shadow-sm mb-1",children:"الخطة العلاجية"}),e.jsxs("div",{className:"flex gap-2 justify-center",children:["مادة ",e.jsx(t,{value:"العلوم",className:"text-indigo-100 border-b border-indigo-400 min-w-[80px] text-center inline-block"})]})]}),e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"60px",filter:"brightness(0) invert(1)"}})]}),e.jsxs("div",{className:"flex gap-4 mb-8",children:[e.jsxs("div",{className:"flex-1 bg-white p-4 rounded-xl border border-indigo-100 border-r-[6px] border-r-indigo-400 shadow-sm relative pr-6",children:[e.jsx("div",{className:"text-xs font-bold text-indigo-400 mb-1",children:"الطالب /ة"}),e.jsx(t,{value:"عبدالله زيد",className:"w-full text-lg font-black"})]}),e.jsxs("div",{className:"flex-1 bg-white p-4 rounded-xl border border-indigo-100 border-r-[6px] border-r-indigo-400 shadow-sm relative pr-6",children:[e.jsx("div",{className:"text-xs font-bold text-indigo-400 mb-1",children:"الصف"}),e.jsx(t,{value:"الثالث المتوسط",className:"w-full text-lg font-black"})]}),e.jsxs("div",{className:"flex-1 bg-white p-4 rounded-xl border border-indigo-100 border-r-[6px] border-r-indigo-400 shadow-sm relative pr-6",children:[e.jsx("div",{className:"text-xs font-bold text-indigo-400 mb-1",children:"التاريخ"}),e.jsx(t,{value:"15 / 6 / 1445 هـ",className:"w-full text-lg font-black"})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4 flex-1 mb-8",children:[e.jsxs("div",{className:"bg-white p-6 rounded-2xl shadow-sm border border-slate-100",children:[e.jsx("div",{className:"bg-rose-50 text-rose-600 font-bold px-3 py-1 text-sm rounded-lg mb-4 w-max",children:"نقاط الضعف"}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-rose-600",activeBgColor:"bg-rose-500"})]}),e.jsxs("div",{className:"bg-white p-6 rounded-2xl shadow-sm border border-slate-100",children:[e.jsx("div",{className:"bg-emerald-50 text-emerald-600 font-bold px-3 py-1 text-sm rounded-lg mb-4 w-max",children:"طرق العلاج"}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-emerald-600",activeBgColor:"bg-emerald-500"})]}),e.jsxs("div",{className:"bg-white p-6 rounded-2xl shadow-sm border border-slate-100",children:[e.jsx("div",{className:"bg-blue-50 text-blue-600 font-bold px-3 py-1 text-sm rounded-lg mb-4 w-max",children:"الإجراءات المتخذة"}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-blue-600",activeBgColor:"bg-blue-500"})]}),e.jsxs("div",{className:"bg-white p-6 rounded-2xl shadow-sm border border-slate-100",children:[e.jsx("div",{className:"bg-orange-50 text-orange-600 font-bold px-3 py-1 text-sm rounded-lg mb-4 w-max",children:"أثر المعالجة"}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-orange-600",activeBgColor:"bg-orange-500"})]})]}),e.jsxs("div",{className:"mt-auto bg-white rounded-xl shadow-sm p-4 border border-slate-100 flex justify-around",children:[e.jsxs("div",{className:"text-center font-bold",children:["المعلم/ة",e.jsx(t,{value:"..........",className:"mt-2 text-indigo-400 block w-24 text-center border-b border-indigo-200"})]}),e.jsxs("div",{className:"text-center font-bold",children:["حالة الاعتماد (المدير)",e.jsx(t,{value:"..........",className:"mt-2 text-indigo-400 block w-24 text-center border-b border-indigo-200"})]})]})]})}function Y(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex-1 bg-white p-6 border-[8px] border-slate-900 flex flex-col relative text-slate-800",children:[e.jsxs("div",{className:"flex justify-between items-center border-b-[4px] border-slate-900 pb-4 mb-4",children:[e.jsxs("div",{children:[e.jsx(t,{value:"وزارة التعليم الموقرة",className:"font-bold text-slate-500 block mb-1"}),e.jsx(t,{value:"اسم المدرسة هنا",className:"font-black text-xl block"})]}),e.jsx("div",{className:"text-center border-[4px] border-slate-900 px-6 py-2 pb-3 rotate-[1deg] bg-slate-900 text-white font-black text-2xl",children:"نموذج خطة معالجة"}),e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"60px",filter:"brightness(0)"}})]}),e.jsxs("div",{className:"grid grid-cols-4 border-2 border-slate-900 divide-x divide-x-reverse divide-slate-900 mb-6 bg-slate-50",children:[e.jsxs("div",{className:"p-2 font-bold flex flex-col",children:[e.jsx("span",{className:"text-xs bg-slate-900 text-white w-max px-1",children:"الطالب"}),e.jsx(t,{value:"سمير محمد",className:"text-lg w-full bg-transparent border-0 font-bold"})]}),e.jsxs("div",{className:"p-2 font-bold flex flex-col",children:[e.jsx("span",{className:"text-xs bg-slate-900 text-white w-max px-1",children:"المادة"}),e.jsx(t,{value:"لغتي الخالدة",className:"text-lg w-full bg-transparent border-0 font-bold"})]}),e.jsxs("div",{className:"p-2 font-bold flex flex-col",children:[e.jsx("span",{className:"text-xs bg-slate-900 text-white w-max px-1",children:"الصف"}),e.jsx(t,{value:"ثاني متوسط",className:"text-lg w-full bg-transparent border-0 font-bold"})]}),e.jsxs("div",{className:"p-2 font-bold flex flex-col",children:[e.jsx("span",{className:"text-xs bg-slate-900 text-white w-max px-1",children:"التاريخ"}),e.jsx(t,{value:"الخميس",className:"text-lg w-full bg-transparent border-0 font-bold"})]})]}),e.jsxs("div",{className:"border-[3px] border-slate-900 grid grid-cols-2 divide-x divide-y divide-x-reverse divide-slate-900 flex-1 mb-6 shadow-[8px_8px_0_rgba(15,23,42,1)]",children:[e.jsxs("div",{className:"p-6",children:[e.jsx("div",{className:"text-xl font-black mb-4 inline-block bg-slate-100 border border-slate-900 px-3 uppercase text-slate-900 shadow-[2px_2px_0_#0f172a]",children:"1. التشخيص"}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-slate-900",activeBgColor:"bg-slate-900"})]}),e.jsxs("div",{className:"p-6 bg-slate-50/50",children:[e.jsx("div",{className:"text-xl font-black mb-4 inline-block bg-slate-100 border border-slate-900 px-3 uppercase text-slate-900 shadow-[2px_2px_0_#0f172a]",children:"2. الأساليب"}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-slate-900",activeBgColor:"bg-slate-900"})]}),e.jsxs("div",{className:"p-6 bg-slate-50/50",children:[e.jsx("div",{className:"text-xl font-black mb-4 inline-block bg-slate-100 border border-slate-900 px-3 uppercase text-slate-900 shadow-[2px_2px_0_#0f172a]",children:"3. الإجراءات"}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-slate-900",activeBgColor:"bg-slate-900"})]}),e.jsxs("div",{className:"p-6",children:[e.jsx("div",{className:"text-xl font-black mb-4 inline-block bg-slate-100 border border-slate-900 px-3 uppercase text-slate-900 shadow-[2px_2px_0_#0f172a]",children:"4. التقويم"}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-slate-900",activeBgColor:"bg-slate-900"})]})]}),e.jsxs("div",{className:"mt-auto grid grid-cols-2 border-t-[4px] border-slate-900 pt-4 font-black",children:[e.jsxs("div",{className:"text-center",children:["المعلم : ",e.jsx(t,{value:"..........",className:"w-32 border-b-2 border-slate-400 bg-transparent"})]}),e.jsxs("div",{className:"text-center",children:["مدير المدرسة : ",e.jsx(t,{value:"..........",className:"w-32 border-b-2 border-slate-400 bg-transparent"})]})]})]})}function Z(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex-1 bg-[#fffdfa] p-8 flex flex-col relative overflow-hidden text-slate-800",children:[e.jsx("div",{className:"absolute top-0 right-0 w-64 h-64 bg-rose-200 rounded-full blur-[80px] opacity-60 -z-10 translate-x-1/2 -translate-y-1/2"}),e.jsx("div",{className:"absolute bottom-0 left-0 w-80 h-80 bg-teal-200 rounded-full blur-[100px] opacity-50 -z-10 -translate-x-1/3 translate-y-1/3"}),e.jsxs("div",{className:"flex justify-between items-start mb-8 relative z-10",children:[e.jsxs("div",{className:"bg-white/60 backdrop-blur px-6 py-4 rounded-2xl shadow-sm border border-white",children:[e.jsx(t,{value:"خطة الدعم والتحسين",className:"text-3xl font-black text-slate-800 block mb-1"}),e.jsx(t,{value:"مدرسة الأجيال المبدعة",className:"text-rose-600 font-bold block"})]}),e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"65px",filter:"brightness(0.3)"}})]}),e.jsxs("div",{className:"bg-white/80 backdrop-blur-sm rounded-3xl p-6 shadow-sm border border-slate-100 flex gap-6 mb-8 relative z-10",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{className:"text-xs font-bold text-slate-400 mb-1 uppercase tracking-wider",children:"الطالب المجتهد"}),e.jsx(t,{value:"عبدالله المتميز",className:"text-xl font-bold w-full bg-transparent border-0"})]}),e.jsx("div",{className:"w-px bg-slate-200"}),e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{className:"text-xs font-bold text-slate-400 mb-1 uppercase tracking-wider",children:"المادة الدراسية"}),e.jsx(t,{value:"لغة إنجليزية",className:"text-xl font-bold w-full bg-transparent border-0"})]}),e.jsx("div",{className:"w-px bg-slate-200"}),e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{className:"text-xs font-bold text-slate-400 mb-1 uppercase tracking-wider",children:"التاريخ"}),e.jsx(t,{value:"10 رجب 1446",className:"text-xl font-bold w-full bg-transparent border-0"})]})]}),e.jsxs("div",{className:"flex-1 flex flex-col gap-6 relative z-10",children:[e.jsxs("div",{className:"flex gap-6 flex-1",children:[e.jsxs("div",{className:"flex-1 bg-white/70 backdrop-blur-md p-6 rounded-3xl border border-rose-100 shadow-[0_8px_30px_rgb(0,0,0,0.02)]",children:[e.jsxs("h3",{className:"text-xl font-bold text-rose-600 mb-4 pb-2 border-b border-rose-100 flex items-center justify-between",children:["مجالات التحسين",e.jsx("div",{className:"w-8 h-8 rounded-full bg-rose-100 flex items-center justify-center text-rose-500",children:"1"})]}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-rose-600",activeBgColor:"bg-rose-500"})]}),e.jsxs("div",{className:"flex-1 bg-white/70 backdrop-blur-md p-6 rounded-3xl border border-teal-100 shadow-[0_8px_30px_rgb(0,0,0,0.02)]",children:[e.jsxs("h3",{className:"text-xl font-bold text-teal-600 mb-4 pb-2 border-b border-teal-100 flex items-center justify-between",children:["استراتيجيات الدعم",e.jsx("div",{className:"w-8 h-8 rounded-full bg-teal-100 flex items-center justify-center text-teal-500",children:"2"})]}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-teal-600",activeBgColor:"bg-teal-500"})]})]}),e.jsxs("div",{className:"flex gap-6 flex-1 pt-4",children:[e.jsxs("div",{className:"flex-1 bg-white/70 backdrop-blur-md p-6 rounded-3xl border border-indigo-100 shadow-[0_8px_30px_rgb(0,0,0,0.02)]",children:[e.jsxs("h3",{className:"text-xl font-bold text-indigo-600 mb-4 pb-2 border-b border-indigo-100 flex items-center justify-between",children:["آلية المتابعة",e.jsx("div",{className:"w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-500",children:"3"})]}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-indigo-600",activeBgColor:"bg-indigo-500"})]}),e.jsxs("div",{className:"flex-1 bg-white/70 backdrop-blur-md p-6 rounded-3xl border border-amber-100 shadow-[0_8px_30px_rgb(0,0,0,0.02)]",children:[e.jsxs("h3",{className:"text-xl font-bold text-amber-600 mb-4 pb-2 border-b border-amber-100 flex items-center justify-between",children:["أثر التدخل",e.jsx("div",{className:"w-8 h-8 rounded-full bg-amber-100 flex items-center justify-center text-amber-500",children:"4"})]}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-amber-600",activeBgColor:"bg-
150amber-500"})]})]})]}),e.jsxs("div",{className:"mt-8 flex justify-between items-end relative z-10 px-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"font-bold text-slate-700 mb-2",children:"معلم المادة"}),e.jsx(t,{value:"..........",className:"text-slate-400 border-b border-dashed border-slate-300 min-w-[150px] bg-transparent"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"font-bold text-slate-700 mb-2",children:"الموجه الطلابي"}),e.jsx(t,{value:"..........",className:"text-slate-400 border-b border-dashed border-slate-300 min-w-[150px] bg-transparent"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"font-bold text-slate-700 mb-2",children:"مدير المدرسة"}),e.jsx(t,{value:"..........",className:"text-slate-400 border-b border-dashed border-slate-300 min-w-[150px] bg-transparent"})]})]})]})}function ee(){return e.jsxs("div",{className:"w-full min-h-[1122px] flex-1 text-slate-800 p-8 pt-6 flex flex-col gap-3 relative pb-10 overflow-hidden",children:[e.jsxs("div",{className:"flex justify-between items-start mb-1 px-2",children:[e.jsxs("div",{className:"text-right text-[11px] font-bold text-slate-950 leading-relaxed flex-none w-1/3",children:[e.jsx(t,{value:"المملكة العربية السعودية",className:"font-bold text-slate-950 block"}),e.jsx(t,{value:"وزارة التعليم",className:"font-black block"}),e.jsxs("div",{className:"flex gap-1 items-baseline whitespace-nowrap w-full",children:[e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field shrink-0",id:"rp_hdr_edu_region",children:"الإدارة العامة للتعليم بمنطقة"})," ",e.jsx(t,{value:"..........",className:"bg-transparent text-right outline-none flex-1 border-b border-dashed border-slate-300"})]})]}),e.jsx("div",{className:"flex flex-col items-center justify-center flex-1 pt-1",children:e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"65px",width:"auto",objectFit:"contain",filter:"brightness(0)"}})}),e.jsx("div",{className:"flex-none w-1/3 flex justify-end"})]}),e.jsx("div",{className:"w-full relative px-20 mt-6 mb-4",children:e.jsxs("div",{className:"bg-white rounded-xl border border-[#0f968c] relative h-12 flex justify-center items-end pb-1 shadow-sm",children:[e.jsx("div",{className:"absolute top-0 right-0 left-0 h-[45%] bg-[#0f968c] rounded-t-[10px]"}),e.jsx("div",{className:"relative bg-white px-12 pt-1 pb-1 rounded-t-xl font-black text-xl text-[#0f968c] min-w-48 text-center border-t-2 border-[#0f968c]",style:{marginTop:"-18px"},children:e.jsx(t,{value:"اسم المدرسة",className:"w-full text-center"})})]})}),e.jsxs("div",{className:"text-center font-bold text-slate-700 text-lg",children:["( ",e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field inline-block",id:"rp_hdr_title5",children:"خطة علاجية (جماعية)"})," - ",e.jsx(t,{value:"اسم المادة",className:"inline-block text-teal-700 px-2 min-w-24 border-b border-dashed border-slate-300"})," )"]}),e.jsxs("div",{className:"flex justify-between items-start mt-2 gap-4",children:[e.jsxs("div",{className:"flex flex-col flex-1 border border-teal-600 rounded-lg p-2 pt-4 relative min-h-16",children:[e.jsx("span",{className:"absolute -top-3 right-4 bg-white px-2 text-teal-700 font-bold text-sm flex gap-1",children:"الطلاب المستهدفين/ة:"}),e.jsx(t,{multiline:!0,value:`أحمد، خالد، سامي
151علي، فهد`})]}),e.jsxs("div",{className:"flex flex-col flex-1 border border-teal-600 rounded-lg p-2 pt-4 relative min-h-16",children:[e.jsx("span",{className:"absolute -top-3 right-4 bg-white px-2 text-teal-700 font-bold text-sm flex gap-1",children:"نتيجة التحسن:"}),e.jsx("div",{className:"flex justify-between px-2 pt-1 gap-2 flex-wrap",children:k.map((d,r)=>e.jsx("div",{children:e.jsx(A,{label:d})},r))})]})]}),e.jsxs("div",{className:"flex justify-between items-start mt-1 gap-4",children:[e.jsxs("div",{className:"flex flex-col flex-1 border border-teal-600 rounded-lg p-2 pt-4 relative min-h-16",children:[e.jsx("span",{className:"absolute -top-3 right-4 bg-white px-2 text-teal-700 font-bold text-sm flex gap-1",children:"الصف/الفصل:"}),e.jsx(t,{value:"أول متوسط / أ",className:"text-center font-bold w-full h-full text-lg"})]}),e.jsxs("div",{className:"flex flex-col flex-1 border border-teal-600 rounded-lg p-2 pt-4 relative min-h-16",children:[e.jsx("span",{className:"absolute -top-3 right-4 bg-white px-2 text-teal-700 font-bold text-sm flex gap-1",children:"الفصل الدراسي:"}),e.jsx(t,{value:"الأول",className:"text-center font-bold w-full h-full text-lg"})]}),e.jsxs("div",{className:"flex flex-col flex-1 border border-teal-600 rounded-lg p-2 pt-4 relative min-h-16",children:[e.jsx("span",{className:"absolute -top-3 right-4 bg-white px-2 text-teal-700 font-bold text-sm flex gap-1",children:"تاريخ المتابعة:"}),e.jsx(t,{value:new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date)+" هـ",className:"text-center font-bold w-full h-full text-lg"})]})]}),e.jsx("div",{className:"w-full border-t border-slate-300 border-dashed my-1"}),e.jsxs("div",{className:"border border-teal-600 rounded-lg p-3 pt-4 relative bg-teal-50/20 break-inside-avoid",children:[e.jsx("span",{className:"absolute -top-3 right-4 bg-white px-2 text-teal-700 font-bold text-base",children:"نقاط الضعف:"}),e.jsx("div",{className:"grid grid-cols-3 gap-y-3 gap-x-2 mt-2",children:j.map((d,r)=>e.jsx("div",{children:e.jsx(A,{label:e.jsx(t,{value:d,className:"inline-block"})})},r))}),e.jsxs("div",{className:"mt-2 flex gap-2 w-full",children:[e.jsx(A,{})," ",e.jsx(t,{value:"",className:"flex-1 border-b border-dashed border-teal-400 outline-none"})]}),e.jsxs("div",{className:"mt-1 flex gap-2 w-full",children:[e.jsx(A,{})," ",e.jsx(t,{value:"",className:"flex-1 border-b border-dashed border-teal-400 outline-none"})]})]}),e.jsxs("div",{className:"border border-teal-600 rounded-lg p-3 pt-4 relative bg-teal-50/20 break-inside-avoid",children:[e.jsx("span",{className:"absolute -top-3 right-4 bg-white px-2 text-teal-700 font-bold text-base",children:"الطرق العلاجية:"}),e.jsx("div",{className:"grid grid-cols-3 gap-y-3 gap-x-2 mt-2",children:N.map((d,r)=>e.jsx("div",{children:e.jsx(A,{label:e.jsx(t,{value:d,className:"inline-block"})})},r))}),e.jsxs("div",{className:"mt-2 flex gap-2 w-full",children:[e.jsx(A,{})," ",e.jsx(t,{value:"",className:"flex-1 border-b border-dashed border-teal-400 outline-none"})]})]}),e.jsxs("div",{className:"border border-teal-600 rounded-lg p-3 pt-4 relative bg-teal-50/20 break-inside-avoid",children:[e.jsx("span",{className:"absolute -top-3 right-4 bg-white px-2 text-teal-700 font-bold text-base",children:"الإجراءات المتخذة:"}),e.jsx("div",{className:"grid grid-cols-3 gap-y-3 gap-x-2 mt-2",children:w.map((d,r)=>e.jsx("div",{children:e.jsx(A,{label:e.jsx(t,{value:d,className:"inline-block"})})},r))}),e.jsxs("div",{className:"mt-2 flex gap-2 w-full",children:[e.jsx(A,{})," ",e.jsx(t,{value:"",className:"flex-1 border-b border-dashed border-teal-400 outline-none"})]})]}),e.jsx("div",{className:"w-full border-t border-slate-300 my-2 flex-1"}),e.jsxs("div",{className:"flex justify-between items-end px-16 text-center text-slate-800 font-bold text-base h-16",children:[e.jsxs("div",{children:[e.jsx(t,{value:"اسم المعلم",className:"mb-2 block w-32"}),e.jsx(t,{value:"الاسم",className:"block text-slate-500 font-normal w-32"})]}),e.jsxs("div",{children:[e.jsx(t,{value:"مدير المدرسة",className:"mb-2 block w-32"}),e.jsx(t,{value:"الاسم",className:"block text-slate-500 font-normal w-32"})]})]}),e.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-5 bg-[#1a4a5e] border-b-[4px] border-[#3eb086] print-bg-exact"})]})}function te(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w,"متابعة يومية للواجبات"]),[m,f]=s.useState([...k,"لا يوجد تحسن"]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(4).fill(!1)),[p,v]=s.useState(new Array(5).fill(!1)),S=new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date);return e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex-1 text-slate-800 flex flex-col relative print-bg-exact bg-[#e2ecea] overflow-hidden",children:[e.jsxs("div",{className:"absolute top-0 left-0 right-0 w-full -z-0 flex flex-col h-32",children:[e.jsx("div",{className:"h-3 w-full bg-gradient-to-l from-[#36c098] to-[#1a74ae] print-bg-exact"}),e.jsx("div",{className:"bg-[#103e48] rounded-b-[2rem] flex-1 w-full print-bg-exact"})]}),e.jsx("div",{className:"flex justify-center items-center pt-4 relative z-10 w-full mb-4",children:e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsxs("div",{className:"text-left flex flex-col items-end",children:[e.jsx(t,{value:"وزارة التعليم",className:"text-white text-2xl font-black block"}),e.jsx(t,{value:"اسم المدرسة",className:"text-[#36c098] font-bold text-sm mt-1"})]}),e.jsx("div",{className:"h-[75px] w-0.5 bg-gradient-to-b from-[#36c098] to-[#103e48] print-bg-exact"}),e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"75px",width:"auto",objectFit:"contain",filter:"brightness(0) invert(1)"}})]})}),e.jsx("div",{className:"w-full flex justify-center z-10 mb-4 mt-1",children:e.jsx("div",{className:"bg-[#003c4a] border border-teal-500/30 text-white rounded-lg shadow-sm px-16 py-2 font-black text-xl",children:"تقرير الخطة العلاجية الجماعية"})}),e.jsx("div",{className:"z-10 px-12 w-full flex flex-col items-center text-slate-700 font-bold mb-4",children:e.jsxs("div",{className:"flex flex-col gap-2 items-center",children:[e.jsxs("div",{className:"flex gap-2 text-xl mb-1",children:["المستهدف: ",e.jsx(t,{value:"اسم الطالب / المجموعة",className:"text-teal-600 font-black min-w-32 border-b-2 border-teal-500/30 text-center mx-1"})]}),e.jsxs("div",{className:"flex gap-2",children:["المادة: ",e.jsx(t,{value:"رياضيات",className:"text-teal-600 min-w-32"})]}),e.jsxs("div",{className:"flex gap-2",children:["الصف: ",e.jsx(t,{value:"2",className:"text-teal-600 min-w-32"})]}),e.jsxs("div",{className:"flex gap-2 text-sm text-slate-500",children:["التاريخ: ",e.jsx(t,{value:S+" هـ",className:"min-w-32"})]})]})}),e.jsxs("div",{className:"px-10 z-10 w-full grid grid-cols-2 gap-4 flex-1 pb-4",children:[e.jsxs("div",{className:"bg-white rounded-xl shadow-sm border border-slate-200 overflow-hidden break-inside-avoid flex flex-col",children:[e.jsxs("div",{className:"bg-[#2ba07f] text-white p-2 px-4 font-bold flex items-center justify-end gap-2 text-lg print-bg-exact",children:[e.jsx(t,{value:"نقاط الضعف",className:"text-right"}),e.jsx(R,{className:"w-5 h-5 text-white/90"})]}),e.jsx("div",{className:"p-3 px-4 text-slate-700",children:e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-[#2ba07f]",activeBgColor:"bg-[#2ba07f]"})})]}),e.jsxs("div",{className:"bg-white rounded-xl shadow-sm border border-slate-200 overflow-hidden break-inside-avoid flex flex-col",children:[e.jsxs("div",{className:"bg-[#00607a] text-white p-2 px-4 font-bold flex items-center justify-end gap-2 text-lg print-bg-exact",children:[e.jsx(t,{value:"طرق وأساليب العلاج",className:"text-right"}),e.jsx(F,{className:"w-5 h-5 text-white/90"})]}),e.jsx("div",{className:"p-3 px-4 text-slate-700",children:e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-[#00607a]",activeBgColor:"bg-[#00607a]"})})]}),e.jsxs("div",{className:"bg-white rounded-xl shadow-sm border border-slate-200 overflow-hidden break-inside-avoid flex flex-col",children:[e.jsxs("div",{className:"bg-[#2a7bde] text-white p-2 px-4 font-bold flex items-center justify-end gap-2 text-lg print-bg-exact",children:[e.jsx(t,{value:"الإجراءات العلاجية",className:"text-right"}),e.jsx($,{className:"w-5 h-5 text-white/90"})]}),e.jsx("div",{className:"p-3 px-4 text-slate-700",children:e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-[#2a7bde]",activeBgColor:"bg-[#2a7bde]"})})]}),e.jsxs("div",{className:"bg-white rounded-xl shadow-sm border border-slate-200 overflow-hidden break-inside-avoid flex flex-col",children:[e.jsxs("div",{className:"bg-[#565964] text-white p-2 px-4 font-bold flex items-center justify-end gap-2 text-lg print-bg-exact",children:[e.jsx(t,{value:"نتيجة التحسن (تابع)",className:"text-right"}),e.jsx(D,{className:"w-5 h-5 text-white/90"})]}),e.jsx("div",{className:"p-3 px-4 text-slate-700",children:e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-[#565964]",activeBgColor:"bg-[#565964]"})})]})]}),e.jsx("div",{className:"px-12 w-full mt-auto pb-24 z-10 break-inside-avoid bg-transparent",children:e.jsxs("div",{className:"flex justify-between items-center bg-white rounded-xl shadow-sm p-4 px-16",children:[e.jsxs("div",{className:"text-center font-bold text-slate-700 w-48",children:[e.jsx("div",{className:"mb-4 text-sm text-[#00607a]",children:"معد الخطة"}),e.jsx("div",{className:"border-t border-slate-300 pt-3",children:e.jsx(t,{value:"محمد"})})]}),e.jsxs("div",{className:"text-center font-bold text-slate-700 w-48",children:[e.jsx("div",{className:"mb-4 text-sm text-[#00607a]",children:"مدير/ة المدرسة"}),e.jsx("div",{className:"border-t border-slate-300 pt-3",children:e.jsx(t,{value:"اسم المدير"})})]})]})}),e.jsxs("div",{className:"absolute bottom-0 left-0 right-0 w-full flex flex-col h-[50px]",children:[e.jsx("div",{className:"bg-[#103e48] rounded-t-[2rem] flex-1 w-full print-bg-exact"}),e.jsx("div",{className:"h-3 w-full bg-gradient-to-l from-[#36c098] to-[#1a74ae] print-bg-exact"})]}),e.jsx("style",{children:`
152         .print-bg-exact {
153             -webkit-print-color-adjust: exact !important;
154             print-color-adjust: exact !important;
155             color-adjust: exact !important;
156         }
157      `})]})}function se(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1)),S=new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date);return e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex-1 text-slate-900 bg-white p-8 flex flex-col relative overflow-hidden",children:[e.jsxs("div",{className:"flex justify-between items-center border-b-2 border-slate-900 pb-4 mb-8",children:[e.jsxs("div",{className:"flex items-center gap-4 border-l-2 pl-4 border-slate-900",children:[e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"60px",width:"auto",objectFit:"contain",filter:"brightness(0)"}}),e.jsxs("div",{children:[e.jsx(t,{value:"وزارة التعليم",className:"font-bold block text-lg"}),e.jsx(t,{value:"اسم المدرسة",className:"text-slate-600 font-medium block"})]})]}),e.jsxs("div",{className:"text-left font-black tracking-tighter",children:[e.jsx("div",{className:"text-3xl text-slate-900 mb-1",children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field inline-block",i
157d:"rp_hdr_title4",children:"خطة علاجية (جماعية)"})}),e.jsxs("div",{className:"flex gap-2 justify-end",children:["مادة ",e.jsx(t,{value:"الرياضيات",className:"text-slate-500 border-b border-dashed border-slate-300 min-w-24 inline-block text-center"})]})]})]}),e.jsxs("div",{className:"grid grid-cols-4 gap-6 mb-8 border border-slate-200 bg-slate-50 p-4 rounded-xl",children:[e.jsxs("div",{className:"col-span-2",children:[e.jsx("div",{className:"text-xs text-slate-400 font-bold mb-1",children:"الطلاب المستهدفين/ة"}),e.jsx(t,{multiline:!0,value:`أحمد، خالد، سامي
158علي، فهد`})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-xs text-slate-400 font-bold mb-1",children:"الصف / الفصل"}),e.jsx(t,{value:"أول متوسط / أ",className:"text-lg font-bold w-full border-b border-slate-200 bg-transparent"})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-xs text-slate-400 font-bold mb-1",children:"التاريخ"}),e.jsx(t,{value:S+" هـ",className:"text-lg font-bold w-full border-b border-slate-200 bg-transparent text-left"})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-x-8 gap-y-6 flex-1 mb-8",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"font-bold text-lg border-b border-slate-300 pb-2 mb-4 flex gap-2",children:[e.jsx("div",{className:"w-2 h-2 rounded-full bg-slate-900 mt-2"}),"نقاط الضعف"]}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-slate-900",activeBgColor:"bg-slate-900"})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"font-bold text-lg border-b border-slate-300 pb-2 mb-4 flex gap-2",children:[e.jsx("div",{className:"w-2 h-2 rounded-full bg-slate-900 mt-2"}),"طرق وأساليب العلاج"]}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-slate-900",activeBgColor:"bg-slate-900"})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"font-bold text-lg border-b border-slate-300 pb-2 mb-4 flex gap-2",children:[e.jsx("div",{className:"w-2 h-2 rounded-full bg-slate-900 mt-2"}),"الإجراءات العلاجية"]}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-slate-900",activeBgColor:"bg-slate-900"})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"font-bold text-lg border-b border-slate-300 pb-2 mb-4 flex gap-2",children:[e.jsx("div",{className:"w-2 h-2 rounded-full bg-slate-900 mt-2"}),"نتيجة التحسن"]}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-slate-900",activeBgColor:"bg-slate-900"})]})]}),e.jsxs("div",{className:"mt-auto border-t border-slate-200 pt-8 flex justify-between px-16",children:[e.jsxs("div",{className:"text-center font-bold",children:["معد الخطة",e.jsx(t,{value:"..........",className:"mt-4 border-b border-slate-300 w-32 mx-auto block"})]}),e.jsxs("div",{className:"text-center font-bold",children:["مدير/ة المدرسة",e.jsx(t,{value:"..........",className:"mt-4 border-b border-slate-300 w-32 mx-auto block"})]})]})]})}function le(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex-1 bg-indigo-50/50 p-8 flex flex-col relative overflow-hidden text-slate-800",children:[e.jsxs("div",{className:"bg-indigo-600 rounded-[2rem] p-6 shadow-md text-white flex justify-between mb-8",children:[e.jsxs("div",{children:[e.jsx(t,{value:"المملكة العربية السعودية - وزارة التعليم",className:"text-indigo-200 text-xs font-bold block"}),e.jsx(t,{value:"اسم المدرسة",className:"font-black text-xl"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"font-black text-2xl tracking-tighter shadow-sm mb-1",children:"الخطة العلاجية الجماعية"}),e.jsxs("div",{className:"flex gap-2 justify-center",children:["مادة ",e.jsx(t,{value:"العلوم",className:"text-indigo-100 border-b border-indigo-400 min-w-[80px] text-center inline-block"})]})]}),e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"60px",filter:"brightness(0) invert(1)"}})]}),e.jsxs("div",{className:"flex gap-4 mb-8",children:[e.jsxs("div",{className:"flex-1 bg-white p-4 rounded-xl border border-indigo-100 border-r-[6px] border-r-indigo-400 shadow-sm relative pr-6",children:[e.jsx("div",{className:"text-xs font-bold text-indigo-400 mb-1",children:"الطلاب"}),e.jsx(t,{value:"مجموعة طلاب الصف",className:"w-full text-lg font-black"})]}),e.jsxs("div",{className:"flex-1 bg-white p-4 rounded-xl border border-indigo-100 border-r-[6px] border-r-indigo-400 shadow-sm relative pr-6",children:[e.jsx("div",{className:"text-xs font-bold text-indigo-400 mb-1",children:"الصف"}),e.jsx(t,{value:"الثالث المتوسط",className:"w-full text-lg font-black"})]}),e.jsxs("div",{className:"flex-1 bg-white p-4 rounded-xl border border-indigo-100 border-r-[6px] border-r-indigo-400 shadow-sm relative pr-6",children:[e.jsx("div",{className:"text-xs font-bold text-indigo-400 mb-1",children:"التاريخ"}),e.jsx(t,{value:"15 / 6 / 1445 هـ",className:"w-full text-lg font-black"})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4 flex-1 mb-8",children:[e.jsxs("div",{className:"bg-white p-6 rounded-2xl shadow-sm border border-slate-100",children:[e.jsx("div",{className:"bg-rose-50 text-rose-600 font-bold px-3 py-1 text-sm rounded-lg mb-4 w-max",children:"نقاط الضعف"}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-rose-600",activeBgColor:"bg-rose-500"})]}),e.jsxs("div",{className:"bg-white p-6 rounded-2xl shadow-sm border border-slate-100",children:[e.jsx("div",{className:"bg-emerald-50 text-emerald-600 font-bold px-3 py-1 text-sm rounded-lg mb-4 w-max",children:"طرق العلاج"}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-emerald-600",activeBgColor:"bg-emerald-500"})]}),e.jsxs("div",{className:"bg-white p-6 rounded-2xl shadow-sm border border-slate-100",children:[e.jsx("div",{className:"bg-blue-50 text-blue-600 font-bold px-3 py-1 text-sm rounded-lg mb-4 w-max",children:"الإجراءات المتخذة"}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-blue-600",activeBgColor:"bg-blue-500"})]}),e.jsxs("div",{className:"bg-white p-6 rounded-2xl shadow-sm border border-slate-100",children:[e.jsx("div",{className:"bg-orange-50 text-orange-600 font-bold px-3 py-1 text-sm rounded-lg mb-4 w-max",children:"أثر المعالجة"}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-orange-600",activeBgColor:"bg-orange-500"})]})]}),e.jsxs("div",{className:"mt-auto bg-white rounded-xl shadow-sm p-4 border border-slate-100 flex justify-around",children:[e.jsxs("div",{className:"text-center font-bold",children:["المعلم/ة",e.jsx(t,{value:"..........",className:"mt-2 text-indigo-400 block w-24 text-center border-b border-indigo-200"})]}),e.jsxs("div",{className:"text-center font-bold",children:["حالة الاعتماد (المدير)",e.jsx(t,{value:"..........",className:"mt-2 text-indigo-400 block w-24 text-center border-b border-indigo-200"})]})]})]})}function ae(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex-1 bg-white p-6 border-[8px] border-slate-900 flex flex-col relative text-slate-800",children:[e.jsxs("div",{className:"flex justify-between items-center border-b-[4px] border-slate-900 pb-4 mb-4",children:[e.jsxs("div",{children:[e.jsx(t,{value:"وزارة التعليم الموقرة",className:"font-bold text-slate-500 block mb-1"}),e.jsx(t,{value:"اسم المدرسة هنا",className:"font-black text-xl block"})]}),e.jsx("div",{className:"text-center border-[4px] border-slate-900 px-6 py-2 pb-3 rotate-[1deg] bg-slate-900 text-white font-black text-2xl",children:"نموذج خطة معالجة"}),e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"60px",filter:"brightness(0)"}})]}),e.jsxs("div",{className:"grid grid-cols-4 border-2 border-slate-900 divide-x divide-x-reverse divide-slate-900 mb-6 bg-slate-50",children:[e.jsxs("div",{className:"p-2 font-bold flex flex-col",children:[e.jsx("span",{className:"text-xs bg-slate-900 text-white w-max px-1",children:"الطلاب"}),e.jsx(t,{value:"طلاب فصل 2/ب",className:"text-lg w-full bg-transparent border-0 font-bold"})]}),e.jsxs("div",{className:"p-2 font-bold flex flex-col",children:[e.jsx("span",{className:"text-xs bg-slate-900 text-white w-max px-1",children:"المادة"}),e.jsx(t,{value:"لغتي الخالدة",className:"text-lg w-full bg-transparent border-0 font-bold"})]}),e.jsxs("div",{className:"p-2 font-bold flex flex-col",children:[e.jsx("span",{className:"text-xs bg-slate-900 text-white w-max px-1",children:"الصف"}),e.jsx(t,{value:"ثاني متوسط",className:"text-lg w-full bg-transparent border-0 font-bold"})]}),e.jsxs("div",{className:"p-2 font-bold flex flex-col",children:[e.jsx("span",{className:"text-xs bg-slate-900 text-white w-max px-1",children:"التاريخ"}),e.jsx(t,{value:"الخميس",className:"text-lg w-full bg-transparent border-0 font-bold"})]})]}),e.jsxs("div",{className:"border-[3px] border-slate-900 grid grid-cols-2 divide-x divide-y divide-x-reverse divide-slate-900 flex-1 mb-6 shadow-[8px_8px_0_rgba(15,23,42,1)]",children:[e.jsxs("div",{className:"p-6",children:[e.jsx("div",{className:"text-xl font-black mb-4 inline-block bg-slate-100 border border-slate-900 px-3 uppercase text-slate-900 shadow-[2px_2px_0_#0f172a]",children:"1. التشخيص"}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-slate-900",activeBgColor:"bg-slate-900"})]}),e.jsxs("div",{className:"p-6 bg-slate-50/50",children:[e.jsx("div",{className:"text-xl font-black mb-4 inline-block bg-slate-100 border border-slate-900 px-3 uppercase text-slate-900 shadow-[2px_2px_0_#0f172a]",children:"2. الأساليب"}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-slate-900",activeBgColor:"bg-slate-900"})]}),e.jsxs("div",{className:"p-6 bg-slate-50/50",children:[e.jsx("div",{className:"text-xl font-black mb-4 inline-block bg-slate-100 border border-slate-900 px-3 uppercase text-slate-900 shadow-[2px_2px_0_#0f172a]",children:"3. الإجراءات"}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-slate-900",activeBgColor:"bg-slate-900"})]}),e.jsxs("div",{className:"p-6",children:[e.jsx("div",{className:"text-xl font-black mb-4 inline-block bg-slate-100 border border-slate-900 px-3 uppercase text-slate-900 shadow-[2px_2px_0_#0f172a]",children:"4. التقويم"}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-slate-900",activeBgColor:"bg-slate-900"})]})]}),e.jsxs("div",{className:"mt-auto grid grid-cols-2 border-t-[4px] border-slate-900 pt-4 font-black",children:[e.jsxs("div",{className:"text-center",children:["المعلم : ",e.jsx(t,{value:"..........",className:"w-32 border-b-2 border-slate-400 bg-transparent"})]}),e.jsxs("div",{className:"text-center",children:["مدير المدرسة : ",e.jsx(t,{value:"..........",className:"w-32 border-b-2 border-slate-400 bg-transparent"})]})]})]})}function re(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex-1 bg-[#fffdfa] p-8 flex flex-col relative overflow-hidden text-slate-800",children:[e.jsx("div",{className:"absolute top-0 right-0 w-64 h-64 bg-rose-200 rounded-full blur-[80px] opacity-60 -z-10 translate-x-1/2 -translate-y-1/2"}),e.jsx("div",{className:"absolute bottom-0 left-0 w-80 h-80 bg-teal-200 rounded-full blur-[100px] opacity-50 -z-10 -translate-x-1/3 translate-y-1/3"}),e.jsxs("div",{className:"flex justify-between items-start mb-8 relative z-10",children:[e.jsxs("div",{className:"bg-white/60 backdrop-blur px-6 py-4 rounded-2xl shadow-sm border border-white",children:[e.jsx(t,{value:"خطة الدعم والتحسين",className:"text-3xl font-black text-slate-800 block mb-1"}),e.jsx(t,{value:"مدرسة الأجيال المبدعة",className:"text-rose-600 font-bold block"})]}),e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"65px",filter:"brightness(0.3)"}})]}),e.jsxs("div",{className:"bg-white/80 backdrop-blur-sm rounded-3xl p-6 shadow-sm border border-slate-100 flex gap-6 mb-8 relative z-10",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{className:"text-xs font-bold text-slate-400 mb-1 uppercase tracking-wider",children:"الفئة المستهدفة"}),e.jsx(t,{value:"الطلاب المتأخرين دراسياً",className:"text-xl font-bold w-full bg-transparent border-0"})]}),e.jsx("div",{className:"w-px bg-slate-200"}),e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{className:"text-xs font-bold text-slate-400 mb-1 uppercase tracking-wider",children:"المادة الدراسية"}),e.jsx(t,{value:"لغة إنجليزية",className:"text-xl font-bold w-full bg-transparent border-0"})]}),e.jsx("div",{className:"w-px bg-slate-200"}),e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{className:"text-xs font-bold text-slate-400 mb-1 uppercase tracking-wider",children:"التاريخ"}),e.jsx(t,{value:"10 رجب 1446",className:"text-xl font-bold w-full bg-transparent border-0"})]})]}),e.jsxs("div",{className:"flex-1 flex flex-col gap-6 relative z-10",children:[e.jsxs("div",{className:"flex gap-6 flex-1",children:[e.jsxs("div",{className:"flex-1 bg-white/70 backdrop-blur-md p-6 rounded-3xl border border-rose-100 shadow-[0_8px_30px_rgb(0,0,0,0.02)]",children:[e.jsxs("h3",{className:"text-xl font-bold text-rose-600 mb-4 pb-2 border-b border-rose-100 flex items-center justify-between",children:["مجالات التحسين",e.jsx("div",{className:"w-8 h-8 rounded-full bg-rose-100 flex items-center justify-center text-rose-500",children:"1"})]}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-rose-600",activeBgColor:"bg-rose-500"})]}),e.jsxs("div",{className:"flex-1 bg-white/70 backdrop-blur-md p-6 rounded-3xl border border-teal-100 shadow-[0_8px_30px_rgb(0,0,0,0.02)]",children:[e.jsxs("h3",{className:"text-xl font-bold text-teal-600 mb-4 pb-2 border-b border-teal-100 flex items-center justify-between",children:["استراتيجيات الدعم",e.jsx("div",{className:"w-8 h-8 rounded-full bg-teal-100 flex items-center justify-center text-teal-500",children:"2"})]}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-teal-600",activeBgColor:"bg-teal-500"})]})]}),e.jsxs("div",{className:"flex gap-6 flex-1 pt-4",children:[e.jsxs("div",{className:"flex-1 bg-white/70 backdrop-blur-md p-6 rounded-3xl border border-indigo-100 shadow-[0_8px_30px_rgb(0,0,0,0.02)]",children:[e.jsxs("h3",{className:"text-xl font-bold text-indigo-600 mb-4 pb-2 border-b border-indigo-100 flex items-center justify-between",children:["آلية المتابعة",e.jsx("div",{className:"w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center text-indigo-500",children:"3"})]}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-indigo-600",activeBgColor:"bg-indigo-500"})]}),e.jsxs("div",{className:"flex-1 bg-white/70 backdrop-blur-md p-6 rounded-3xl border border-amber-100 shadow-[0_8px_30px_rgb(0,0,0,0.02)]",children:[e.jsxs("h3",{className:"text-xl font-bold text-amber-600 mb-4 pb-2 border-b border-amber-100 flex items-center justify-between",children:["أثر التدخل",e.jsx("div",{className:"w-8 h-8 rounded-full bg-amber-100 flex items-center justify-center text-amber-500",children:"4"})]}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text
158-amber-600",activeBgColor:"bg-amber-500"})]})]})]}),e.jsxs("div",{className:"mt-8 flex justify-between items-end relative z-10 px-8",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"font-bold text-slate-700 mb-2",children:"معلم المادة"}),e.jsx(t,{value:"..........",className:"text-slate-400 border-b border-dashed border-slate-300 min-w-[150px] bg-transparent"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"font-bold text-slate-700 mb-2",children:"الموجه الطلابي"}),e.jsx(t,{value:"..........",className:"text-slate-400 border-b border-dashed border-slate-300 min-w-[150px] bg-transparent"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"font-bold text-slate-700 mb-2",children:"مدير المدرسة"}),e.jsx(t,{value:"..........",className:"text-slate-400 border-b border-dashed border-slate-300 min-w-[150px] bg-transparent"})]})]})]})}function de(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date),e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 p-8 print-bg-exact break-inside-avoid",children:[e.jsxs("div",{className:"flex justify-between items-center mb-8 border-b-2 border-emerald-500 pb-4",children:[e.jsxs("div",{children:[e.jsx(t,{value:"وزارة التعليم",className:"font-bold text-emerald-800 block text-sm"}),e.jsx(t,{value:"اسم المدرسة",className:"font-bold block"})]}),e.jsx("div",{className:"text-2xl font-black text-emerald-600",children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field",id:"rp_timeline_title",children:"مسار الخطة العلاجية"})}),e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"60px",filter:"brightness(0.5) sepia(1) hue-rotate(100deg)"}})]}),e.jsxs("div",{className:"flex gap-4 mb-8 bg-emerald-50 p-4 rounded-xl",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{className:"text-xs text-emerald-600 font-bold mb-1",children:"المستهدف"}),e.jsx(t,{value:"اسم الطالب",className:"font-bold text-lg w-full bg-transparent"})]}),e.jsxs("div",{className:"flex-1 border-r border-emerald-200 pr-4",children:[e.jsx("div",{className:"text-xs text-emerald-600 font-bold mb-1",children:"الصف"}),e.jsx(t,{value:"أول متوسط",className:"font-bold text-lg w-full bg-transparent"})]}),e.jsxs("div",{className:"flex-1 border-r border-emerald-200 pr-4",children:[e.jsx("div",{className:"text-xs text-emerald-600 font-bold mb-1",children:"المادة"}),e.jsx(t,{value:"المادة",className:"font-bold text-lg w-full bg-transparent"})]})]}),e.jsxs("div",{className:"relative flex-1 pr-8 border-r-4 border-emerald-200 space-y-12 pb-12",children:[e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute w-6 h-6 bg-emerald-500 rounded-full -right-[43px] top-0 border-4 border-white shadow-lg"}),e.jsx("div",{className:"font-black text-xl text-emerald-700 mb-4 bg-emerald-100 w-max px-4 py-1 rounded-full",children:"١. نقاط الضعف"}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-emerald-700 font-bold",activeBgColor:"bg-emerald-500"})]}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute w-6 h-6 bg-emerald-500 rounded-full -right-[43px] top-0 border-4 border-white shadow-lg"}),e.jsx("div",{className:"font-black text-xl text-emerald-700 mb-4 bg-emerald-100 w-max px-4 py-1 rounded-full",children:"٢. طرق العلاج"}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-emerald-700 font-bold",activeBgColor:"bg-emerald-500"})]}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute w-6 h-6 bg-emerald-500 rounded-full -right-[43px] top-0 border-4 border-white shadow-lg"}),e.jsx("div",{className:"font-black text-xl text-emerald-700 mb-4 bg-emerald-100 w-max px-4 py-1 rounded-full",children:"٣. الإجراءات"}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-emerald-700 font-bold",activeBgColor:"bg-emerald-500"})]}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute w-6 h-6 bg-emerald-500 rounded-full -right-[43px] top-0 border-4 border-white shadow-lg"}),e.jsx("div",{className:"font-black text-xl text-emerald-700 mb-4 bg-emerald-100 w-max px-4 py-1 rounded-full",children:"٤. النتيجة"}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-emerald-700 font-bold",activeBgColor:"bg-emerald-500"})]})]}),e.jsxs("div",{className:"mt-8 flex justify-around font-bold text-center border-t-2 border-emerald-100 pt-8",children:[e.jsxs("div",{children:["توقيع المعلم ",e.jsx(t,{value:"..........",className:"block text-emerald-600 mt-2 mx-auto w-32 bg-transparent"})]}),e.jsxs("div",{children:["توقيع المدير ",e.jsx(t,{value:"..........",className:"block text-emerald-600 mt-2 mx-auto w-32 bg-transparent"})]})]})]})}function ie(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date),e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 p-8 print-bg-exact break-inside-avoid",children:[e.jsxs("div",{className:"flex justify-between items-center mb-8 border-b-2 border-emerald-500 pb-4",children:[e.jsxs("div",{children:[e.jsx(t,{value:"وزارة التعليم",className:"font-bold text-emerald-800 block text-sm"}),e.jsx(t,{value:"اسم المدرسة",className:"font-bold block"})]}),e.jsx("div",{className:"text-2xl font-black text-emerald-600",children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field",id:"rp_gtimeline_title",children:"مسار الخطة العلاجية"})}),e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"60px",filter:"brightness(0.5) sepia(1) hue-rotate(100deg)"}})]}),e.jsxs("div",{className:"flex gap-4 mb-8 bg-emerald-50 p-4 rounded-xl",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{className:"text-xs text-emerald-600 font-bold mb-1",children:"الطلاب المستهدفين"}),e.jsx(t,{value:"الطلاب المستهدفين",className:"font-bold text-lg w-full bg-transparent"})]}),e.jsxs("div",{className:"flex-1 border-r border-emerald-200 pr-4",children:[e.jsx("div",{className:"text-xs text-emerald-600 font-bold mb-1",children:"الصف"}),e.jsx(t,{value:"أول متوسط",className:"font-bold text-lg w-full bg-transparent"})]}),e.jsxs("div",{className:"flex-1 border-r border-emerald-200 pr-4",children:[e.jsx("div",{className:"text-xs text-emerald-600 font-bold mb-1",children:"المادة"}),e.jsx(t,{value:"المادة",className:"font-bold text-lg w-full bg-transparent"})]})]}),e.jsxs("div",{className:"relative flex-1 pr-8 border-r-4 border-emerald-200 space-y-12 pb-12",children:[e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute w-6 h-6 bg-emerald-500 rounded-full -right-[43px] top-0 border-4 border-white shadow-lg"}),e.jsx("div",{className:"font-black text-xl text-emerald-700 mb-4 bg-emerald-100 w-max px-4 py-1 rounded-full",children:"١. نقاط الضعف"}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-emerald-700 font-bold",activeBgColor:"bg-emerald-500"})]}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute w-6 h-6 bg-emerald-500 rounded-full -right-[43px] top-0 border-4 border-white shadow-lg"}),e.jsx("div",{className:"font-black text-xl text-emerald-700 mb-4 bg-emerald-100 w-max px-4 py-1 rounded-full",children:"٢. طرق العلاج"}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-emerald-700 font-bold",activeBgColor:"bg-emerald-500"})]}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute w-6 h-6 bg-emerald-500 rounded-full -right-[43px] top-0 border-4 border-white shadow-lg"}),e.jsx("div",{className:"font-black text-xl text-emerald-700 mb-4 bg-emerald-100 w-max px-4 py-1 rounded-full",children:"٣. الإجراءات"}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-emerald-700 font-bold",activeBgColor:"bg-emerald-500"})]}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"absolute w-6 h-6 bg-emerald-500 rounded-full -right-[43px] top-0 border-4 border-white shadow-lg"}),e.jsx("div",{className:"font-black text-xl text-emerald-700 mb-4 bg-emerald-100 w-max px-4 py-1 rounded-full",children:"٤. النتيجة"}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-emerald-700 font-bold",activeBgColor:"bg-emerald-500"})]})]}),e.jsxs("div",{className:"mt-8 flex justify-around font-bold text-center border-t-2 border-emerald-100 pt-8",children:[e.jsxs("div",{children:["توقيع المعلم ",e.jsx(t,{value:"..........",className:"block text-emerald-600 mt-2 mx-auto w-32 bg-transparent"})]}),e.jsxs("div",{children:["توقيع المدير ",e.jsx(t,{value:"..........",className:"block text-emerald-600 mt-2 mx-auto w-32 bg-transparent"})]})]})]})}function ce(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1)),S=new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date);return e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 p-8 print-bg-exact break-inside-avoid",children:[e.jsx("div",{className:"absolute inset-0 bg-slate-900 pointer-events-none z-0"}),e.jsxs("div",{className:"relative z-10 flex flex-col h-full text-slate-100",children:[e.jsxs("div",{className:"flex justify-between items-center mb-6 bg-slate-800 p-4 rounded-xl border border-slate-700",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"40px",filter:"brightness(0) invert(1)"}}),e.jsxs("div",{children:[e.jsx(t,{value:"وزارة التعليم",className:"font-bold text-slate-300 block text-xs bg-transparent"}),e.jsx(t,{value:"مدرسة النجاح",className:"font-bold block bg-transparent"})]})]}),e.jsx("div",{className:"text-xl font-black text-sky-400 uppercase tracking-widest bg-slate-900 px-6 py-2 rounded-lg border border-slate-700 shadow-inner",children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field",id:"rp_dashboard_title",children:"لوحة الخطة العلاجية"})})]}),e.jsxs("div",{className:"grid grid-cols-4 gap-4 mb-6",children:[e.jsxs("div",{className:"bg-slate-800 p-4 rounded-xl border border-slate-700 flex flex-col justify-center",children:[e.jsx("div",{className:"text-slate-400 text-xs mb-1 font-bold",children:"المستهدف"}),e.jsx(t,{value:"اسم الطالب",className:"font-bold text-sky-400 text-lg w-full bg-transparent"})]}),e.jsxs("div",{className:"bg-slate-800 p-4 rounded-xl border border-slate-700 flex flex-col justify-center",children:[e.jsx("div",{className:"text-slate-400 text-xs mb-1 font-bold",children:"الصف"}),e.jsx(t,{value:"الثاني متوسط",className:"font-bold text-sky-400 text-lg w-full bg-transparent"})]}),e.jsxs("div",{className:"bg-slate-800 p-4 rounded-xl border border-slate-700 flex flex-col justify-center",children:[e.jsx("div",{className:"text-slate-400 text-xs mb-1 font-bold",children:"المادة"}),e.jsx(t,{value:"رياضيات",className:"font-bold text-sky-400 text-lg w-full bg-transparent"})]}),e.jsxs("div",{className:"bg-slate-800 p-4 rounded-xl border border-slate-700 flex flex-col justify-center",children:[e.jsx("div",{className:"text-slate-400 text-xs mb-1 font-bold",children:"التاريخ"}),e.jsx(t,{value:S,className:"font-bold text-sky-400 text-lg w-full bg-transparent"})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4 flex-1",children:[e.jsxs("div",{className:"bg-slate-800 p-6 rounded-xl border border-slate-700 shadow-xl flex flex-col",children:[e.jsxs("div",{className:"text-rose-400 font-bold mb-4 flex items-center gap-2 border-b border-slate-700 pb-2",children:[e.jsx("div",{className:"w-3 h-3 rounded-full bg-rose-400 animate-pulse"})," نقاط الضعف"]}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-rose-400",activeBgColor:"bg-rose-500"})]}),e.jsxs("div",{className:"bg-slate-800 p-6 rounded-xl border border-slate-700 shadow-xl flex flex-col",children:[e.jsxs("div",{className:"text-emerald-400 font-bold mb-4 flex items-center gap-2 border-b border-slate-700 pb-2",children:[e.jsx("div",{className:"w-3 h-3 rounded-full bg-emerald-400"})," التدخلات العلاجية"]}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-emerald-400",activeBgColor:"bg-emerald-500"})]}),e.jsxs("div",{className:"bg-slate-800 p-6 rounded-xl border border-slate-700 shadow-xl flex flex-col",children:[e.jsxs("div",{className:"text-amber-400 font-bold mb-4 flex items-center gap-2 border-b border-slate-700 pb-2",children:[e.jsx("div",{className:"w-3 h-3 rounded-full bg-amber-400"})," الإجراءات التنفيذية"]}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-amber-400",activeBgColor:"bg-
158amber-500"})]}),e.jsxs("div",{className:"bg-slate-800 p-6 rounded-xl border border-slate-700 shadow-xl flex flex-col",children:[e.jsxs("div",{className:"text-purple-400 font-bold mb-4 flex items-center gap-2 border-b border-slate-700 pb-2",children:[e.jsx("div",{className:"w-3 h-3 rounded-full bg-purple-400"})," نتائج التحسن"]}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-purple-400",activeBgColor:"bg-purple-500"})]})]}),e.jsxs("div",{className:"flex justify-between mt-6 text-sm text-slate-400 font-bold border-t border-slate-700 pt-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:["توقيع المعلم: ",e.jsx(t,{value:"..........",className:"text-slate-300 bg-transparent w-32"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:["توقيع المدير: ",e.jsx(t,{value:"..........",className:"text-slate-300 bg-transparent w-32"})]})]})]})]})}function oe(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1)),S=new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date);return e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 p-8 print-bg-exact break-inside-avoid",children:[e.jsx("div",{className:"absolute inset-0 bg-slate-900 pointer-events-none z-0"}),e.jsxs("div",{className:"relative z-10 flex flex-col h-full text-slate-100",children:[e.jsxs("div",{className:"flex justify-between items-center mb-6 bg-slate-800 p-4 rounded-xl border border-slate-700",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"40px",filter:"brightness(0) invert(1)"}}),e.jsxs("div",{children:[e.jsx(t,{value:"وزارة التعليم",className:"font-bold text-slate-300 block text-xs bg-transparent"}),e.jsx(t,{value:"مدرسة النجاح",className:"font-bold block bg-transparent"})]})]}),e.jsx("div",{className:"text-xl font-black text-sky-400 uppercase tracking-widest bg-slate-900 px-6 py-2 rounded-lg border border-slate-700 shadow-inner",children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field",id:"rp_gdashboard_title",children:"لوحة الخطة العلاجية"})})]}),e.jsxs("div",{className:"grid grid-cols-4 gap-4 mb-6",children:[e.jsxs("div",{className:"bg-slate-800 p-4 rounded-xl border border-slate-700 flex flex-col justify-center",children:[e.jsx("div",{className:"text-slate-400 text-xs mb-1 font-bold",children:"الطلاب المستهدفين"}),e.jsx(t,{value:"الطلاب المستهدفين",className:"font-bold text-sky-400 text-lg w-full bg-transparent"})]}),e.jsxs("div",{className:"bg-slate-800 p-4 rounded-xl border border-slate-700 flex flex-col justify-center",children:[e.jsx("div",{className:"text-slate-400 text-xs mb-1 font-bold",children:"الصف"}),e.jsx(t,{value:"الثاني متوسط",className:"font-bold text-sky-400 text-lg w-full bg-transparent"})]}),e.jsxs("div",{className:"bg-slate-800 p-4 rounded-xl border border-slate-700 flex flex-col justify-center",children:[e.jsx("div",{className:"text-slate-400 text-xs mb-1 font-bold",children:"المادة"}),e.jsx(t,{value:"رياضيات",className:"font-bold text-sky-400 text-lg w-full bg-transparent"})]}),e.jsxs("div",{className:"bg-slate-800 p-4 rounded-xl border border-slate-700 flex flex-col justify-center",children:[e.jsx("div",{className:"text-slate-400 text-xs mb-1 font-bold",children:"التاريخ"}),e.jsx(t,{value:S,className:"font-bold text-sky-400 text-lg w-full bg-transparent"})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4 flex-1",children:[e.jsxs("div",{className:"bg-slate-800 p-6 rounded-xl border border-slate-700 shadow-xl flex flex-col",children:[e.jsxs("div",{className:"text-rose-400 font-bold mb-4 flex items-center gap-2 border-b border-slate-700 pb-2",children:[e.jsx("div",{className:"w-3 h-3 rounded-full bg-rose-400 animate-pulse"})," نقاط الضعف"]}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-rose-400",activeBgColor:"bg-rose-500"})]}),e.jsxs("div",{className:"bg-slate-800 p-6 rounded-xl border border-slate-700 shadow-xl flex flex-col",children:[e.jsxs("div",{className:"text-emerald-400 font-bold mb-4 flex items-center gap-2 border-b border-slate-700 pb-2",children:[e.jsx("div",{className:"w-3 h-3 rounded-full bg-emerald-400"})," التدخلات العلاجية"]}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-emerald-400",activeBgColor:"bg-emerald-500"})]}),e.jsxs("div",{className:"bg-slate-800 p-6 rounded-xl border border-slate-700 shadow-xl flex flex-col",children:[e.jsxs("div",{className:"text-amber-400 font-bold mb-4 flex items-center gap-2 border-b border-slate-700 pb-2",children:[e.jsx("div",{className:"w-3 h-3 rounded-full bg-amber-400"})," الإجراءات التنفيذية"]}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-amber-400",activeBgColor:"bg-
158amber-500"})]}),e.jsxs("div",{className:"bg-slate-800 p-6 rounded-xl border border-slate-700 shadow-xl flex flex-col",children:[e.jsxs("div",{className:"text-purple-400 font-bold mb-4 flex items-center gap-2 border-b border-slate-700 pb-2",children:[e.jsx("div",{className:"w-3 h-3 rounded-full bg-purple-400"})," نتائج التحسن"]}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-purple-400",activeBgColor:"bg-purple-500"})]})]}),e.jsxs("div",{className:"flex justify-between mt-6 text-sm text-slate-400 font-bold border-t border-slate-700 pt-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:["توقيع المعلم: ",e.jsx(t,{value:"..........",className:"text-slate-300 bg-transparent w-32"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:["توقيع المدير: ",e.jsx(t,{value:"..........",className:"text-slate-300 bg-transparent w-32"})]})]})]})]})}function ne(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date),e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 p-8 print-bg-exact break-inside-avoid",children:[e.jsxs("div",{className:"flex justify-between items-center mb-10",children:[e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"70px",filter:"drop-shadow(0 4px 6px rgba(0,0,0,0.1))"}}),e.jsxs("div",{className:"text-center flex-1",children:[e.jsx("h1",{className:"text-4xl font-black text-purple-900 drop-shadow-sm mb-2",children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field",id:"rp_infographic_title",children:"خطة التحسين العلاجي"})}),e.jsxs("div",{className:"flex justify-center gap-6 text-purple-700 font-bold text-lg",children:[e.jsx(t,{value:"اسم الطالب",className:"border-b-2 border-purple-200 text-center bg-transparent"}),e.jsx("span",{children:"•"}),e.jsx(t,{value:"الصف الأول",className:"border-b-2 border-purple-200 text-center bg-transparent"}),e.jsx("span",{children:"•"}),e.jsx(t,{value:"مادة الفيزياء",className:"border-b-2 border-purple-200 text-center bg-transparent"})]})]})]}),e.jsxs("div",{className:"flex flex-col gap-8 flex-1",children:[e.jsxs("div",{className:"flex gap-8 items-stretch",children:[e.jsxs("div",{className:"flex-[2] bg-fuchsia-50 rounded-[3rem] p-8 shadow-sm relative border border-fuchsia-100",children:[e.jsx("div",{className:"absolute -top-6 -right-6 w-16 h-16 bg-fuchsia-600 text-white rounded-full flex items-center justify-center text-3xl font-black shadow-lg",children:"1"}),e.jsxs("h2",{className:"text-2xl font-bold text-fuchsia-800 mb-6 flex items-center gap-3",children:[e.jsx("div",{className:"w-2 h-8 bg-fuchsia-500 rounded-full"}),"تشخيص الحالة (نقاط الضعف)"]}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-fuchsia-900 font-bold",activeBgColor:"bg-fuchsia-600"})]}),e.jsx("div",{className:"flex-1 flex items-center justify-center",children:e.jsx("div",{className:"w-16 h-16 rounded-full border-4 border-dashed border-purple-300 relative text-purple-300 flex items-center justify-center",children:e.jsx("svg",{className:"w-8 h-8",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M19 14l-7 7m0 0l-7-7m7 7V3"})})})})]}),e.jsxs("div",{className:"flex gap-8 items-stretch",children:[e.jsx("div",{className:"flex-1 flex items-center justify-center",children:e.jsx("div",{className:"w-16 h-16 rounded-full border-4 border-dashed border-indigo-300 relative text-indigo-300 flex items-center justify-center",children:e.jsx("svg",{className:"w-8 h-8",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 10l7-7m0 0l7 7m-7-7v18"})})})}),e.jsxs("div",{className:"flex-[2] bg-indigo-50 rounded-[3rem] p-8 shadow-sm relative border border-indigo-100",children:[e.jsx("div",{className:"absolute -top-6 -left-6 w-16 h-16 bg-indigo-600 text-white rounded-full flex items-center justify-center text-3xl font-black shadow-lg",children:"2"}
158),e.jsxs("h2",{className:"text-2xl font-bold text-indigo-800 mb-6 flex items-center gap-3",children:[e.jsx("div",{className:"w-2 h-8 bg-indigo-500 rounded-full"}),"التطبيقات وطرق العلاج"]}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-indigo-900 font-bold",activeBgColor:"bg-indigo-600"})]})]}),e.jsxs("div",{className:"flex gap-8 items-stretch",children:[e.jsxs("div",{className:"flex-1 bg-sky-50 rounded-[2rem] p-6 shadow-sm border border-sky-100 relative",children:[e.jsx("div",{className:"absolute -top-4 -right-4 w-10 h-10 bg-sky-600 text-white rounded-full flex items-center justify-center text-xl font-black shadow-md",children:"3"}),e.jsx("h2",{className:"text-xl font-bold text-sky-800 mb-4 mt-2",children:"الإجراءات المتخذة"}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-sky-900 font-bold",activeBgColor:"bg-sky-600"})]}),e.jsxs("div",{className:"flex-1 bg-teal-50 rounded-[2rem] p-6 shadow-sm border border-teal-100 relative",children:[e.jsx("div",{className:"absolute -top-4 -right-4 w-10 h-10 bg-teal-600 text-white rounded-full flex items-center justify-center text-xl font-black shadow-md",children:"4"}),e.jsx("h2",{className:"text-xl font-bold text-teal-800 mb-4 mt-2",children:"النتائج والتحسن"}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-teal-900 font-bold",activeBgColor:"bg-teal-600"})]})]})]}),e.jsxs("div",{className:"mt-6 flex justify-between px-10 text-lg font-bold text-purple-800 border-t-2 border-purple-100 pt-6",children:[e.jsxs("div",{className:"flex items-center gap-2",children:["المعلم: ",e.jsx(t,{value:"..........",className:"text-purple-600 bg-transparent w-40"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:["المدير: ",e.jsx(t,{value:"..........",className:"text-purple-600 bg-transparent w-40"})]})]})]})}function xe(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date),e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 p-8 print-bg-exact break-inside-avoid",children:[e.jsxs("div",{className:"flex justify-between items-center mb-10",children:[e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"70px",filter:"drop-shadow(0 4px 6px rgba(0,0,0,0.1))"}}),e.jsxs("div",{className:"text-center flex-1",children:[e.jsx("h1",{className:"text-4xl font-black text-purple-900 drop-shadow-sm mb-2",children:"خطة التحسين العلاجي"}),e.jsxs("div",{className:"flex justify-center gap-6 text-purple-700 font-bold text-lg",children:[e.jsx(t,{value:"الطلاب المستهدفين",className:"border-b-2 border-purple-200 text-center bg-transparent"}),e.jsx("span",{children:"•"}),e.jsx(t,{value:"المستهدفين",className:"border-b-2 border-purple-200 text-center bg-transparent"}),e.jsx("span",{children:"•"}),e.jsx(t,{value:"مادة الفيزياء",className:"border-b-2 border-purple-200 text-center bg-transparent"})]})]})]}),e.jsxs("div",{className:"flex flex-col gap-8 flex-1",children:[e.jsxs("div",{className:"flex gap-8 items-stretch",children:[e.jsxs("div",{className:"flex-[2] bg-fuchsia-50 rounded-[3rem] p-8 shadow-sm relative border border-fuchsia-100",children:[e.jsx("div",{className:"absolute -top-6 -right-6 w-16 h-16 bg-fuchsia-600 text-white rounded-full flex items-center justify-center text-3xl font-black shadow-lg",children:"1"}),e.jsxs("h2",{className:"text-2xl font-bold text-fuchsia-800 mb-6 flex items-center gap-3",children:[e.jsx("div",{className:"w-2 h-8 bg-fuchsia-500 rounded-full"}),"تشخيص الحالة (نقاط الضعف)"]}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-fuchsia-900 font-bold",activeBgColor:"bg-fuchsia-600"})]}),e.jsx("div",{className:"flex-1 flex items-center justify-center",children:e.jsx("div",{className:"w-16 h-16 rounded-full border-4 border-dashed border-purple-300 relative text-purple-300 flex items-center justify-center",children:e.jsx("svg",{className:"w-8 h-8",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M19 14l-7 7m0 0l-7-7m7 7V3"})})})})]}),e.jsxs("div",{className:"flex gap-8 items-stretch",children:[e.jsx("div",{className:"flex-1 flex items-center justify-center",children:e.jsx("div",{className:"w-16 h-16 rounded-full border-4 border-dashed border-indigo-300 relative text-indigo-300 flex items-center justify-center",children:e.jsx("svg",{className:"w-8 h-8",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 10l7-7m0 0l7 7m-7-7v18"})})})}),e.jsxs("div",{className:"flex-[2] bg-indigo-50 rounded-[3rem] p-8 shadow-sm relative border border-indigo-100",children:[e.jsx("div",{className:"absolute -top-6 -left-6 w-16 h-16 bg-indigo-600 text-white rounded-full flex items-center justify-center text-3xl font-black shadow-lg",children:"2"}
158),e.jsxs("h2",{className:"text-2xl font-bold text-indigo-800 mb-6 flex items-center gap-3",children:[e.jsx("div",{className:"w-2 h-8 bg-indigo-500 rounded-full"}),"التطبيقات وطرق العلاج"]}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-indigo-900 font-bold",activeBgColor:"bg-indigo-600"})]})]}),e.jsxs("div",{className:"flex gap-8 items-stretch",children:[e.jsxs("div",{className:"flex-1 bg-sky-50 rounded-[2rem] p-6 shadow-sm border border-sky-100 relative",children:[e.jsx("div",{className:"absolute -top-4 -right-4 w-10 h-10 bg-sky-600 text-white rounded-full flex items-center justify-center text-xl font-black shadow-md",children:"3"}),e.jsx("h2",{className:"text-xl font-bold text-sky-800 mb-4 mt-2",children:"الإجراءات المتخذة"}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-sky-900 font-bold",activeBgColor:"bg-sky-600"})]}),e.jsxs("div",{className:"flex-1 bg-teal-50 rounded-[2rem] p-6 shadow-sm border border-teal-100 relative",children:[e.jsx("div",{className:"absolute -top-4 -right-4 w-10 h-10 bg-teal-600 text-white rounded-full flex items-center justify-center text-xl font-black shadow-md",children:"4"}),e.jsx("h2",{className:"text-xl font-bold text-teal-800 mb-4 mt-2",children:"النتائج والتحسن"}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-teal-900 font-bold",activeBgColor:"bg-teal-600"})]})]})]}),e.jsxs("div",{className:"mt-6 flex justify-between px-10 text-lg font-bold text-purple-800 border-t-2 border-purple-100 pt-6",children:[e.jsxs("div",{className:"flex items-center gap-2",children:["المعلم: ",e.jsx(t,{value:"..........",className:"text-purple-600 bg-transparent w-40"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:["المدير: ",e.jsx(t,{value:"..........",className:"text-purple-600 bg-transparent w-40"})]})]})]})}function me(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date),e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 p-8 print-bg-exact break-inside-avoid",children:[e.jsx("div",{className:"absolute inset-0 border-[8px] border-double border-stone-800 m-4 pointer-events-none z-0"}),e.jsxs("div",{className:"bg-[#fdfbf7] p-8 flex flex-col h-full z-10",children:[e.jsxs("div",{className:"flex justify-between items-center border-b border-stone-300 pb-6 mb-8 mt-2 relative z-10",children:[e.jsxs("div",{className:"text-stone-800",children:[e.jsx(t,{value:"المملكة العربية السعودية",className:"block text-sm bg-transparent"}),e.jsx(t,{value:"وزارة التعليم",className:"block font-bold bg-transparent"})]}),e.jsx("h1",{className:"text-4xl font-serif font-black tracking-widest text-stone-900",children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field",id:"rp_elegant_title",children:"الخطة العلاجية"})}),e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"60px",filter:"grayscale(1) contrast(1.2)"}})]}),e.jsxs("div",{className:"flex justify-center gap-12 mb-10 text-lg border-y border-stone-200 py-4 font-serif relative z-10 bg-stone-50",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-stone-500 mr-2",children:"المستهدف:"})," ",e.jsx(t,{value:"اسم الطالب",className:"font-bold bg-transparent"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-stone-500 mr-2",children:"الصف:"})," ",e.jsx(t,{value:"الصف",className:"font-bold bg-transparent"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-stone-500 mr-2",children:"المادة:"})," ",e.jsx(t,{value:"المادة",className:"font-bold bg-transparent"})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-x-16 gap-y-12 flex-1 relative z-10",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-2xl font-serif text-stone-800 border-b border-stone-400 inline-block mb-6 pb-1",children:"نقاط الضعف"}),e.jsx("div",{className:"text-stone-700",children:e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-stone-900 font-bold",activeBgColor:"bg-stone-800"})})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-2xl font-serif text-stone-800 border-b border-stone-400 inline-block mb-6 pb-1",children:"طرق الإرشاد"}),e.jsx("div",{className:"text-stone-700",children:e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-stone-900 font-bold",activeBgColor:"bg-stone-800"})})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-2xl font-serif text-stone-800 border-b border-stone-400 inline-block mb-6 pb-1",children:"الإجراءات المتخذة"}),e.jsx("div",{className:"text-stone-700",children:e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-stone-900 font-bold",activeBgColor:"bg-stone-800"})})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-2xl font-serif text-stone-800 border-b border-stone-400 inline-block mb-6 pb-1",children:"مدى التحسن"}),e.jsx("div",{className:"text-stone-700",children:e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-stone-900 font-bold",activeBgColor:"bg-stone-800"})})]})]}),e.jsxs("div",{className:"mt-10 pt-8 border-t border-stone-300 flex justify-between font-serif text-lg text-stone-800 px-8 relative z-10",children:[e.jsxs("div",{className:"flex items-center gap-2",children:["المعلم المكلّف / ",e.jsx(t,{value:"..........",className:"text-stone-600 bg-transparent w-40"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:["يُعتمد، مدير المدرسة / ",e.jsx(t,{value:"..........",className:"text-stone-600 bg-transparent w-40"})]})]})]})]})}function be(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date),e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 p-8 print-bg-exact break-inside-avoid",children:[e.jsx("div",{className:"absolute inset-0 border-[8px] border-double border-stone-800 m-4 pointer-events-none z-0"}),e.jsxs("div",{className:"bg-[#fdfbf7] p-8 flex flex-col h-full z-10",children:[e.jsxs("div",{className:"flex justify-between items-center border-b border-stone-300 pb-6 mb-8 mt-2 relative z-10",children:[e.jsxs("div",{className:"text-stone-800",children:[e.jsx(t,{value:"المملكة العربية السعودية",className:"block text-sm bg-transparent"}),e.jsx(t,{value:"وزارة التعليم",className:"block font-bold bg-transparent"})]}),e.jsx("h1",{className:"text-4xl font-serif font-black tracking-widest text-stone-900",children:"الخطة العلاجية"}),e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"60px",filter:"grayscale(1) contrast(1.2)"}})]}),e.jsxs("div",{className:"flex justify-center gap-12 mb-10 text-lg border-y border-stone-200 py-4 font-serif relative z-10 bg-stone-50",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-stone-500 mr-2",children:"الطلاب المستهدفين:"})," ",e.jsx(t,{value:"الطلاب المستهدفين",className:"font-bold bg-transparent"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-stone-500 mr-2",children:"الصف:"})," ",e.jsx(t,{value:"الصف",className:"font-bold bg-transparent"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-stone-500 mr-2",children:"المادة:"})," ",e.jsx(t,{value:"المادة",className:"font-bold bg-transparent"})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-x-16 gap-y-12 flex-1 relative z-10",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-2xl font-serif text-stone-800 border-b border-stone-400 inline-block mb-6 pb-1",children:"نقاط الضعف"}),e.jsx("div",{className:"text-stone-700",children:e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-stone-900 font-bold",activeBgColor:"bg-stone-800"})})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-2xl font-serif text-stone-800 border-b border-stone-400 inline-block mb-6 pb-1",children:"طرق الإرشاد"}),e.jsx("div",{className:"text-stone-700",children:e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-stone-900 font-bold",activeBgColor:"bg-stone-800"})})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-2xl font-serif text-stone-800 border-b border-stone-400 inline-block mb-6 pb-1",children:"الإجراءات المتخذة"}),e.jsx("div",{className:"text-stone-700",children:e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-stone-900 font-bold",activeBgColor:"bg-stone-800"})})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-2xl font-serif text-stone-800 border-b border-stone-400 inline-block mb-6 pb-1",children:"مدى التحسن"}),e.jsx("div",{className:"text-stone-700",children:e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-stone-900 font-bold",activeBgColor:"bg-stone-800"})})]})]}),e.jsxs("div",{className:"mt-10 pt-8 border-t border-stone-300 flex justify-between font-serif text-lg text-stone-800 px-8 relative z-10",children:[e.jsxs("div",{className:"flex items-center gap-2",children:["المعلم المكلّف / ",e.jsx(t,{value:"..........",className:"text-stone-600 bg-transparent w-40"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:["يُعتمد، مدير المدرسة / ",e.jsx(t,{value:"..........",className:"text-stone-600 bg-transparent w-40"})]})]})]})]})}function he(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date),e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 p-8 print-bg-exact break-inside-avoid",children:[e.jsx("div",{className:"absolute inset-0 bg-white z-0"}),e.jsxs("div",{className:"flex flex-col h-full bg-white text-slate-900 relative z-10 -m-8",children:[e.jsxs("div",{className:"bg-red-600 text-white p-10 pb-16 flex justify-between items-end",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-7xl font-black mb-4",children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field",id:"rp_focus_title1",children:"خطة"})}),e.jsx("h1",{className:"text-6xl font-black text-rose-200",children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field",id:"rp_focus_title2",children:"علاجية"})})]}),e.jsxs("div",{className:"flex flex-col items-end gap-3 text-xl font-bold",children:[e.jsx(t,{value:"مدرسة المجد",className:"border-b border-rose-400 bg-transparent pb-1"}),e.jsx("div",{className:"flex gap-4",children:e.jsx(t,{value:"اسم الطالب",className:"bg-white text-red-600 px-4 py-1 rounded w-auto"})})]})]}),e.jsxs("div",{className:"flex-1 grid grid-cols-2 p-10 gap-x-20 gap-y-12 -mt-10 bg-white max-w-4xl w-[90%] mx-auto rounded-3xl shadow-[0_20px_50px_-12px_rgba(0,0,0,0.1)] z-10 border border-slate-100 mb-8",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"w-12 h-12 bg-slate-900 text-white rounded-xl flex items-center justify-center font-black text-2xl",children:"١"}),e.jsx("h2",{className:"text-2xl font-black",children:"المشكلة"})]}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-slate-900 font-bold text-lg",activeBgColor:"bg-slate-900"})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"w-12 h-12 bg-red-600 text-white rounded-xl flex items-center justify-center font-black text-2xl",children:"٢"}),e.jsx("h2",{className:"text-2xl font-black text-red-600",children:"الحل"})]}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-red-700 font-bold text-lg",activeBgColor:"bg-red-600"})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"w-12 h-12 bg-rose-500 text-white rounded-xl flex items-center justify-center font-black text-2xl",children:"٣"}),e.jsx("h2",{className:"text-2xl font-black text-rose-500",children:"التنفيذ"})]}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-rose-600 font-bold text-lg",activeBgColor:"bg-rose-500"})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"w-12 h-12 bg-emerald-500 text-white rounded-xl flex items-center justify-center font-black text-2xl",children:"٤"}),e.jsx("h2",{className:"text-2xl font-black text-emerald-600",children:"النتيجة"})]}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-emerald-700 font-bold text-lg",activeBgColor:"bg-emerald-500"})]})]}),e.jsxs("div",{className:"px-16 flex justify-between pb-8 font-black text-xl text-slate-300",children:[e.jsxs("div",{className:"flex items-center gap-2",children:["المعلم ",e.jsx(t,{value:"_____",className:"text-slate-900 w-40 bg-transparent"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:["الاعتماد ",e.jsx(t,{value:"_____",className:"text-slate-900 w-40 bg-transparent"})]})]})]})]})}function fe(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date),e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 p-8 print-bg-exact break-inside-avoid",children:[e.jsx("div",{className:"absolute inset-0 bg-white z-0"}),e.jsxs("div",{className:"flex flex-col h-full bg-white text-slate-900 relative z-10 -m-8",children:[e.jsxs("div",{className:"bg-red-600 text-white p-10 pb-16 flex justify-between items-end",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-7xl font-black mb-4",children:"خطة"}),e.jsx("h1",{className:"text-6xl font-black text-rose-200",children:"علاجية"})]}),e.jsxs("div",{className:"flex flex-col items-end gap-3 text-xl font-bold",children:[e.jsx(t,{value:"مدرسة المجد",className:"border-b border-rose-400 bg-transparent pb-1"}),e.jsx("div",{className:"flex gap-4",children:e.jsx(t,{value:"الطلاب المستهدفين",className:"bg-white text-red-600 px-4 py-1 rounded w-auto"})})]})]}),e.jsxs("div",{className:"flex-1 grid grid-cols-2 p-10 gap-x-20 gap-y-12 -mt-10 bg-white max-w-4xl w-[90%] mx-auto rounded-3xl shadow-[0_20px_50px_-12px_rgba(0,0,0,0.1)] z-10 border border-slate-100 mb-8",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"w-12 h-12 bg-slate-900 text-white rounded-xl flex items-center justify-center font-black text-2xl",children:"١"}),e.jsx("h2",{className:"text-2xl font-black",children:"المشكلة"})]}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-slate-900 font-bold text-lg",activeBgColor:"bg
158-slate-900"})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"w-12 h-12 bg-red-600 text-white rounded-xl flex items-center justify-center font-black text-2xl",children:"٢"}),e.jsx("h2",{className:"text-2xl font-black text-red-600",children:"الحل"})]}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-red-700 font-bold text-lg",activeBgColor:"bg-red-600"})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"w-12 h-12 bg-rose-500 text-white rounded-xl flex items-center justify-center font-black text-2xl",children:"٣"}),e.jsx("h2",{className:"text-2xl font-black text-rose-500",children:"التنفيذ"})]}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-rose-600 font-bold text-lg",activeBgColor:"bg-rose-500"})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"w-12 h-12 bg-emerald-500 text-white rounded-xl flex items-center justify-center font-black text-2xl",children:"٤"}),e.jsx("h2",{className:"text-2xl font-black text-emerald-600",children:"النتيجة"})]}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-emerald-700 font-bold text-lg",activeBgColor:"bg-emerald-500"})]})]}),e.jsxs("div",{className:"px-16 flex justify-between pb-8 font-black text-xl text-slate-300",children:[e.jsxs("div",{className:"flex items-center gap-2",children:["المعلم ",e.jsx(t,{value:"_____",className:"text-slate-900 w-40 bg-transparent"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:["الاعتماد ",e.jsx(t,{value:"_____",className:"text-slate-900 w-40 bg-transparent"})]})]})]})]})}function ue(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date),e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 p-8 print-bg-exact break-inside-avoid",children:[e.jsx("div",{className:"bg-yellow-50 absolute inset-0 -z-0"}),e.jsxs("div",{className:"bg-yellow-50 h-full w-full rounded-[4rem] border-8 border-yellow-300 p-8 flex flex-col relative z-10 m-0",children:[e.jsx("div",{className:"absolute top-4 right-8 bg-pink-400 w-24 h-24 rounded-full blur-2xl opacity-40 mix-blend-multiply"}),e.jsx("div",{className:"absolute top-20 left-12 bg-blue-400 w-32 h-32 rounded-full blur-3xl op
158acity-30 mix-blend-multiply"}),e.jsxs("div",{className:"flex justify-between items-center bg-white p-6 rounded-[2rem] shadow-sm border border-slate-100 z-10 mb-8",children:[e.jsx("h1",{className:"text-4xl font-black text-pink-500 drop-shadow-sm px-4",children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field",id:"rp_playful_title",children:"الخطة العلاجية ✨"})}),e.jsxs("div",{className:"flex gap-4",children:[e.jsx("div",{className:"bg-blue-100 px-4 py-2 rounded-xl text-blue-700 font-bold flex items-center",children:e.jsx(t,{value:"المستهدف",className:"bg-transparent"})}),e.jsx("div",{className:"bg-emerald-100 px-4 py-2 rounded-xl text-emerald-700 font-bold flex items-center",children:e.jsx(t,{value:"الصف الثاني",className:"bg-transparent"})}),e.jsx("div",{className:"bg-purple-100 px-4 py-2 rounded-xl text-purple-700 font-bold flex items-center",children:e.jsx(t,{value:"مادة لغتي",className:"bg-transparent"})})]})]}),e.jsxs("div",{className:"flex-1 grid grid-cols-2 gap-8 z-10",children:[e.jsxs("div",{className:"bg-white p-8 rounded-[3rem] shadow-sm border border-slate-100 transition-transform",children:[e.jsx("h3",{className:"text-xl font-bold bg-pink-100 text-pink-600 inline-block px-4 py-2 rounded-2xl mb-6",children:"🎯 أين نحتاج المساعدة؟"}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-pink-600 font-bold",activeBgColor:"bg-pink-400"})]}),e.jsxs("div",{className:"bg-white p-8 rounded-[3rem] shadow-sm border border-slate-100 transition-transform",children:[e.jsx("h3",{className:"text-xl font-bold bg-blue-100 text-blue-600 inline-block px-4 py-2 rounded-2xl mb-6",children:"💡 كيف سننجح؟"}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-blue-600 font-bold",activeBgColor:"bg-blue-400"})]}),e.jsxs("div",{className:"bg-white p-8 rounded-[3rem] shadow-sm border border-slate-100 transition-transform",children:[e.jsx("h3",{className:"text-xl font-bold bg-purple-100 text-purple-600 inline-block px-4 py-2 rounded-2xl mb-6",children:"🚀 الإجراءات العملية"}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-purple-600 font-bold",activeBgColor:"bg-purple-400"})]}),e.jsxs("div",{className:"bg-white p-8 rounded-[3rem] shadow-sm border border-slate-100 transition-transform",children:[e.jsx("h3",{className:"text-xl font-bold bg-emerald-100 text-emerald-600 inline-block px-4 py-2 rounded-2xl mb-6",children:"🏆 النتائج المذهلة"}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-emerald-600 font-bold",activeBgColor:"bg-emerald-400"})]})]}),e.jsxs("div",{className:"mt-8 bg-white p-5 rounded-3xl border border-yellow-200 flex justify-around gap-12 font-bold text-slate-500 z-10 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-2",children:["المعلم البطل: ",e.jsx(t,{value:"..........",className:"text-slate-800 text-lg w-32 bg-transparent"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:["المدير: ",e.jsx(t,{value:"..........",className:"text-slate-800 text-lg w-32 bg-transparent"})]})]})]})]})}function pe(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date),e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 p-8 print-bg-exact break-inside-avoid",children:[e.jsx("div",{className:"bg-yellow-50 absolute inset-0 -z-0"}),e.jsxs("div",{className:"bg-yellow-50 h-full w-full rounded-[4rem] border-8 border-yellow-300 p-8 flex flex-col relative z-10 m-0",children:[e.jsx("div",{className:"absolute top-4 right-8 bg-pink-400 w-24 h-24 rounded-full blur-2xl opacity-40 mix-blend-multiply"}),e.jsx("div",{className:"absolute top-20 left-12 bg-blue-400 w-32 h-32 rounded-full blur-3xl op
158acity-30 mix-blend-multiply"}),e.jsxs("div",{className:"flex justify-between items-center bg-white p-6 rounded-[2rem] shadow-sm border border-slate-100 z-10 mb-8",children:[e.jsx("h1",{className:"text-4xl font-black text-pink-500 drop-shadow-sm px-4",children:"الخطة العلاجية ✨"}),e.jsxs("div",{className:"flex gap-4",children:[e.jsx("div",{className:"bg-blue-100 px-4 py-2 rounded-xl text-blue-700 font-bold flex items-center",children:e.jsx(t,{multiline:!0,value:"أحمد، خالد، سامي\\nعلي، فهد",className:"bg-transparent"})}),e.jsx("div",{className:"bg-emerald-100 px-4 py-2 rounded-xl text-emerald-700 font-bold flex items-center",children:e.jsx(t,{value:"الصف الثاني",className:"bg-transparent"})}),e.jsx("div",{className:"bg-purple-100 px-4 py-2 rounded-xl text-purple-700 font-bold flex items-center",children:e.jsx(t,{value:"مادة لغتي",className:"bg-transparent"})})]})]}),e.jsxs("div",{className:"flex-1 grid grid-cols-2 gap-8 z-10",children:[e.jsxs("div",{className:"bg-white p-8 rounded-[3rem] shadow-sm border border-slate-100 transition-transform",children:[e.jsx("h3",{className:"text-xl font-bold bg-pink-100 text-pink-600 inline-block px-4 py-2 rounded-2xl mb-6",children:"🎯 أين نحتاج المساعدة؟"}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-pink-600 font-bold",activeBgColor:"bg-pink-400"})]}),e.jsxs("div",{className:"bg-white p-8 rounded-[3rem] shadow-sm border border-slate-100 transition-transform",children:[e.jsx("h3",{className:"text-xl font-bold bg-blue-100 text-blue-600 inline-block px-4 py-2 rounded-2xl mb-6",children:"💡 كيف سننجح؟"}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-blue-600 font-bold",activeBgColor:"bg-blue-400"})]}),e.jsxs("div",{className:"bg-white p-8 rounded-[3rem] shadow-sm border border-slate-100 transition-transform",children:[e.jsx("h3",{className:"text-xl font-bold bg-purple-100 text-purple-600 inline-block px-4 py-2 rounded-2xl mb-6",children:"🚀 الإجراءات العملية"}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-purple-600 font-bold",activeBgColor:"bg-purple-400"})]}),e.jsxs("div",{className:"bg-white p-8 rounded-[3rem] shadow-sm border border-slate-100 transition-transform",children:[e.jsx("h3",{className:"text-xl font-bold bg-emerald-100 text-emerald-600 inline-block px-4 py-2 rounded-2xl mb-6",children:"🏆 النتائج المذهلة"}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-emerald-600 font-bold",activeBgColor:"bg-emerald-400"})]})]}),e.jsxs("div",{className:"mt-8 bg-white p-5 rounded-3xl border border-yellow-200 flex justify-around gap-12 font-bold text-slate-500 z-10 shadow-sm",children:[e.jsxs("div",{className:"flex items-center gap-2",children:["المعلم البطل: ",e.jsx(t,{value:"..........",className:"text-slate-800 text-lg w-32 bg-transparent"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:["المدير: ",e.jsx(t,{value:"..........",className:"text-slate-800 text-lg w-32 bg-transparent"})]})]})]})]})}function ge(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1)),S=new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date);return e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 p-8 print-bg-exact break-inside-avoid",children:[e.jsx("div",{className:"border border-slate-800 p-2 h-full absolute inset-0 m-4 z-0 bg-white"}),e.jsxs("div",{className:"border border-slate-800 p-8 h-full flex flex-col bg-white relative z-10 m-6",children:[e.jsxs("div",{className:"flex justify-between items-start mb-6 border-b-2 border-slate-800 pb-6",children:[e.jsxs("div",{className:"text-center font-bold text-sm w-48 leading-relaxed",children:[e.jsx("p",{children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field inline-block",i
158d:"rp_hdr_min",children:"وزارة التعليم"})}),e.jsx("p",{children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field inline-block",id:"rp_hdr_edu",children:"الإدارة العامة للتعليم"})}),e.jsx(t,{value:"مدرسة المعرفة",className:"bg-transparent text-center"})]}),e.jsxs("div",{className:"flex flex-col items-center",children:[e.jsx("img",{src:C,alt:"وزارة",className:"h-16 mb-4 grayscale"}),e.jsx("h1",{className:"text-xl font-bold px-4",children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field inline-block",id:"rp_hdr_title1",children:"نموذج خطة علاجية أكاديمية"})})]}),e.jsxs("div",{className:"text-right font-bold text-sm w-48 leading-relaxed",children:[e.jsxs("p",{children:["تاريخ الإصدار: ",S]}),e.jsx("p",{children:"ورقة رقم: 1/1"})]})]}),e.jsx("table",{className:"w-full text-right border-collapse border border-slate-800 mb-8 text-sm",children:e.jsxs("tbody",{children:[e.jsxs("tr",{children:[e.jsx("td",{className:"border border-slate-800 p-3 font-bold bg-slate-100 w-32",children:"المستهدف:"}),e.jsx("td",{className:"border border-slate-800 p-3",children:e.jsx(t,{value:"اسم الطالب",className:"font-bold w-full bg-transparent"})}),e.jsx("td",{className:"border border-slate-800 p-3 font-bold bg-slate-100 w-32",children:"رقم القيد:"}),e.jsx("td",{className:"border border-slate-800 p-3",children:e.jsx(t,{value:"102938",className:"w-full bg-transparent"})})]}),e.jsxs("tr",{children:[e.jsx("td",{className:"border border-slate-800 p-3 font-bold bg-slate-100",children:"المقرر الدراسي:"}),e.jsx("td",{className:"border border-slate-800 p-3",children:e.jsx(t,{value:"فيزياء مقررات",className:"w-full bg-transparent"})}),e.jsx("td",{className:"border border-slate-800 p-3 font-bold bg-slate-100",children:"الشعبة / الصف:"}),e.jsx("td",{className:"border border-slate-800 p-3",children:e.jsx(t,{value:"201",className:"w-full bg-transparent"})})]})]})}),e.jsxs("div",{className:"flex-1 border border-slate-800 overflow-hidden flex flex-col",children:[e.jsxs("div",{className:"grid grid-cols-2 flex-1 divide-x divide-x-reverse divide-slate-800",children:[e.jsxs("div",{className:"p-6",children:[e.jsx("h3",{className:"font-bold bg-slate-100 inline-block px-4 py-1 border border-slate-800 text-sm mb-4",children:"أولاً: جوانب القصور العلمي"}),e.jsx("div",{className:"text-slate-900 border-none",children:e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-slate-900 font-bold",activeBgColor:"bg-slate-900"})})]}),e.jsxs("div",{className:"p-6 bg-slate-50",children:[e.jsx("h3",{className:"font-bold bg-white inline-block px-4 py-1 border border-slate-800 text-sm mb-4",children:"ثانياً: الاستراتيجيات المقترحة"}),e.jsx("div",{className:"text-slate-900 border-none",children:e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-slate-900 font-bold",activeBgColor:"bg-slate-900"})})]})]}),e.jsxs("div",{className:"grid grid-cols-2 flex-1 divide-x divide-x-reverse divide-slate-800 border-t border-slate-800",children:[e.jsxs("div",{className:"p-6 bg-slate-50",children:[e.jsx("h3",{className:"font-bold bg-white inline-block px-4 py-1 border border-slate-800 text-sm mb-4",children:"ثالثاً: الإجراءات المتخذة للتقويم"}),e.jsx("div",{className:"text-slate-900 border-none",children:e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-slate-900 font-bold",activeBgColor:"bg-slate-900"})})]}),e.jsxs("div",{className:"p-6",children:[e.jsx("h3",{className:"font-bold bg-slate-100 inline-block px-4 py-1 border border-slate-800 text-sm mb-4",children:"رابعاً: التوصيات والنتائج"}),e.jsx("div",{className:"text-slate-900 border-none",children:e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-slate-900 font-bold",activeBgColor:"bg-slate-900"})})]})]})]}),e.jsxs("div",{className:"mt-8 flex justify-between font-bold px-12 text-sm",children:[e.jsxs("div",{className:"text-center w-64 border-t-2 border-slate-800 pt-2 pb-2",children:["توقيع أستاذ المقرر",e.jsx("br",{}),e.jsx(t,{value:"...",className:"mx-auto w-24 mt-2 bg-transparent text-center"})]}),e.jsxs("div",{className:"text-center w-64 border-t-2 border-slate-800 pt-2 pb-2",children:["ختم المدرسة / المدير",e.jsx("br",{}),e.jsx(t,{value:"...",className:"mx-auto w-24 mt-2 bg-transparent text-center"})]})]})]})]})}function ve(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1)),S=new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date);return e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 p-8 print-bg-exact break-inside-avoid",children:[e.jsx("div",{className:"border border-slate-800 p-2 h-full absolute inset-0 m-4 z-0 bg-white"}),e.jsxs("div",{className:"border border-slate-800 p-8 h-full flex flex-col bg-white relative z-10 m-6",children:[e.jsxs("div",{className:"flex justify-between items-start mb-6 border-b-2 border-slate-800 pb-6",children:[e.jsxs("div",{className:"text-center font-bold text-sm w-48 leading-relaxed",children:[e.jsx("p",{children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field inline-block",i
158d:"rp_hdr_min",children:"وزارة التعليم"})}),e.jsx("p",{children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field inline-block",id:"rp_hdr_edu",children:"الإدارة العامة للتعليم"})}),e.jsx(t,{value:"مدرسة المعرفة",className:"bg-transparent text-center"})]}),e.jsxs("div",{className:"flex flex-col items-center",children:[e.jsx("img",{src:C,alt:"وزارة",className:"h-16 mb-4 grayscale"}),e.jsx("h1",{className:"text-xl font-bold px-4",children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field inline-block",id:"rp_hdr_title1",children:"نموذج خطة علاجية أكاديمية"})})]}),e.jsxs("div",{className:"text-right font-bold text-sm w-48 leading-relaxed",children:[e.jsxs("p",{children:["تاريخ الإصدار: ",S]}),e.jsx("p",{children:"ورقة رقم: 1/1"})]})]}),e.jsx("table",{className:"w-full text-right border-collapse border border-slate-800 mb-8 text-sm",children:e.jsxs("tbody",{children:[e.jsxs("tr",{children:[e.jsx("td",{className:"border border-slate-800 p-3 font-bold bg-slate-100 w-32",children:"الطلاب المستهدفين:"}),e.jsx("td",{className:"border border-slate-800 p-3",children:e.jsx(t,{value:"الطلاب المستهدفين",className:"font-bold w-full bg-transparent"})}),e.jsx("td",{className:"border border-slate-800 p-3 font-bold bg-slate-100 w-32",children:"رقم القيد:"}),e.jsx("td",{className:"border border-slate-800 p-3",children:e.jsx(t,{value:"102938",className:"w-full bg-transparent"})})]}),e.jsxs("tr",{children:[e.jsx("td",{className:"border border-slate-800 p-3 font-bold bg-slate-100",children:"المقرر الدراسي:"}),e.jsx("td",{className:"border border-slate-800 p-3",children:e.jsx(t,{value:"فيزياء مقررات",className:"w-full bg-transparent"})}),e.jsx("td",{className:"border border-slate-800 p-3 font-bold bg-slate-100",children:"الشعبة / الصف:"}),e.jsx("td",{className:"border border-slate-800 p-3",children:e.jsx(t,{value:"201",className:"w-full bg-transparent"})})]})]})}),e.jsxs("div",{className:"flex-1 border border-slate-800 overflow-hidden flex flex-col",children:[e.jsxs("div",{className:"grid grid-cols-2 flex-1 divide-x divide-x-reverse divide-slate-800",children:[e.jsxs("div",{className:"p-6",children:[e.jsx("h3",{className:"font-bold bg-slate-100 inline-block px-4 py-1 border border-slate-800 text-sm mb-4",children:"أولاً: جوانب القصور العلمي"}),e.jsx("div",{className:"text-slate-900 border-none",children:e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-slate-900 font-bold",activeBgColor:"bg-slate-900"})})]}),e.jsxs("div",{className:"p-6 bg-slate-50",children:[e.jsx("h3",{className:"font-bold bg-white inline-block px-4 py-1 border border-slate-800 text-sm mb-4",children:"ثانياً: الاستراتيجيات المقترحة"}),e.jsx("div",{className:"text-slate-900 border-none",children:e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-slate-900 font-bold",activeBgColor:"bg-slate-900"})})]})]}),e.jsxs("div",{className:"grid grid-cols-2 flex-1 divide-x divide-x-reverse divide-slate-800 border-t border-slate-800",children:[e.jsxs("div",{className:"p-6 bg-slate-50",children:[e.jsx("h3",{className:"font-bold bg-white inline-block px-4 py-1 border border-slate-800 text-sm mb-4",children:"ثالثاً: الإجراءات المتخذة للتقويم"}),e.jsx("div",{className:"text-slate-900 border-none",children:e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-slate-900 font-bold",activeBgColor:"bg-slate-900"})})]}),e.jsxs("div",{className:"p-6",children:[e.jsx("h3",{className:"font-bold bg-slate-100 inline-block px-4 py-1 border border-slate-800 text-sm mb-4",children:"رابعاً: التوصيات والنتائج"}),e.jsx("div",{className:"text-slate-900 border-none",children:e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-slate-900 font-bold",activeBgColor:"bg-slate-900"})})]})]})]}),e.jsxs("div",{className:"mt-8 flex justify-between font-bold px-12 text-sm",children:[e.jsxs("div",{className:"text-center w-64 border-t-2 border-slate-800 pt-2 pb-2",children:["توقيع أستاذ المقرر",e.jsx("br",{}),e.jsx(t,{value:"...",className:"mx-auto w-24 mt-2 bg-transparent text-center"})]}),e.jsxs("div",{className:"text-center w-64 border-t-2 border-slate-800 pt-2 pb-2",children:["ختم المدرسة / المدير",e.jsx("br",{}),e.jsx(t,{value:"...",className:"mx-auto w-24 mt-2 bg-transparent text-center"})]})]})]})]})}function je(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date),e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 p-8 print-bg-exact break-inside-avoid",children:[e.jsx("div",{className:"absolute inset-0 bg-slate-50 z-0"}),e.jsxs("div",{className:"w-full h-full relative overflow-hidden flex flex-col p-8 z-10 -m-8",children:[e.jsx("div",{className:"absolute top-[-20%] left-[-10%] w-[50%] h-[50%] bg-blue-600 opacity-90 rotate-12 origin-bottom-left -z-0"}),e.jsx("div",{className:"absolute top-[-25%] right-[-15%] w-[40%] h-[40%] bg-yellow-400 opacity-90 -rotate-12 origin-bottom-right -z-0"}),e.jsxs("div",{className:"relative z-10 p-2 h-full flex flex-col",children:[e.jsxs("div",{className:"bg-white p-8 shadow-[0_10px_30px_rgba(0,0,0,0.1)] mb-8 flex justify-between items-center relative overflow-hidden",children:[e.jsx("div",{className:"absolute right-0 top-0 w-2 h-full bg-blue-600"}),e.jsxs("div",{children:[e.jsx("h1",{className:"text-4xl font-black text-slate-800 mb-4 uppercase tracking-tight",children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field inline-block",i
158d:"rp_hdr_title6",children:"خطة علاجية"})}),e.jsxs("div",{className:"flex gap-4 font-bold",children:[e.jsx("div",{className:"bg-slate-50 px-4 py-2 border-r-4 border-blue-600",children:e.jsx(t,{value:"اسم الطالب",className:"w-full bg-transparent"})}),e.jsx("div",{className:"bg-slate-50 px-4 py-2 border-r-4 border-yellow-400",children:e.jsx(t,{value:"الصف واسم المادة",className:"w-full bg-transparent"})})]})]}),e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"70px",mixBlendMode:"multiply",filter:"contrast(1.2)"}})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-6 flex-1",children:[e.jsxs("div",{className:"bg-white p-6 shadow-md relative border-r-8 border-blue-500",children:[e.jsxs("h3",{className:"text-xl font-black mb-6 flex items-center gap-3",children:[e.jsx("div",{className:"w-3 h-3 bg-blue-500 rotate-45"})," نقاط الضعف"]}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-blue-700 font-bold",activeBgColor:"bg-blue-500"})]}),e.jsxs("div",{className:"bg-white p-6 shadow-md relative border-r-8 border-yellow-400",children:[e.jsxs("h3",{className:"text-xl font-black mb-6 flex items-center gap-3",children:[e.jsx("div",{className:"w-3 h-3 bg-yellow-400 rotate-45"})," أساليب العلاج"]}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-yellow-700 font-bold",activeBgColor:"bg-yellow-400"})]}),e.jsxs("div",{className:"bg-white p-6 shadow-md relative border-r-8 border-slate-800",children:[e.jsxs("h3",{className:"text-xl font-black mb-6 flex items-center gap-3",children:[e.jsx("div",{className:"w-3 h-3 bg-slate-800 rotate-45"})," تفاصيل الإجراءات"]}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-slate-900 font-bold",activeBgColor:"bg-slate-800"})]}),e.jsxs("div",{className:"bg-white p-6 shadow-md relative border-r-8 border-green-500",children:[e.jsxs("h3",{className:"text-xl font-black mb-6 flex items-center gap-3",children:[e.jsx("div",{className:"w-3 h-3 bg-green-500 rotate-45"})," النتيجة النهائية"]}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-green-700 font-bold",activeBgColor:"bg-green-500"})]})]}),e.jsxs("div",{className:"mt-6 flex justify-between bg-white p-5 shadow-md border-t-4 border-slate-200 px-10 font-bold",children:[e.jsxs("div",{className:"flex items-center gap-2",children:["المعلم: ",e.jsx(t,{value:"..........",className:"border-b border-slate-300 w-40 pb-1 bg-transparent"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:["المدير: ",e.jsx(t,{value:"..........",className:"border-b border-slate-300 w-40 pb-1 bg-transparent"})]})]})]})]})]})}function Ne(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date),e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 p-8 print-bg-exact break-inside-avoid",children:[e.jsx("div",{className:"absolute inset-0 bg-slate-50 z-0"}),e.jsxs("div",{className:"w-full h-full relative overflow-hidden flex flex-col p-8 z-10 -m-8",children:[e.jsx("div",{className:"absolute top-[-20%] left-[-10%] w-[50%] h-[50%] bg-blue-600 opacity-90 rotate-12 origin-bottom-left -z-0"}),e.jsx("div",{className:"absolute top-[-25%] right-[-15%] w-[40%] h-[40%] bg-yellow-400 opacity-90 -rotate-12 origin-bottom-right -z-0"}),e.jsxs("div",{className:"relative z-10 p-2 h-full flex flex-col",children:[e.jsxs("div",{className:"bg-white p-8 shadow-[0_10px_30px_rgba(0,0,0,0.1)] mb-8 flex justify-between items-center relative overflow-hidden",children:[e.jsx("div",{className:"absolute right-0 top-0 w-2 h-full bg-blue-600"}),e.jsxs("div",{children:[e.jsx("h1",{className:"text-4xl font-black text-slate-800 mb-4 uppercase tracking-tight",children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field inline-block",i
158d:"rp_hdr_title6",children:"خطة علاجية"})}),e.jsxs("div",{className:"flex gap-4 font-bold",children:[e.jsx("div",{className:"bg-slate-50 px-4 py-2 border-r-4 border-blue-600",children:e.jsx(t,{value:"الطلاب المستهدفين",className:"w-full bg-transparent"})}),e.jsx("div",{className:"bg-slate-50 px-4 py-2 border-r-4 border-yellow-400",children:e.jsx(t,{value:"الفصل والطلاب",className:"w-full bg-transparent"})})]})]}),e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"70px",mixBlendMode:"multiply",filter:"contrast(1.2)"}})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-6 flex-1",children:[e.jsxs("div",{className:"bg-white p-6 shadow-md relative border-r-8 border-blue-500",children:[e.jsxs("h3",{className:"text-xl font-black mb-6 flex items-center gap-3",children:[e.jsx("div",{className:"w-3 h-3 bg-blue-500 rotate-45"})," نقاط الضعف"]}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-blue-700 font-bold",activeBgColor:"bg-blue-500"})]}),e.jsxs("div",{className:"bg-white p-6 shadow-md relative border-r-8 border-yellow-400",children:[e.jsxs("h3",{className:"text-xl font-black mb-6 flex items-center gap-3",children:[e.jsx("div",{className:"w-3 h-3 bg-yellow-400 rotate-45"})," أساليب العلاج"]}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-yellow-700 font-bold",activeBgColor:"bg-yellow-400"})]}),e.jsxs("div",{className:"bg-white p-6 shadow-md relative border-r-8 border-slate-800",children:[e.jsxs("h3",{className:"text-xl font-black mb-6 flex items-center gap-3",children:[e.jsx("div",{className:"w-3 h-3 bg-slate-800 rotate-45"})," تفاصيل الإجراءات"]}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-slate-900 font-bold",activeBgColor:"bg-slate-800"})]}),e.jsxs("div",{className:"bg-white p-6 shadow-md relative border-r-8 border-green-500",children:[e.jsxs("h3",{className:"text-xl font-black mb-6 flex items-center gap-3",children:[e.jsx("div",{className:"w-3 h-3 bg-green-500 rotate-45"})," النتيجة النهائية"]}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-green-700 font-bold",activeBgColor:"bg-green-500"})]})]}),e.jsxs("div",{className:"mt-6 flex justify-between bg-white p-5 shadow-md border-t-4 border-slate-200 px-10 font-bold",children:[e.jsxs("div",{className:"flex items-center gap-2",children:["المعلم: ",e.jsx(t,{value:"..........",className:"border-b border-slate-300 w-40 pb-1 bg-transparent"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:["المدير: ",e.jsx(t,{value:"..........",className:"border-b border-slate-300 w-40 pb-1 bg-transparent"})]})]})]})]})]})}function we(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date),e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 p-8 print-bg-exact break-inside-avoid",children:[e.jsx("div",{className:"absolute inset-0 bg-[#f0f4f1] z-0"}),e.jsxs("div",{className:"bg-[#f0f4f1] h-full p-10 flex flex-col relative text-emerald-950 font-medium z-10 -m-8 relative overflow-hidden",children:[e.jsx("div",{className:"absolute top-0 right-0 w-64 h-64 bg-emerald-600 rounded-bl-[100%] opacity-10"}),e.jsx("div",{className:"absolute bottom-0 left-0 w-64 h-64 bg-lime-500 rounded-tr-[100%] opacity-10"}),e.jsxs("div",{className:"relative z-10 flex items-center justify-between mb-8 border-b-2 border-emerald-800 pb-6",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx(t,{value:"وزارة التعليم",className:"text-sm font-bold text-emerald-700 bg-transparent"}),e.jsx(t,{value:"اسم المدرسة المحترمة",className:"text-2xl font-black w-64 bg-transparent"})]}),e.jsx("div",{className:"bg-emerald-800 text-white px-8 py-3 rounded-tl-3xl rounded-br-3xl font-bold shadow-md",children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field inline-block",i
158d:"rp_hdr_title7",children:"خطة علاجية"})})]}),e.jsxs("div",{className:"relative z-10 flex gap-6 mb-8",children:[e.jsxs("div",{className:"flex-1 bg-white p-4 rounded-tl-3xl rounded-br-3xl shadow-sm border border-emerald-100",children:[e.jsx("div",{className:"text-emerald-500 text-xs font-bold mb-1 ml-2",children:"المستهدف"}),e.jsx(t,{value:"اسم الطالب",className:"text-xl font-bold w-full bg-transparent"})]}),e.jsxs("div",{className:"flex-1 bg-white p-4 rounded-tl-3xl rounded-br-3xl shadow-sm border border-emerald-100",children:[e.jsx("div",{className:"text-emerald-500 text-xs font-bold mb-1 ml-2",children:"الصف الدراسي"}),e.jsx(t,{value:"الصف",className:"text-xl font-bold w-full bg-transparent"})]}),e.jsxs("div",{className:"flex-1 bg-white p-4 rounded-tl-3xl rounded-br-3xl shadow-sm border border-emerald-100",children:[e.jsx("div",{className:"text-emerald-500 text-xs font-bold mb-1 ml-2",children:"المادة"}),e.jsx(t,{value:"المادة",className:"text-xl font-bold w-full bg-transparent"})]})]}),e.jsxs("div",{className:"relative z-10 grid grid-cols-2 gap-8 flex-1",children:[e.jsxs("div",{className:"bg-white p-6 shadow-sm border border-emerald-100 rounded-tr-3xl rounded-bl-3xl",children:[e.jsx("h2",{className:"text-lg font-bold text-emerald-800 mb-4 pb-2 border-b border-emerald-100",children:"1. نقاط الضعف"}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-emerald-800 font-bold",activeBgColor:"bg-emerald-600"})]}),e.jsxs("div",{className:"bg-white p-6 shadow-sm border border-emerald-100 rounded-tr-3xl rounded-bl-3xl",children:[e.jsx("h2",{className:"text-lg font-bold text-lime-700 mb-4 pb-2 border-b border-lime-100",children:"2. أساليب العلاج"}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-lime-800 font-bold",activeBgColor:"bg-lime-600"})]}),e.jsxs("div",{className:"bg-white p-6 shadow-sm border border-emerald-100 rounded-tr-3xl rounded-bl-3xl",children:[e.jsx("h2",{className:"text-lg font-bold text-teal-700 mb-4 pb-2 border-b border-teal-100",children:"3. الإجراءات المتبعة"}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-teal-800 font-bold",activeBgColor:"bg-teal-600"})]}),e.jsxs("div",{className:"bg-white p-6 shadow-sm border border-emerald-100 rounded-tr-3xl rounded-bl-3xl",children:[e.jsx("h2",{className:"text-lg font-bold text-green-700 mb-4 pb-2 border-b border-green-100",children:"4. التحسن والنتيجة"}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-green-800 font-bold",activeBgColor:"bg-green-600"})]})]}),e.jsxs("div",{className:"mt-8 flex justify-around relative z-10 p-6 bg-white rounded-tl-3xl rounded-br-3xl shadow-sm font-bold text-emerald-800",children:[e.jsxs("div",{className:"flex items-center gap-2",children:["إعداد المعلم | ",e.jsx(t,{value:"............",className:"w-40 bg-transparent"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:["مدير المدرسة | ",e.jsx(t,{value:"............",className:"w-40 bg-transparent"})]})]})]})]})}function ke(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date),e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 p-8 print-bg-exact break-inside-avoid",children:[e.jsx("div",{className:"absolute inset-0 bg-[#f0f4f1] z-0"}),e.jsxs("div",{className:"bg-[#f0f4f1] h-full p-10 flex flex-col relative text-emerald-950 font-medium z-10 -m-8 relative overflow-hidden",children:[e.jsx("div",{className:"absolute top-0 right-0 w-64 h-64 bg-emerald-600 rounded-bl-[100%] opacity-10"}),e.jsx("div",{className:"absolute bottom-0 left-0 w-64 h-64 bg-lime-500 rounded-tr-[100%] opacity-10"}),e.jsxs("div",{className:"relative z-10 flex items-center justify-between mb-8 border-b-2 border-emerald-800 pb-6",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx(t,{value:"وزارة التعليم",className:"text-sm font-bold text-emerald-700 bg-transparent"}),e.jsx(t,{value:"اسم المدرسة المحترمة",className:"text-2xl font-black w-64 bg-transparent"})]}),e.jsx("div",{className:"bg-emerald-800 text-white px-8 py-3 rounded-tl-3xl rounded-br-3xl font-bold shadow-md",children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field inline-block",i
158d:"rp_hdr_title7",children:"خطة علاجية"})})]}),e.jsxs("div",{className:"relative z-10 flex gap-6 mb-8",children:[e.jsxs("div",{className:"flex-1 bg-white p-4 rounded-tl-3xl rounded-br-3xl shadow-sm border border-emerald-100",children:[e.jsx("div",{className:"text-emerald-500 text-xs font-bold mb-1 ml-2",children:"الطلاب المستهدفين"}),e.jsx(t,{value:"الطلاب المستهدفين",className:"text-xl font-bold w-full bg-transparent"})]}),e.jsxs("div",{className:"flex-1 bg-white p-4 rounded-tl-3xl rounded-br-3xl shadow-sm border border-emerald-100",children:[e.jsx("div",{className:"text-emerald-500 text-xs font-bold mb-1 ml-2",children:"الصف الدراسي"}),e.jsx(t,{value:"الصف",className:"text-xl font-bold w-full bg-transparent"})]}),e.jsxs("div",{className:"flex-1 bg-white p-4 rounded-tl-3xl rounded-br-3xl shadow-sm border border-emerald-100",children:[e.jsx("div",{className:"text-emerald-500 text-xs font-bold mb-1 ml-2",children:"المادة"}),e.jsx(t,{value:"المادة",className:"text-xl font-bold w-full bg-transparent"})]})]}),e.jsxs("div",{className:"relative z-10 grid grid-cols-2 gap-8 flex-1",children:[e.jsxs("div",{className:"bg-white p-6 shadow-sm border border-emerald-100 rounded-tr-3xl rounded-bl-3xl",children:[e.jsx("h2",{className:"text-lg font-bold text-emerald-800 mb-4 pb-2 border-b border-emerald-100",children:"1. نقاط الضعف"}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-emerald-800 font-bold",activeBgColor:"bg-emerald-600"})]}),e.jsxs("div",{className:"bg-white p-6 shadow-sm border border-emerald-100 rounded-tr-3xl rounded-bl-3xl",children:[e.jsx("h2",{className:"text-lg font-bold text-lime-700 mb-4 pb-2 border-b border-lime-100",children:"2. أساليب العلاج"}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-lime-800 font-bold",activeBgColor:"bg-lime-600"})]}),e.jsxs("div",{className:"bg-white p-6 shadow-sm border border-emerald-100 rounded-tr-3xl rounded-bl-3xl",children:[e.jsx("h2",{className:"text-lg font-bold text-teal-700 mb-4 pb-2 border-b border-teal-100",children:"3. الإجراءات المتبعة"}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-teal-800 font-bold",activeBgColor:"bg-teal-600"})]}),e.jsxs("div",{className:"bg-white p-6 shadow-sm border border-emerald-100 rounded-tr-3xl rounded-bl-3xl",children:[e.jsx("h2",{className:"text-lg font-bold text-green-700 mb-4 pb-2 border-b border-green-100",children:"4. التحسن والنتيجة"}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-green-800 font-bold",activeBgColor:"bg-green-600"})]})]}),e.jsxs("div",{className:"mt-8 flex justify-around relative z-10 p-6 bg-white rounded-tl-3xl rounded-br-3xl shadow-sm font-bold text-emerald-800",children:[e.jsxs("div",{className:"flex items-center gap-2",children:["إعداد المعلم | ",e.jsx(t,{value:"............",className:"w-40 bg-transparent"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:["مدير المدرسة | ",e.jsx(t,{value:"............",className:"w-40 bg-transparent"})]})]})]})]})}function Ce(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date),e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 p-8 print-bg-exact break-inside-avoid",children:[e.jsx("div",{className:"absolute inset-0 bg-[#0d1117] z-0"}),e.jsxs("div",{className:"h-full bg-[#0d1117] text-[#c9d1d9] font-mono p-8 flex flex-col border border-[#30363d] rounded-md relative z-10 -m-8 m-2 overflow-hidden",children:[e.jsx("div",{className:"absolute top-0 left-0 w-full h-[6px] bg-gradient-to-r from-[#238636] to-[#58a6ff]"}),e.jsxs("div",{className:"flex justify-between items-start mb-8 pb-4 border-b border-[#30363d] pt-2",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-[#8b949e] text-xs leading-none",children:"// MOE_EDU_PLAN"}),e.jsxs("h1",{className:"text-3xl font-bold text-[#58a6ff] mt-2 mb-2",children:[e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field",id:"rp_tech_title1",children:"RemedialPlan"}),e.jsx("span",{className:"text-[#8b949e] font-normal mx-2 text-xl",children:"v1.0"})]}),e.jsxs("div",{className:"flex gap-4 text-sm mt-3",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-[#ff7b72] font-semibold",children:"const"})," student = ",e.jsx(t,{value:"'المستهدف'",className:"text-[#a5d6ff] bg-[#161b22] px-2 py-0.5 rounded w-auto font-mono"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-[#ff7b72] font-semibold",children:"const"})," subject = ",e.jsx(t,{value:"'المادة'",className:"text-[#a5d6ff] bg-[#161b22] px-2 py-0.5 rounded font-mono"})]})]})]}),e.jsx("img",{src:C,alt:"MOE",style:{height:"60px",filter:"invert(1) opacity(0.8)"}})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-6 flex-1",children:[e.jsxs("div",{className:"border border-[#30363d] bg-[#161b22] rounded-md p-6",children:[e.jsxs("div",{className:"text-[#d2a8ff] mb-4 border-b border-[#30363d] pb-3 text-sm flex gap-2 font-bold tracking-wide",children:[e.jsx("span",{className:"w-3 h-3 rounded bg-[#d2a8ff] mt-0.5 inline-block"})," [Weaknesses.ts]"]}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-[#d2a8ff]",activeBgColor:"bg-[#d2a8ff]"})]}),e.jsxs("div",{className:"border border-[#30363d] bg-[#161b22] rounded-md p-6",children:[e.jsxs("div",{className:"text-[#79c0ff] mb-4 border-b border-[#30363d] pb-3 text-sm flex gap-2 font-bold tracking-wide",children:[e.jsx("span",{className:"w-3 h-3 rounded bg-[#79c0ff] mt-0.5 inline-block"})," [Methods.ts]"]}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-[#79c0ff]",activeBgColor:"bg-[#79c0ff]"})]}),e.jsxs("div",{className:"border border-[#30363d] bg-[#161b22] rounded-md p-6",children:[e.jsxs("div",{className:"text-[#ffa657] mb-4 border-b border-[#30363d] pb-3 text-sm flex gap-2 font-bold tracking-wide",children:[e.jsx("span",{className:"w-3 h-3 rounded bg-[#ffa657] mt-0.5 inline-block"})," [Actions.ts]"]}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-[#ffa657]",activeBgColor:"bg-[#ffa657]"})]}),e.jsxs("div",{className:"border border-[#30363d] bg-[#161b22] rounded-md p-6",children:[e.jsxs("div",{className:"text-[#3fb950] mb-4 border-b border-[#30363d] pb-3 text-sm flex gap-2 font-bold tracking-wide",children:[e.jsx("span",{className:"w-3 h-3 rounded bg-[#3fb950] mt-0.5 inline-block"})," [Results.ts]"]}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-[#3fb950]",activeBgColor:"bg-[#3fb950]"})]})]}),e.jsxs("div",{className:"mt-6 border-t border-[#30363d] pt-5 flex gap-8 text-sm",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-[#8b949e]",children:"teacher:"}),e.jsx(t,{value:"user_teacher",className:"bg-[#161b22] px-2 py-1 rounded text-[#c9d1d9] w-32 font-mono"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-[#8b949e]",children:"approvedBy:"}),e.jsx(t,{value:"admin_principal",className:"bg-[#161b22] px-2 py-1 rounded text-[#c9d1d9] w-32 font-mono"})]})]})]})]})}function ye(){const[d,r]=s.useState([...j.slice(0,4)]),[i,c]=s.useState([...N.slice(0,4)]),[a,h]=s.useState([...w]),[m,f]=s.useState([...k]),[b,u]=s.useState(new Array(4).fill(!1)),[x,o]=s.useState(new Array(4).fill(!1)),[n,g]=s.useState(new Array(3).fill(!1)),[p,v]=s.useState(new Array(4).fill(!1));return new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date),e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 p-8 print-bg-exact break-inside-avoid",children:[e.jsx("div",{className:"absolute inset-0 bg-[#0d1117] z-0"}),e.jsxs("div",{className:"h-full bg-[#0d1117] text-[#c9d1d9] font-mono p-8 flex flex-col border border-[#30363d] rounded-md relative z-10 -m-8 m-2 overflow-hidden",children:[e.jsx("div",{className:"absolute top-0 left-0 w-full h-[6px] bg-gradient-to-r from-[#238636] to-[#58a6ff]"}),e.jsxs("div",{className:"flex justify-between items-start mb-8 pb-4 border-b border-[#30363d] pt-2",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-[#8b949e] text-xs leading-none",children:"// MOE_EDU_PLAN"}),e.jsxs("h1",{className:"text-3xl font-bold text-[#58a6ff] mt-2 mb-2",children:[e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field",id:"rp_gtech_title1",children:"RemedialPlan"}),e.jsx("span",{className:"text-[#8b949e] font-normal mx-2 text-xl",children:"v1.0"})]}),e.jsxs("div",{className:"flex gap-4 text-sm mt-3",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-[#ff7b72] font-semibold",children:"const"})," student = ",e.jsx(t,{value:"'الطلاب المستهدفين'",className:"text-[#a5d6ff] bg-[#161b22] px-2 py-0.5 rounded w-auto font-mono"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-[#ff7b72] font-semibold",children:"const"})," subject = ",e.jsx(t,{value:"'المادة'",className:"text-[#a5d6ff] bg-[#161b22] px-2 py-0.5 rounded font-mono"})]})]})]}),e.jsx("img",{src:C,alt:"MOE",style:{height:"60px",filter:"invert(1) opacity(0.8)"}})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-6 flex-1",children:[e.jsxs("div",{className:"border border-[#30363d] bg-[#161b22] rounded-md p-6",children:[e.jsxs("div",{className:"text-[#d2a8ff] mb-4 border-b border-[#30363d] pb-3 text-sm flex gap-2 font-bold tracking-wide",children:[e.jsx("span",{className:"w-3 h-3 rounded bg-[#d2a8ff] mt-0.5 inline-block"})," [Weaknesses.ts]"]}),e.jsx(l,{items:d,setItems:r,checked:b,setChecked:u,activeColor:"text-[#d2a8ff]",activeBgColor:"bg-[#d2a8ff]"})]}),e.jsxs("div",{className:"border border-[#30363d] bg-[#161b22] rounded-md p-6",children:[e.jsxs("div",{className:"text-[#79c0ff] mb-4 border-b border-[#30363d] pb-3 text-sm flex gap-2 font-bold tracking-wide",children:[e.jsx("span",{className:"w-3 h-3 rounded bg-[#79c0ff] mt-0.5 inline-block"})," [Methods.ts]"]}),e.jsx(l,{items:i,setItems:c,checked:x,setChecked:o,activeColor:"text-[#79c0ff]",activeBgColor:"bg-[#79c0ff]"})]}),e.jsxs("div",{className:"border border-[#30363d] bg-[#161b22] rounded-md p-6",children:[e.jsxs("div",{className:"text-[#ffa657] mb-4 border-b border-[#30363d] pb-3 text-sm flex gap-2 font-bold tracking-wide",children:[e.jsx("span",{className:"w-3 h-3 rounded bg-[#ffa657] mt-0.5 inline-block"})," [Actions.ts]"]}),e.jsx(l,{items:a,setItems:h,checked:n,setChecked:g,activeColor:"text-[#ffa657]",activeBgColor:"bg-[#ffa657]"})]}),e.jsxs("div",{className:"border border-[#30363d] bg-[#161b22] rounded-md p-6",children:[e.jsxs("div",{className:"text-[#3fb950] mb-4 border-b border-[#30363d] pb-3 text-sm flex gap-2 font-bold tracking-wide",children:[e.jsx("span",{className:"w-3 h-3 rounded bg-[#3fb950] mt-0.5 inline-block"})," [Results.ts]"]}),e.jsx(l,{items:m,setItems:f,checked:p,setChecked:v,activeColor:"text-[#3fb950]",activeBgColor:"bg-[#3fb950]"})]})]}),e.jsxs("div",{className:"mt-6 border-t border-[#30363d] pt-5 flex gap-8 text-sm",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-[#8b949e]",children:"teacher:"}),e.jsx(t,{value:"user_teacher",className:"bg-[#161b22] px-2 py-1 rounded text-[#c9d1d9] w-32 font-mono"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-[#8b949e]",children:"approvedBy:"}),e.jsx(t,{value:"admin_principal",className:"bg-[#161b22] px-2 py-1 rounded text-[#c9d1d9] w-32 font-mono"})]})]})]})]})}function Se({primaryColor:d,secondaryColor:r,borderStyle:i,borderWidth:c,borderRadius:a,fontFamily:h}){const m=new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date),f={borderColor:r,borderStyle:i,borderWidth:`${c}px`,borderRadius:`${a}px`},b={backgroundColor:r,color:"#fff",borderStyle:i,borderWidth:`${c}px`};return e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col relative overflow-hidden bg-white text-slate-800 font-bold break-inside-avoid transition-all duration-500",dir:"rtl",style:{fontFamily:`${h}, sans-serif`},children:[e.jsxs("div",{className:"p-4 flex flex-row items-center justify-between text-white relative h-28 transition-colors duration-300",style:{backgroundColor:d},children:[e.jsxs("div",{className:"flex flex-col items-start gap-1 z-10 w-1/3 text-right pr-12",children:[e.jsx(t,{value:"وزارة التعليم",className:"text-xl font-bold bg-transparent border-none text-white w-full text-right"}),e.jsx(t,{value:"ادارة التعليم بـ منطقة",className:"text-sm font-medium bg-transparent border-none text-white w-full text-right"})]}),e.jsx("div",{className:"flex-1 flex justify-center z-10",children:e.jsx("img",{src:C,alt:"MOE",style:{height:"65px",width:"auto",filter:"brightness(0) invert(1)"}})}),e.jsx("div",{className:"w-1/3"}),e.jsx("div",{className:"absolute left-1/2 -translate-x-1/2 bottom-[-1.5rem] border-2 border-white rounded-2xl px-12 py-2 text-white z-20 min-w-48 text-center text-lg shadow-md transition-all duration-300",style:{backgroundColor:d,borderRadius:`${a}px`},children:e.jsx(t,{value:"المدرسة",className:"bg-transparent border-none text-white text-center w-full"})})]}),e.jsxs("div",{className:"mt-32 flex flex-col items-center px-10 flex-1",children:[e.jsxs("div",{className:"w-full flex flex-row items-center justify-between mb-8 gap-4",children:[e.jsx("div",{className:"text-3xl font-black whitespace-nowrap transition-colors duration-300",style:{color:r},children:e.jsx(t,{value:"تقرير تنفيذ",className:"bg-transparent border-none",style:{color:r}})}),e.jsx("div",{className:"text-2xl font-black grow text-center rounded-md p-2 transition-all duration-300",style:{color:d,borderWidth:`${c}px`,borderStyle:i,borderColor:d,borderRadius:`${a/2}
158px`},children:e.jsx(t,{value:"خطة علاجية و اثرائية",className:"w-full text-center"})})]}),e.jsxs("div",{className:"w-full flex flex-col overflow-hidden mb-6 transition-all duration-300",style:f,children:[e.jsxs("div",{className:"flex",style:{borderBottomWidth:`${c}px`,borderBottomStyle:i,borderBottomColor:r},children:[e.jsx("div",{className:"w-1/3 p-2 text-center flex items-center justify-center transition-all duration-300",style:{backgroundColor:r,color:"#fff",borderLeftWidth:`${c}px`,borderLeftStyle:i,borderLeftColor:r,borderBottomWidth:0,borderTopWidth:0,borderRightWidth:0},children:e.jsx(t,{value:"اسم المنفذة",className:"bg-transparent border-none text-white text-center w-full"})}),e.jsx("div",{className:"flex-1 p-2 flex items-center justify-center bg-white",children:e.jsx(t,{value:"أ.",className:"w-full text-center"})})]}),e.jsxs("div",{className:"flex",style:{borderBottomWidth:`${c}px`,borderBottomStyle:i,borderBottomColor:r},children:[e.jsx("div",{className:"w-1/3 p-2 text-center flex items-center justify-center transition-all duration-300",style:{backgroundColor:r,color:"#fff",borderLeftWidth:`${c}px`,borderLeftStyle:i,borderLeftColor:r,borderBottomWidth:0,borderTopWidth:0,borderRightWidth:0},children:e.jsx(t,{value:"المادة",className:"bg-transparent border-none text-white text-center w-full"})}),e.jsx("div",{className:"flex-1 p-2 flex items-center justify-center bg-white",children:e.jsx(t,{value:"المادة هنا",className:"w-full text-center"})})]}),e.jsxs("div",{className:"flex",style:{borderBottomWidth:`${c}px`,borderBottomStyle:i,borderBottomColor:r},children:[e.jsx("div",{className:"w-1/3 p-2 text-center flex items-center justify-center transition-all duration-300",style:{backgroundColor:r,color:"#fff",borderLeftWidth:`${c}px`,borderLeftStyle:i,borderLeftColor:r,borderBottomWidth:0,borderTopWidth:0,borderRightWidth:0},children:e.jsx(t,{value:"تاريخ التنفيذ + الزمن",className:"bg-transparent border-none text-white text-center w-full"})}),e.jsx("div",{className:"flex-1 p-2 flex items-center justify-center bg-white",children:e.jsx(t,{value:m+"  + 45 دقيقة",className:"w-full text-center"})})]}),e.jsxs("div",{className:"flex",style:{borderBottomWidth:`${c}px`,borderBottomStyle:i,borderBottomColor:r},children:[e.jsx("div",{className:"w-1/3 p-2 text-center flex items-center justify-center transition-all duration-300",style:{backgroundColor:r,color:"#fff",borderLeftWidth:`${c}px`,borderLeftStyle:i,borderLeftColor:r,borderBottomWidth:0,borderTopWidth:0,borderRightWidth:0},children:e.jsx(t,{value:"الفئة المستهدفة",className:"bg-transparent border-none text-white text-center w-full"})}),e.jsx("div",{className:"flex-1 p-2 flex items-center justify-center bg-white",children:e.jsx(t,{value:"الطلاب المتأخرين",className:"w-full text-center"})})]}),e.jsxs("div",{className:"flex",children:[e.jsx("div",{className:"w-1/3 p-2 text-center flex items-center justify-center transition-all duration-300",style:{backgroundColor:r,color:"#fff",borderLeftWidth:`${c}px`,borderLeftStyle:i,borderLeftColor:r,borderBottomWidth:0,borderTopWidth:0,borderRightWidth:0},children:e.jsx(t,{value:"العدد",className:"bg-transparent border-none text-white text-center w-full"})}),e.jsx("div",{className:"flex-1 p-2 flex items-center justify-center bg-white",children:e.jsx(t,{value:"10 طلاب",className:"w-full text-center"})})]})]}),e.jsxs("div",{className:"w-full flex flex-col overflow-hidden mb-8 min-h-[350px] transition-all duration-300",style:f,children:[e.jsx("div",{className:"p-3 text-center text-2xl font-black transition-all duration-300",style:b,children:e.jsx(t,{value:"الأهداف",className:"bg-transparent border-none text-white text-center w-full"})}),e.jsx("div",{className:"p-4 flex-1 bg-white",children:e.jsx(t,{multiline:!0,value:`1- تحسين المستوى الدراسي
1592- مراجعة المهارات الأساسية
1603- التدريب على حل الاختبارات`,className:"w-full h-full text-lg leading-relaxed"})})]}),e.jsxs("div",{className:"w-full flex justify-between text-white p-6 rounded-t-3xl mt-auto z-20 transition-colors duration-300",style:{backgroundColor:d},children:[e.jsxs("div",{className:"flex gap-2 items-center whitespace-nowrap",children:[e.jsx(t,{value:"مديرة المدرسة :",className:"bg-transparent border-none text-white text-lg"})," ",e.jsx(t,{value:"...................",className:"bg-transparent border-none text-white text-lg min-w-40"})]}),e.jsxs("div",{className:"flex gap-2 items-center whitespace-nowrap",children:[e.jsx(t,{value:"المعلمة :",className:"bg-transparent border-none text-white text-lg"})," ",e.jsx(t,{value:"...................",className:"bg-transparent border-none text-white text-lg min-w-40"})]})]})]}),e.jsx("style",{children:`
161         .print-bg-exact {
162             -webkit-print-color-adjust: exact !important;
163             print-color-adjust: exact !important;
164             color-adjust: exact !important;
165         }
166      `})]})}function _(){const d=new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date);return e.jsxs("div",{className:"w-full min-h-[1122px] flex flex-col text-slate-800 p-8 pt-6 relative overflow-hidden bg-white",dir:"rtl",children:[e.jsxs("div",{className:"flex justify-between items-start mb-6 px-2",children:[e.jsxs("div",{className:"text-right text-[11px] font-bold text-slate-950 leading-relaxed flex-none w-1/3",children:[e.jsx(t,{value:"المملكة العربية السعودية",className:"font-bold text-slate-950 block"}),e.jsx(t,{value:"وزارة التعليم",className:"font-black block"}),e.jsxs("div",{className:"flex gap-1 items-baseline whitespace-nowrap w-full",children:[e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field shrink-0",i
166d:"rp_hdr_edu_region",children:"الإدارة العامة للتعليم بمنطقة"})," ",e.jsx(t,{value:"..........",className:"bg-transparent text-right outline-none flex-1 border-b border-dashed border-slate-300"})]})]}),e.jsx("div",{className:"flex flex-col items-center justify-center flex-1 pt-1",children:e.jsx("img",{src:C,alt:"وزارة التعليم",style:{height:"65px",width:"auto",objectFit:"contain",filter:"brightness(0)"}})}),e.jsx("div",{className:"flex-none w-1/3 flex justify-end",children:e.jsx("div",{className:"text-center font-black text-xl text-teal-800 border-2 border-teal-800 rounded-lg p-2 min-w-40",children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field",id:"rp_exec_classic_label",children:"تقرير تنفيذ"})})})]}),e.jsx("div",{className:"w-full text-center text-2xl font-black mb-8 underline underline-offset-8 decoration-teal-600",children:e.jsx(t,{value:"خطة علاجية و اثرائية أثناء فترة الاختبارات"})}),e.jsxs("div",{className:"grid grid-cols-2 gap-6 mb-8 mt-4",children:[e.jsxs("div",{className:"flex flex-col border-2 border-teal-600 rounded-xl p-4 gap-2",children:[e.jsx("div",{className:"text-teal-700 font-bold text-sm",children:"اسم المنفذة:"}),e.jsx(t,{value:"أ................",className:"text-lg font-black"})]}),e.jsxs("div",{className:"flex flex-col border-2 border-teal-600 rounded-xl p-4 gap-2",children:[e.jsx("div",{className:"text-teal-700 font-bold text-sm",children:"المادة:"}),e.jsx(t,{value:".................",className:"text-lg font-black"})]}),e.jsxs("div",{className:"flex flex-col border-2 border-teal-600 rounded-xl p-4 gap-2",children:[e.jsx("div",{className:"text-teal-700 font-bold text-sm",children:"تاريخ التنفيذ + الزمن:"}),e.jsx(t,{value:d+" هـ",className:"text-lg font-black"})]}),e.jsxs("div",{className:"flex flex-col border-2 border-teal-600 rounded-xl p-4 gap-2",children:[e.jsx("div",{className:"text-teal-700 font-bold text-sm",children:"الفئة / العدد:"}),e.jsx(t,{value:"................",className:"text-lg font-black"})]})]}),e.jsxs("div",{className:"flex-1 flex flex-col border-2 border-teal-600 rounded-2xl overflow-hidden mb-12",children:[e.jsx("div",{className:"bg-teal-600 text-white p-3 text-center text-xl font-black",children:"الأهداف"}),e.jsx("div",{className:"p-6",children:e.jsx(t,{multiline:!0,value:`- الهدف الأول
167- الهدف الثاني`,className:"w-full text-lg leading-loose"})})]}),e.jsxs("div",{className:"flex justify-between items-center px-12 mt-auto pb-10",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-teal-800 font-bold mb-6",children:"مديرة المدرسة"}),e.jsx(t,{value:"................"})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"text-teal-800 font-bold mb-6",children:"المعلمة / المنفذة"}),e.jsx(t,{value:"................"})]})]})]})}function I(){const d=new Intl.DateTimeFormat("ar-SA-u-ca-islamic",{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date);return e.jsxs("div",{className:"w-full h-full min-h-[1122px] flex flex-col text-slate-800 relative bg-[#f8fafc] overflow-hidden",dir:"rtl",children:[e.jsx("div",{className:"absolute top-0 right-0 w-64 h-64 bg-teal-500/10 rounded-full blur-3xl -mr-32 -mt-32"}),e.jsx("div",{className:"absolute bottom-0 left-0 w-96 h-96 bg-indigo-500/10 rounded-full blur-3xl -ml-48 -mb-48"}),e.jsxs("div",{className:"bg-[#1e293b] text-white p-8 pb-12 rounded-b-[4rem] relative z-10",children:[e.jsxs("div",{className:"flex justify-between items-center mb-8",children:[e.jsxs("div",{className:"flex flex-col items-start text-right",children:[e.jsx(t,{value:"وزارة التعليم",className:"text-2xl font-black text-teal-400"}),e.jsx(t,{value:"ادارة التعليم بمطقة ...",className:"text-sm opacity-80"})]}),e.jsx("img",{src:C,alt:"MOE",style:{height:"60px",width:"auto",filter:"brightness(0) invert(1)"}})]}),e.jsxs("div",{className:"text-center",children:[e.jsx("h1",{className:"text-3xl font-black tracking-tight mb-2",children:e.jsx("span",{contentEditable:!0,suppressContentEditableWarning:!0,className:"editable-field",id:"rp_hdr_title8",children:"تقرير تنفيذ خطة علاجية"})}),e.jsx(t,{value:"اسم المدرسة هنا",className:"text-lg text-teal-400 font-bold"})]})]}),e.jsxs("div",{className:"px-10 -mt-8 relative z-20 flex-1 flex flex-col gap-6",children:[e.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[e.jsxs("div",{className:"bg-white p-4 rounded-3xl shadow-sm border border-slate-100 flex flex-col items-center",children:[e.jsx("div",{className:"text-[10px] text-slate-400 font-black mb-1 uppercase tracking-widest text-center w-full",children:"اسم المنفذة"}),e.jsx(t,{value:"أ................",className:"text-center font-bold text-slate-700"})]}),e.jsxs("div",{className:"bg-white p-4 rounded-3xl shadow-sm border border-slate-100 flex flex-col items-center",children:[e.jsx("div",{className:"text-[10px] text-slate-400 font-black mb-1 uppercase tracking-widest text-center w-full",children:"المادة"}),e.jsx(t,{value:"رياضيات",className:"text-center font-bold text-slate-700"})]}),e.jsxs("div",{className:"bg-white p-4 rounded-3xl shadow-sm border border-slate-100 flex flex-col items-center",children:[e.jsx("div",{className:"text-[10px] text-slate-400 font-black mb-1 uppercase tracking-widest text-center w-full",children:"التاريخ والزمن"}),e.jsx(t,{value:d,className:"text-center font-bold text-slate-700"})]})]}),e.jsxs("div",{className:"bg-white p-6 rounded-[2.5rem] shadow-sm border border-slate-100 flex-1 flex flex-col",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"w-3 h-3 rounded-full bg-teal-500"}),e.jsx("div",{className:"text-xl font-black text-slate-800",children:"الأهداف المخطط لها"})]}),e.jsx("div",{className:"flex-1 bg-slate-50/50 rounded-2xl p-4",children:e.jsx(t,{multiline:!0,value:`- تنمية المهارات الأساسية
168- معالجة الفقد التعليمي`,className:"text-lg leading-relaxed text-slate-600 h-full"})})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4 mb-10",children:[e.jsxs("div",{className:"bg-white p-6 rounded-3xl shadow-sm border border-slate-100",children:[e.jsx("div",{className:"text-xs text-slate-400 font-bold mb-4",children:"مديرة المدرسة"}),e.jsx("div",{className:"h-0.5 w-12 bg-teal-500 mb-4"}),e.jsx(t,{value:"................",className:"font-bold text-slate-800"})]}),e.jsxs("div",{className:"bg-white p-6 rounded-3xl shadow-sm border border-slate-100",children:[e.jsx("div",{className:"text-xs text-slate-400 font-bold mb-4",children:"المعلمة"}),e.jsx("div",{className:"h-0.5 w-12 bg-teal-500 mb-4"}),e.jsx(t,{value:"................",className:"font-bold text-slate-800"})]})]})]})]})}const Ae=()=>e.jsx(_,{}),_e=()=>e.jsx(I,{}),Ie=()=>e.jsx(_,{}),Be=()=>e.jsx(I,{}),We=()=>e.jsx(_,{}),Te=()=>e.jsx(I,{}),Ee=()=>e.jsx(I,{}),ze=()=>e.jsx(_,{}),Me=()=>e.jsx(I,{}),Re=()=>e.jsx(_,{}),De=()=>e.jsx(_,{}),Fe=()=>e.jsx(I,{}),$e=()=>e.jsx(_,{}),Le=()=>e.jsx(I,{});export{Qe as default};

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.