{"id":4737,"date":"2022-01-01T17:28:49","date_gmt":"2022-01-01T09:28:49","guid":{"rendered":"http:\/\/www.xiangqi.sg\/xqsite\/?page_id=4737"},"modified":"2026-07-18T15:46:26","modified_gmt":"2026-07-18T07:46:26","slug":"%e5%85%a8%e5%b9%b4%e6%b4%bb%e5%8a%a8%e8%a1%a8","status":"publish","type":"page","link":"https:\/\/www.xiangqi.sg\/xqsite\/%e5%85%a8%e5%b9%b4%e6%b4%bb%e5%8a%a8%e8%a1%a8\/","title":{"rendered":"\u5168\u5e74\u6d3b\u52a8\u8868"},"content":{"rendered":"\n<!-- SIXGA 2026 CALENDAR - FULL v2 (no left-angle operators)\n     Paste ENTIRE file into the HTML panel. Code view only.\n     Edit events in eventsData. Add \"link_report\":\"URL\" to a\n     concluded event to turn its button into gold \u62a5\u9053. -->\n<div id=\"sixga-cal2026\"><em style=\"display:block;padding:24px;color:#9A8A72;font-size:14px;\">\u65e5\u5386\u52a0\u8f7d\u4e2d\u2026 (If this stays, the script did not run.)<\/em><\/div>\n<style>\n@import url(\"https:\/\/fonts.googleapis.com\/css2?family=Noto+Serif+SC:wght@500;700;900&family=DM+Mono:wght@400;500&display=swap\");#sixga-cal2026{font-family:\"Noto Serif SC\",\"Songti SC\",serif !important;background:#FFFFFF !important;border:1px solid #E8DFD0 !important;border-radius:10px !important;overflow:hidden !important;max-width:100% !important;box-shadow:0 6px 18px -6px rgba(74,15,26,0.18) !important;margin:0 0 24px 0 !important;color:#2B1A12 !important}#sixga-cal2026 *{box-sizing:border-box !important}#sixga-cal2026 .xqc-header{display:flex !important;justify-content:space-between !important;align-items:center !important;gap:12px !important;padding:16px 18px !important;background:#9B1B30 !important;background:linear-gradient(135deg,#7A1524 0%,#9B1B30 60%,#B02A40 100%) !important;border-bottom:3px solid #C9922A !important}#sixga-cal2026 .xqc-title{margin:0 !important;font-size:19px !important;font-weight:900 !important;color:#FAF6EF !important;letter-spacing:1px !important;line-height:1.3 !important}#sixga-cal2026 .xqc-title .xqc-year{font-family:\"DM Mono\",monospace !important;font-weight:500 !important;color:#E8C87E !important;margin-right:6px !important}#sixga-cal2026 .xqc-controls{display:flex !important;align-items:center !important;gap:8px !important;flex-shrink:0 !important}#sixga-cal2026 .xqc-btn-search{background:rgba(250,246,239,0.12) !important;border:1px solid rgba(250,246,239,0.35) !important;color:#FAF6EF !important;cursor:pointer !important;font-size:14px !important;line-height:1 !important;padding:7px 10px !important;border-radius:5px !important;transition:background 0.2s !important}#sixga-cal2026 .xqc-btn-search:hover{background:rgba(250,246,239,0.25) !important}#sixga-cal2026 .xqc-lang{padding:6px 8px !important;border-radius:5px !important;border:1px solid rgba(250,246,239,0.35) !important;font-size:13px !important;font-family:\"DM Mono\",monospace !important;background:#7A1524 !important;color:#FAF6EF !important;cursor:pointer !important}#sixga-cal2026 .xqc-search-bar{background:#FAF6EF !important;padding:12px 16px !important;border-bottom:1px solid #E8DFD0 !important;display:none !important}#sixga-cal2026 .xqc-search-bar.active{display:block !important;animation:xqcSlideDown 0.2s ease-out !important}#sixga-cal2026 .xqc-search-input{width:100% !important;padding:9px 14px !important;border:1px solid #D9CBB4 !important;border-radius:5px !important;font-size:14px !important;font-family:\"Noto Serif SC\",serif !important;background:#FFFFFF !important;color:#2B1A12 !important;outline:none !important}#sixga-cal2026 .xqc-search-input:focus{border-color:#C9922A !important;box-shadow:0 0 0 3px rgba(201,146,42,0.18) !important}@keyframes xqcSlideDown{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}#sixga-cal2026 .xqc-scroll{overflow-x:auto !important}#sixga-cal2026 table{width:100% !important;border-collapse:separate !important;border-spacing:0 !important;min-width:640px !important;margin:0 !important}#sixga-cal2026 th{background:#FAF6EF !important;color:#9B1B30 !important;font-family:\"DM Mono\",monospace !important;font-weight:500 !important;padding:11px 14px !important;text-align:left !important;font-size:12px !important;text-transform:uppercase !important;letter-spacing:1.5px !important;border-bottom:2px solid #C9922A !important}#sixga-cal2026 td{padding:13px 14px !important;border-bottom:1px solid #F2EADB !important;font-size:14px !important;vertical-align:middle !important;color:#2B1A12 !important;background:#FFFFFF;transition:background 0.12s !important}#sixga-cal2026 .xqc-date{font-family:\"DM Mono\",monospace !important;font-size:13px !important;color:#7A5A2E !important;font-weight:500 !important;white-space:nowrap !important}#sixga-cal2026 .xqc-name{font-weight:700 !important;color:#2B1A12 !important;font-size:15px !important;line-height:1.45 !important}#sixga-cal2026 .xqc-loc{font-size:12px !important;color:#9A8A72 !important;margin-top:3px !important;font-family:\"DM Mono\",monospace !important}#sixga-cal2026 .xqc-deadline{font-size:11px !important;color:#B0483A !important;margin-top:3px !important;font-family:\"DM Mono\",monospace !important}#sixga-cal2026 .xqc-deadline.passed{color:#B8AC98 !important;text-decoration:line-through !important}#sixga-cal2026 tr.is-current td:first-child{border-left:4px solid #9B1B30 !important}#sixga-cal2026 tr.is-next td:first-child{border-left:4px solid #C9922A !important}#sixga-cal2026 .xqc-badge{display:inline-block !important;font-family:\"DM Mono\",monospace !important;font-size:10px !important;text-transform:uppercase !important;letter-spacing:1px !important;padding:2px 8px !important;border-radius:999px !important;margin-left:8px !important;vertical-align:middle !important;font-weight:500 !important}#sixga-cal2026 .xqc-badge.cur{background:#9B1B30 !important;color:#FAF6EF !important;animation:xqcPulse 1.6s ease-in-out infinite !important}#sixga-cal2026 .xqc-badge.nxt{background:#C9922A !important;color:#FFFFFF !important}@keyframes xqcPulse{0%,100%{opacity:1}50%{opacity:0.6}}#sixga-cal2026 .xqc-tag{display:inline-block !important;padding:3px 10px !important;border-radius:4px !important;font-size:12px !important;font-weight:700 !important;white-space:nowrap !important;letter-spacing:0.5px !important}#sixga-cal2026 .xqc-tag.open{background:#9B1B30 !important;color:#FAF6EF !important}#sixga-cal2026 .xqc-tag.student{background:#C9922A !important;color:#FFFFFF !important}#sixga-cal2026 .xqc-tag.team{background:#3A2A1E !important;color:#E8C87E !important}#sixga-cal2026 .xqc-tag.general{background:#FAF6EF !important;color:#9B1B30 !important;border:1px solid #D9CBB4 !important}#sixga-cal2026 .xqc-act{text-decoration:none !important;display:inline-block !important;padding:5px 12px !important;border-radius:4px !important;font-size:12px !important;font-family:\"DM Mono\",monospace !important;font-weight:500 !important;transition:all 0.15s !important;white-space:nowrap !important}#sixga-cal2026 .xqc-act.doc{background:#FFFFFF !important;border:1px solid #C9922A !important;color:#8A6420 !important}#sixga-cal2026 .xqc-act.doc:hover{background:#C9922A !important;color:#FFFFFF !important}#sixga-cal2026 .xqc-act.reg{background:#9B1B30 !important;border:1px solid #9B1B30 !important;color:#FAF6EF !important}#sixga-cal2026 .xqc-act.reg:hover{background:#7A1524 !important}#sixga-cal2026 .xqc-act.rep{background:#C9922A !important;border:1px solid #C9922A !important;color:#FFFFFF !important}#sixga-cal2026 .xqc-act.rep:hover{background:#A87719 !important}#sixga-cal2026 .xqc-act.off{opacity:0.25 !important;border:1px solid #D9CBB4 !important;color:#9A8A72 !important;background:#FFFFFF !important;pointer-events:none !important}@media (min-width:641px){#sixga-cal2026 tr td:has(~ td:hover){background:linear-gradient(to right,rgba(255,255,255,0),rgba(201,146,42,0.12)) !important;border-right:1px dashed #C9922A !important}#sixga-cal2026 table:has(td:nth-child(1):hover) td:nth-child(1),#sixga-cal2026 table:has(td:nth-child(2):hover) td:nth-child(2),#sixga-cal2026 table:has(td:nth-child(3):hover) td:nth-child(3),#sixga-cal2026 table:has(td:nth-child(4):hover) td:nth-child(4),#sixga-cal2026 table:has(td:nth-child(5):hover) td:nth-child(5){background-color:#FCF8F0 !important}#sixga-cal2026 tr td:hover{background:linear-gradient(135deg,#FAF6EF 0%,#FDF3E3 100%) !important;box-shadow:inset 0 0 0 1px #C9922A !important;cursor:crosshair !important}}@media (max-width:640px){#sixga-cal2026 thead{display:none !important}#sixga-cal2026 table{min-width:100% !important;display:block !important}#sixga-cal2026 tbody{display:block !important}#sixga-cal2026 tr{display:block !important;border:1px solid #E8DFD0 !important;border-radius:8px !important;margin:14px !important;box-shadow:0 3px 8px rgba(74,15,26,0.08) !important;overflow:hidden !important}#sixga-cal2026 tr.is-current{border-color:#9B1B30 !important}#sixga-cal2026 tr.is-next{border-color:#C9922A !important}#sixga-cal2026 td{display:block !important;width:100% !important;padding:8px 15px !important;border-bottom:none !important;text-align:left !important}#sixga-cal2026 tr.is-current td:first-child,#sixga-cal2026 tr.is-next td:first-child{border-left:none !important}#sixga-cal2026 td:nth-child(1){background:#FAF6EF !important;padding:10px 15px !important;border-bottom:1px solid #E8DFD0 !important}#sixga-cal2026 tr.is-current td:nth-child(1){background:#F7E3E7 !important}#sixga-cal2026 tr.is-next td:nth-child(1){background:#FBF0DC !important}#sixga-cal2026 td:nth-child(2){padding-top:14px !important;padding-bottom:4px !important}#sixga-cal2026 .xqc-name{font-size:16px !important}#sixga-cal2026 td:nth-child(3){padding-bottom:10px !important}#sixga-cal2026 td:nth-child(4),#sixga-cal2026 td:nth-child(5){display:inline-block !important;width:auto !important;padding:0 8px 15px 0 !important}#sixga-cal2026 td:nth-child(4){padding-left:15px !important}#sixga-cal2026 tr:hover,#sixga-cal2026 td:hover{background:#FFFFFF !important;box-shadow:none !important;cursor:default !important}}#sixga-cal2026 .xqc-empty{text-align:center !important;padding:36px 20px !important;color:#9A8A72 !important;font-style:italic !important}\n<\/style>\n<script>\n(function(){\nconst eventsData=\n[\n {\n  \"date\": \"1 \u6708 1 \u65e5\u81f3 1 \u6708 31 \u65e5\",\n  \"cat\": \"general\",\n  \"cn\": \"\u7f34\u4ea4\u4f1a\u8d39\",\n  \"en\": \"Membership Renewal\",\n  \"loc_cn\": \"\u8c61\u603b\u4f1a\u6240\",\n  \"loc_en\": \"SIXGA Clubhouse\",\n  \"deadline\": \"2026-01-31 17:00\"\n },\n {\n  \"date\": \"1 \u6708 16-17 \u65e5\",\n  \"cat\": \"open\",\n  \"cn\": \"2026 \u5e74\u201c\u4f69\u73b2\u676f\u201d\u72ee\u57ce\u8c61\u68cb\u4e2a\u4eba\u516c\u5f00\u8d5b\",\n  \"en\": \"2026 Pei Ling Cup Individual Open\",\n  \"loc_cn\": \"\u8c61\u603b\u4f1a\u6240\",\n  \"loc_en\": \"SIXGA Clubhouse\",\n  \"deadline\": \"2026-01-11 17:00\",\n  \"link_rules\": \"https:\/\/www.xiangqi.sg\/xqsite\/wp-content\/uploads\/2025\/12\/2026%E4%BD%A9%E7%8E%B2%E6%9D%AF%E5%85%AC%E5%BC%80%E8%B5%9B%E7%AB%A0%E7%A8%8B.pdf\"\n },\n {\n  \"date\": \"1 \u6708 17 \u65e5\",\n  \"cat\": \"general\",\n  \"cn\": \"\u540d\u624b\u5218\u5b97\u6cfd\u8c61\u68cb\u5ea7\u8c08\u4f1a\",\n  \"en\": \"Xiangqi Seminar: Liu Zongze\",\n  \"loc_cn\": \"\u8c61\u603b\u4f1a\u6240\",\n  \"loc_en\": \"SIXGA Clubhouse\",\n  \"link_reg\": \"https:\/\/www.xiangqi.sg\/xqsite\/xqsem1\/\"\n },\n {\n  \"date\": \"2 \u6708 7 \u65e5\",\n  \"cat\": \"student\",\n  \"cn\": \"\u7b2c 28 \u5c4a\u201c\u8336\u9633\u676f\u201d\u5168\u56fd\u5b66\u751f\u8c61\u68cb\u4e2a\u4eba\u8d5b 2026\",\n  \"en\": \"28th Char Yong Cup National Student Individual\",\n  \"loc_cn\": \"\u4e39\u620e\u5df4\u845b\u6c11\u4f17\u4ff1\u4e50\u90e8\",\n  \"loc_en\": \"Tanjong Pagar CC\",\n  \"deadline\": \"2026-02-01 17:00\",\n  \"link_rules\": \"https:\/\/www.xiangqi.sg\/xqsite\/wp-content\/uploads\/2026\/01\/%E7%AC%AC28%E5%B1%8A%E8%8C%B6%E9%98%B3%E6%9D%AF%E5%85%A8%E5%9B%BD%E5%AD%A6%E7%94%9F%E8%B1%A1%E6%A3%8B%E5%85%AC%E5%BC%80%E8%B5%9B%E7%AB%A0%E7%A8%8B-copy.pdf\",\n  \"link_reg\": \"https:\/\/tinyurl.com\/mpwxs8jp\"\n },\n {\n  \"date\": \"2 \u6708 21 \u65e5\",\n  \"cat\": \"team\",\n  \"cn\": \"\u7b2c 14 \u5c4a\u68cb\u53cb\u676f\u56e2\u4f53\u8d5b\u66a8 2026 \u65b0\u6625\u56e2\u62dc\",\n  \"en\": \"14th Friendship Cup Team & CNY Gathering\",\n  \"loc_cn\": \"\u8c61\u603b\u4f1a\u6240\",\n  \"loc_en\": \"SIXGA Clubhouse\",\n  \"deadline\": \"2026-01-29 17:00\",\n  \"link_rules\": \"https:\/\/www.xiangqi.sg\/xqsite\/wp-content\/uploads\/2025\/12\/2026-\u7b2c\u5341\u56db\u5c4a\u65b0\u52a0\u5761\u68cb\u53cb\u676f\u8c61\u68cb\u56e2\u4f53\u8d5b\u7ae0\u7a0b_V3.pdf\",\n  \"link_reg\": \"https:\/\/wa.me\/6597839832?text=I%27m%20interested%20in%20the%202026%20%E6%A3%8B%E5%8F%8B%E6%9D%AF%E5%9B%A2%E4%BD%93%E8%B5%9B\"\n },\n {\n  \"date\": \"2 \u6708 28-3 \u6708 1 \u65e5\",\n  \"cat\": \"general\",\n  \"cn\": \"\u665a\u6674\u56ed\u8c61\u68cb\u63a8\u5e7f\u6d3b\u52a8\",\n  \"en\": \"Wan Qing Yuan Xiangqi Promotion\",\n  \"loc_cn\": \"\u8521\u539d\u6e2f Lot 1\",\n  \"loc_en\": \"Choa Chu Kang Lot 1 Shoppers' Mall\"\n },\n {\n  \"date\": \"3 \u6708 28-29 \u65e5\",\n  \"cat\": \"general\",\n  \"cn\": \"\u65b0\u52a0\u5761\u534e\u65cf\u6587\u5316\u4e2d\u5fc3\u8c61\u68cb\u63a8\u5e7f\u6d3b\u52a8\",\n  \"en\": \"SCCC Xiangqi Promotion\",\n  \"loc_cn\": \"\u65b0\u52a0\u5761\u534e\u65cf\u6587\u5316\u4e2d\u5fc3\",\n  \"loc_en\": \"SCCC\"\n },\n {\n  \"date\": \"5 \u6708 11-17 \u65e5\",\n  \"cat\": \"open\",\n  \"cn\": \"\u7b2c 65 \u5c4a\u201c\u5b59\u6587\u5e7f\u676f\u201d\u5168\u56fd\u8c61\u68cb\u4e2a\u4eba\u9526\u6807\u8d5b\",\n  \"en\": \"65th 'Sun Wenguang Cup' National Individual Open\",\n  \"loc_cn\": \"\u4e9a\u6d32\u6587\u660e\u535a\u7269\u9986\",\n  \"loc_en\": \"No. 1, Empress Pl, Singapore 179555\",\n  \"deadline\": \"2026-04-30 17:00\",\n  \"link_rules\": \"https:\/\/drive.google.com\/file\/d\/1T8u750Gla4eoRIua7nkRQtLaMGrbkCR-\/view?usp=sharing\",\n  \"link_reg\": \"https:\/\/forms.gle\/bvLUBUmQeFLg83fD9\"\n },\n {\n  \"date\": \"5 \u6708 23 \u65e5\",\n  \"cat\": \"open\",\n  \"cn\": \"\u7b2c6\u5c4a\u72ee\u57ce\u5251\u5357\u6625\u676f\u201c\u695a\u6c49\u667a\u8c0b\u201d\u8c61\u68cb\u6bd4\u8d5b\",\n  \"en\": \"6th 'Maotai Cup' Individual Open\",\n  \"loc_cn\": \"\u65b0\u52a0\u5761\u540c\u5b89\u4f1a\u9986\u793c\u5802\",\n  \"loc_en\": \"Tung Ann District Guild 141 Cecil Street, #09-00, Singapore 069541\",\n  \"deadline\": \"2026-05-22 17:00\",\n  \"link_rules\": \"https:\/\/drive.google.com\/file\/d\/1QhCzsHETrKLP8Ll65yMG0KTphYvaVP6H\/view?usp=sharing\",\n  \"link_reg\": \"https:\/\/forms.gle\/YaBfkrqZk7ZA5jGd9\"\n },\n {\n  \"date\": \"5 \u6708 30 \u65e5\",\n  \"cat\": \"general\",\n  \"cn\": \"\u4f1a\u5458\u5927\u4f1a\",\n  \"en\": \"Annual General Meeting (AGM)\",\n  \"loc_cn\": \"\u8c61\u603b\u4f1a\u6240\",\n  \"loc_en\": \"SIXGA Clubhouse\"\n },\n {\n  \"date\": \"7 \u6708 18-19 \u65e5\",\n  \"cat\": \"open\",\n  \"cn\": \"Pesta Sukan \u8c61\u68cb\u8d5b 2026\",\n  \"en\": \"Pesta Sukan Xiangqi Tournament 2026\",\n  \"loc_cn\": \"\u78a7\u5c71\u4f53\u80b2\u4e2d\u5fc3\",\n  \"loc_en\": \"Bishan Sports Hall\",\n  \"deadline\": \"2026-07-12\",\n  \"link_rules\": \"https:\/\/www.activesgcircle.gov.sg\/hubfs\/GetActive%20Singapore\/GetActive%20Singapore%202026\/Rules%20and%20Regulations\/XiangQi\/Pesta%20Sukan%20Xiangqi%20R%26R.pdf\",\n  \"link_reg\": \"https:\/\/pestasukan.klobbi.com\/register\/xiangqi\"\n },\n {\n  \"date\": \"8 \u6708 1 \u65e5\",\n  \"cat\": \"open\",\n  \"cn\": \"\u7b2c6\u5c4a\u201c\u66fe\u58eb\u751f\u676f\u201d\u56fe\u5f62\u8c61\u68cb\u4e2a\u4eba\u8d5b\",\n  \"en\": \"6th Chan Soo Sen Cup Graphic Xiangqi Individual\",\n  \"loc_cn\": \"\u5f85\u5b9a\",\n  \"loc_en\": \"TBC\",\n  \"deadline\": \"2026-07-26 17:00\",\n  \"link_rules\": \"https:\/\/drive.google.com\/file\/d\/1Y0wrGJZhP_nkwnsidMA2bwD3O_W1ZzOg\/view?usp=sharing\",\n  \"link_reg\": \"https:\/\/forms.gle\/3roAzAVHdQUY19kQ6\"\n },\n {\n  \"date\": \"8 \u6708 15-16 \u65e5 \u53ca 22-23 \u65e5\",\n  \"cat\": \"open\",\n  \"cn\": \"\u64ce\u5929\u676f\u8c61\u68cb\u8d5b\",\n  \"en\": \"Qing Tian Cup Xiangqi Tournament\",\n  \"loc_cn\": \"\u5f85\u5b9a\",\n  \"loc_en\": \"TBC\"\n },\n {\n  \"date\": \"9 \u6708 12-13 \u65e5\",\n  \"cat\": \"open\",\n  \"cn\": \"\u5bbf\u5c06\u8c61\u68cb\u8d5b\",\n  \"en\": \"Veterans Xiangqi Tournament (55+)\",\n  \"loc_cn\": \"\u5f85\u5b9a\",\n  \"loc_en\": \"TBC\"\n },\n {\n  \"date\": \"10 \u6708 31 \u65e5\",\n  \"cat\": \"team\",\n  \"cn\": \"\u7b2c\u4e8c\u5341\u4e00\u5c4a\u201c\u8336\u9633\u676f\u201d\u5168\u56fd\u5c0f\u5b66\u6821\u9645\u8c61\u68cb\u56e2\u4f53\u8d5b\",\n  \"en\": \"21st Char Yong Cup National Primary School Team\",\n  \"loc_cn\": \"\u5f85\u5b9a\",\n  \"loc_en\": \"TBC\"\n },\n {\n  \"date\": \"11 \u6708 10-15 \u65e5\",\n  \"cat\": \"team\",\n  \"cn\": \"\u7b2c 5 \u5c4a\u4e16\u754c\u8c61\u68cb\u56e2\u4f53\u516c\u5f00\u8d5b\",\n  \"en\": \"5th World Xiangqi Team Open\",\n  \"loc_cn\": \"\u65b0\u52a0\u5761\u534e\u65cf\u6587\u5316\u4e2d\u5fc3\",\n  \"loc_en\": \"Singapore Chinese Cultural Centre\"\n },\n {\n  \"date\": \"11 \u6708\u5e95\",\n  \"cat\": \"general\",\n  \"cn\": \"2026 \u5e74\u8c61\u603b\u4f1a\u5458\u8d5b\",\n  \"en\": \"2026 SIXGA Members' Tournament\",\n  \"loc_cn\": \"\u8c61\u603b\u4f1a\u6240\",\n  \"loc_en\": \"SIXGA Clubhouse\"\n },\n {\n  \"date\": \"12 \u6708 7-13 \u65e5\",\n  \"cat\": \"open\",\n  \"cn\": \"\u7b2c\u5341\u4e09\u5c4a\u201c\u56fe\u9f99\u676f\u201d\u5168\u56fd\u8c61\u68cb\u4e2a\u4eba\u516c\u5f00\u8d5b\",\n  \"en\": \"13th Tu Long Cup Individual Open\",\n  \"loc_cn\": \"\u8c61\u603b\u4f1a\u6240\",\n  \"loc_en\": \"SIXGA Clubhouse\"\n }\n];\nconst YR=2026,CID=\"sixga-cal2026\";\nconst ui={\n cn:{title:\"\u8d5b\u4e8b\u65e5\u5386\",sp:\"\u641c\u7d22\u8d5b\u4e8b\u3001\u5730\u70b9\u2026\",empty:\"\u6ca1\u6709\u7b26\u5408\u7684\u8d5b\u4e8b\",open:\"\u516c\u5f00\u7ec4\",student:\"\u5b66\u751f\u7ec4\",team:\"\u56e2\u4f53\u7ec4\",general:\"\u6d3b\u52a8\",date:\"\u65e5\u671f\",event:\"\u8d5b\u4e8b \/ \u5730\u70b9\",cat:\"\u7ec4\u522b\",rules:\"\u7ae0\u7a0b\",reg:\"\u62a5\u540d\",bc:\"\u8fdb\u884c\u4e2d\",bn:\"\u4e0b\u4e00\u573a\",dl:\"\u62a5\u540d\u622a\u6b62\",rep:\"\u62a5\u9053\",end:\"\u5df2\u7ed3\u675f\",sbtn:\"\u641c\u7d22\"},\n en:{title:\"Events Calendar\",sp:\"Search events, venues\u2026\",empty:\"No matching events\",open:\"Open\",student:\"Student\",team:\"Team\",general:\"General\",date:\"Date\",event:\"Event \/ Location\",cat:\"Category\",rules:\"Rules\",reg:\"Register\",bc:\"Now on\",bn:\"Up next\",dl:\"Reg closes\",rep:\"Report\",end:\"Ended\",sbtn:\"Search\"}\n};\nlet lang=\"cn\",sOpen=false;\n\nfunction parseRange(s){\n const ms=[];const re=\/([0-9]{1,2}) ?\u6708\/g;let m;\n while((m=re.exec(s))!==null){ms.push({mo:parseInt(m[1],10),a:m.index,b:m.index+m[0].length});}\n if(!ms.length)return null;\n const ps=[];\n for(let i=0;ms.length>i;i++){\n  const seg=s.slice(ms[i].b,(ms.length>i+1)?ms[i+1].a:s.length);\n  const dn=seg.match(\/[0-9]{1,2}\/g);\n  if(dn){dn.forEach(function(d){ps.push({mo:ms[i].mo,d:parseInt(d,10)});});}\n  else{ps.push({mo:ms[i].mo,d:28});}\n }\n const f=ps[0],l=ps[ps.length-1];\n return{start:new Date(YR,f.mo-1,f.d),end:new Date(YR,l.mo-1,l.d,23,59,59)};\n}\n\nfunction status(list){\n const now=new Date();let ni=-1,ns=null;\n list.forEach(function(e,i){\n  const r=parseRange(e.date);e._r=r;e._s=\"\";\n  if(!r)return;\n  if(now>=r.start&&r.end>=now){e._s=\"cur\";}\n  else if(r.start>now&&(ns===null||ns>r.start)){ns=r.start;ni=i;}\n });\n if(!list.some(function(e){return e._s===\"cur\";})&&ni>=0)list[ni]._s=\"nxt\";\n}\n\nfunction dlInfo(it){\n if(!it.deadline)return null;\n const raw=it.deadline,dOnly=11>raw.length;\n const d=new Date(dOnly?raw+\"T23:59:59\":raw.replace(\" \",\"T\"));\n if(isNaN(d.getTime()))return null;\n const t=(dOnly?raw.slice(5,10):raw.slice(5,16)).replace(\"-\",\"\/\");\n return{t:t,p:new Date()>d};\n}\n\nfunction render(){\n const w=document.getElementById(CID);if(!w)return;\n const t=ui[lang];\n const se=document.getElementById(\"xqc-si\");\n const q=se?se.value.toLowerCase():\"\";\n const evs=eventsData.filter(function(it){\n  return(it.cn+it.en+it.loc_cn+it.loc_en+it.date).toLowerCase().indexOf(q)!==-1;\n });\n status(evs);\n const now=new Date();\n let sbCls=\"xqc-search-bar\";if(sOpen)sbCls+=\" active\";\n let html=`<div class=\"xqc-header\"><h3 class=\"xqc-title\"><span class=\"xqc-year\">${YR}<\/span>${t.title}<\/h3><div class=\"xqc-controls\"><button type=\"button\" id=\"xqc-sb\" class=\"xqc-btn-search\">${t.sbtn}<\/button><select id=\"xqc-lt\" class=\"xqc-lang\"><option value=\"cn\">\u4e2d\u6587<\/option><option value=\"en\">EN<\/option><\/select><\/div><\/div><div class=\"${sbCls}\"><input type=\"text\" id=\"xqc-si\" class=\"xqc-search-input\" placeholder=\"${t.sp}\" value=\"${q}\"><\/div><div class=\"xqc-scroll\"><table><thead><tr><th width=\"17%\">${t.date}<\/th><th width=\"43%\">${t.event}<\/th><th width=\"14%\">${t.cat}<\/th><th width=\"13%\" style=\"text-align:center\">${t.rules}<\/th><th width=\"13%\" style=\"text-align:center\">${t.reg}<\/th><\/tr><\/thead><tbody>`;\n if(!evs.length){\n  html+=`<tr><td colspan=\"5\" class=\"xqc-empty\">${t.empty}<\/td><\/tr>`;\n }else{\n  evs.forEach(function(it){\n   const nm=lang===\"cn\"?it.cn:it.en;\n   const lc=lang===\"cn\"?it.loc_cn:it.loc_en;\n   let rcls=\"\",bd=\"\";\n   if(it._s===\"cur\"){rcls=\"is-current\";bd=`<span class=\"xqc-badge cur\">${t.bc}<\/span>`;}\n   if(it._s===\"nxt\"){rcls=\"is-next\";bd=`<span class=\"xqc-badge nxt\">${t.bn}<\/span>`;}\n   const dl=dlInfo(it);\n   let dh=\"\";\n   if(dl){let dc=\"xqc-deadline\";if(dl.p)dc+=\" passed\";dh=`<div class=\"${dc}\">${t.dl} ${dl.t}<\/div>`;}\n   let bR;\n   if(it.link_rules){bR=`<a href=\"${it.link_rules}\" target=\"_blank\" rel=\"noopener\" class=\"xqc-act doc\">${t.rules}<\/a>`;}\n   else{bR=`<span class=\"xqc-act off\">${t.rules}<\/span>`;}\n   let bG;\n   if(it._r&&now>it._r.end){\n    if(it.link_report){bG=`<a href=\"${it.link_report}\" target=\"_blank\" rel=\"noopener\" class=\"xqc-act rep\">${t.rep}<\/a>`;}\n    else{bG=`<span class=\"xqc-act off\">${t.end}<\/span>`;}\n   }else{\n    if(it.link_reg){bG=`<a href=\"${it.link_reg}\" target=\"_blank\" rel=\"noopener\" class=\"xqc-act reg\">${t.reg}<\/a>`;}\n    else{bG=`<span class=\"xqc-act off\">${t.reg}<\/span>`;}\n   }\n   html+=`<tr class=\"${rcls}\"><td><span class=\"xqc-date\">${it.date}<\/span>${bd}<\/td><td><div class=\"xqc-name\">${nm}<\/div><div class=\"xqc-loc\">${lc}<\/div>${dh}<\/td><td><span class=\"xqc-tag ${it.cat}\">${t[it.cat]}<\/span><\/td><td style=\"text-align:center\">${bR}<\/td><td style=\"text-align:center\">${bG}<\/td><\/tr>`;\n  });\n }\n html+=`<\/tbody><\/table><\/div>`;\n w.innerHTML=html;\n const lt=document.getElementById(\"xqc-lt\");\n lt.value=lang;\n lt.addEventListener(\"change\",function(e){lang=e.target.value;render();});\n document.getElementById(\"xqc-sb\").addEventListener(\"click\",function(){\n  sOpen=!sOpen;render();\n  if(sOpen){setTimeout(function(){const el=document.getElementById(\"xqc-si\");if(el)el.focus();},50);}\n });\n const inp=document.getElementById(\"xqc-si\");\n if(inp){\n  inp.addEventListener(\"input\",function(){\n   const p=inp.selectionStart;render();\n   const el=document.getElementById(\"xqc-si\");\n   if(el){el.focus();el.setSelectionRange(p,p);}\n  });\n }\n}\n\nif(document.readyState===\"loading\"){document.addEventListener(\"DOMContentLoaded\",render);}\nelse{render();}\n})();\n<\/script>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.xiangqi.sg\/xqsite\/wp-content\/uploads\/2025\/06\/%E6%96%B0%E5%8A%A0%E5%9D%A1%E8%B1%A1%E6%A3%8B%E6%80%BB%E4%BC%9A2025%E5%B9%B4%E6%B4%BB%E5%8A%A8%E6%9B%B4%E6%96%B0%E4%BA%8E6%E6%9C%8824%E6%97%A5%EF%BC%89.pdf\">2025 \u8868<\/a><\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u65e5\u5386\u52a0\u8f7d\u4e2d\u2026 (If this stays, the script did not run.)<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ocean_post_layout":"full-screen","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"on","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-4737","page","type-page","status-publish","hentry","entry"],"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"Site Maker","author_link":"https:\/\/www.xiangqi.sg\/xqsite\/author\/admin\/"},"rttpg_comment":0,"rttpg_category":null,"rttpg_excerpt":"\u65e5\u5386\u52a0\u8f7d\u4e2d\u2026 (If this stays, the script did not run.)","_links":{"self":[{"href":"https:\/\/www.xiangqi.sg\/xqsite\/wp-json\/wp\/v2\/pages\/4737","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xiangqi.sg\/xqsite\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.xiangqi.sg\/xqsite\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.xiangqi.sg\/xqsite\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xiangqi.sg\/xqsite\/wp-json\/wp\/v2\/comments?post=4737"}],"version-history":[{"count":68,"href":"https:\/\/www.xiangqi.sg\/xqsite\/wp-json\/wp\/v2\/pages\/4737\/revisions"}],"predecessor-version":[{"id":9742,"href":"https:\/\/www.xiangqi.sg\/xqsite\/wp-json\/wp\/v2\/pages\/4737\/revisions\/9742"}],"wp:attachment":[{"href":"https:\/\/www.xiangqi.sg\/xqsite\/wp-json\/wp\/v2\/media?parent=4737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}