(function(i,d){if(typeof module=="object"&&module.exports){module.exports=d(i);return}i.HelpPages=d(i),i.document&&i.document.addEventListener("DOMContentLoaded",function(){i.HelpPages.init()})})(typeof globalThis!="undefined"?globalThis:window,function(i){"use strict";function d(e){return String(e==null?"":e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function A(e){var t;return typeof e=="number"&&!Number.isSafeInteger(e)||e==null?"":(t=String(e).trim(),/^[1-9][0-9]*$/.test(t)?t:"")}function S(e){var t;return e==null||e===""?"0":typeof e=="number"&&(!Number.isSafeInteger(e)||e<0)?"":(t=String(e).trim(),/^(?:0|[1-9][0-9]*)$/.test(t)?t:"")}function m(e){return e==null?"":String(e).trim()}function p(e){var t=e||{},n=A(t.helpId),l=m(t.helpTitle),o=m(t.helpContent),c=S(t.viewCount);return!n||!l||!o||!c||String(t.status)!=="0"?null:{helpId:n,helpCategory:m(t.helpCategory),helpTitle:l,helpContent:o,viewCount:c}}function y(e){var t;return Array.isArray(e)?(t=e.map(p),t.some(function(n){return!n})?[]:t):[]}function w(e){var t=y(e);return t.length?t.map(function(n){var l=[n.helpCategory,"浏览 "+n.viewCount+" 次"].filter(Boolean).join(" · ");return' "+d(l)+''+d(n.helpTitle)+"
"+d(t.helpContent).replace(/\r?\n/g,"
")+"