var jokecode = (function() { var OooooOOOOOoo = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '+', '/'] , encode = o0o0oooOO , handleFormat = { 'utf-8': toUTF8Binary }; function stringToBinary(str, size, encodeType) { var i, len, binary = ''; for (i = 0, len = str.length; i < len; i++) { binary = binary + handleFormat[encodeType.toLowerCase()](str.charCodeAt(i)) } return binary } function toUTF8Binary(unicode) { var len, binary = '', star = 0, bitStream = unicode.toString(2), bitLen = bitStream.length, i; if (unicode >= 0x000000 && unicode <= 0x00007F) { binary = bitStream; for (i = 0, len = 8; i < len - bitLen; i++) { binary = 0 + binary; } } else if (unicode >= 0x000080 && unicode <= 0x0007FF) { binary = bitStream; for (i = 0, len = 11; i < len - bitLen; i++) { binary = 0 + binary; } binary = '110' + binary.substr(0, 5) + '10' + binary.substr(5, 6) } else if (unicode >= 0x000800 && unicode <= 0x00FFFF) { binary = bitStream; for (i = 0, len = 16; i < len - bitLen; i++) { binary = 0 + binary; } ;binary = '1110' + binary.substr(0, 4) + '10' + binary.substr(4, 6) + '10' + binary.substr(10, 6) } else if (unicode >= 0x010000 && unicode <= 0x10FFFF) { binary = bitStream; for (i = 0, len = 21; i < len - bitLen; i++) { binary = 0 + binary; } binary = '11110' + binary.substr(0, 3) + '10' + binary.substr(3, 6) + '10' + binary.substr(9, 6) + '10' + binary.substr(15, 6) } return binary } function O000o9o00O(binary24, flag) { var i, len, result = '', decode; if (flag == 1) { for (i = 0; i < 4; i++) { decode = parseInt(binary24.substr(i * 6, 6), 2); result = result + OooooOOOOOoo[decode] } } else { for (i = 0, len = Math.floor(flag / 6); i < len + 1; i++) { decode = parseInt(binary24.substr(i * 6, 6), 2); result = result + OooooOOOOOoo[decode] } for (i = 0; i < 3 - len; i++) { result = result + '=' } } return result } function o0o0oooOO(str) { var i, len, rem, mer, result = '', strBinaryAry = [], binary = stringToBinary(str, 8, 'utf-8'); len = binary.length; mer = Math.floor(len / 24); rem = len % 24; for (i = 0; i < mer; i++) { result = result + O000o9o00O(binary.substr(i * 24, 24), 1) } remCode = binary.substr(len - rem, rem); if (rem > 0) { for (i = 0; i < 24 - rem; i++) { remCode = remCode + 0 } result = result + O000o9o00O(remCode, rem) } return result } return encode } )(); function OooOoo0(str) { var str = str.toString(); var i = str.length; i = i - 1; var result = ''; for (var x = i; x >= 0; x--) { result += str.charAt(x) } return result } function Oo0OoO(str) { return jokecode(str) } function oOoOoO(dataParams) { var ts = new Date().getTime(); // var ts = 1657346648661 var key = OooOoo0(ts + dataParams + 'yuncai'); var token1 = Oo0OoO(key); var token2 = OooOoo0(token1); var token3 = Oo0OoO(token2); return { ts: ts, token: token3 } } function RQ(e, t) { return String(e).padStart(t, "0") } function rid() { var e = new Date , t = (0, RQ)(e.getHours(), 2) , n = (0, RQ)(e.getMinutes(), 2) , r = (0, RQ)(e.getSeconds(), 2); return parseInt(t + n + r).toString(32) } function create_href(t, e, i, n, s) { let a = "/workbench/index-zh_CN.html#/ifr/" + "%2fcpu-fe-tender%2fdist%2fsupplyenlistshowother%2findex.html%3fshow%3d1%26id%3d" let r = "/cpu-lawbid-fe/portalcas.html#/pages/bid_section/biddingDetail" let o = "/workbench/index-zh_CN.html#/ifr/" + "%252fcpu-fe-bid%252fdist%252fsubmitbidnotice%252findex.html%253ftype%253d3%2526id%253d"; switch (e) { case "0": return "/workbench/index-zh_CN.html#/ifr/%252fcpu-portal-fe%252fportalcas.html%2523%252fpages%252fprice%252fbuyOfferDetail%253fid%253d" + t; case "1": return "/workbench/index-zh_CN.html#/ifr/%2fcpu-fe-bid%2fdist%2fbidddocread%2findex.html%3ftype%3d1%26id%3d" + t; case "4": case "6": case "11": case "12": return "lawnotice" == n ? r + "?ispur=false&from=hnfz&endTime=" + s + "&purNoticeId=" + t : a + t; case "5": case "7": case "13": case "14": return o + t; case "8": return "/workbench/index-zh_CN.html#/ifr/%252fcpu-bidtrade-fe%252fbidtradesupdetail%252findex.zh_CN.html%253ftype%253d1%2526id%253d" + t; case "10": return "/workbench/index-zh_CN.html#/ifr/%252fcpu-portal-fe%252fportalcas.html%2523%252fpages%252fpricedecision%252fpricedecisionnotice_publish%253fid%253d" + t; case "15": return "/workbench/index-zh_CN.html#/ifr/%252fcpu-bidauction-fe%252fbidding_Apply%252findex.zh_CN.html%253ffrom%253dnfsn%2526id%253d" + t; case "17": return "/workbench/index-zh_CN.html#/ifr/%252fcpu-bidauction-fe%252fbidNotificationPublic%252findex.zh_CN.html%253fid%253d" + t; case "18": return "/cpu-fe-bid/dist/lbnotice/index.html?id=" + t + "&enterpriseId=" + i; case "19": return "/cpu-fe-bid/dist/clarifynotice/index.html?id=" + t + "&enterpriseId=" + i; default: return "/workbench/index-zh_CN.html#/ifr/%252fcpu-portal-fe%252fportalcas.html%2523%252fpages%252fhome%252fnewestprojectmore%253fstatus%253d0" } }