為達最佳瀏覽效果,建議使用 Chrome、Firefox 或 Microsoft Edge 的瀏覽器。

From left, US Archivist Bradford Wilson, US President Donald Trump and first lady Melania Trump, as well as Chinese President Xi Jinping, third right, and his wife, Peng Liyuan, visit the US National Archives in Washington on Friday. Photo: AFP

Chinese President Xi Jinping (習近平) reportedly cut short his visit to the National Archives in Washington after the Chinese delegation objected to plans to view the Treaty of San Francisco, sources in Washington’s media circles said.

Xi and his wife, Peng Liyuan (彭麗媛), concluded their three-day state visit to the US on Friday after having tea with US President Donald Trump and first lady Melania Trump at the White House and visiting the archives.

Chinese democracy advocates and members of pro-China groups gathered outside the venue during Xi’s visit, with the two groups exchanging competing slogans while police kept them separated.

The US had originally planned for Xi to visit the National Archives to view the Declaration of Independence, the US constitution and the Bill of Rights, all documents associated with US democracy and freedom, the sources said.

The itinerary also included the Treaty of Wangxia and the Treaty of Tianjin, which are regarded as unequal treaties, followed by a viewing of the Treaty of San Francisco, to which neither the People’s Republic of China or the Republic of China was a signatory, they said.

The seemingly pointed diplomatic arrangements are believed to have sparked strong objections from Xi’s delegation, the sources said, adding that as a result, after briefly accompanying Trump to view the Declaration of Independence and the constitution, Xi’s delegation called off the rest of the planned itinerary at the last minute.

Trump and Xi ultimately spent only about 10 minutes at the National Archives, far shorter than originally scheduled, the sources said.

The 1951 Treaty of San Francisco was a formal agreement signed between Japan and 48 Allied nations after World War II.

Article 2 of the treaty stipulates that “Japan renounces all right, title and claim to Formosa and the Pescadores,” without explicitly specifying which country sovereignty over Taiwan should belong to.

That provision later became a central basis for the “undetermined status of Taiwan” argument in international legal and political debates, a position China has never recognized.

Documents the Chinese side wanted to see, including the Three Joint Communiques, were never considered for inclusion by the US side, the sources said.

People at the US Navy Memorial Plaza in Washington on Friday protest the visit of Chinese President Xi Jinping by ripping a Chinese flag. Photo: AFP

開始時間:${htmlData.survey.LTS_StartDate} `; return; } if (htmlData.days == '-2') { console.log("投票結束"); const calc = calculatePercentages(htmlData); const htmlContent = getResultsHTML(htmlData, calc); ltnpoll.outerHTML = htmlContent; resViewCheck(1); } else { console.log("投票中"); let rederHtml = getStartVote(htmlData); ltnpoll.outerHTML = rederHtml; // 原生事件委派,不依賴 jQuery (防止 ReferenceError: $ is not defined) document.addEventListener('click', function(e) { if (e.target && (e.target.className === 'vote-bt' || e.target.classList.contains('vote-bt'))) { if (checkValue(htmlData)) { submitVote(LTS_No, htmlData); } else { alert("請在每一題中至少勾選一個選項!"); } } }); } } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', initSurvey); } else { initSurvey(); } function getStartVote(htmlData) { let customHTML = ''; customHTML += ' '; if (htmlData.survey.LTS_TitleShow != 0) { customHTML += ' LTN投票箱 ' + ' ' + htmlData.survey.LTS_Title + ' '; } else { customHTML += ' LTN投票箱 '; } if (htmlData.survey.LTS_Content) { customHTML += ' ' + htmlData.survey.LTS_Content + ' '; } htmlData.topic.forEach((q, qIndex) => { const opts = htmlData.optionsGroup[q.LTV_No] || []; const questionPrefix = htmlData.topic.length > 1 ? `${qIndex + 1}. ` : ''; customHTML += ` `; customHTML += ` ${questionPrefix}${q.LTV_Subject} `; if (q.LTV_Multi == 1) { customHTML += ' *複選 '; opts.forEach(option => { customHTML += ' '; customHTML += ' '; customHTML += ' ' + option.LTVD_Content + ' '; }); } else { customHTML += ' *單選 '; opts.forEach(option => { customHTML += ' '; customHTML += ' '; customHTML += ' ' + option.LTVD_Content + ' '; }); } customHTML += ' '; }); let displayDays = htmlData.days; if (displayDays >= 0) { displayDays = Math.floor(displayDays) + ' 天'; } else if (displayDays == -1) { displayDays = '未開始'; } else if (displayDays == -2) { displayDays = '已截止'; } customHTML += ` 剩餘時間:${displayDays} 投票看結果 `; return customHTML; } function checkValue(htmlData) { let isValid = true; htmlData.topic.forEach(q => { const checked = document.querySelectorAll('input[name="vote_' + q.LTV_No + '"]:checked').length; if (checked === 0) { isValid = false; } }); return isValid; } function submitVote(LTS_No, htmlData) { let selectedValues = []; htmlData.topic.forEach(q => { const selected = document.querySelectorAll('input[name="vote_' + q.LTV_No + '"]:checked'); selected.forEach(option => { selectedValues.push(option.value); }); }); if (selectedValues.length > 0) { let voteData = { LTVD_No: selectedValues, LTS_No: LTS_No }; fetch("https://vote3.ltn.com.tw/votelog", { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(voteData) }) .then(response => { if (!response.ok) { throw new Error('AJAX Error:' + response.statusText); } return response.json(); }) .then(async data => { if (data.status === 'success') { // 重新加載並刷新渲染結果 let freshData = await getTopicAndOptions(LTS_No); const calc = calculatePercentages(freshData); const htmlContent = getResultsHTML(freshData, calc); const container = document.querySelector('.voting-container'); if (container) { container.outerHTML = htmlContent; } resViewCheck(0); } else { alert(data.message || '投票失敗,您可能已經投過票了!'); } }) .catch(err => { console.error(err); alert('投票發生錯誤,請稍後再試!'); }); } } function calculatePercentages(htmlData) { const questionTotals = {}; htmlData.topic.forEach(q => { questionTotals[q.LTV_No] = 0; }); htmlData.options.forEach(opt => { if (questionTotals[opt.LTV_No] !== undefined) { questionTotals[opt.LTV_No] += parseInt(opt.LTVD_Count) || 0; } }); const percentages = {}; htmlData.options.forEach(opt => { const qTotal = questionTotals[opt.LTV_No] || 0; if (qTotal > 0) { percentages[opt.LTVD_No] = ((parseInt(opt.LTVD_Count) / qTotal) * 100).toFixed(1); } else { percentages[opt.LTVD_No] = '0.0'; } }); return { questionTotals: questionTotals, percentages: percentages }; } function getResultsHTML(htmlData, calc) { let resHtml = ''; resHtml += ' '; if (htmlData.survey.LTS_TitleShow != 0) { resHtml += ' LTN投票箱 ' + ' ' + htmlData.survey.LTS_Title + ' '; } else { resHtml += ' LTN投票箱 '; } if (htmlData.survey.LTS_Content) { resHtml += ' ' + htmlData.survey.LTS_Content + ' '; } htmlData.topic.forEach((q, qIndex) => { const opts = htmlData.optionsGroup[q.LTV_No] || []; const qTotal = calc.questionTotals[q.LTV_No] || 0; const questionPrefix = htmlData.topic.length > 1 ? `${qIndex + 1}. ` : ''; resHtml += ' '; resHtml += ` ${questionPrefix}${q.LTV_Subject} `; resHtml += ' ' + (q.LTV_Multi == 1 ? '*複選' : '*單選') + ' '; opts.forEach(option => { const percent = calc.percentages[option.LTVD_No] || '0.0'; resHtml += ' '; resHtml += ' ' + option.LTVD_Content + ' '; resHtml += ' '; resHtml += ' ' + percent + '% '; resHtml += ' ' + option.LTVD_Count + '票 '; resHtml += ' '; resHtml += ' '; resHtml += ' '; }); //resHtml += ' 本題共 ' + qTotal + ' 票 '; resHtml += ' '; }); let displayDays = htmlData.days; if (displayDays >= 0) { displayDays = Math.floor(displayDays) + ' 天'; } else if (displayDays == -1) { displayDays = '未開始'; } else if (displayDays == -2) { displayDays = '已截止'; } resHtml += ' '; resHtml += ' '; resHtml += ' 剩餘時間:' + (displayDays == '已截止' ? "已截止" : displayDays) + ' '; resHtml += ' 總票數:' + htmlData.totalCount + '票 '; resHtml += ' '; return resHtml; } fun