var r_AqYintSnNb = [{"model_id":8,"title":"\u66f4\u591a \u6210\u529f\u7fd2\u6163<\/a> \u76f8\u95dc\u6587\u7ae0","count":3,"state":0,"articles":[{"related_id":69625,"title":"\u6bd4\u723e\u84cb\u8332\u5e74\u5ea6\u6700\u63a8\uff01\u4e00\u5716\u770b\u300a\u5931\u63a7\u7684\u7126\u616e\u4e16\u4ee3\u300b\uff1a\u4eba\u8207\u4eba\u7684\u95dc\u4fc2\u6b63\u5d29\u6bc0\u6210\u300c\u53ef\u6709\u53ef\u7121\u300d","feature_picture":"https:\/\/media.bnextmedia.com.tw\/image\/album\/2024-12\/img-1733821128-74005@400.jpg","url":"https:\/\/www.managertoday.com.tw\/books\/view\/69625","project_id":3,"model_id":8,"model_version_id":null,"result_label":"default","index":101,"item_id":65750},{"related_id":55730,"title":"PDCA \u5faa\u74b0\u6cd5\u5247\u662f\u4ec0\u9ebc\uff1fPDCA \u8a73\u7d30\u610f\u601d\u3001\u5be6\u969b\u7bc4\u4f8b\u4e00\u6b21\u8b80\u61c2\uff01","feature_picture":"https:\/\/media.bnextmedia.com.tw\/image\/album\/2018-02\/img-1519293439-65508.jpg?s=400","url":"https:\/\/www.managertoday.com.tw\/articles\/view\/55730","project_id":3,"model_id":8,"model_version_id":null,"result_label":"default","index":102,"item_id":65750},{"related_id":59023,"title":"\u96f6\u80a1\u76e4\u4e2d\u4ea4\u6613\u600e\u9ebc\u8cb7\uff1f\u4f55\u6642\u8cb7\uff1f\u624b\u7e8c\u8cbb\u591a\u5c11\uff1f\u5c0f\u8cc7\u65cf\u6295\u8cc7\u5fc5\u77e5\uff15\u4ef6\u4e8b","feature_picture":"https:\/\/media.bnextmedia.com.tw\/image\/album\/2023-09\/img-1695453818-83846@400.jpg","url":"https:\/\/www.managertoday.com.tw\/articles\/view\/59023","project_id":3,"model_id":8,"model_version_id":null,"result_label":"default","index":103,"item_id":65750}],"more_link":"https:\/\/www.managertoday.com.tw\/articles\/category\/habit"},{"model_id":7,"title":"\u672a\u767b\u5165","count":3,"state":1,"articles":[],"more_link":"https:\/\/www.managertoday.com.tw\/member\/home?utm_source=web_mt&utm_medium=member_more&utm_campaign=ui2022"},{"model_id":9,"title":"\u67e5\u770b\u66f4\u591a <\/a> \u7684\u6587\u7ae0","count":3,"state":0,"articles":[],"more_link":"https:\/\/www.managertoday.com.tw\/columnist\/view\/0"},{"model_id":10,"title":"\u5168\u7ad9\u71b1\u9580\u6587\u7ae0","count":6,"state":0,"articles":[{"related_id":69643,"title":"\u4e2d\u5e74\u8f49\u8077\u6210\u529f\uff0c\u6d3b\u5f97\u66f4\u5e74\u8f15\uff0140 \u6b72\u4ee5\u5f8c\u63db\u5de5\u4f5c\uff0c\u6700\u63a8\u85a6\u9019 6 \u7a2e\u8077\u696d","feature_picture":"https:\/\/media.bnextmedia.com.tw\/image\/album\/2020-06\/img-1592465845-91700@400.jpg","url":"https:\/\/www.managertoday.com.tw\/articles\/view\/69643","project_id":3,"model_id":10,"model_version_id":null,"result_label":"default","index":401,"item_id":65750},{"related_id":59299,"title":"\u592a\u52aa\u529b\u4e0d\u4e00\u5b9a\u662f\u597d\u4e8b\uff01\u8077\u5834\u4e0a\u7684\u91cd\u9ede\u662f\u89e3\u6c7a\u554f\u984c\uff0c\u800c\u4e0d\u662f\u4f60\u505a\u4e86\u591a\u5c11","feature_picture":"https:\/\/media.bnextmedia.com.tw\/image\/album\/2020-02\/img-1582712641-82691@400.jpg","url":"https:\/\/www.managertoday.com.tw\/articles\/view\/59299","project_id":3,"model_id":10,"model_version_id":null,"result_label":"default","index":402,"item_id":65750},{"related_id":69640,"title":"\u7814\u7a76\uff1a\u8fd1 3 \u6210\u5de5\u4f5c\u8005\u5728\u4e0a\u73ed\u6642\u4f7f\u7528\u751f\u6210\u5f0f AI\uff0c\u5b83\u6700\u5e38\u88ab\u7528\u4f86\u8655\u7406\u54ea\u4e9b\u4efb\u52d9\uff1f","feature_picture":"https:\/\/media.bnextmedia.com.tw\/image\/album\/2020-05\/img-1588846516-56300-624920240116233604@400.jpg","url":"https:\/\/www.managertoday.com.tw\/articles\/view\/69640","project_id":3,"model_id":10,"model_version_id":null,"result_label":"default","index":403,"item_id":65750},{"related_id":69655,"title":"\u4e00\u5e74\u5012\u9589\u8fd1 20 \u842c\u5bb6\uff01\u4e2d\u570b\u624b\u6416\u98f2\u5e02\u5834\u5d29\u6bc0\uff0c\u5230\u5e95\u600e\u9ebc\u4e86\uff1f\u73cd\u5976\u8b8a\u5275\u696d\u9ed1\u6d1e\uff1f","feature_picture":"https:\/\/media.bnextmedia.com.tw\/image\/album\/2024-12\/img-1734316607-40082@400.jpg","url":"https:\/\/www.managertoday.com.tw\/articles\/view\/69655","project_id":3,"model_id":10,"model_version_id":null,"result_label":"default","index":404,"item_id":65750},{"related_id":69630,"title":"\u601d\u8003\u3001\u5617\u8a66\u3001\u72af\u932f\u3001\u6aa2\u8a0e\u3001\u6539\u9032","feature_picture":"https:\/\/media.bnextmedia.com.tw\/image\/album\/2022-09\/img-1663557967-31816@400.jpg","url":"https:\/\/www.managertoday.com.tw\/columns\/view\/69630","project_id":3,"model_id":10,"model_version_id":null,"result_label":"default","index":405,"item_id":65750},{"related_id":69638,"title":"\u6703\u8cbb 210 \u842c\u5143\u4ecd\u5438\u5f15\u4e0a\u5343\u4eba\u52a0\u5165\uff01\u4e9e\u679c\u5982\u4f55\u5b75\u5316\u5168\u53f0\u6700\u5927\u904a\u8247\u4ff1\u6a02\u90e8\uff1f","feature_picture":"https:\/\/media.bnextmedia.com.tw\/image\/album\/2024-12\/img-1733908325-94892@400.jpg","url":"https:\/\/www.managertoday.com.tw\/articles\/view\/69638","project_id":3,"model_id":10,"model_version_id":null,"result_label":"default","index":406,"item_id":65750}],"more_link":"https:\/\/www.managertoday.com.tw\/top"}];
var sent_viewable_impr_AqYintSnNb = {};
var sent_click_AqYintSnNb = {};
function send_click_AqYintSnNb(e, href, project_id, model_id, model_version_id, result_label, index, item_id, related_item_id){
e.preventDefault();
if(!sent_click_AqYintSnNb[index]){
sent_click_AqYintSnNb[index] = true;
snj_send_info({
"ac": "ml_click",
"project_id": project_id,
"model_id": model_id,
"model_version_id": model_version_id,
"result_label": result_label,
"index": index,
"item_id": item_id,
"related_item_id": related_item_id,
}, "ac=ml_click");
}
document.location.href = href;
}
r_AqYintSnNb.forEach(function(block, i){
var ei = i + 1;
var el = document.querySelector(`#datamagic_item${ei} .data_list:nth-child(1)`);
if(el){
document.querySelector(`#datamagic_item${ei} h3`).innerHTML = block.title;
document.querySelector(`#datamagic_item${ei} .more_item a`).href = block.more_link;
if(block["model_id"] == 7 && (block["state"] == 1 || block["state"] == 2)){
if(block["state"] == 1){
var info = `Hi~ 加入會員!馬上享受「個人化推薦」服務!`;
var link_text = `我要試用`;
var link = encodeURI(`https://www.managertoday.com.tw/api/oauth/login?state={"url":"https://www.managertoday.com.tw/member/categories","from":"end_of_article"}`);
var image = `https://cdn.bnextmedia.com.tw/mt/images/member_w.svg`;
}else{
var info = `追蹤您喜歡的主題和作者,可以為您客製化推薦專屬文章!`;
var link_text = `馬上使用`;
var link = `https://www.managertoday.com.tw/member/categories`;
var image = `https://cdn.bnextmedia.com.tw/assets/mt/icon_member.svg`;
}
var h = `
`;
document.getElementById(`datamagic_item${ei}`).innerHTML = h;
}else{
if(block["articles"].length == 0){
document.getElementById(`datamagic_item${ei}`).remove();
}else{
block["articles"].reverse().forEach(function(article, i){
sent_viewable_impr_AqYintSnNb[article["index"]] = false;
sent_click_AqYintSnNb[article["index"]] = false;
var h = `
${article["title"]}
`;
e = document.createElement("li");
el.insertBefore(e, el.firstChild);
e.innerHTML = h;
window.addEventListener("scroll", function(article){
return function(){
if(!sent_viewable_impr_AqYintSnNb[article["index"]] && window.innerHeight + window.pageYOffset > document.getElementById(`datamagic_article_${article["index"]}`).getBoundingClientRect().top + window.scrollY){
sent_viewable_impr_AqYintSnNb[article["index"]] = true;
snj_send_info({
"ac": "ml_viewable_impr",
"project_id": article["project_id"],
"model_id": article["model_id"],
"model_version_id": article["model_version_id"],
"result_label": article["result_label"],
"index": article["index"],
"item_id": article["item_id"],
"related_item_id": article["related_id"],
}, "ac=ml_viewable_impr");
}
};
}(article));
});
}
}
}
});