{
 "id": "martial-arts-boxing-training-log",
 "file": "softwiro-martial-arts-boxing-training-log.xlsx",
 "title": "سجل تدريب الفنون القتالية والملاكمة",
 "language": "ar",
 "direction": "rtl",
 "how_it_works": "White cells are typed input; cells whose kind is \"formula\" are calculated and must not be overwritten. Add one record per row under the header row of a record table, keeping the columns in order.",
 "sheets": [
  {
   "name": "ابدأ هنا",
   "formula_cells": 0
  },
  {
   "name": "الإعدادات",
   "formula_cells": 1,
   "record_tables": [
    {
     "header_row": 15,
     "first_record_row": 16,
     "sample_rows_filled": 11,
     "capacity_last_row": 28,
     "columns": [
      {
       "column": "A",
       "header": "الرياضات",
       "kind": "input",
       "examples": [
        "ملاكمة",
        "كاراتيه",
        "جودو"
       ]
      },
      {
       "column": "B",
       "header": "أنواع الحصص",
       "kind": "input",
       "examples": [
        "تقنية",
        "سباراج",
        "أكياس"
       ],
       "allowed_values": {
        "from_range": "'الإعدادات'!$A$16:$A$22"
       }
      },
      {
       "column": "C",
       "header": "الأحزمة والدرجات",
       "kind": "input",
       "examples": [
        "مبتدئ",
        "حزام أبيض",
        "حزام أصفر"
       ]
      }
     ]
    }
   ],
   "settings": [
    {
     "label": "اسم اللاعب",
     "cell": "B4",
     "value": "لاعب (مثال)"
    },
    {
     "label": "الرياضة",
     "cell": "B5",
     "value": "كاراتيه"
    },
    {
     "label": "فئة الوزن",
     "cell": "B6",
     "value": "تحت 67 كجم"
    },
    {
     "label": "وزن الفئة المستهدف (كجم)",
     "cell": "B7",
     "value": 67
    },
    {
     "label": "تاريخ اليوم",
     "cell": "B8",
     "value": "2026-11-13"
    },
    {
     "label": "موعد المسابقة",
     "cell": "B10",
     "value": "2027-01-15"
    },
    {
     "label": "حد تنبيه النزول (كجم في الأسبوع)",
     "cell": "B11",
     "value": 1
    },
    {
     "label": "طول الجولة الافتراضي (دقيقة)",
     "cell": "B12",
     "value": 3
    }
   ],
   "results": [
    {
     "label": "بداية الأسبوع الحالي (السبت)",
     "cell": "B9",
     "formula": "=B8-MOD(B8,7)"
    }
   ]
  },
  {
   "name": "الحصص",
   "formula_cells": 6000,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 61,
     "capacity_last_row": 1505,
     "columns": [
      {
       "column": "A",
       "header": "التاريخ",
       "kind": "input",
       "examples": [
        "2026-08-22",
        "2026-08-23",
        "2026-08-24"
       ]
      },
      {
       "column": "B",
       "header": "نوع الحصة",
       "kind": "input",
       "examples": [
        "تقنية",
        "سباراج",
        "أكياس"
       ],
       "allowed_values": {
        "from_range": "'الإعدادات'!$B$16:$B$21"
       }
      },
      {
       "column": "C",
       "header": "المدة (دقيقة)",
       "kind": "input",
       "examples": [
        65,
        80,
        55
       ]
      },
      {
       "column": "D",
       "header": "الجولات",
       "kind": "input",
       "examples": [
        6,
        8,
        6
       ]
      },
      {
       "column": "E",
       "header": "طول الجولة (د)",
       "kind": "input",
       "examples": [
        3,
        3,
        3
       ]
      },
      {
       "column": "F",
       "header": "RPE (1-10)",
       "kind": "input",
       "examples": [
        6,
        7,
        6
       ]
      },
      {
       "column": "G",
       "header": "الوزن (كجم)",
       "kind": "input",
       "examples": [
        72.4,
        72.2,
        72.3
       ]
      },
      {
       "column": "H",
       "header": "ملاحظة",
       "kind": "input"
      },
      {
       "column": "I",
       "header": "حمل الحصة",
       "kind": "formula",
       "formula_row_1": "=IF(AND(ISNUMBER(C6),ISNUMBER(F6)),C6*F6,\"\")"
      },
      {
       "column": "J",
       "header": "وقت الجولات (د)",
       "kind": "formula",
       "formula_row_1": "=IF(ISNUMBER(D6),IF(ISNUMBER(E6),D6*E6,D6*'الإعدادات'!$B$12),\"\")"
      },
      {
       "column": "K",
       "header": "تاريخ الوزن (مساعد)",
       "kind": "formula",
       "formula_row_1": "=IF(AND(ISNUMBER(A6),ISNUMBER(G6)),A6,\"\")"
      },
      {
       "column": "L",
       "header": "تنبيه",
       "kind": "formula",
       "formula_row_1": "=IF(AND(A6=\"\",B6&\"\"=\"\",C6=\"\"),\"\",IF(NOT(ISNUMBER(A6)),\"التاريخ ناقص\",IF(NOT(ISNUMBER(C6)),\"المدة ناقصة\",IF(COUNTIF('الإعدادات'!$B$16:$B$21,B6&\"\")=0,\"نوع غير مسجل\",IF(F6&\"\"=\"\",\"\",IF(OR(NOT(ISNUMBER(F6)),F6<1,F6>10),\"RPE من 1 إلى 10\",\"\"))))))"
      }
     ]
    }
   ]
  },
  {
   "name": "الأسبوعي",
   "formula_cells": 138,
   "record_tables": [
    {
     "header_row": 8,
     "first_record_row": 9,
     "sample_rows_filled": 0,
     "capacity_last_row": 52,
     "columns": [
      {
       "column": "A",
       "header": "بداية الأسبوع",
       "kind": "formula",
       "formula_row_1": "='الإعدادات'!$B$9-0"
      },
      {
       "column": "B",
       "header": "نهايته",
       "kind": "formula",
       "formula_row_1": "=A9+6",
       "allowed_values": {
        "from_range": "'الإعدادات'!$C$16:$C$25"
       }
      },
      {
       "column": "C",
       "header": "الحصص",
       "kind": "formula",
       "formula_row_1": "=COUNTIFS('الحصص'!$A$6:$A$1505,\">=\"&$A9,'الحصص'!$A$6:$A$1505,\"<\"&($A9+7))"
      },
      {
       "column": "D",
       "header": "الدقائق",
       "kind": "formula",
       "formula_row_1": "=SUMIFS('الحصص'!$C$6:$C$1505,'الحصص'!$A$6:$A$1505,\">=\"&$A9,'الحصص'!$A$6:$A$1505,\"<\"&($A9+7))"
      },
      {
       "column": "E",
       "header": "الجولات",
       "kind": "formula",
       "formula_row_1": "=SUMIFS('الحصص'!$D$6:$D$1505,'الحصص'!$A$6:$A$1505,\">=\"&$A9,'الحصص'!$A$6:$A$1505,\"<\"&($A9+7))"
      },
      {
       "column": "F",
       "header": "جولات السباراج",
       "kind": "formula",
       "formula_row_1": "=SUMIFS('الحصص'!$D$6:$D$1505,'الحصص'!$B$6:$B$1505,\"سباراج\",'الحصص'!$A$6:$A$1505,\">=\"&$A9,'الحصص'!$A$6:$A$1505,\"<\"&($A9+7))"
      },
      {
       "column": "G",
       "header": "وقت الجولات (د)",
       "kind": "formula",
       "formula_row_1": "=SUMIFS('الحصص'!$J$6:$J$1505,'الحصص'!$A$6:$A$1505,\">=\"&$A9,'الحصص'!$A$6:$A$1505,\"<\"&($A9+7))"
      },
      {
       "column": "H",
       "header": "حمل التدريب",
       "kind": "formula",
       "formula_row_1": "=SUMIFS('الحصص'!$I$6:$I$1505,'الحصص'!$A$6:$A$1505,\">=\"&$A9,'الحصص'!$A$6:$A$1505,\"<\"&($A9+7))"
      },
      {
       "column": "I",
       "header": "متوسط RPE",
       "kind": "formula",
       "formula_row_1": "=IFERROR(AVERAGEIFS('الحصص'!$F$6:$F$1505,'الحصص'!$A$6:$A$1505,\">=\"&$A9,'الحصص'!$A$6:$A$1505,\"<\"&($A9+7)),\"\")"
      },
      {
       "column": "J",
       "header": "متوسط الوزن (كجم)",
       "kind": "formula",
       "formula_row_1": "=IFERROR(AVERAGEIFS('الحصص'!$G$6:$G$1505,'الحصص'!$A$6:$A$1505,\">=\"&$A9,'الحصص'!$A$6:$A$1505,\"<\"&($A9+7)),\"\")"
      },
      {
       "column": "K",
       "header": "تغير الوزن عن الأسبوع السابق",
       "kind": "formula",
       "formula_row_1": "=IF(AND(ISNUMBER(J9),ISNUMBER(J10)),J9-J10,\"\")"
      },
      {
       "column": "L",
       "header": "تنبيه الوزن",
       "kind": "formula",
       "formula_row_1": "=IF(ISNUMBER(K9),IF(-K9>'الإعدادات'!$B$11,\"نزول سريع\",\"\"),\"\")"
      }
     ]
    }
   ],
   "results": [
    {
     "label": "اللاعب",
     "cell": "B4",
     "formula": "='الإعدادات'!B4"
    },
    {
     "label": "الرياضة",
     "cell": "B5",
     "formula": "='الإعدادات'!B5"
    }
   ]
  },
  {
   "name": "لماذا ما زلت على إكسل؟",
   "formula_cells": 0
  }
 ]
}